Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes |
informatique:android [23/07/2015 14:41] – [Tips] cyrille | informatique:android [06/01/2019 18:24] – cyrille |
---|
====== Android ====== | ====== Android ====== |
| |
| Aussi: |
| * [[/informatique/mobile_app|/informatique/mobile_app]] |
| |
===== Docs ===== | ===== Docs ===== |
* smartphone Samsung GT-S5369, Android 2.3.6 (API 10), Kernel 2.6.35 | * smartphone Samsung GT-S5369, Android 2.3.6 (API 10), Kernel 2.6.35 |
* USB idVendor=04e8, idProduct=685e | * USB idVendor=04e8, idProduct=685e |
| * Ecran: TFT 262 000 couleurs, 320 x 240 |
| * smartphone Samsung Galaxy Core Prime SM-G361F, Android 5.1.1 |
| * Écran 4.5 pouces 480 x 800 (WVGA), Quad-Core 1.2GHz |
| |
| |
| |
| ==== Versions d'Androïd et API ==== |
| |
| Les [[http://developer.android.com/about/dashboards/index.html|statistiques des versions utilisées d'Androïd]], les tailles d'écran et versios d'OpenGL, publication par Google. |
| |
| | Version | Name | API | |
| | 2.2 | Froyo | 8 | |
| | 2.3.3 | Gingerbread | 10 | |
| | 2.3.7 | ::: | ::: | |
| | 4.0.3 | Ice Cream Sandwich | 15 | |
| | 4.0.4 | ::: | ::: | |
| | 4.1.x | Jelly Bean | 16 | |
| | 4.2.x | ::: | ::: | |
| | 4.3 | ::: | ::: | |
| | 4.4 | KitKat | 19 | |
| | 5.0 | Lollipop | 21 | |
| | 5.1 | ::: | ::: | |
| | 6.0 | Marshmallow | 23 | |
| |
| ===== Developement ===== |
| |
| |
| ==== SDK & Tools ==== |
| |
| * Android Studio https://developer.android.com/studio/index.html |
| |
===== Tips ===== | ==== Tips ==== |
| |
On Android 4.2 and later, the **developer options are hidden by default**. To enable the developer options, select Settings > About phone and tap Build number seven times. | On Android 4.2 and later, the **developer options are hidden by default**. To enable the developer options, select Settings > About phone and tap Build number seven times. |
Manage Json: | Manage Json: |
* [[https://developer.android.com/reference/org/json/JSONTokener.html|JSONTokener]] in Android reference | * [[https://developer.android.com/reference/org/json/JSONTokener.html|JSONTokener]] in Android reference |
===== Developement ===== | |
| ==== En vrac ==== |
| |
[[http://www.redmondpie.com/switchme-brings-multiple-user-accounts-to-android-download-now/|SwitchMe]] brings Multiple User Accounts to Android. | [[http://www.redmondpie.com/switchme-brings-multiple-user-accounts-to-android-download-now/|SwitchMe]] brings Multiple User Accounts to Android. |
| |
USB OTG | USB |
* Connecter des périphériques USB à un smartphone Android | * USB On-The-Go (OTG) pour Connecter des périphériques USB à un smartphone Android |
| * [[http://android.serverbox.ch/?p=549|Android USB Host + Arduino: How to communicate without rooting your Android Tablet or Phone]] - En fin d'article tout plein d'explication (soft usb driver, ...) |
| * [[https://github.com/mik3y/usb-serial-for-android|usb-serial-for-android]] : This is a driver library for communication with Arduinos and other USB serial hardware on Android, using the Android USB Host API available on Android 3.1+. |
| |
| |
Android Open Accessories | Android Open Accessories |
* [[http://developer.android.com/tools/adk/index.html|The Accessory Development Kit (ADK)]] | * [[http://developer.android.com/tools/adk/index.html|The Accessory Development Kit (ADK)]] |
* IOIO-OTG : https://www.sparkfun.com/products/11343 ($39.95) | * [[/electronique/IOIO-OTG|/electronique/IOIO-OTG]] |
* [[https://github.com/ytai/ioio/wiki|wiki]], [[http://pinterest.com/ytaibt/ioio/|gallery]] | |
| |
Dev | Dev |
| * [[https://www.apriorit.com/dev-blog/233-how-to-build-apk-file-from-command-line|How to build Android app .apk file from command line]] |
* [[http://developer.android.com/sdk/index.html#download|ADT Bundle]] = Eclipse + ADT plugin + Android SDK Tools + Android Platform-tools + The latest Android platform + The latest Android system image for the emulator | * [[http://developer.android.com/sdk/index.html#download|ADT Bundle]] = Eclipse + ADT plugin + Android SDK Tools + Android Platform-tools + The latest Android platform + The latest Android system image for the emulator |
* [[http://android.developpez.com/cours/?page=Debutan|tutoriels pour Android]] sur [[http://android.developpez.com|android.developpez.com]] | * [[http://android.developpez.com/cours/?page=Debutan|tutoriels pour Android]] sur [[http://android.developpez.com|android.developpez.com]] |
* [[http://www.siteduzero.com/informatique/tutoriels/votre-premiere-application-android|Votre première application Android]] par ShigeruM | * [[http://www.siteduzero.com/informatique/tutoriels/votre-premiere-application-android|Votre première application Android]] par ShigeruM |
* [[http://wiki.frandroid.com/wiki/D%C3%A9veloppement_Android|Wiki FrAndroid]] | * [[http://wiki.frandroid.com/wiki/D%C3%A9veloppement_Android|Wiki FrAndroid]] |
* http://anddev.org | |
| |
Glossaire: | Glossaire: |
* AVD : Android Virtual Device => Périphérique Android Virtuel | * AVD : Android Virtual Device => Périphérique Android Virtuel |
| |
| Google [[https://developer.chrome.com/home/devtools-pillar|Chrome Developer Tools]] |
| |
ADB for Android Developers (ARCHOS Internet Tablet) | ADB for Android Developers (ARCHOS Internet Tablet) |
* http://www.archos.com/support/support_tech/updates_adb.html?country=in&lang=en | * http://www.archos.com/support/support_tech/updates_adb.html?country=in&lang=en |
| |
Google [[https://developer.chrome.com/home/devtools-pillar|Chrome Developer Tools]] | |
| |
===== OpenStreetMap ===== | ===== OpenStreetMap ===== |
Keypad-Mapper | Keypad-Mapper |
* [[http://wiki.openstreetmap.org/wiki/Keypad-Mapper_3]] | * [[http://wiki.openstreetmap.org/wiki/Keypad-Mapper_3]] |
| |
| Mapsforge |
| * http://wiki.openstreetmap.org/wiki/Mapsforge |
| |
===== TTS ===== | ===== TTS ===== |
* [[http://www.apriorit.com/dev-blog/227-handle-sms-on-android|How to Receive and Handle SMS on Android]] | * [[http://www.apriorit.com/dev-blog/227-handle-sms-on-android|How to Receive and Handle SMS on Android]] |
| |
| Manage inbox sms: |
| * read: http://androidsourcecode.blogspot.fr/2010/10/android-reading-inbox-sms.html |
| * delete http://stackoverflow.com/questions/419184/how-to-delete-an-sms-from-the-inbox-in-android-programmatically |
| |
| Envoyer des SMS: |
| * [[http://www.mkyong.com/android/how-to-send-sms-message-in-android/|How to send SMS message in Android]] //(Android 2.3.3)// |
===== TCP/IP ===== | ===== TCP/IP ===== |
| |
* Android Server/Client example; [[http://android-er.blogspot.fr/2014/02/android-sercerclient-example-client.html|client side using Socket]], [[http://android-er.blogspot.fr/2014/02/android-sercerclient-example-server.html|server side using ServerSocket]] | * Android Server/Client example; [[http://android-er.blogspot.fr/2014/02/android-sercerclient-example-client.html|client side using Socket]], [[http://android-er.blogspot.fr/2014/02/android-sercerclient-example-server.html|server side using ServerSocket]] |
| |
Http servers: | Http client: |
| * [[http://hmkcode.com/android-send-json-data-to-server/|Android | Send “POST” JSON Data to Server]] |
| * [[http://www.vogella.com/tutorials/AndroidJSON/article.html|JSON in Android]] with org.apache.http.client.HttpClient |
| |
| Http server: |
* Multi-threaded HTTP server library for Android devices : https://github.com/matt1/AndroidHTTPServer | * Multi-threaded HTTP server library for Android devices : https://github.com/matt1/AndroidHTTPServer |
* Asynchronous socket, http (client+server), websocket, and socket.io library for android. Based on nio, not threads : https://github.com/koush/AndroidAsync | * Asynchronous socket, http (client+server), websocket, and socket.io library for android. Based on nio, not threads : https://github.com/koush/AndroidAsync |
| |