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. Update TextView when receiving Network messages

Dear all,

I made an android application that receives XMPP messages (using the
Smack library). Each time a message is received, the body of this
message should be placed inside a TextView. However, only when
receiving the first message this TextView is updated. When debugging
the application, I saw messages are received correctly but the
TextView is not updated properly. Currently, I am using setText() to
place the message content inside the textview.

Below, you can find the most relevant code of my program.

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        LinearLayout lin = new LinearLayout(this);
        lin.setOrientation(LinearLayout.VERTICAL);
        TextView m_tv = new TextView(this);
        m_tv.setId(1000);
        m_tv.setWidth(250);
        lin.addView(cl);

        setContentView(lin);

        initXMPPService(); //Initialize XMPP and XMPP callback
    }

private void initXMPPService() { ... }

//XMPP Callback
public void processMessage(Chat arg0, Message arg1) {
        TextView tv = (TextView)this.findViewById(1000);
        // set the text to the textview
        tv.setText(arg1.getBody());
        // debug: shows that the messages are received correctly
        Log.i("XMPPCLient", "Got message "+arg1.getBody());
 }
}

Hopefully someone can help me out.

Kind regards,

Jan Meskens

--~--~---------~--~----~------------~-------~--~----~

2. Where is zeroconf? (Bonjour?)

My understanding is there is no zero config networking API for the
Android.

If this is true, can someone at goggle please fix this omission?
Perhaps an Android 1.6 SDK?

--~--~---------~--~----~------------~-------~--~----~

3. Compile error?

4. Porting Web Browser on Android

5. SMS inbox and Simple cursor adapter.

6. Process Lifecycle

7. How to get widget object from appwidge