Luca Bedogni

Luca Bedogni-Programming with Android–System Services 2 System Services ØThereisa wide list of servicesavailable AccessibilityManager AccountManager A...

0 downloads 1 Views 2MB Size

Recommend Documents

ØEach activity should be declared in the file: ... Type of the data (MIME type) void setData ... Luca Bedogni -Programming with Android–Intents 27

Luca Bedogni -Programming with Android–Notifications, (c) Luca Bedogni 2012Threadsand Services 3 Android: Where are we now … TILL NOW àAndroid Application structured has a single Activity or as a group of Activities … ØIntentsto call other activities

Resource type: drawable, raw, xml Resource type: color, dimension, style ... XML Layout File Device 1,2 Java App Code XML String File Italian, English, French

Luca Bedogni, Marco Di Felice-Programming with Android –System Services AlarmService vFires an Intent in the future ... vUsed to switch off screen during calls

Retention rate vLess than 25% of APP users return after the first day of use. vUsually, mobile gaming experiences the highest retention rate

Programming with Android: Network Operations Luca Bedogni Dipartimento di Scienze dell’Informazione Università di Bologna

Luca Bedogni -Programming with Android–Animations, Menu, Toast and Dialogs Animations: frame-by-frame vDefine a set of frame –Each Drawable is a frame of the animation vUsage of AnimationDrawable –An Animation specialization

Android system component Responsible for notification management ... (Context.NOTIFICATION_SERVICE) ... Luca Bedogni, Marco Di Felice-

-Current timeof the day (atomic clock) GPS receiver operations: 1.Passivelyreceive data (no transmit) ... user clock must be synchronized with the satellite clock…

vUse animations as a support for your application, not as a main purpose. Luca Bedogni -Programming with Android–Navigation PropertyAnimation ... Luca Bedogni -Programming with Android–Navigation AlertDialogwith custom layout • Simply call setView()