Code example for Intent

Methods: getActivity

0
     
    return(ticker);
  } 
 
  private PendingIntent buildContentIntent() {
    Intent i=new Intent(Settings.ACTION_SETTINGS);
     
    return(PendingIntent.getActivity(this, 0, i, 0));
  } 
 
  private RemoteViews buildContent(int progress) {
    RemoteViews content=new RemoteViews(this.getPackageName(),
                                       R.layout.content); 
     
    return(content);
  } 
}