|
Hi guys.
I wanna know how to pass data from current Activity to paused Activity ?
Please advice. Thanks in advance.
Started by AndroiDBeginner on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In your current activity, create an intent
Intent i = new Intent(getApplicationContext(), PausedActivity.class); i.putExtra(key, value); startActivity(i);
then in paused activity, retrieve those it when finish current Activity and....
|
|
Dear friends..
Can any one tell me how to pass the value from one screen to its previous screen. Consider the case.i m having two screen first screen with one Textview and button and the second activity have one edittext and button.
If i click the first...
Started by Kumar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Launch the secondary Activity (your 'Edit Text' Activity) as a subactivity by using startActivityForResult from....
Returning a Result from a Screen"
To capture actions performed on one Activity within another requires three steps.
|
|
I have an invokeworkflow activity inside a replicator activity. The workflow that I'm trying to invoke requires 2 parameters to be passed to it, an integer and a string parameters, and these should be passed to the workflow by the replicator activity....
Started by Sam on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
What events should I use to find out the current InvokeWorkflow activity (since there will be multiple InvokeWorkflow ....
But my question was, how do I pass these values from the Replicator activity to the InvokeWorkflow activity.
|
Ask your Facebook Friends
|
Hi, There is a stack of activity i want to call the activity from that stack , My question is that is it possible to check from that stack and call that intent . When i press home button and again when i press the executable it should start the activity...
Started by Sam97305421562 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Want to do that, then Android will give you very convenient methods in your Activity/questions/2061143/android-keep-tasks-activity-stack-after-restart-from-home/2061447
Check the solution, may.
|
|
Hello everyone,
I've been learning to develop in Android and had more of a general question: If I have a layout that uses a list and some other views, should I be using Activity or ListActivity for my activity class?
I know that ListActivity will probably...
Started by Bara on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
As long as there is a ListView called @android:id/list somewhere .
Don't really see the reason to use ListActivity, unless you want to do with setContentView() method from Activity .
I'd go with Activity.
|
|
Hi,
I am trying to create a following scenario:
a task gets assigned to the user to complete a task get created for the manager to reassign the user task if necessary (don't ask, they wanted it this way) an email reminder neeeds to be sent when the task...
Started by Robert Ivanc on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The Solution
The fundemental activity ....
This might explain why your delay activity is blocked.
Reminders when the task is late so you might be able to address your delay activity using out with the same ID is added to SharePoint.
|
|
Like the title says, I need to detect when my app loses focus because another app is launched (Phone call comes in, or user hits Home etc).
Overriding Activity.OnStop does not work because that is called even when switching activities within my app.
Started by FlySwat on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I have written a utility method.
I believe you could use:
onWindowsFocusChanged(boolean hasFocus)
from your Activity.
Within X period of time, presumably some other app's activity is in the foreground).
|
|
Private class ExecuteLocations extends AsyncTask<String, Void, Void>{ private final ProgressDialog dialog = new ProgressDialog(ListProfiles.this); protected void onPreExecute() { //this.dialog.setMessage("Starting pre-execute..."); //this.dialog...
Started by alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For this case, I'd probably go with a ....
Brake it into 3 steps:
Make whatever you want to work work w/o AsyncTask Make sure you've figured out AsyncTask, do a simple Log.e("haha", "gotcha") in doInBackground(...) and check that it shows Combine the two .
|
|
Suppose I have an Activity that's a list. It calls a Service when this Activity starts. The Service will do background stuff--download, parse, and fill the list.
My question is this: How can the Service communicate with the Activity ? How can I call a...
Started by alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then you dont need to bother with the....
Questions/2274641/best-way-for-service-that-starts-activity-to-communicate-with-it
Also, consider using AsyncTask instead of a service if the service dont need to be alive when the activity is closed.
|
|
I am trying to accomplish something that seems like it should be very simple. I have a State Machine Workflow Console Application with a workflow in it. I have created a custom activity for it. This activity will NEVER be used ANYWHERE ELSE. I just want...
Started by Kevin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It needs.
However, this is not acceptable.
The custom activity appears in the toolbox.
|