How to read battery info on Android with Adobe AIR

With Adobe AIR native extensions, it is extremely easy to read the battery data of your android device from within your AIR application. Here is how to get going… (more…)

last comments
Akbar Goldust
Akbar Goldust

Hi I have used your Native Extension in my app batteryData.rawLevel batteryData.scale batteryData.temperature unit is Celsius ? batteryData.voltage it gives me 4138, is 4.138 volt? Thanks
Akbar Goldust
Akbar Goldust

and what is rawLevel and access ? Thanks for your great NAE
Sudar
Sudar

Hi, Can i get the dynamic battery value whenever it changes on device for Android AIR application? Regards, Sudar

How to add an image to android gallery (CameraRoll) using adobe air

A very simple and handy task at hand is to save your own visual content into the android gallery. For this Adobe AIR provides the CameraRoll class which takes care of all the protocol negotiations and compression of the image data provided by you. You simply need to create a BitmapData from your visual element and pass it to the CameraRoll. This is important to note that saving an image to the device in this way is much much faster than  encoding it to JPEG o PNG yourself. (more…)

last comments
Paul Steven
Paul Steven

Any idea why it would fail to save on a Nexus 7? I have installed your APK and I am …
Paul Steven
Paul Steven

Just to add to my last comment, the APK works on my HTC Desire Phone with Android 2.x but the …
Cesar Eduardo Suarez Trujillo
Cesar Eduardo Suarez Trujillo

Paul it fail beacuse maybe you didnt set the permission to save in the memory

Native android application flow using back button in Adobe Air

A very common issue to be faced while  developing Adobe AIR applications for android is that the back button does not function in its natural way when running a AIR application. For native android applications the back button respects the flow of a application. IE: if you have a popup open or a submodule called in a native android app, pressing the back button will take the application state one step back in a native manner. However in AIR applications (more…)

How to watch hack videopp video player to watch videos for free

Videopp is a new site in the line of business that megavideo used to be. While Megavideo has been wrapped up by the FBI in US, new sites like videopp are coming up to take advantage of this situation. As a flash developer i am curious to learn how these sites work. So i have been at cracking some loopholes that i will like to share here.

(more…)