How i pass string from main activity to broadcast receiver with alarm manager?

view story

http://stackoverflow.com – I create an application with alarm manager and broadcast receiver and i want pass string from main activity to public class MyScheduleReceiver extends BroadcastReceiver(i have alarm manager inside) and then to public class MyStartServiceReceiver extends BroadcastReceiver for pass data to static function....In main activity save this variable from editbox with shared preferences.But i can not use shared preference inside receiver.How i can do this? public class MyScheduleReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { int theHour = intent.getIn (HowTos)