January 16th, 2012, 01:04 AM
|
#2 (permalink)
|
|
Premium Member
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
|
openFileInput(String) and openFileOutput(String) are declared in android.content.Context, which is a superclass of Activity. Your broadcast receiver is given a context when it's onReceive(Context, Intent) is called. Does calling openFileOutput(String) or openFileInput(String) on the context parameter work for you?
|
|
|
Last edited by jiminaus; January 16th, 2012 at 01:07 AM.
|
|