air-android

Adobe AIR for Android Hello World

社会主义新天地 提交于 2019-12-25 04:24:20
问题 Apologies in advance for asking such stupid questions, but: In Workflow for creating AIR applications for mobile devices, they say to Create an AIR application descriptor file (using the 2.5, or later, namespace). Compile the application. Package the application as an Android package (.apk). What do they mean by an AIR application descriptor file? Do they mean application.xml? What do they mean by the 2.5 namespace? I see application xmlns="http://ns.adobe.com/air/application/2.0" in

air native extension - possible to receive broadcast?

夙愿已清 提交于 2019-12-11 23:08:49
问题 I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application? 回答1: I found out this is possible. "The native implementation can dispatch events that the ActionScript extension code can listen for. This

get Device id in Adobe Air

徘徊边缘 提交于 2019-12-11 11:42:45
问题 For get device id in android sdk i wrote simple This code :: import android.provider.Settings.Secure; private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID); but i need it in Adobe air app. how can i do that? 回答1: you can now use Native Extensions on other platforms other than TV with AIR 3.0. Info: Extending Adobe AIR API: flash.external.ExtensionContext 回答2: We have recently developed an ANE that has tried to solve this problem by giving you

Get SIM Number programmatically in flex

情到浓时终转凉″ 提交于 2019-12-11 03:37:09
问题 i want to get the SIM number programmatically.Is it possible in flex?In android developer guide i saw telephony manager class,likewise do we have anything in flex?? Thanks in advance.. 回答1: Check this out... a hack for sure, but a way for you to call into the Java APIs (Android) from Flex Mobile: http://www.jamesward.com/2011/05/11/extending-air-for-android/ 来源: https://stackoverflow.com/questions/5858151/get-sim-number-programmatically-in-flex