android-activity
Data exchange between a service and an activity
I have to publish the progress from a background service on the UI continuously on a progress bar. Any ideas on how to go about it. Intents won\'t work I guess coz they can only send the data once the[详细]
2023-04-10 10:54 分类:问答Intent.FLAG_ACTIVITY_CLEAR_TOP causes activity to pop-up even when application is on background?
I\'m using Android 2.2. I have an application which logouts (causing the application to return to the login page) after a certain period of inactivity. I am using Intent.FLAG_ACTIVITY_CLEAR_TOP for my[详细]
2023-04-10 09:55 分类:问答Reusing methods in different activities in Android
Is it possible to reuse methods in different activities? Say for example, I have retrieveAllStudents() in StudentActivity. Can I make it static or something and call the method in ClassActivity? Or do[详细]
2023-04-10 04:39 分类:问答WF4 Goto or Run Activity if a Condition is met
I have a WF4 with a Sequence of Activities. CalculateTaxesActivity CreateOrderActivity CreditCardAu开发者_如何学运维thorizationActivity[详细]
2023-04-10 02:55 分类:问答Show existing activity from AppWidget click
I have a problem opening an activity from an appwidget. I have tried different Intent flags, PendingIntent and launch modes without any luck. I have read diffent examples here and many other places wi[详细]
2023-04-10 02:23 分类:问答Galaxy 10.1 runs app slower than Thunderbolt
So I recently created a game with several activities. On my HTC Thunderbolt, all parts of the game seem to be running very fast; however, on my Galaxy 10.1, two of my five activities are running extre[详细]
2023-04-10 02:05 分类:问答What is the best way of create BroadcastReceiver?
I have spent few days to work on Service + BroadcastReceiver, but still cannot make it perfect. I hope someone can help, thanks![详细]
2023-04-10 00:37 分类:问答How to pass a boolean field from one activity to a class?
How to pass, at any time!, a boolean fie开发者_开发百科ld from one activity to a class?Pass to Activity:[详细]
2023-04-10 00:04 分类:问答Hiding Dialog's titlebar in Android Manifest
Basically, I created an Activity inside a dialog, everthing is seems working perfectly but the problem is the title bar of a dialog is still there. Is there anyway to hide it?[详细]
2023-04-09 23:27 分类:问答Starting multiple instances of the same Activity from Service
I want to start multiple instance of the same Activity class from a Service. The reason I\'m doing this, is because I have a Service that runs a \"scan\" daily, and if it finds any malfunctions it sho[详细]
2023-04-09 21:56 分类:问答