background preloader

Package Index

Package Index

Common Layout Objects 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. Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for widgets and layouts.Instantiate layout elements at runtime. Your application can create View and ViewGroup objects (and manipulate their properties) programmatically. 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. Tip: Learn more about different layout types in Common Layout Objects. Write the XML Load the XML Resource Attributes Figure 1.

15 Tips for Launching a Successful Mobile App Edith Yeung is the head of marketing of Dolphin Browser, the world's first Gesture, Webzine and Add-on-enabled mobile browser. She is also the founding partner of RightVentures, which focuses on cloud and mobile investments. You can find out more about Dolphin on Twitter, Facebook or via the Dolphin blog. Many of us have dreamed up great ideas for mobile apps. At this point, you've defined your big idea. You'll need to take additional critical steps in order to get an app out there and attract users. The Month Before Define success. Create a video. Decide where you want to be. The Week Before Draft and finalize your content. Get to know the press. Two to Three Days Before Reach out to press. Offer a sneak peek. Organize and finalize your visual assets. Launch Day Reach out to everyone on your press list. Tap your existing users. Be social. Post-Launch After your fantastic launch, how can you sustain the momentum and prevent your app from dipping under the radar? Paid advertising.

Tutoriels Récemment Google a annoncé la sortie du SDK Android Wear en preview. Android Wear est le prochain gadget Google dans le domaine des montres connectées. Dans cette première partie du tuto, je vais expliquer comment obtenir un accès à cette preview et créer un petit exemple sur Android Wear (création du projet, création de la notification et de boutons). 1 – Pré-requis Pour avoir accès à la preview du SDK, [...] Voici la suite du tutoriel sur le NavigationDrawer, vous trouvez la première partie ici : (Le projet utilisé sur ce tuto correspond à celui réalisé lors du tuto précédant) Cette partie abordera : La gestion du clic sur les différents éléments d’un NavigationDrawer La gestion de l’ouverture et la fermeture du NavigationDrawer lors du clic sur l’icône de l’application située sur l’ActionBar Le NavigationDrawer est un élément permettant de naviguer dans une application Android. Bonjour à tous!

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...

TIOBE Software: Tiobe Index TIOBE Index for January 2016 January Headline: Java is TIOBE's Programming Language of 2015! Java has won the TIOBE Index programming language award of the year. This is because Java has the largest increase in popularity in one year time (+5.94%). Java's rise goes hand in hand with Objective-C's decline (-5.88%). So what is the outlook for 2016? The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system. TIOBE Programming Community IndexSource: www.tiobe.com Java Python Visual Basic .NET JavaScript Assembly language Ruby Other programming languages The complete top 50 of programming languages is listed below. The Next 50 Programming Languages The following list of languages denotes #51 to #100. This Month's Changes in the Index Very Long Term History

Fragment - Aller plus loin dans le développement Android ListFragment Tout comme les activités, il existe un fragment « générique ». Il peut inclure des listes, des écrans de préférences et toutes les vues du framework Android pour constituer des portions d’interfaces. Par la suite, elles pourront être réutilisées plusieurs fois dans les écrans de l’application finale. Pour expliquer en profondeur tous ces concepts, une explication détaillée des fragments est donnée dans la suite de ce chapitre. Introduction aux fragments Qu’est ce qu’un fragment ? Les fragments ne sont pas simples à comprendre. En temps normal, une application est destinée à être exécutée aussi bien sur les smartphones que sur les tablettes, et peu à peu sur les télévisions connectées. Par exemple, le propriétaire d'un blog pourrait légitimement vouloir développer sa propre application pour offrir une alternative mobile à ses lecteurs. Ce genre de chose est possible grâce aux fragments ! Le cycle de vie des fragments Les activités sont régulées par un cycle de vie. Résultat final

Welcome to Android | Android Open Source App Inventor for Android App Inventor for Android is an open-source web application originally provided by Google, and now maintained by the Massachusetts Institute of Technology (MIT). App Inventor and the projects on which it is based are informed by constructionist learning theories, which emphasizes that programming can be a vehicle for engaging powerful ideas through active learning. As such, it is part of an ongoing movement in computers and education that began with the work of Seymour Papert and the MIT Logo Group in the 1960s and has also manifested itself with Mitchel Resnick's work on Lego Mindstorms and StarLogo.[1][2] Implementation[edit] App Inventor includes: History[edit] The application was made available through request on July 12, 2010, and released publicly on December 15, 2010. On December 6, 2013 (the start of the Hour of Code),[8] MIT released App Inventor 2, renaming the original version "App Inventor Classic"[9] Major differences are: See also[edit] References[edit] External links[edit]

Android Web Apps Using Android WebView An Android web app is an application that uses the Android WebView component to render part of the Android app's GUI. The WebView component is a full-fledged browser implemented as a View subclass so you can embed it inside your Android app's GUI anywhere you like. It is common to let the WebView take up most of the screen space, but you can also just let the browser take half the screen or whatever partition that suits your app. Android Web App or Android Hybrid App? Calling an Android app that uses a WebView internally for an Android Web App may sound a bit misleading, since the app is actually a mix of a native Android app and a web app. Another common term for an Android web app is Android Hybrid App. WebView is Based on Chrome From Android version 4.4 (Kitkat) the WebView component is based on the same code as Chrome for Android. Before Android 4.4 the WebView was based on the internal Android browser, but Chrome is replacing the old Android browser as the default / built-in browser.

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. Il est bâti sur le XML. Pour plus de facilité, nous allons expliquer ce tutoriel autour d'un exemple. 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.

An iPhone Lover’s Confession: I Switched To the Nexus 4. Completely. First things first, I’d love to get in touch on Google+ and Twitter (@ralf). Over the past few years I’ve invested a lot into Apple products and services. If you’d come by my house, you’d find four of the latest Apple TVs, two iMacs, the latest MacBook Air, a MacBook Pro, more than five AirPort Express stations and Apple’s Time Capsule. You could touch every single iPhone, from the first up to the iPhone 5, iPads ranging from first generation to fourth and we’ve lately added two iPad minis. My iTunes Library comprises well over 8.000 songs – all purchased via the iTunes Store. The reach of Apple’s products goes beyond my personal life. As the co-founder of Germany’s largest mobile development shop, I’m dealing with apps – predominantly iOS powered – in my daily professional life. Driven primarily by the business I run, I tried to give Android a chance more than once. And then I got the Nexus 4. In this somewhat lengthy post, I’ll try to explain why. Summary This has changed completely.

Getting Started: WebView-based Applications for Web Developers Getting started with the Android WebView is fairly simple, whether you want load a remote URL or display pages stored in your app. This tutorial walks you through creating a new Android Project, adding a WebView, loading a remote URL, and then loading a local HTML page. Note: This tutorial assumes you're a developer with limited or no experience with the Android development environment, but have some experience with Java. If you're already familiar with programming for Android, you may want to refer to to Building Web Apps in WebView on the Android developer site instead. When the installation completes, Android Studio launches and displays the welcome screen. To create a new project: Click New Project.On the next page, enter your application name, package name and target SDKs, and click Next. You now have a new Android project. Note: After you have your project created, make sure you have the KitKat SDK installed. A few of the more import folders are identified in the picture:

Related: