Hi all,
I want to develop an application that will take screenshot of android screen..does any one know how to do it..? which is similar to koushik duttas screen shot..But with out using root..and does any one had koushik dutta screenshot application which is working..? is not working for me..please let me know..thanks in advance.
...
hi,
I'd like to call a JavaScript function out of Java (Android).
Well, the following source code works fine for me (source)
1 /**
2 * This is not called on the UI thread. Post a runnable to invoke
3 * loadUrl on the UI thread.
4 */
5 public void clickOnAndroid() {
6 mHandler.post(new Runnable() {
7 public void run() {
8 ...
how can i put my PopupWindow to system desk or other app?
how can i use this permission:INTERNAL_SYSTEM_WINDOW
Any examples?Thanks!
...
Hi,
Is there a way to programmatically protect the folder with password in Android ?
...
I'm developing an android application where i want to add the volume control in Status Bar. Can i add a seek bar inside the Status Bar.
I have worked with NotificationManager and i've found that adding animation is difficult in Notification bar.
But can anyone please suggest if i can add a seek bar in my Status Bar(Notification bar). ...
Probably it's not a really complicated question, but first of all, I have no idea, what search query should I search for?!
At the beginning of my application I would like to start GPS and if my application will be enden GPS should be closed.
How can I check, if the whole Application (not an Activity) is finished?
Is it enough to use o...
i use the following code to listener my listview onItemClick Events. no compile error occurred ,
and nothing happened when i clicked any list item , i don't why Orz
could someone tell me why @@?
mp3_listView.setOnItemClickListener(new OnItemClickListener()
{
@Override
public void onItemClick(AdapterV...
My code for the Layout is given below. I am not able see the full content. I am not able to scoll also. How i can show the all content by scrolling.
Screen shot of the phone also giving
Thank you.
...
Hello!
I'm Trying to start the saveBookmark activity and I get Force Close for some unknown reason.
It says it's NULL but it's supposed to be null as "title" and "url" are optional (also, I've tried replacing null with string data and I get the same Force Close).
Here is the button listener:
Button addBookBtn = (Button) findViewById(R...
I'm trying to create an app and I'm nearly complete. I have been trying to figure out how to either put the phone into sleep mode, which would also lock the screen or just lock the screen.
This is how I am currently trying to accomplish this using the PowerManager.
try{
PowerManager pm = (PowerManager) getSystemService(Cont...
I have a custom drawable object in one side, object1.xml:
<drawable ... />
I have another custom shape object in the other side, object2.xml:
<shape ...><gradient .../></shape>
In every activity, I want to have these two object as the Activity's background, so what I currently do is:
<LinearLayout android:background="@drawable/obj...
Hello everybody,
I have fallen in a problem about process died in android.
I have an app having a progress dialog which increase progressing using thread.
As usual mode the app acts well. But at the progress dialog running state when i press the home key the process of the app goes too died.
The logCat is given below:
09-20 19:00:25.109...
Hi Friends,
I am using grid view for displaying image using xml parsing,i got some exception like java.lang.IllegalArgumentException: Illegal character in path at index 80: http://www.theblacksheeponline.com/party_img/thumbspps/912big_361999096_Flicking Off Douchebag.jpg,how to solve this problem?,i want to display all kind of url,anyb...
I'm making an Android AppWidget to sit on the home screen.
The user's home screen space is precious, so I want the widget to be small. The ideal size would be 2x1 cells.
Some documentation suggests you can have any size you like?
But the AppWidget graphical design guidelines imply that only standard sizes are supported: 4x1, 3x3, 2...
Hello.
I am absolutely new to the Android platform and have been building an application while learning the development process.
Currently, I am working on an activity in which i need to deploy 2 date pickers. One is a "Start Date" and the other is an "End date". I have been following the DatePicker tutorial on the android developers p...
Somebody help me please , i am working on an android music player , using services to play it in background. But when i go back to the home screen from my application. while the music is playing in background and then I return back to my app again , so i need to know , how can i maintain the current UI of music player.
Please post some ...
I am using ScrollView in my android Layout but it shows IllegalStateException "Scollview can host only one direct child". How can I avoid this exception? Please help.
Thank You.
...
As i'm new to android, i really couldn't understand the errors or execptions shown in the android DDMS,I'm using Eclipse ..
Can anyone please share some very frequent exceptions that appear in DDMS and how to handle them......
...
Hi Friends,
I'm parsing the image from the url, i want to display the corner of parsed image as roundrect(similar to figure2) but i'm not able to do that, can anyone guide me regarding on this, My code for parsing the image from url is
img_value = new URL(VAL4[arg0]);
Log.v("Image_Url1",img_value.toString());
try{
mIcon...
Hi!!!!!
I want to use calendar in my android application in grid view format and it will show event and image on specific date...
it has any calendar jar ??? so that i could use that ...
...