Hi,
I'm venturing into startActivityForResult for the first time and I'm running into a problem.
Activity A (ActivityMyList) launches Activity B (ActivityQuickList) waiting for a result:
Intent intentLaunchQuickList = new Intent(ActivityMyList.this, ActivityQuickList.class);
startActivityForResult(intentLaunchQuickList, REQUEST_QUICKL...
Hi,
I'd like Activities on my application's Activity stack to only have one instance. I have several screens which are ListActivities and I'd like to not go through the pain and suffering of updating the lists in a previous instance of the ListActivity when another instance of that ListActivity is changed (added to, edited, removed fro...
Is it possible to add an activity on top of the current activity.
For example lets say i click a button, and then it adds a second activity to the current activity. And the second activity only covers a small place at the buttom of my current activity.
...
My TabActivity contains two tabs which calls two two different activities . I want to setResult() for the TabActivity when either one of the child finishes.
Is there any method to find out when my activity inside tab finishes ?
Thank you
-Eby
...
Hello,
I would want to know how to launch an activity when long pressing media button.
In this case, I don't want to launch the default activity : the media reader, this one must keep lauching when media button has been short pressed.
Hope, I've been explicite.
A.L.
Subsidiary question : Why some hard key, like the search button, can...
I am having a real hard time on putting my activities in tabs. I have an activity that parses an XML file and puts them on a list, and it works perfectly on its own. When I call it on a tab however it does not work (i get the dreaded "Sorry! blah blah.. has stopped unexpectedly" prompt... BTW yes I did the manifest).
I have migrated th...
I am working on an application that tries to streamline data entry from a very repetitive process:
Enter some details that require full-screen graphics and would be confusing if scrolled
Enter some more atomic details
Enter yet more atomic details
Apply the accumulated data
Go back to step 1
I am pretty sure that i can represent this...
I am using overridePendingTransition method to do custom Activity animations, i would like to know when the animation ends ( a callback/listener ). Is there any direct way of achieving this, if not please suggest me some work around.
Thanks
...
Is it possible to define the transition between two activities for Android 1.5 and better? I would like an activity to fade in.
...
I am creating an android app that is basically a listing of information on Mushrooms. I get this information from an sqlite database. I have a global singleton with a services class inside it in which I use to access my db. Almost every activity accesses the db. Is it better to leave my db open all the time or open and close it as I ...
Hi All,
I have a service component (common task for all my apps), which can be invoked by any of the apps. I am trying to access the service object from the all activities, I noticed that the one which created the service [startService(intent)] has the right informaion. But rest does not get the informaion needed. My Code is as below:
...
What method need I @Overload in order to change the size of the Activity when it is first loaded?
...
If an Activity is a singleton in practice, I think I can gain some efficiency by declaring appropriate members "static", with zero risk. Yes?
...
I am trying to open a Resource by passing the result of context.getResources().getString(R.drawable.myimage) to another class that is not an activity. context.getResources().getString(R.drawable.myimage) returns res/drawable-mdpi/myimage.png However, when I try and open this file, it throws a FileNotFoundException.
What is the proper ...
My MAIN activity is spawning a child activity that contains a ListView. While this ListView is being populated (through an AsyncTask), an indeterminate progress bar is shown.
However, assuming that I am an impatient user and I press the BACK button, the progress bar is cancelled but I am left with a blank screen. I have to press BACK o...
I have activity A that starts activity B which starts activity C
A -> B -> C
When a user clicks on a button in activity C, i want to bring A to the top of the stack and take B & C completely out of the stack. Is there a way to do this ? ?
...
I have 3 activities. Activity A which leads to activity B, which in turn can go back to activity A or start activity C. However, if I press back in activity C the app should close.
To sum up:
Activity A starts activity B
Pressing Back on activity B should lead to A
Activity B starts activity C
Pressing Back on activity C should close ...
Hi All
I am new to Android
Few words before I ask a question:
We developing a selolar solutions based on Android os.
I use internal libraries that are not a part of standard sdk
A question:
My class extends from InstrumentationTestCase class
I perform the next operation: mPhone = PhoneFactory.getDefaultPhone();
I use mPhone for t...
I have a TabActivity with two tabs-activities FirstActivity and SecondActivity.
How can I access to any element (for example, change TextView's text) on FirstActivity from SecondActivity?
...
I have a Workflow 4 activity that can be run on any number of classes that inherit from my base class. So, the activity is, naturally, generic. Similar to the ForEach or AddToCollection activities, my activity requires a type parameter.
My question is: can I create this activity in the designer with XAML? Keep in mind this is a composit...