Google Development and Design - Cebu Google DevFest 2013
-
Upload
keith-levi-lumanog -
Category
Technology
-
view
1.594 -
download
0
description
Transcript of Google Development and Design - Cebu Google DevFest 2013
Keith Levi LumanogKeith Levi LumanogMobile and Web DeveloperMobile and Web Developer
www.micab.cowww.micab.co
Intro on Android DevtIntro on Android DevtBuilding Mobile AppsBuilding Mobile Apps
Android VersionsAndroid Versions
Android User BaseAndroid User Base“Every day more than 1 million new Android devices are activated worldwide.”
“Every day more than 1 million new Android devices are activated worldwide.”
Why learn Android?Why learn Android?Cool FactorCool Factor
Why learn Android?Why learn Android?Easy to LearnEasy to Learn
String s2 = s1.replace(“abc”,”xyz”);String s2 = s1.replace(“abc”,”xyz”);
NSString *s2 = [s1 stringByReplacingOccurrencesOfString:@"abc"
withString:@"xyz"];
NSString *s2 = [s1 stringByReplacingOccurrencesOfString:@"abc"
withString:@"xyz"];
Why learn Android?Why learn Android?Web Development are too mainstreamWeb Development are too mainstream
Not just for MobileNot just for Mobile
Fully DocumentedFully Documented
Why learn Android?Why learn Android?
SweldoSweldoJunior - 12,000Junior - 12,000
Mid Level - 20,000Mid Level - 20,000
Senior - 60,000Senior - 60,000
Android ToolsAndroid Tools
Android ToolsAndroid Tools
IntelliJ IDEAIntelliJ IDEA Android StudioAndroid Studio
Android Development
Android DevelopmentNOTE TAKING APP FROM SCRATCHNOTE TAKING APP FROM SCRATCH
Create an android project
Create an android project
Right ClickRight Click
Exercise : Create UI like shown belowExercise : Create UI like shown below
SolutionSolution
Creating the appCreating the app
1. get the text from two input
fields
1. get the text from two input
fields
Double click the textbox to switch to XML view
Double click the textbox to switch to XML view
set id = etTitleset id = etTitle set id = etNoteset id = etNote
exercise #2Do the same thing for “Note” EditText
exercise #2Do the same thing for “Note” EditText
Solution
exercise #3set reference to
save button
solutionsolution
onclick listenersonclick listeners
WHAT’S WRONG WITH THE CODE?
WHAT’S WRONG WITH THE CODE?
SAVING DATASAVING DATA
when opening a file, always close it!when opening a file, always close it!
DDMS modeDDMS mode
return to previous perspective
return to previous perspective
create new activitycreate new activity
MainActivity.javaMainActivity.java
Run and TestRun and Test
Exercise #4 add new activity in manifest fileExercise #4 add new
activity in manifest file
Run and Test
Run and TestRun and Test
exercise #5exercise #5Read the file without overriding the current file dataRead the file without overriding the current file data
use String builderuse String builder
finishing touchesfinishing touches
READACTIVITY.JAVAREADACTIVITY.JAVA
mainactivity.javamainactivity.java
main.xmlmain.xml
Android SMS APIAndroid SMS APISend and Receive SMS programmaticallySend and Receive SMS programmatically
Android SMS APIAndroid SMS APISend any message to this number:Send any message to this number:
0926.650.96920926.650.9692
AndroidAndroidUser Interface and ExperienceUser Interface and Experience
AndroidAndroid Devices and DisplaysDevices and Displays
AndroidAndroid Devices and DisplaysDevices and Displays
AndroidAndroid Devices and DisplaysDevices and Displays
MobileMobile Multiple Views Into OneMultiple Views Into One
MobileMobile Multiple Views Into OneMultiple Views Into One
MobileMobile Orientation ChangesOrientation Changes
MobileMobile Don’t Mimic!Don’t Mimic!
Android, iOS and Windows Phone 7.Android, iOS and Windows Phone 7.
MobileMobile Don’t Mimic!Don’t Mimic!
Android, iOS and Windows Phone 7.Android, iOS and Windows Phone 7.
MobileMobile Don’t Mimic!Don’t Mimic!
MobileMobile Don’t Mimic!Don’t Mimic!
Make Targets Fingertip-SizeMake Targets Fingertip-Size
target area of about 44 x 44 points.target area of about 44 x 44 points.
MobileMobile
Make Targets Fingertip-SizeMake Targets Fingertip-Size
target area of about 44 x 44 points.target area of about 44 x 44 points.
MobileMobile
Notify UsersNotify UsersMobileMobile
7-second rule7-second ruleMobileMobile
7-second rule7-second ruleMobileMobile
Pop Overs and SidebarsPop Overs and SidebarsMobileMobile
MobileMobile Pop Overs and SidebarsPop Overs and Sidebars
MobileMobile Pop Overs and SidebarsPop Overs and Sidebars
MobileMobile Lists and TablesLists and Tables
MobileMobile Lists and TablesLists and Tables
MobileMobile Search StylesSearch Styles
MobileMobile MapsMaps
MobileMobile MapsMaps
MobileMobile GalleriesGalleries
MobileMobile GalleriesGalleries
MobileMobile GalleriesGalleries
MobileMobile GalleriesGalleries
MobileMobile No DataNo Data
MobileMobile No DataNo Data
MobileMobile StatisticsStatistics
MobileMobile ActivityActivity
MobileMobile ActivityActivity
MobileMobile ActivityActivity
MobileMobile SignupSignup
MobileMobile SignupSignup
MobileMobile SignupSignup
MobileMobile SignupSignup
MobileMobile SignupSignup
MobileMobile ProfilesProfiles
MobileMobile ProfilesProfiles
Colors and TypographyColors and Typography
Colors and TypographyColors and Typography
Don’t be afraid to go out of the
box
Don’t be afraid to go out of the
box
MobileMobile Out of the BoxOut of the Box
MobileMobile Out of the BoxOut of the Box
Your only limit is your imagination
Your only limit is your imagination
Execute Fast!Execute Fast!
Thank You!Thank You!
@keithics or [email protected]@keithics or [email protected]