Hi all,
I was trying to get the purpose of the IntentService, and when should I use it?
I tried to understand from the API, but not enough details on that one.
Is there any analogy between this and running long-task on a working thread?
Any further explanation and samples on why I would use IntentService would be very welcome.
Thank...
I would need to know how to handle the intent between tabs. For example, I have a tab activity with two tabs. First on content is a text view. another one is a map view. When i click that text view it redirects to the tab2. it can be easily achieved by setCurrentTab(1) or setCurrentTabByTag("tab2") methods. But i want to pass lat and lo...
I need to pass data's (String) from one screen to another screen. At the time of button click i need to pass values from first screen to the next screen.
...
hi ive got a working sms receiver but when i try to load another class using:
Intent intent = new Intent(SMSReceiver.this, SMSNotifier.class);
startActivityForResult(intent, 0);
i get the error:
The constructor Intent(SMSReceiver, Class<SMSNotifier>) is undefined
for the first line and:
The method startActivityForResult(Inten...
In my application, I am trying to pass a serializable object through an intent to another activity. The intent is not entirely created by me, it is created and passed through a search suggestion.
In the content provider for the search suggestion, the object is created and placed in the SUGGEST_COLUMN_INTENT_EXTRA_DATA column of the Mat...
I have an android application which starts a new activity
Intent startAuthorization = new Intent(AndroidActivity, AuthorizeUser.class);
startActivityForResult(startAuthorization,4711);
When that new activity is done (a ok button is clicked) I call
setResult(RESULT_OK, returnResult);
finish();
Which works fine. In case the us...
I would like to send a notification in a broadcast receiver. the notification should launch the default sms app.
Ultimately I want to create my own notifications for incoming text messages consistent with what the deault app, Handcent, and Chomp do.
I have the code to detect the threadId of the incoming sms.
How can I craft the intent...
I want to disable the recent apps intent that is fired from the icon when you hold the home button. I am currently detecting, in the onCreate(), if the intent is fired from the quick launch dialog, and then I call finish().
This entails that when the application goes to the background finish() is called so that when the app is launched ...
Is there an Intent URI that sends you to your phones favorite contacts?
Just like content://contacts/people/ sends you to all your contacts and tel: sends you to your dialer.
EDIT
And is there also a way to go to your call log?
...
This questions somehow relates to the question when I was looking to get the extras back in startActivityForResult but now I face another challenge.
I have subscribed to receive ProximityAlerts and I have explicitly constructed the Intent to include some Extras. But when I got the service the extras are not there.
After the answers her...
I want to receive a data which is passed using intent from another page.Can you help me?
...
Hello everbody,
I've been trying to find out how to create an intent that will open the user's preferred browser without specifying the URL. I know how to open it by giving a specific URL like this:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.google.com"));
contex...
There are many intents an Android developer can use - the ones that arrive with the OS, OpenIntents, and several others.
Is there a site that lists all possible intents and their parameters?
...
Hi Guys,
When I am going from one intent to another intent, I am getting this warning :
"Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43d98340"
and the view stays on the old intent.
the code is :
btnCatalog.setOnClickListener(new OnClickListener() {
private ProgressDialog ...
At the beginning Activity is launched by an Intent and something is done with this Intent.
When I change orientation of my Activity, it's reloaded again and Intent is passed to the Activity.
How can I clear that Intent to prevent Activity from using it again?
I've tried setIntent(null), but with no result.
...
I've a service that is receiving UDP data from the network. I want to push this data from the service to a UI activity.
One way to do it is using broadcast Intents. What is the performance overhead of sending broadcasts frequently from the service to the activities?
Are there any other alternatives for doing this ?
Thanks.
...
From within my Android application, I need to make the phone 'checkin' with Google for Market updates. This can be done manually by the user by opening the dialer and typing '*#*#CHECKIN#*#*'. My app needs the ability to do the same thing.
I'm positive this done using an Intent. Some digging shows that the Alarm Manager has this pend...
I have a fully functioning program that worked. However it had two dialogs that I know I'll be reusing every time I write a program, or potentially multiple times per program. They are a EULA and an info page. So I've moved the two activities to their own project, however I don't want to have a standard EULA and info page obviously. ...
Hi,
I've got an app that creates an intent for the last.fm android app in which it will start the "recommended" station for my account when i press a button. The trick i'm trying to figure out is how do i get the phone back to my app without the user having to navigate back manually? Once it start the last.fm intent it takes you to the ...
In addition to the address, I want to include city, state and zip in Intent.ACTION_INSERT_OR_EDIT. It seems that in the
Android SDK the string format is not precise in how to include city state and zip. Any insight?
...