11
Jeff McWherter @jmcw [email protected] Sharing A Lesson For Android Developers On Sharing Resources

Getting Started With Android Library Projects

Embed Size (px)

DESCRIPTION

As a great software developer, you learned early in your development career that duplication of code was not a good idea. With development patterns such as SOLID, developers are trained early that code duplication is evil. To help battle code duplication, and allow parts of Android applications to be reusable, the Android platform has recently introduced library projects to add to your development arsenal. In this session, we will explore Android library projects and the benefit they can provide to your application.

Citation preview

Page 1: Getting Started With Android Library Projects

Jeff McWherter @jmcw [email protected]���

Sharing

A Lesson For Android Developers On Sharing Resources

Page 2: Getting Started With Android Library Projects

Professional Android

Page 3: Getting Started With Android Library Projects

Copy & Paste

Page 4: Getting Started With Android Library Projects

Java Libraries

Page 5: Getting Started With Android Library Projects

Library Projects

Page 6: Getting Started With Android Library Projects

6  

Hardware

Page 7: Getting Started With Android Library Projects

Including APKs

Page 8: Getting Started With Android Library Projects

8  

Including APKs

down vote

accepted

<intent-filter ><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" />

</intent-filter>

<intent-filter> !<action android:name="gravityworks.plugins.PIZZA" /> ! <category android:name="android.intent.category.DEFAULT" />!</intent-filter> !

Intent newScreen = new Intent(“gravityworks.plugins.PIZZA”); !startActivity(newScreen); !  

Page 9: Getting Started With Android Library Projects

Styles

Page 10: Getting Started With Android Library Projects
Page 11: Getting Started With Android Library Projects

Jeff McWherter  

[email protected]���twitter : @jmcw���