Package android.content

Examples of android.content.ComponentName


 
  static public Intent getIntent(Context ctx)
  {
    Intent i = new Intent();

    ComponentName component = new ComponentName(ctx, BackgroundService.class);

    i.setComponent(component);

    return i;
  }
View Full Code Here


  {
    if (Preferences.getUserSpecificAccessToken().isValid())
    {
      Log.i("Fire Eagle", "about to start background service");

      ComponentName result = ctx.startService(BackgroundService.getIntent(ctx));
     
      if (result == null)
      {
        Log.e("Fire Eagle", "unable to start background service");
      }
View Full Code Here

TOP

Related Classes of android.content.ComponentName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.