Pages

Tuesday, March 20, 2012

[Android] Intent setAction

I am an absolutely newer to Android, and suffered while I developing a project using MIT Funf framework.

these several codes make me scratch my head.
----------------
final Context context = this;
Intent archiveIntent = new Intent(context, MainPipeline.class);
               
 archiveIntent.setAction(MainPipeline.ACTION_ARCHIVE_DATA);
 startService(archiveIntent);
----------------         

The most easy and precise explanation I have saw is:
http://milkmidi.blogspot.com/2012/02/android-intent.html (in Mandarin)

No comments:

Post a Comment