in the world. Over 4300 members 30 meetups 12 Teach Events 4 hackathons Active participation in events like Droidcon, Global Android Developer hackathon etc
as a separate UID (Linux User ID). • Framework restricts access. • Privileges can be requested for additional access. Android App Security Content by Google under CC by 3.0
your app • src/main/res - Directory for your app's main source files • src/res/ - Contains several sub-directories for app resources • drawable-hdpi/ - Directory for drawable objects, designed for a specific screen • layout/ - Directory for files that define your app's user interface • values/ - Directory for other XML files that contain a collection of resources Android Project Folder Structure Content by Google under CC by 3.0
for multiple densities Layout XML optimized for physical screen size and orientation Strings XML localized for your target regions Drawable XML Strings, styles, themes, etc. Styles, themes varying by API level res/ drawable drawable-xhdpi drawable-hdpi drawable-mdpi layout layout-land layout-large layout-large-land values values-v11 values-v14 values-en Content by Google under CC by 3.0
• Activity has UI. • An app usually consists of multiple activities • 1 Activity is always main. • Activity has lifecycle Content by Blrdroid under CC BY-NC 3.0
move from 1 activity to another Intent defines “intention” of what application want Intents can be use to communicate from 1 application to another Content by Blrdroid under CC BY-NC 3.0
background • No User interface • Runs in the background for certain amount of time • Use in combination with broadcast often to perform heavy operations like file upload sync etc Content by Blrdroid under CC BY-NC 3.0
sizes child views and layouts Views and ViewGroups Reusable individual UI components Optionally interactive (clickable/ focusable/etc.) Organized as trees to build up GUIs Described in XML in layout resources Views ViewGroups Content by Google under CC by 3.0
PNGs, 9-patch PNGs, optimized for multiple densities Layout XML optimized for physical screen size and orientation Strings XML localized for your target regions Drawable XML Strings, styles, themes, etc. Styles, themes varying by API level res/ drawable drawable-xhdpi drawable-hdpi drawable-mdpi layout layout-land layout-large layout-large-land values values-v11 values-v14 values-en values-fr values-ja Content by Google under CC by 3.0
register for system events Different kind of system events which do broadcast Battery low Headset plugged Location change Sms received Call received etc Content by Blrdroid under CC BY-NC 3.0
It appears as a small icon in notification bar • User Can interact with this notifications • Sent via notification manager • Example SMS, alarm, miss call Content by Blrdroid under CC BY-NC 3.0
Android UI Design “Pictures are faster than words.” “Only show what I need when I need it.” “Make the important things fast.” “Do the heavy lifting for me.” Content by Google under CC by 3.0
help you: § Record your ideas § Assess your app from a high-level user point of view § Save you a lot of time § All of the above § None of the above Which of the following are considerations when designing for Android? 1. Mobile 2. Heterogeneity 3. Touch 4. All of the above 5. None of the above You should use your wireframes to... § Re-arrange, add, and remove interactions quickly § Scope out UI complexity § Both of the above § None of the above You should start drawing your wireframes using Keynote or Powerpoint. § True § False Content by Google under CC by 3.0
data. • Encapsulates the data and provides mechanisms for defining data security. • Is a standard interface that connects data in one process with code running in another process. • You don't need to develop your wn provider if you don't intend to share your data with other applications. Content by Blrdroid under CC BY-NC 3.0