Is it possible to set an activity\'s orientation (either in the manifest or with setRequestedOrientation) and specify which landscape or portrait mode to use? I.e. can I choose the device\'s left or r
I have a project running on where i call the ZXing scanner on button push, after scanning the bardcode another activity comes up where it shows the scanned data and i can put in an amount. Then i got
If you have several activities onPause() is there a way to finish a specific activity? edit: so for example, imagine on start activity 1 is called. Then activity 1 uses an intent to go to activity 2.
I\'m trying to discern, during onStart(), whether my Activity was started from the home screen or \"back\" from another activity.
I already know that I can pass Bundled data through setResult from one Activity back to another. However, suppose I have an global Activity that can be launched from anywhere in my app since it is map
Normally a user would have to go to the notification bar -> click \"Select to copy files to/from your computer\" and then be presented with the activity offering mount/unmount/etc. options. Can anyone
OK sorry this is a bit of a \"stupid\" question. Currently I am developing an application with a number of views and XML files. If I click certain buttons the view changes etc.
I am building an android app and would like to implement a login check at start. I am starting a Main activity and there i check if the user is logen in(by calling \"getSharedPreferences\" with my app
I have read threads on the matter but all of them were regarding launching an activity WHEN the screen is locked or when it is unlocked. However, I need for my program to launch a new activity regardl
I want to launch an contact-activity when a input-field (text) in a webview is pressed. Not sure how I can do this. Have tried to search the web but the only results I get is how to launch a filebrows