background preloader

The Developer's Guide

The Developer's Guide

Hello, Views A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways: Declare UI elements in XML. The Android framework gives you the flexibility to use either or both of these methods for declaring and managing your application's UI. The ADT Plugin for Eclipse offers a layout preview of your XML — with the XML file opened, select the Layout tab. The advantage to declaring your UI in XML is that it enables you to better separate the presentation of your application from the code that controls its behavior. In general, the XML vocabulary for declaring UI elements closely follows the structure and naming of the classes and methods, where element names correspond to class names and attribute names correspond to methods. Tip: Learn more about different layout types in Common Layout Objects. Write the XML Each layout file must contain exactly one root element, which must be a View or ViewGroup object. Attributes

App Personalisation: What is it and why does it matter? Gone is the time when the marketers used to take a spray-and-pray approach to their campaigns. In today’s hyper-connected, on-the-go digital ecosystem, marketers endeavour to create meaningful conversations with the users based on their location, shopping behavior and demographics. According to a study conducted by CMO Council, 68% of millennials consider their smartphones to be a personal device. Today’s customers expect businesses to create and deliver personalised experiences on mobile. Why Should You Care? There are millions of apps out there vying for consumers’ attention. Simply put, personalising involves refining the user experience according to his/her preferences. Personalisation Tools App personalisation serves two purposes at once – The users save their time on skimming the right content and businesses get to focus on that section of the audience that is most likely to convert. There are other ways of personalisation. What about the challenges? Don’t Overdo It

Welcome to Android | Android Open Source Omni-Channel Marketing - What is it and Why Does it Matter? Marketers often confuse multi-channel marketing with omni-channel marketing. There’s a deceptively simple difference between the two. While the former implies the presence of a brand on multiple channels across the offline and online environment, the latter is all about how well-integrated are those channels are. Just a few months back, omni-channel was more of a marketing buzzword. Getting omni-channel right to the last details is anything but easy. HowToUse - ksoap2-android - Find out how to use this library in your Android application - A lightweight and efficient SOAP library for the Android platform. My favorites ▼ | Sign in Project Home Downloads Wiki Issues Source Comment by thanhbinh.gd@gmail.com, Apr 8, 2011 nice :) Comment by sow... great Comment by xianglon... I'd like it,thanks Comment by project member mosa... It is all in the m2-repo folders. Comment by sa... In Addition to the above comment after adding the reference the following error is given : "Conversion to Dalvik format failed with error 1" - Removing the library and cleaning the project does not fix this problem instead I have to delete the project and start again. Comment by sa... Problem fixed, for anyone else getting this make sure to read this line carefully : To download a file from there, right click on "View raw file" and select "Save Link as" (this label differs for different browsers) and you will get the full jar downloaded. Download th file any other way and you will get the "Conversion to Dalvik format failed with error 1" error. Comment by JRL... Thanks Samuel Comment by project member mosa... Comment by mone741...

5 Hacks to Turn Your App Users into Evangelists Today, every business realizes that mere acquiring more app users amounts to nothing unless those users are constantly engaged. Statistics reveal that retaining customers needs 5X less investment than acquiring new ones. Not just that. Current users are more likely to make a purchase than new users. Retaining your customers is tantamount to grow your app. But even retaining customers is not enough. 1. Most businesses make the mistake of focusing too much on the app. 2. With advertisements becoming ubiquitous, consumers are losing trust on what brands have to say about themselves. 3. Loyalty programs have always been around. 4. When you expect them to be more than just users, you’ve to give them more than just an app. 5. If nothing else seems to work, try incentivisation. Evangelists are born out of users who are emotionally invested in your brand and believe in your core values.

Utilisation du web service SOAP sous Android Un web service permet la communication et l'échange de données entre une application et un système. Dans ce tutoriel, nous allons voir comment utiliser le web service SOAP sous Android. SOAP (Simple Object Access Protocol) est un protocole réseau permettant de faire des appels de procédures sur une machine distante à l'aide d'un serveur d'application. Pour notre exemple, nous allons créer une classe simple que nous allons appeler Tutoriel. Public class Tutoriel { String url ; String auteur ; Int nbChapitre ; Float note ; } Nous ne mettons pas les attributs en privé afin de les utiliser directement dans une autre classe. Tout d'abord, téléchargez le fichier ksoap2_android_src.zip, dézippez-le et copiez le dossier org dans votre répertoire src. Maintenant nous pouvons programmer notre classe qui contiendra une fonction permettant de récupérer un objet SoapObject. Notre classe est terminée. Pour cela nous allons ajouter une fonction qui va parser le résultat. tTutoriel=anyType{sUrl=http:

iPhone and iPad apps news and reviews swipe this block to see more The fact you have an actual computer inside your iPhone means your regular calculator are pretty much obsolete nowadays. We know, it’s not quite time to start your holiday shopping (or is it?) but it’s always time for shopping for other stuff like clothes and shoes, right? You probably never considered the option that insurance can be cool, right? There are a bunch of reasons you may need a cocktail app or two. Tengi is a brand new messaging app that follows in the footsteps of insanely popular, world-dominating messenger apps like WhatsApp. BUCKiTDREAM is the world’s first dream platform, which encourages its users to dream big and dream bold. Postcard & Tag makes sure you get the best out of your trip when you find yourself abroad for a few days. Swingmail is pushing hard into the new UX for the inbox. A specially for young people )))

Android 2.2 : installer une rom de mise jour Froyo sur HTC Hero Près d’un téléphone Android sur 2 tourne actuellement avec un OS Android de type 2.1, 1.6, ou 1.5. Si vous avez acheté votre smartphone avant 2010, il y a de fortes chances que votre constructeur (HTC, Samsung, Motorola,…) n’ait pas développé de mise à jour officielle Froyo (Android 2.2) pour votre téléphone… Pas de Froyo ? pas de possibilité de stocker vos applications sur votre SD card Heureusement, il y a quelques développeurs indépendants qui proposent sur le net des roms non officielles compatibles avec votre téléphone pour effectuer la mise à jour. Au sommaire de ce tutoriel : Ces manips sont bien évidemment valables pour les autres google phones, à condition que vous trouvez la rom qui va bien. Mise en garde Lorsque vous effectuerez la mise à jour vers Android 2.2, sachez que toutes les données contenues dans la mémoire interne de votre téléphone seront effacées. Pourquoi mettre à jour vers Android 2.2 plutôt que 2.3 Et l’intérêt de la mise à jour 2.2 ? Installer une ROM Android

Appel dun Webservice depuis Android avec KSoap | Thinkdroid Bonjour. Comme cela fait quelques temps que je n’ai rien posté de nouveau, je me suis dit que j’allais encore faire un billet sur un thème trop peut documenté à mon goût, tout du moins en français : l’appel aux webservices depuis une application Android. Pour cela nous allons avoir besoin d’un webservice (à vous ou pas). Pour être capable d’utiliser un webservice, il vous faut obtenir quelques informations à son propos. Pour la suite nous allons prendre un webservice que j’ai moi-même crée pour l’une de mes applications, qui ne prend rien en paramètre et qui renvoie un entier. private static final String SOAP_ACTION = " private static final String METHOD_NAME = "GetChampionRotationWeek"; private static final String NAMESPACE = " private static final String URL = " Voyons maintenant comment nous en servir. try SoapObject requete = new SoapObject(NAMESPACE, METHOD_NAME); using System;

Tlcommande universelle sous Android pour Tvix Xroid A1 Tutoriel SOAP sur Android Source : wikipedia.org Bonjour et bienvenus dans mon premier tutoriel ! Je vous propose aujourd’hui d’aborder le problème des communications basées sur le protocole haut niveau SOAP. Pour çà, je me suis créé un petit projet qui permet de connaître le temps et les prévisions météo dans les principales villes des USA (ok, pas très utile si on n’y habite pas, mais pour le tutoriel, le service utilisé est parfait). Vous aurez sûrement l’occasion de vous y confronter car l’interopérabilité des systèmes est très en vogue, notamment à cause de la fragmentation des plate-formes (et bientôt celle d’Android?) et des solutions logicielles. SOAP est un protocole d’interopérabilité qui permet à une application cliente d’exécuter des méthodes distantes et d’en recevoir le résultat. Pour résumer la prise en charge de SOAP dans Android… néant. Quoi ? Non mais attendez, on va s’arranger pour que vous n’ayez à faire le gros boulot qu’une seule fois ! On va procéder par étapes. HttpConnectionManager. <?

For my pending (really pending) Android project. by ununquadium114 Sep 22

Related: