background preloader

Android

Facebook Twitter

Zxing - Multi-format 1D/2D barcode image processing library with clients for Android, Java. Android Cloud to Device Messaging (C2DM) Android Cloud to Device Messaging (C2DM) - Tutorial Copyright © 2011 Lars Vogel Android C2DMs This tutorial describes how to push information from a server to the Google device. It is based on Eclipse 3.7, Java 1.6 and Android 2.3 (Gingerbread). 1. Most mobile apps require data from the Internet. An alternative approach is that the server contacts the mobile app once new data is available (Push). 1.2.

As of Android 2.2 it is possible to push information to an Android app. In a C2DM you have three involved parties. When the application server needs to push a message to the Android application, it sends the message via an HTTP POST to Google’s C2DM servers. The C2DM servers route the message to the device. C2DM messages are limited in size to 1024 bytes and are intended to inform the device about new data not to transfer it. Android devices maintain an connection to the Android Play server. C2DM is currently still in beta and you need to apply to use it. 2.1. The above example is in Java. 3.

Articles, tutoriels et cours pour la programmation sur système Android, le développement d'applications mobiles. Droid4me - Android application development framework. Android - Développement.