/paw/src/com/google/marvin/paw/WidgetGlueActivity.java
http://eyes-free.googlecode.com/ · Java · 20 lines · 14 code · 3 blank · 3 comment · 0 complexity · 90ccbcd10da8b36a58b99306c6ffffdf MD5 · raw file
- package com.google.marvin.paw;
-
- import android.app.Activity;
- import android.content.Intent;
- import android.util.Log;
-
- // This activity is fairly stupid - it just sends the button presses to the
- // Service.
-
- public class WidgetGlueActivity extends Activity {
- @Override
- protected void onResume() {
- super.onResume();
- //Log.e("PAW", "WidgetGlueActivity called with " + getIntent().getAction());
- Intent serviceIntent = new Intent("com.google.marvin.paw.runWidget");
- serviceIntent.putExtra("input", getIntent().getAction());
- this.startService(serviceIntent);
- finish();
- }
- }