android-activity
Android: catch MotionEvent across activities
I have two activities A and B. I would like to have one touch event MotionEvent.ACTION_DOWN caught in A, while still holding down, launch B, then having the release event MotionEvent.ACTION_UP be开发者[详细]
2023-04-11 02:04 分类:问答Android load gallery onclick, return image as bitmap
I am having difficulty returning information from an activity, my understanding of the implementation is incomplete.[详细]
2023-04-10 23:22 分类:问答How do I manage Activity instance resuing in this scenario?
I\'m relatively new to Android, and I\'m trying to port an app from iOS, which does something slightly unconventional.[详细]
2023-04-10 22:49 分类:问答Launching Activities from a View
I was wondering what the best way to approach launching activities from other views in a modular way.I\'m trying to figure out a way to tell my \"button\" which activity to fire off once its been sele[详细]
2023-04-10 20:41 分类:问答Creating an Android search result list
I am trying to implement the following logic: User enters a search string in a text box (an activity) -> Web service is called to perform the search asynchronously -> Search results are displayed in[详细]
2023-04-10 16:52 分类:问答notification opening a new window no matter what in Java Android
I want to launch a notification. When I click on it, it opens a NEW window of the app. Here\'s my code:[详细]
2023-04-10 15:19 分类:问答When did Application restart?
Sometimes I see my app in DDMS restart.As I see it\'s p开发者_运维百科rocess id changed.(I\'m not sure that,because I don\'t write log for application oncreate.)[详细]
2023-04-10 13:56 分类:问答How can I clear my Gallery view before leaving an activity?
I have two Activities i开发者_JS百科n my App, one is a ListView which displays a list of items.When a user clicks one of these items, it opens up a new Activity which then downloads a bunch of thumbna[详细]
2023-04-10 13:01 分类:问答Activity killed by system when idle
I am writing a Location service programming that when the user go outside a predefined zone, the App will create a Notification at task bar. I am suffering from the system killing my App Activity auto[详细]
2023-04-10 12:02 分类:问答Display contents from ListView defined in regular Activity Android
I wanted to create a search view like the one Google uses. For this I created the following XML layout, which basically is a search bar and a button in the upper section of the screen and a ListView a[详细]
2023-04-10 11:26 分类:问答