Ch 11 : Utiliser les capacités du mobile
Utiliser les capacités du mobile
Bibliographie
- Adobe AIR for TV : http://www.adobe.com/devnet/devices/articles/air_tv_faq.html
- Icon Generator, un utilitaire de création d’icônes réalisé avec Flash, est disponible en
ligne ou sous forme d’application AIR : http://icon-generator.net/ .
Divers
- Tour de Mobile Flex :
- Adobe AIR Lauchpad sur Adobe Labs :
http://labs.adobe.com/technologies/airlaunchpad
- Truc du jour : comment faire une capture d’écran sous Android
http://www.maximejohnson.com/techno/2010/08/truc-du-jour-comment-faire-une-capture-d’ecran-sous-android/
- Tutorial : Prendre des captures d’écran sur Android sans rooter son téléphone
- Détecter une sortie d'application avec Event.ACTIVATE / Event.DEACTIVATE
- AIR Mobile – Accéder aux contacts sous iOS (Address Book)
http://www.flex-tutorial.fr/2011/05/22/air-mobile-acceder-aux-contacts-sous-ios-address-book/
- Top AIR APIs to bring your mobile apps to life
http://www.hsharma.com/tech/adobe/slides-top-air-apis-to-bring-your-mobile-apps-to-life/
StageWebView
- Making the most of StageWebView
http://voisen.org/blog/2010/10/making-the-most-of-stagewebview/
|
StageWebViewBridge is an extended version of flash.media.StageWebView. It lets you:
|
http://code.google.com/p/stagewebviewbridge/
- AIR Mobile StageWebView UIComponent
I thought it would be convenient to have a StageWebView UIComponent so that you can add it to the display chain. It is just a wrapper class which exposes the needed APIs like the text and url setter and the methods show, hide and dispose. Further you can listen for all event listeners which just get cloned and re-dispatched.
- Displaying ads in your mobile AIR application
http://www.webkitchen.be/2011/05/17/displaying-ads-in-your-mobile-air-application/
Mark Doherty: StageWebView demo - OAuth Support
Jonathan Campos: HTML Web View in AIR for Android
Sönke Rohde: AIR Mobile StageWebView UIComponent
Judah Frangipane: Using StageWebView within a UIComponent in Mobile
- AIR Mobile – Afficher des pop-up natives depuis AIR (hack)
http://www.flex-tutorial.fr/2011/05/23/air-mobile-afficher-des-pop-up-natives-depuis-air-hack/
- Hacking Google maps to work on your Flex 4.5 /AIR mobile project:
http://www.igorcosta.org/?p=350
- Article de Christophe Coenraets
http://coenraets.org/blog/2011/07/flex-mobile-invoking-javascript-in-a-stagewebview/
Permissions
- AIR application descriptor files
http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html
- Setting mobile application properties
- AIR application descriptor elements
Géolocalisation
- API sur Adobe LiveDocs : http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html
- Build a GPS Speedometer: Getting Into AIR for Android
http://mobile.tutsplus.com/tutorials/android/build-a-gps-speedometer-getting-into-air-for-android/
- Documentation Google Android : Obtaining User Location
http://developer.android.com/guide/topics/location/obtaining-user-location.html
- AIR pour Android – Récupérer la géolocalisation de l'utilisateur dans une application Air
- AIR pour Android – Visualiser la géolocalisation GPS sur Google Maps avec Air
- Flex 4.5: Using Geolocation(GPS) on a mobile device
http://www.flexpasta.com/index.php/2011/05/12/flex-45-using-geolocationgps-on-a-mobile-device/
- AIR On Android: Geolocation
http://blog.everythingflex.com/2010/07/22/air-on-android-geolocation/
Photo-WebCam
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Camera.html
- Accessing the camera phone with Adobe AIR for Android
- How to Use CameraUI in a Cross-platform Way
http://blogs.adobe.com/cantrell/archives/2011/02/how-to-use-cameraui-in-a-cross-platform-way.html
- ANDROID, AIR AND THE CAMERA :
http://www.riagora.com/2010/07/android-air-and-the-camera/
- Air for Android: Camera and Camera Roll http://www.unitedmindset.com/jonbcampos/2010/09/29/air-for-android-camera-and-camera-roll/
<android>
<manifestAdditions><![CDATA[
<manifest installLocation="auto">
<uses-permission name="android.permission.CAMERA"/>
</manifest>
]]></manifestAdditions>
</android>
URI Handlers
- URI Handlers in AIR for Android: Phone Calls, Email, Text Messages, Maps, Market, and URLs : http://blogs.adobe.com/cantrell/archives/2010/11/uri-handlers-in-air-for-android-phone-calls-email-text-messages-maps-and-urls.html
- Sending Text Messages with Body Text using AIR for Android - Hackish Workaround
NetworkInterface
- Detecting the network connection type with Flex 4.5
http://www.multimediacollege.be/2011/04/detecting-the-network-connection-type-with-flex-4-5/
- AIR Mobile – Détecter la présence d'une connexion Wifi ou 3G
http://www.flex-tutorial.fr/2011/05/12/air-mobile-detecter-la-presence-dune-connexion-wifi-ou-3g/
Clavier virtuel
- Controlling the soft keyboard in Flex Mobile applications
http://www.peterelst.com/blog/2011/05/08/controlling-the-soft-keyboard-in-flex-mobile-applications/
- Handling Form Fields in Flex 4.5 / AIR Mobile
http://killerspaz.wordpress.com/2011/05/07/handling-form-fields-in-flex-4-5-air-mobile/
donner le focus au champ suivant quand on tape Enter ou Return sur le clavier virtuel
F.A.Q
Questions
Are there any ways that we can make use of the Android Licensing Service in order to copy protect our applications?
http://developer.android.com/guide/publishing/licensing.htmlCe sera possible avec AIR 3.0.
Question : Visualisation PDF
Ne fonctionne pas sous Android
Langage de l'appareil ?
You can use the Capabilities.language property to determine the language code of the system.
Caractéristiques de l'appareil
RE: API allows to fetch device manufacturer and model?
https://github.com/funky-monkey/Android-Native-Device-Info
