Actually with or without
Str=newList() everything is the same.
Only Martin can give us more info or implement a convert function between Java types and AM variables.
Search found 241 matches
- 26 Apr 2018 17:54
- Forum: User Help / Bug Reports
- Topic: Is there a simpler way to access Java arrays?
- Replies: 14
- Views: 30002
- 26 Apr 2018 14:11
- Forum: User Help / Bug Reports
- Topic: Is there a simpler way to access Java arrays?
- Replies: 14
- Views: 30002
Re: Is there a simpler way to access Java arrays?
You can get its length and iterate through the items,yes. ctx=getContext(); str=newList(); str=callJavaMethod(ctx, "android.content.Context", "fileList()"); lentgh=length(str); for (s in str) log(s) You can also create your own list and copy the items MyList=newList(); for(s in str) addelement(MyLis...
- 08 Feb 2018 22:35
- Forum: Flow Sharing Area
- Topic: Online radio streamer controlled by AM
- Replies: 0
- Views: 8500
Online radio streamer controlled by AM
Hi. So I got a little app together that streams any kind of online music (radios: aac, mp3) by implementing exoplayer (a google media library) It works like a foreground service (notification always on) and waits for commands from automagic (by means of explicit broadcasts). It starts playback until...
- 18 Jan 2018 19:36
- Forum: User Help / Bug Reports
- Topic: Broadcast Receiver
- Replies: 8
- Views: 21558
Re: Broadcast Receiver
Great, thx!
- 17 Jan 2018 20:43
- Forum: User Help / Bug Reports
- Topic: Known Issues on Android 8
- Replies: 41
- Views: 258240
Re: Known Issues on Android 8
Android 8.0. Samsung s8
Overlays don't appear over the notification drawer anymore. They can appear if they're position is set lower on screen but they aren't clickable while the status bar is expanded.
Any solution?
Thx
Overlays don't appear over the notification drawer anymore. They can appear if they're position is set lower on screen but they aren't clickable while the status bar is expanded.
Any solution?
Thx
- 16 Jan 2018 20:46
- Forum: User Help / Bug Reports
- Topic: Broadcast Receiver
- Replies: 8
- Views: 21558
Re: Broadcast Receiver
It's the way I send the broadcast. it works if I don't use explicit broadcast.
http://automagic4android.com/flow.php?i ... aa088f20fc
http://automagic4android.com/flow.php?i ... aa088f20fc
- 15 Jan 2018 07:54
- Forum: User Help / Bug Reports
- Topic: Broadcast Receiver
- Replies: 8
- Views: 21558
Re: Broadcast Receiver
Well, I had read about new Oreo limitations. The change here is that an app(in this case Automagic) can't register to receive implicit broadcasts in it's manifest file. So to avoid this I was trying to send explicit broadcasts using the package name and class name of Automagic. This should be allowe...
- 14 Jan 2018 18:38
- Forum: User Help / Bug Reports
- Topic: Broadcast Receiver
- Replies: 8
- Views: 21558
Re: Broadcast Receiver
I tried sending a broadcast from automagic and the trigger did not fire.
Same message in the logcat though:
D/AM_BroadcastReceiver: received intent Intent...
Does it work for you Desmanto ?
Same message in the logcat though:
D/AM_BroadcastReceiver: received intent Intent...
Does it work for you Desmanto ?
- 13 Jan 2018 14:30
- Forum: User Help / Bug Reports
- Topic: Broadcast Receiver
- Replies: 8
- Views: 21558
Broadcast Receiver
Hi. I would like to trigger a flow by sending a broadcast from my android app. I've set the component name of the intent to the Automagic's package name and broadcast receiever class. The action name is something arbitrary like "my.app.send.action". In Automagic i'm setting up a new broadcast trigge...
- 29 Dec 2017 08:40
- Forum: Feature Requests
- Topic: Search for Bluetooth device
- Replies: 10
- Views: 31126
Re: Search for Bluetooth device
Didn't know about BLE beacons. Do they have to be recharged often? Could be useful as you don't have to actually take the phone out of the pocket to get it connected.
Are they easy to find/buy?
Are they easy to find/buy?