fork download
  1. package com.example.test.testappwidget1;
  2.  
  3.  
  4.  
  5. import android.appwidget.AppWidgetManager;
  6.  
  7. import android.content.Context;
  8.  
  9. import android.content.Intent;
  10.  
  11. import android.util.Log;
  12.  
  13.  
  14.  
  15. public class AppWidgetProvider extends android.appwidget.AppWidgetProvider {
  16.  
  17. @Override
  18.  
  19. public void onDeleted(Context context, int[] appWidgetIds) {
  20.  
  21. Log.i("Test", "onDeleted");
  22.  
  23. super.onDeleted(context, appWidgetIds);
  24.  
  25. }
  26.  
  27.  
  28.  
  29. @Override
  30.  
  31. public void onDisabled(Context context) {
  32.  
  33. Log.i("Test", "onDisable");
  34.  
  35. super.onDisabled(context);
  36.  
  37. }
  38.  
  39.  
  40.  
  41. @Override
  42.  
  43. public void onEnabled(Context context) {
  44.  
  45. Log.i("Test", "onEnable");
  46.  
  47. super.onEnabled(context);
  48.  
  49. }
  50.  
  51.  
  52.  
  53. @Override
  54.  
  55. public void onReceive(Context context, Intent intent) {
  56.  
  57. Log.i("Test", "onReceive");
  58.  
  59. super.onReceive(context, intent);
  60.  
  61. }
  62.  
  63.  
  64.  
  65. @Override
  66.  
  67. public void onUpdate(Context context, AppWidgetManager appWidgetManager,
  68.  
  69. int[] appWidgetIds) {
  70.  
  71. Log.i("Test", "onUpdate");
  72.  
  73. super.onUpdate(context, appWid
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:73: error: reached end of file while parsing
        super.onUpdate(context, appWid
                                      ^
1 error
stdout
Standard output is empty