Flex 4.5 pour mobiles http://flexpourmobiles.posterous.com Accompagnement du livre aux éditions Dunod posterous.com Tue, 11 Oct 2011 10:11:00 -0700 Ch 11 : Utiliser les capacités du mobile http://flexpourmobiles.posterous.com/ch-11-utiliser-les-capacites-du-mobile http://flexpourmobiles.posterous.com/ch-11-utiliser-les-capacites-du-mobile

Utiliser les capacités du mobile

Bibliographie

  • 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 :

http://flex.org/tourmobile

  • 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

http://www.frandroid.com/13417/tutorial-prendre-des-captures-decran-sur-android-sans-rooter-son-telephone/

  • Détecter une sortie d'application avec Event.ACTIVATE / Event.DEACTIVATE

http://www.flex-tutorial.fr/2010/09/13/air-android-detecter-une-sortie-dapplication-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:

  • Communicate Actionscript with Javascript.

  • Communicate Javascript with Actionscript.

  • Load local files and resources in a easy way.

  • Extend loadString method with AS3 - JS communication.

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

http://help.adobe.com/en_US/flex/mobileapps/WSa8161994b114d624-33657d5912b7ab2d73b-7fe2.html#WSe4e4b720da9dedb53d70042612e27c5c3d4-7fff

  • AIR application descriptor elements

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f2fea1812938a6e463-7fe5

Géolocalisation

  • 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

http://www.flex-tutorial.fr/2010/07/12/air-android-recuperer-la-geolocalisation-de-lutilisateur-dans-une-application-air/

  • AIR pour Android – Visualiser la géolocalisation GPS sur Google Maps avec Air

http://www.flex-tutorial.fr/2010/07/12/air-android-visualiser-la-geolocalisation-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

http://www.leonardofranca.com/index.php/2011/05/09/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/

<android>

    <manifestAdditions><![CDATA[

       <manifest installLocation="auto">

      <uses-permission name="android.permission.CAMERA"/>

       </manifest>

     ]]></manifestAdditions>

</android>

 

URI Handlers

  • Sending Text Messages with Body Text using AIR for Android - Hackish Workaround

http://www.remotesynthesis.com/post.cfm/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.html

Ce 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

 

 

Projet exemple

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1923321/ck-SanDiego2.png http://posterous.com/users/he6mqT6EBHUtI christophe Keromen ckeromen christophe Keromen