OIID RO D ND R A ND A
MohamadSafwat SoftwareEngineer,Kngine
HARD
It's
EA
Y S
TolearnaboutAndroid.
EXPERT?
Areyouan
FEATURED?
HowdoIget
ewant opllewant appspe appspeop eate Crreate C
want eywant knowth 'ttknowthey edon eoplledon' eappsp tteappspeop Crrea C ea
UseandsupportthelatestAPIsandHardware 1
SDKsarebackwardcompatible
3
Useinterfacesorparallelactivities forbackwardcompatibility.
2
NewAPIsoptimizeefficiency
usedifferentactivitiesforthesametask dependingonthedevice.
PARALLELACTIVITY
pattern
ivity m act Shi UI as no H
ES AC RF TE IN
ers listen ion entat latform t ori ep feren Dif on th ing epend d
FEEDBACK
UseAnalytics Tofind Usagepatterns
Getrealuser
UseAndroidMarket Forpublicor PrivateBeta
s tic ly na A nd se U fi rns e To att p ge a Us
Protectyour packagename 1 Upload(don't publish)the packagebefore distributingitto anyone Ifyouloseyour keystoreyourapp becomesorphan Assumingnatural orientationisportrait
Use [Link]();
ROOKIE MISTAKES
2
Detectingdevices Ratherthan 3 installations
ROOKIE MISTAKES
4 Notreadingthe Androiddeveloper blog
[Link] [Link]
[Link]() returnsnullofthedevicedoesnot supporttelephony. MacaddressmaynotworkifWiFior Bluetoothismissingoroff.
Whynotdetect devices?
[Link].ANDROID_IDisreseton wipe.
GenerateauniqueID.
DetectInstallations
Alternative?
if(uniqueID == null) { UniqueID = [Link]().toString(); }
THEFIVEDEADLYSINS
Adaptive
Psychic
GREAT App
Fresh
Smooth
for
FRESH
Alwaysuptodate. Youdon'thavetowait.
Location 1 Usethepassive Locationprovider.
TOBE FRESH
2 Data Sendupdatesto appsaccordingto thedevicestatus. (Preservebattery, runasaservice).
PASSIVE LOCATION PROVIDER