mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-16 02:12:38 +01:00
17 lines
443 B
Java
17 lines
443 B
Java
|
package net.foucry.pilldroid;
|
||
|
|
||
|
import android.content.BroadcastReceiver;
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.widget.Toast;
|
||
|
|
||
|
public class AlarmReceiver extends BroadcastReceiver {
|
||
|
|
||
|
@Override
|
||
|
public void onReceive(Context context, Intent intent)
|
||
|
{
|
||
|
// Show the toast like in above screen shot
|
||
|
Toast.makeText(context, "New stock calculted", Toast.LENGTH_LONG).show();
|
||
|
}
|
||
|
}
|