« first day    last day (18 days later) » 

05:26
Hi @Megha
Good morning
you solved it or not still
?
 
4 hours later…
09:04
No not yet .. @Pratik
oops
withiout full code its hard to debug
@Megha
is BootUpReceiver triggering properly?
Yes its triggering ..
My toast is getting displayed properly.
but code below toast is not working .
is AlarmReceiver onReceive() trigerring?
yes..
but not my activity displaying.
below code of these toast is not working.
Toast.makeText(context, "alarm start", Toast.LENGTH_LONG).show();
Toast.makeText(context, "Alarm Triggered and SMS Sent", Toast.LENGTH_LONG).show();
These both Toasts are printing?
okay, so problem in only Intent not opening WelcomeActivity class
09:17
yes only intent not triggering welcome activty
okay
Intent intentone = new Intent(context.getApplicationContext(), DialogAct.class);
intentone.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intentone);
try with this way
Okay
worked?
@Megha
Hey tell me in which device are you testing your app?
@Megha
09:33
lenovo tablet yoga 2
above code works or not?
som device have its own security manager app
see if you can send code then I can try more
10:04
???
@Pratik thank you so much ...
it worked for me..
which code works?
the last one I have sent?
intentone.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
this worked for me..
hmmm great
thanks
10:09
I also learnt this from your question
so thank you also
in future if you found any problem, you can ask me without hesitation ok @Megha
Ok np
may I ask from where are you and how much experience do you have? @Megha

« first day    last day (18 days later) »