Loading...
iPhoneTéléphone mobileweb2.0

Faire une application mobile avec PhoneGap


Pour faire des applications mobiles sur ANDROID, IPhone et autres la solution la plus simple si l’on ne connait que les langages du Web comme HTML et javascript c’est le framework PhoneGap.

 

PhoneGap est une plate-forme d’application open source qui vous permet de créer des applications mobiles nativement installés en utilisant HTML, CSS et JavaScript.

Eclipse est un environnement de développement intégré open source (IDE) qui prend en charge de nombreuses technologies.

Les softs nécessaires :

Eclipse classique

http://www.eclipse.org/downloads/

SDK Android

http://developer.android.com/sdk/index.html

PhoneGap

http://phonegap.com/download

  1. Visitez la page des téléchargements Eclipse pour télécharger le package Eclipse classique pour votre système d’exploitation. Le téléchargement Eclipse sera une archive contenant l’environnement de développement.
  2. Décompressez l’archive sur votre disque dur local et se souvenir de son emplacement.
  3. Une fois extrait, vous pouvez lancer Eclipse en double-cliquant sur l’application Eclipse, sans étapes de configuration supplémentaires.

 

 

Mise en place d’outils Android

Après avoir téléchargé et mis en place Eclipse, vous devrez configurer votre environnement pour utiliser les outils de développement Android de Google. Il ya deux étapes à ce processus. Tout d’abord, vous téléchargez et installez le SDK Android. Deuxièmement, vous installez le plugin ADT pour Eclipse.

Télécharger et configurer le SDK Android

La première étape de la configuration des outils Android sur votre système est de télécharger le SDK Android.

  1. Visitez le site SDK Android pour télécharger la version correspondant à votre système d’exploitation.
  2. Extraire l’archive téléchargée sur votre disque dur local et se souvenir de son emplacement.

Configurer le plugin ADT pour Eclipse

Ensuite, vous devez configurer l’ADT (Outils de développement Android) plug-in pour Eclipse. Le plugin ADT doit être installé par l’assistant d’installation Eclipse nouveau logiciel.

  1. Lancer Eclipse.
  2. Suivez les instructions de téléchargement du plugin ADT, disponible à la page SDK développeur Android pour Eclipse . Ces étapes vous guidera à travers l’installation du plugin ADT.
  3. Redémarrez Eclipse.

Une fois que vous avez installé le plugin ADT et redémarré Eclipse, vous devez le configurer pour utiliser le SDK Android de référence que vous avez déjà téléchargés sur votre système de fichiers local.

  1. Suivez les instructions sur la page SDK Android Developer pour configurer Eclipse pour définir l’emplacement du SDK Android approprié dans le plugin ADT.

Télécharger le plugin ADT


  1. Démarrez Eclipse, puis sélectionnez Aide> Installer un nouveau logiciel.
  2. Cliquez sur Ajouter, dans le coin supérieur droit.
  3. Dans la boîte de dialogue Ajouter un référentiel qui apparaît, entrez « ADT Plugin » pour le nom et l’adresse URL suivante pour l’emplacement:
      https://dl-ssl.google.com/android/eclipse/
  4. Cliquez sur OK. Si vous avez des difficultés à acquérir le plugin, essayez d’utiliser « http » dans l’URL d’emplacement, au lieu de «https» (https est préféré pour des raisons de sécurité).
  5. Dans la boîte de dialogue disponible du logiciel, sélectionnez la case à cocher Outils de développement et cliquez sur Suivant.
  6. Dans la fenêtre suivante, vous verrez une liste des outils à télécharger. Cliquez sur Suivant.
  7. Lisez et acceptez le contrat de licence, puis cliquez sur Terminer. Si vous obtenez un avertissement de sécurité indiquant que l’authenticité ou la validité du logiciel ne peut être établie, cliquez sur OK.
  8. Lorsque l’installation est terminée, redémarrez Eclipse.

Configurer le plugin ADT


Une fois Eclipse redémarré, vous devez spécifier l’emplacement de votre répertoire SDK Android:

  1. Dans le « Welcome to Android Development » fenêtre qui apparaît, sélectionnez Utiliser SDK existants.
  2. Parcourir et sélectionnez l’emplacement du répertoire SDK Android que vous avez récemment téléchargé et décompressé.
  3. Cliquez sur Suivant.

Votre IDE Eclipse est maintenant mis en place pour développer des applications Android, mais vous devez ajouter les derniers outils de la plate-forme SDK et une plate-forme Android pour votre environnement. Pour obtenir ces packages pour votre SDK, continuer à Ajout plates-formes et les forfaits .

Télécharger et installer PhoneGap

La prochaine étape est de télécharger et installer PhoneGap.

  1. Visitez la page de téléchargement PhoneGap et cliquez sur le lien de téléchargement orange pour commencer le processus de téléchargement.
  2. Extraire l’archive dans votre système de fichiers local pour une utilisation ultérieure.

Vous êtes maintenant prêt à créer votre premier projet PhoneGap pour Android dans Eclipse.

16 comments
  1. westbrook shoes

    I precisely needed to thank you so much again. I’m not certain what I might have taken care of without the entire thoughts contributed by you relating to this topic. It was before a very hard case for me personally, however , finding out your specialized technique you resolved it took me to leap for gladness. Now i am grateful for your service and as well , hope that you are aware of a powerful job you happen to be doing instructing men and women by way of your website. I know that you have never come across all of us.

  2. lebron 18

    I must express appreciation to the writer just for bailing me out of this particular incident. As a result of scouting throughout the the net and getting views which are not pleasant, I was thinking my life was done. Being alive devoid of the strategies to the issues you’ve solved through this article is a crucial case, and the ones which could have in a wrong way affected my career if I hadn’t noticed the blog. That natural talent and kindness in handling all the stuff was excellent. I don’t know what I would have done if I had not encountered such a solution like this. I’m able to at this point relish my future. Thanks a lot so much for your skilled and result oriented guide. I will not think twice to recommend the blog to anybody who would like assistance about this topic.

  3. yeezy

    Thank you a lot for giving everyone remarkably remarkable possiblity to read from here. It is usually very useful and as well , packed with fun for me personally and my office peers to visit the blog no less than thrice in one week to read the newest items you will have. And definitely, I’m just usually fulfilled with the effective strategies served by you. Selected 1 ideas in this post are definitely the most suitable we have all ever had.

  4. nike off whtie

    Needed to write you this tiny remark to give many thanks the moment again about the stunning strategies you have featured in this article. This is really surprisingly open-handed of you to make unreservedly exactly what most people would have marketed as an e book to help make some cash on their own, primarily seeing that you might well have tried it if you ever decided. Those tricks also acted to be a fantastic way to fully grasp that many people have a similar interest similar to my own to learn lots more on the subject of this problem. I’m certain there are lots of more pleasant occasions ahead for people who look into your site.

  5. pg 1

    I have to express my thanks to you just for bailing me out of this situation. Just after scouting through the internet and coming across ways which were not beneficial, I was thinking my life was done. Existing without the solutions to the issues you have solved all through the short post is a serious case, as well as ones which might have negatively affected my career if I had not encountered the website. Your good mastery and kindness in taking care of all areas was priceless. I am not sure what I would’ve done if I hadn’t encountered such a thing like this. I’m able to now look ahead to my future. Thanks for your time very much for the reliable and sensible help. I will not hesitate to endorse the sites to any individual who will need guidance on this area.

  6. supreme clothing

    I precisely wished to thank you so much all over again. I’m not certain the things I would have created without the actual aspects documented by you over such situation. It has been an absolute challenging issue for me, but coming across your specialized mode you dealt with it made me to leap over happiness. Now i am happy for the work as well as hope that you recognize what a great job that you’re providing teaching others using your blog. Probably you have never got to know any of us.

  7. yeezy supply

    I wanted to draft you the tiny note to help say thanks a lot yet again with the incredible principles you’ve shared at this time. It is remarkably open-handed of people like you to provide unhampered what exactly most of us would’ve offered for sale as an e book to earn some money on their own, primarily now that you might have done it if you ever decided. The pointers likewise served like the good way to know that many people have the same fervor like mine to grasp way more when considering this matter. Certainly there are numerous more pleasant times in the future for those who examine your website.

  8. bape clothing

    I have to get across my admiration for your kindness supporting people that must have guidance on this important subject. Your real dedication to passing the solution up and down had become particularly advantageous and have frequently encouraged girls just like me to reach their targets. Your entire informative information implies much a person like me and even more to my fellow workers. Many thanks; from all of us.

  9. nike dunks

    Thanks so much for giving everyone such a wonderful possiblity to discover important secrets from here. It can be so cool plus jam-packed with amusement for me personally and my office acquaintances to search your blog at the very least three times in one week to learn the new stuff you will have. And indeed, I’m also certainly fulfilled with your amazing guidelines you give. Certain 3 ideas on this page are clearly the most suitable we’ve ever had.

  10. cheap kyrie 5

    I would like to convey my respect for your kindness in support of folks who need help on the subject. Your personal commitment to passing the message along appears to be astonishingly interesting and have frequently empowered men and women much like me to achieve their dreams. This useful hints and tips entails this much a person like me and somewhat more to my mates. Thanks a ton; from all of us.

  11. supreme t shirt

    I have to point out my love for your kindness supporting those who require help with this one matter. Your personal commitment to getting the message around has been really helpful and has usually allowed many people much like me to attain their desired goals. The valuable instruction means this much a person like me and much more to my colleagues. Warm regards; from all of us.

  12. golden goose

    I intended to send you the bit of observation to help say thanks again with your wonderful guidelines you’ve documented above. This has been quite tremendously generous with you to supply freely just what many of us would have made available as an e-book in making some dough on their own, specifically given that you might well have tried it in the event you considered necessary. The principles in addition worked to be a good way to realize that other individuals have the same keenness really like mine to figure out good deal more with regard to this matter. I think there are some more enjoyable moments up front for many who read through your site.

  13. curry 6

    Needed to put you that bit of remark in order to say thanks once again for your magnificent suggestions you’ve provided on this page. It was really particularly open-handed of people like you to provide openly all that a few individuals could have supplied for an electronic book to help with making some cash for themselves, most importantly considering the fact that you might have tried it if you ever desired. Those creative ideas additionally worked as the fantastic way to fully grasp other individuals have the same dreams the same as my own to know the truth a great deal more in respect of this matter. Certainly there are thousands of more fun situations in the future for those who go through your site.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.