Android Utils 1.1 [Extension]

GeorgeN

  • Posts: 859
A native extension for Android only.

Get Device Info
Return some information from device like os version,model,etc

INPUT:
-dropdown
RETURN:
-string


Send Email
Open the email client with some information allready filled in.

INPUT:
-email (destination)
-subject (email title)
-body (email content)
RETURN:
-nothing
NOTE:
If the user will press the back button on device the email and game activity will be closed. Not the desired effect i wanted but...

Keep Screen On
Keep the device screen always on. Useful in situation where you have a game based just on accelerometer and the player don't touch the screen.




I will add more things when I will need them :). As usual feedback is appreciated

« Last Edit: February 13, 2014, 01:25:55 pm by GeorgeN »

GeorgeN

  • Posts: 859
[Update v1.1][07.08.2013]
-added [Keep Screen On] block.

sandsoftimer

  • Posts: 316
iOS ->          

Android ->
iOS -> Bubble Tapping
 Android -> Bubble Tapping

vikingpotato

  • Posts: 854
works like magic! Here take a cookie


GeorgeN

  • Posts: 859
works like magic! Here take a cookie



Mmmm looks good.
What blocks did you use?

mat0pad

  • Posts: 364
OpenFL compatible?
   


                              

GeorgeN

  • Posts: 859
OpenFL compatible?

I don't know. Give it a try if it dosen't work and you want to use it I will fix it. At the moment I don't have time to test all my extensions on OpenFL.

mat0pad

  • Posts: 364
It's not OpenFL compatible
   


                              

GeorgeN

  • Posts: 859
It's not OpenFL compatible

Ok I will take a look as soon as posible.

GeorgeN

  • Posts: 859
Give it a try. I had a version on my computer and compiled without errors. The email function is working fine on my 2.3 device.

mat0pad

  • Posts: 364
Yeah works (sorry about before)!  Turns out it was another extension that stopped the compiler.
   


                              

GeorgeN

  • Posts: 859
Yeah works (sorry about before)!  Turns out it was another extension that stopped the compiler.

No problem. Glad to help.

What block you will use? The email one?

mat0pad

  • Posts: 364
The email and the keep on screen
   


                              

GeorgeN

  • Posts: 859
The email and the keep on screen
Hmmm I think now in stencyl the keep screen on is by default. When I've made the extension there was a bug in Stencyl.

heroofnought

  • Posts: 4
Any particular way to add Bluetooth support? Or would this be a difficult task to do? (I.E. sending saved data over Bluetooth)