android-activity
Can I save different-2 instance of an Activity in Android?
I want to know can I save two or more instance of an Activity and can use those instances as per my requirements.[详细]
2023-04-09 02:40 分类:问答How to call function in main activity from service?
I start a service from my main activity using startService(). The service checks for sockets on localhost. When it receives a socket, it reads data from it. I would like to hide the notification bar w[详细]
2023-04-09 02:30 分类:问答How can I start the next matching activity if my app is the default one
I have an activity that works as a hook for various intents. Specifically, the VOICE_COMMAND and CALL_PRIVILEGED. (It is a requirement to use these.)[详细]
2023-04-09 02:07 分类:问答Keep a view alive while switching activity
I created a game, where I rotate through multiple activitys. Each activity stays just for a few seconds. Now I should add ads to the game. Since it doesn\'t make sense if the ad refreshes after just a[详细]
2023-04-08 18:45 分类:问答Android, Saving and loading a bitmap in cache from different activities
I have i bitmap that needs to show in a new activity, so i cahe it and in the opened activity i try to load it but i get a nullPointerException. Here i save the image :[详细]
2023-04-08 17:04 分类:问答problem with finishing/exiting an activity in android app
I am trying to exit开发者_如何转开发 an activity using the code myClass.this.finish(); However, the code keeps on executing the lines after this.[详细]
2023-04-08 16:28 分类:问答FB logon appearing behind Acitivity screen
I am trying to logon to FB from within an activity. For some reason the开发者_如何学Go FB logon screen appears behind the activity screen.[详细]
2023-04-08 16:23 分类:问答Android app out of memory issues - tried everything and still at a loss
I spent 4 full day开发者_StackOverflows trying everything I can to figure out the memory leak in an app I\'m developing, but things stopped making sense a long time ago.[详细]
2023-04-08 15:32 分类:问答Can't start activity from class
I am trying to start an activity from a normal class and I can\'t figure out how it is done, if it can be done. On an itemClick I want to start an activity that extends the ListView class to show a li[详细]
2023-04-08 12:48 分类:问答Android aSyncTask and starting another activity
I\'ve got this inner class as part of an application which doesn\'t accept changes in orientation (it makes more sense in landscape orientation).[详细]
2023-04-08 11:06 分类:问答