background preloader

Android Programming

Android Programming

Android - Dev Notes HTC T-Mobile G1 vs Motorola CLIQ I owned a G1 for just over a year and it was lost or stolen. Having used Android for so long, I couldn’t live without it for 7 months until I was eligible for an upgrade. I stopped by the T-Mobile store to get a replacement G1, but was pleasantly surprised to find that the CLIQ was the same price. I knew it was faster and had a headphone jack (yes!), so I picked it up. It always takes time to get used to a new phone, but even after a month of use, I wasn’t blown away by the CLIQ. The basics, things that you can read in the phone specs The G1 has a larger screen. Posted in Android at December 22nd, 2009. 9 Comments. Testing in Android with mock UI components As described in an earlier post, Android is not friendly to mocking frameworks or mock-style testing. If you’re just starting, here are a couple notes to keep you on the right track. Android is bundled with JUnit 3. “Mock”ing Don’t bother with the android.test.mock package. Now write the test case. Update

Free Android Development Tutorials Free Android Development Tutorials Posted January 20, 2013 at 1:00 pm by Adam Outler When I learned how to program Java, I sat down for about a month watching YouTube videos and reading tutorials trying to understand what I was seeing. Because development is such a broad topic, and everyone thinks differently, one cannot have too many resources from which to absorb knowledge. Currently, Linux.com is hosting a multi-part series of developer tutorials aimed at teaching you how to learn how program an Android application. Android Programming for Beginners: Part 1 - This tutorial walks you through creating a basic 30 second countdown application which displays a number on-screen.Android Programming for Beginners: Part 2 - Adds a drop-down menu to the counter allowing for adjustments to the timerAndroid Programming for Beginners: User Menus - Introduces the ListView class and replaces the drop-down with a ListView Got any great sources to learn Android or Java programming? Advertisment YouTube

News | Tuto Mobile [Concours] Résultats du concours pour gagner 4 formation video2brain Android Comme promis je vous donne les résultat du concours que l’on a organisé cette semaine. Il y avait deux formations video2brain Devenez un développeur Android – Vol. 1 & 2 à gagner en participant via les commentaire et deux autres formations en participant via Twitter. Ce qui nous fait un total de lot de 319€ ! Je vous remercie à avoir été aussi nombreux à participer. Lire la suite [Concours] Gagner 4 formations vidéos pour apprendre le développement Android Comme je vous l’avais plus ou moins annoncé vendredi dans le tutoriel vidéo Android sur les Preferences, grâce à TutoMobile et video2brain, vous allez pouvoir gagner des formations vidéos pour apprendre à développer sous Android. Gestion des Preferences [Tutoriel Android n°25] Au vue des réactions (positives) sur le premier tutoriel vidéo iPhone, voici un tutoriel vidéo Android. Réaliser une custom ProgressBar/SeekBar sur Android [Tutoriel Android n°24]

Code Weblog Objectifs du tutoriel : Développer une appli Android pour réaliser une enquête de terrain. L’appli comprend la présentation de questions (avec choix de la langue), la saisie des réponses des personnes interrogées, le stockage dans une base de donnée, le comptage du nombre d’enregistrements. Liste de compétences android développées dans le tutoriel : Lancer plusieurs « Activity » (en échangeant des données), les « Intent ».Accéder à des ressources externes (fichiers xml).Utiliser une base de données sqlite3. Avis aux entrepreneurs (ou futurs entrepreneurs), ce tuto est pour vous ! Voilà le but ultime du tutoriel : déployer l’application sur une tablette Android et aller à l’assaut des centres commerciaux pour étudier un marché ;-). Niveau : Moyen Pré-requis : Astuce pour les entrepreneurs qui ne sont pas à l’aise en informatique : Les données qui définissent le questionnaire de l’enquête sont définies dans un seul fichier au format XML. Code source Introduction Spécification de notre besoin Ok.

Tutos Android - Tutoriels pour développer des applications Android Sankar Ganesh’s Technical Planet Ace Art | android Bonjour à tous, Aujourd’hui nous allons aborder un petit outil sympathique embarqué au sein de la plateforme Android, cet outil se nomme le StrictMode. Vous allez me dire, “c’est quoi cette bête ?” le StrictMode est une mode Strict (ouha !) il permet de rendre son application plus performantes en vous donnant des informations précises. Les informations peuvent être de plusieurs types OS Ecriture sur le disqueLecture sur le disqueOpération sur le réseauAccès lentsVM (Machine virtuelle) Fuite mémoire sur les activitésFuite mémoire sur les objetsFuite mémoire sur les données SQL Ces points sont très importants, car pour faire une bonne application il faut la rendre performante, vous allez me dire qu’aujourd’hui on a 1go de ram, des processeurs dual core etc… Pensez aussi au téléphone de l’ancienne génération avec des petits processeurs et peu de mémoire vive. Poursuivre la lecture

Understanding User Interface in Android - Part 1: Layouts So far in my previous few articles on Android I have focused on showing you how to get things done in Android without really spending too much time discussing the visual aspect of Android application development - User Interface design. In this article, and the next, I will walk you through the various elements that make up the UI of an Android application. In this first part of the article, I will discuss the various layouts available in Android to position the various widgets on your screen. Android Screen UI Components Up to this point, you have seen that the basic unit of an Android application is an Activity. During runtime, you load the XML UI in the onCreate() event handler in your Activity class, using the setContentView() method of the Activity class: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } Views and ViewGroups An Activity contains Views and ViewGroups. Creating the Sample Project LinearLayout

Related: