android-activity
LocationListener sometimes getting called right after LocationManager.removeUpdates()
My activity sometimes crashes when it goes out of view.It uses a LocationListener to receive location updates and show them on the screen.Here is the relevant code.[详细]
2023-04-12 00:34 分类:问答Android drawable resource id conflict?
I\'ve set up the /android project of ZXing 1.7 as a library referenced by my main android app project. As a quick test / proof of concept, I[详细]
2023-04-11 23:27 分类:问答how to make this appear on the screen class it is called from and not on a new screen
I have this code and would like it to appear on the page of the class it\'s called from and not always creates a new empty black page.[详细]
2023-04-11 16:52 分类:问答Android: Is it possible to prevent a specific activity from handling an intent?
My android application starts an intent consisting of a video file.One thing I\'m trying to do is prevent the build in video player from handling this intent.Instead I only want third party players to[详细]
2023-04-11 16:11 分类:问答Android: how do i switch from one activity to another by clicking items from the ListView
i have made menu list containing play, settings, exit. but clicking the button doesn take me to the desired activity the listner is not working..can any one help me solve the problem.. will b thankful[详细]
2023-04-11 15:22 分类:问答Android start service from activity/asynctask
I see a lot of questions about starting an activity from a service, but I am not sure how to start the service from the activity.[详细]
2023-04-11 13:21 分类:问答How do I launch the Applications screen using an Intent?
I would like to bring the user to the list of installed applications usi开发者_如何学运维ng an intent.You canlaunch the application settings screen by using the following:[详细]
2023-04-11 12:23 分类:问答TabHost and Out of Memory
I am using a tabhost which contains three activities in different tabs. Due to too many images for the background UI, this leads to the problem \"Out of Memory\".[详细]
2023-04-11 04:55 分类:问答When does Application's onCreate() method get called?
In my Android application, I have a DefaultApplication class which extends android.app.Applic开发者_JS百科ation, and in its onCreate() I bind some services which will be used by my other Activities in[详细]
2023-04-11 04:55 分类:问答Android how to putExtra to an activity from TabHost activity?
I have a little problem with sending an extra from one activity to another. I have let\'s say FirstActivity which starts TabActivity, where I have 5 tabs. When I send putExtra(), from FirstActivityto[详细]
2023-04-11 03:24 分类:问答