how to use intent from receiver android
Posted
by ng93
on Stack Overflow
See other posts from Stack Overflow
or by ng93
Published on 2010-06-16T11:58:44Z
Indexed on
2010/06/16
12:12 UTC
Read the original article
Hit count: 419
hi ive got a working sms receiver but when i try to load another class using:
Intent intent = new Intent(SMSReceiver.this, SMSNotifier.class);
startActivityForResult(intent, 0);
i get the error:
The constructor Intent(SMSReceiver, Class<SMSNotifier>) is undefined
for the first line and:
The method startActivityForResult(Intent, int) is undefined for the type SMSReceiver
for the second line
id really appreciate some advice as to whats going wrong
thanks, ng93
© Stack Overflow or respective owner