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

Warning Indian Consumers !! – watch out for HTC Explorer Defect

Its just been over a week or two that HTC launched its much touted HTC Explorer in India as a revision. Before you go shop hopping to get this device for yourself (falling for the reduced price), please be warned that out of random samples that i have checked from HTC retailer ,  2 /2 HTC Explorer were found to have a major manufacturing defect.

To verify whether your handset is a defective one or not follow the steps below:

1. Connect your earphones to the phone to act as a antenna

2. Turn on the Android FM application.

3. Now use the HTC options button to select speakers as our output source.

At this stage if you listen  to any FM station, you will find the audio breaking and jumping. If this is your phone, you may be in for a peril at customer service.Thus its best you know about it prior to purchase. It is very much possible that the defect was known in prior and the price was reduced to help it sell off (Just my personal opinion).

Please get your phone checked for the defect mentioned above when you are buying. If you have been a victim of publicity over newspaper or other media , you may approach consumer court in your local city to file a case as you see fit. The defect is found only in the new batch of phones (after the offer was made available).

Customer awareness in India is still quiet poor, and hence such issues creep in unnoticed.  Hopefully we will get some kind of official response from HTC on this. Currently customer service had nothing to say on this. they could not refuse and neither will they accept.

last comments
Vaibhav
Vaibhav

I am going to buy a htc Explorer..is this problem still there? are there chances of getting a defective phone…