8

How to pass double and string values from activity to broadcast in android

view full story
linux-howto

http://stackoverflow.com – I am working on development of monitoring application for android phones which always run in background and automatically responds to SMS strings without interaction of user I successfully got battery level and GPS coordinates in activity but cant pass these values from activity to broadcastreceiver which then auto send these values as reply to SMS strings. Here is a code for passing value from activity class to broadcastreceiver class: String info = "Battery Level: " + level + "%\n"; setBatteryLevelText(info); Intent in = new Intent("my.action.string"); (HowTos)