I am unable to get my BroadcastReceiver onReceive method called using the BOOT_COMPLETED intent.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jerrellmardis.umbrella"
android:versionCode="4"
android:versionName="1.0.3">
...
I'm switching between different Activities using Intents. For one Activity, I would like it to clear the history stack so when the user presses the back button, it takes them Home instead of previous activities in my application.
...
Could some one please tell me how to invoke an activity from a service when the service receives some content from a server. the service keeps getting the data and the activity needs to update itself.
I am unable to find a good tutorial for broadcast intents stuff.
...
In my application I am downloading and saving an apk to the sdk card and then I want to start the installation of the apk. I'm using the following code to attempt this:
Intent intent =new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(file), "application/vnd.android.package-archive");
activity.startActiv...
Hello, I'm trying to have my IntentService show a Toast message,
but when sending it from the onHandleIntent message, the toast shows but gets stuck and the screen and never leaved.
I'm guessing its because the onHandleIntent method does not happen on the main service thread, but how can I move it?
Has anyone has this issue and solved i...
I'm sure this can be answered really easily. I just do not find the intent id for this job.
I want to show up that localization settings page, where the user can select "turn on localization through wifi..."
Intent intent = new Intent( ??? );
startActivity(intent);
...
Is there functionality in teh live Wallpaper for the service to know where widgets are placed on the homescreen and the size of the widgets? For instance If I created a Live Wallpaper that changed based on widget position is that possible?
Also I want to make a widget with buttons that manipulate the live wallpaper, would I use the Inte...
I am currently have two seperate applications, both perform seperate tasks, but there is on limited occasion times when I need one application to use the other if its there.
So I use a function to check the required application exists:
public static boolean isIntentAvailable(Context context, String action)
{
final PackageManager p...
I can't seem to find a simple example of how to make a button that is on a widget launch an external activity. I'm well aware of how to do this with a button in a normal activity. But it seems that things are a little different when down through a widget.
I'm trying to make a button on my widget open up the official Facebook App. From w...
Hi All,
Is there any intent to view files such as word document(.doc), excel sheet, powerpoint(.ppt), pdf, etc. in android.
If any, then please help me out of this.
Thanks.
...
hello everyone, I require urgent help..
I am creating a sample add contact application using android intents.
heres my code:
Intent addNewContactI;
addNewContactI=new Intent(Contacts.Intents.Insert.ACTION,this.contactsUri);
addNewContactI.putExtra(Contacts.Intents.Insert.NAME, "Sample Name");
startActivityForResult(addNewContactI,RESU...
Thanks !!i have two .java classes as trial.java and CommonActivity.java as:
public void onClick(View v)
{
switch (v.getId())
{
case R.id.btnSequence:
Intent intent1 = new Intent();
intent1.setClass(this,CommonActivity.class);
Bundle bun1 = new Bundle();
bun1.putString("String_key", "value1")...
I am creating a appwidget which needs to update on a specific interval. I use AlarmManager for this.
I want to have the alarm run the onUpdate() method in the AppWidgetProvider.
//Create the intent
Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE);
pendingIntent = PendingIntent.getBroadcast(context, 0, in...