An android app that I\'m writing seems to consume a lot of battery even when it\'s not the foreground application. My assumption is that I need to unregister the listeners for gps, orientation, etc.,
Suppose I\'m watching a video in开发者_开发问答 some video player. I want to create a service which whenever an event of some kind occurs, the service increments the position of the progress bar in t
My app opens a browser activity via startActivity(). Can I close that browser activity if I feel like it?
I havea class which extends from ListView. I add开发者_如何学运维ed some extra functionality(drag and drop) for this new class. My question is there any way i can use this extended ListView class in a
My question: How can I launch a new Activity in its own Task while using the following rules. 1) If the Activity already exists as a root of a another Task (within the same application)then bring t
I want to know in which activity is currently running in my appliction . I\'m used View view =(View)getCurrentFocus(); but it returns null value. Is there any function开发者_StackOverflow社区 like get
I am fairly new to Android development, and I would like to make a simple note-taking app as a learning exercise.
I\'m new on Android developing. I\'m trying to manage gps location between activity. In particular I have created a thread, started with main activity, that update after a few interval the gps positio
When I try to open any activity in design mode designer fails with message \"The document contains errors that must be fixed before the designer can be loaded. Reload the designer after you have fixed
I have tried all day to do this and haven\'t had any luck. I have an ArrayList with an Array of Coordinate types inside, and I want to pass this from one activity to another. I don\'t think this is po