Open kintrupf opened 7 years ago
for sending intent you need full name, the app does not support any parameters for that intent. the idea was to trigger some app what support intent receivers. NOTIFY_BEACON_ENTERS_REGION should not be used as it is an internal action to notify an app logic on beacon entering region, so you do need it. if you want send some intent + parameters, you may use Tasker action , it is very flexible
Unfortunately the Tasker action only seems to work when Tasker is installed. I only get the message "Tasker application is not installed" when I try to use it :-(
What would be the "full name" of the intent? Automagic support receiving a "General Broadcast", an example given is "PowerAMP Track" with the action "com.maxmpz.audioplayer.TRACK_CHANGED". Is that something like what beacanloc would send with the Tasker action?
for tasker task you need tasker app installed, that is correct. the full name is like a package name, so if PowerAmp can change the track only receiving com.maxmpz.audioplayer.TRACK_CHANGED it is enough to use "Broadcast Intent" action, if you need to send additional params, like a track number, only an option is to use the tasker
Automagic can extract additional information from the intent extras. The PowerAMP example lists something called a "bundle" to extract track information. That looks a little bit like something from the TaskerAction.java code. I will try to install Tasker to allow the Tasker intent to be send, maybe I can catch it with automagic ;-)
I'm trying to send a "Broadcast Intent" when finding a specific beacon, using the Action parameter to identify the beacon. However, while the intent is received by the App "Automagic" without problems there seem to be no parameters attached to the intent, so I cannot distinguish the beacons.
You should also specify the complete name of the intent somewhere. Since I'm not an Android programmer it took me a while to guess the correct name
com.somebits.beacon.locator.action.NOTIFY_BEACON_ENTERS_REGION
;-)