I have stripped dow开发者_StackOverflown my functions for simplicity: public static int countLines(String fileName, Activity activity) throws IOException {
I\'ve implemented a service that does an asynchronous 开发者_Python百科sync between my application and google docs.I want to update the top level activity of my application when the sync is complete.H
Suppose I have ActivityA and ActivityB, also suppose that ActivityA is active. I need to: Programmatically set a text of EditText in ActivityB from ActivityA
I was wondering if anyone understood how to make your application be displayed when you unlock the screen. I have an application where the user turns on a Bluetooth device, it connects to the phone, a
I want to make an android application that shows a li开发者_StackOverflow社区sting of applications (downloaded from the android market) and launches the one that the user selects.From what I\'ve read,
How do I stop BP from overriding default parameters passed to the template loop? For example, on the Activity page, let\'s say you want BP to \"forget\" the user\'s last viewed parameter (like \"My F
I\'m trying to write a library that can be shared as a JAR file. This library will include an Activity and I\'d like to include the layout in the JAR. Since it doesn\'t seem possible to include resour
I want to have multiple listviews in single activity. But only one listview should be displayed at one time. The listviews will be loaded
In my Activity I use multiple AsyncTask classes. How to can开发者_运维知识库cel AsyncTask when Activity finishes?i think the best place to do this is onStop
i have a question in developing some android program... i use surfaceview for camera preview. it works fine, but has one problem when i start other activity (by clicking something) and then back from