templates/eclipse/other/BroadcastReceiver/root/src/app_package/BroadcastReceiver.java.ftl
raw| 1 | package ${packageName}; |
| 2 | |
| 3 | import android.content.BroadcastReceiver; |
| 4 | import android.content.Context; |
| 5 | import android.content.Intent; |
| 6 | |
| 7 | public class ${className} extends BroadcastReceiver { |
| 8 | public ${className}() { |
| 9 | } |
| 10 | |
| 11 | @Override |
| 12 | public void onReceive(Context context, Intent intent) { |
| 13 | // TODO: This method is called when the BroadcastReceiver is receiving |
| 14 | // an Intent broadcast. |
| 15 | throw new UnsupportedOperationException("Not yet implemented"); |
| 16 | } |
| 17 | } |