Android Open Source - VirginMobileMinutesChecker Widget

From Project

Back to project page VirginMobileMinutesChecker.


The source code is released under:

Copyright 2011 Jay Goel. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Red...

If you think the Android project VirginMobileMinutesChecker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.jaygoel.virginminuteschecker;
/*from  w  w  w .  j a  v a 2  s .  c om*/
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;

import com.jaygoel.virginminuteschecker.UpdateService;

public class Widget extends AppWidgetProvider
  Context saved_context;
  AppWidgetManager saved_appWidgetManager;
    public void onUpdate( Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds )
      context.startService(new Intent(context, UpdateService.class));

Java Source Code List