AlamrManager code

This commit is contained in:
jacques 2021-01-22 21:17:23 +01:00
parent 466f42e8a8
commit 890b00722c

View file

@ -0,0 +1,16 @@
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();
}
}