NetworkInfo native extension for android – Access connectivity status, availability, detailed network state and more…

With Adobe AIR native extensions, it is extremely easy to read the Network info like , connectivity status, network availability etc on your android device from within your AIR application. This extension intends to fill up the missing gaps in the built in NetworkInfo class provided in AIR SDK  Here is how to get going…

1. Download the free version of our native extension – NetworkInfo – from:

https://flashvisions.com/goodies/air-android-extensions/networkinfo-extension/

 

2.  Create  a instance of  NetworkInfo :

import com.flashvisions.mobile.android.extensions.net.NetworkInfo;

var networkInfo:NetworkInfo = new NetworkInfo();

 

3. Request information through public functions

trace(networkInfo.getCoarseState());
trace(networkInfo.getDetailedState());
trace(networkInfo.isNetworkConnected());
trace(networkInfo.isNetworkAvailable());

 

Return values for getDetailedState() and getCoarseState() are CONSTANT names from thr original Android API, NetworkInfo.DetailedState and NetworkInfo.State respectively.

http://developer.android.com/reference/android/net/NetworkInfo.DetailedState.html
http://developer.android.com/reference/android/net/NetworkInfo.State.html

 

Download Native Extension

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…
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

ANEBuilder 4 Android – A tool to automate ane creation for android on windows

I have been up and running with Adobe AIR native extensions this whole week. In the process of failing and trying , cooked up this utility tool that will make your life easier for now  (Until flash builder itself packages ANE naively).

(more…)

last comments
Ilya Gazman
Ilya Gazman

Hi, I been very exited to use your tool, this is a great idea! Unfortunately it did not worked for…

Flash player 11 highly sought after in marketplace

Adobe flash player seems to be gaining some heavy momentum in android market place. In a matter of 4 days the ranking of flash player 11 has crossed over from #168 to #81 this morning to #25 at the time of writing this article from my HTC sensation.

It is now quiet clearly visible that apple had a deep fear of flash ruining its revenue if it was allowed on ios. Despite of bad names such as resource hog etc, flash is showing clear dominance in the mobile world.

Samsung and HTC both have low range devices like HTC explorer and Samsung galaxy mini 2, which even though are not Adobe certified, but can still run flash and air flawlessly out of the box.

Be sure to Check out android marketplace for the latest position of flash player.

https://play.google.com/store/apps/collection/topselling_free