Make an Alert for a background process

by Linda » Thu, 30 Apr 2009 01:33:17 GMT


Sponsored Links
 hi all;

I have a background process that save data in my sdcard how can i be
alert ?!!
it is an application run in background
thx for your help
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Listadapter issue

Hi, I am trying to record the selection made by the user in the array.
But when I run the app, it crashes the moment I click something.
Please let me know what could be done for this.

public class ListViewExample extends ListActivity
{
        public int a[];
        public int i=0;
    public String[] presidents = {
            "Dwight D. Eisenhower",
            "John F. Kennedy",
            "Lyndon B. Johnson",
            "Richard Nixon",
            "Gerald Ford",
            "Jimmy Carter",
            "Ronald Reagan",
            "George H. W. Bush",
            "Bill Clinton",
            "George W. Bush",
            "Barack Obama"
    };

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.listview);

        setListAdapter(new ArrayAdapter<String>(this,
            android.R.layout.simple_list_item_1, presidents));

    }

    public void onListItemClick(
    ListView parent, View v,
    int position, long id)
    {
        Toast.makeText(this,
            "You have selected " + presidents[position],
            Toast.LENGTH_SHORT).show();
                a[i++]=position;

    }
}

-- 

2. SampleBrowserPlugin only works on emulator, not on device

hi
i try to use mydroid/development/samples/BrowserPlugin to test plugin

and i have modified the html to
<object type="application/x-testbrowserplugin" height=50 width=250>
    <param name="DrawingModel" value="Bitmap" />
    <param name="PluginType" value="Animation" />
</object>

on my mydroid build (android-2.1 update 1) it works well

but i try to test it on Android-2.X device
it fails

but from the USER-AGENT
both webkit seems use the same version (AppleWebKit 530.17)

also i have exacted the framework.jar from device
and i have found PluginManager also included in that jar


so i would like to ask what other reasons may cause this behavior???


thanks








-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Selling apps from Canada in the Market?

4. How to connect to a robot.

5. Getting the url of an http response

6. Is WebView suitable for what I need?

7. Any way to get some equivalent to the adb log while the device is not plugged into computer?