This document summarizes the AnDevCon 2013 conference. It highlights sessions on Android 4.4 KitKat features, responsive design with Google Play, and handling images in Android applications. It also describes two winning hackathon projects that generated memes from images and text.
17. Going Responsive with Google Play
CardMetadata CARD_LARGE = new CardMetadata(
R.layout.play_card_large, 2, 3);
CardMetadata CARD_MEDIUM = new CardMetadata(
R.layout.play_card_medium, 2, 1);
Source: Going Responsive with Google Play, AnDevCon 2013, Paglia, Marco and Grouchnikov, Kirill
18. Going Responsive with Google Play
repository.addCluster(SIGNAL_STRENGTH_XXL,
new ClusterMetadata(6, 3).
addTile(CARD_LARGE, 0, 0).
addTile(CARD_LARGE, 2, 0).
addTile(CARD_MEDIUM, 4, 0).
addTile(CARD_MEDIUM, 4, 1).
addTile(CARD_MEDIUM, 4, 2);
Source: Going Responsive with Google Play, AnDevCon 2013, Paglia, Marco and Grouchnikov, Kirill
19. Going Responsive with Google Play
CardCluster createCluster(ClusterMetadata clusterMetadata) {
CardCluster cardCluster = layoutInflater.inflate(R.layout.card_cluster,
null);
for (int tileIndex = 0; tileIndex < clusterMetadata.tileCount; tileIndex++) {
TileMetadata tileMetadata = clusterMetadata.tileMetadata[tileIndex];
CardMetadata cardMetadata = tileMetadata.cardMetadata;
layoutInflater.inflate(cardMetadata.layoutId, cardCluster);
}
return cardCluster;
}
Source: Going Responsive with Google Play, AnDevCon 2013, Paglia, Marco and Grouchnikov, Kirill
22. Key Takeaway: Design is key
Follow the Design Guidelines, deviate with purpose
Target various screen sizes - “Responsive” design
Be your designer’s friend
23. Key Takeaway: Tools are your friend
GenyMotion - http://www.genymotion.com/
MAT, Hierarchy Viewer, Traceview, Android Studio, Gradle
24. Key Takeaway: Innovate
● “Skate to where the puck is going”
● Take the extra time to get it right
● Don’t shy away from non-trivial tasks
38. Android Hackathon
Winners
1. MemeNow
Speak your meme, finds correct photo, creates your meme image, sharing.
Perfect for a Glass integration...
2. MemeChallenge
Battle your friends for the best meme text on a photo.
3. InstaMeme ?
Use photos from Google Image Search for your meme. Infinite scroll gridview.