You should be able to define your own constructor or setter that takes
the context as a parameter, no? Does that not work?
MyPhoneStateListener(Context ctx)
{
sthustfo wrote:
Hi,
I would like to know how I can start a new activity from within the
PhoneStateListener method, say
You should be able to define your own constructor or setter that takes
the context as a parameter, no? Does that not work?
MyPhoneStateListener(Context ctx)
{
sthustfo wrote:
Hi,
I would like to know how I can start a new activity from within the
PhoneStateListener method, say
You should be able to define your own constructor or setter that takes
the context as a parameter, no? Does that not work?
MyPhoneStateListener(Context ctx)
{
this.ctx = ctx;
}
or something -
sthustfo wrote:
Hi,
I would like to know how I can start a new activity from within the
3 matches
Mail list logo