how to use intent from receiver android
- by ng93
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