Tipy pre developerov
Aké nástoje na vývoj používam

Michal Pavlásek
twitter.com/pavlasek
plus.google.com/+MichalPavlasek
Obsah
•
•
•
•
•

Idea / Návrh aplikácie
Vývoj
Testovanie
Nasadenie
Ostrá prevádzka / Maintanance
O mne
•
•
•
•
•

Java/Android, …, developer
Treba.sk
Easy Silencer
Football Glossary
Hangman Movies
Idea / Návrh aplikácie
• Fluid UI
– fluidui.com
• Taylor Ling
–

http://androiduiux.com/free-designresources/
Idea / Návrh aplikácie
• Wireframing / Mockups
• Printable A4 Android GUI Sketching Kit
– http://androiduiux.com/2012/06/3...
Vývoj
• minSdkVersion=14
– Ak je to len trošku možné
–

Inak
●

ActionBarSherlock ( ActionBarCompat)

●

Holo Everywhere

...
IDE + OS
• Android Studio
– IntelliJ Idea
• Android Development Tools (ADT)
–

Eclipse

• Linux (Ubuntu), Mac
• Windows
–
...
Build
• Gradle
– Android Studio
• Eclipse
• ANT
• Maven
http://androidkickstartr.com/
Device - / AVD
• Zariadenie je nutnosť
• AVD
–

ARM

–

x86

• Amazon AVD
• Genymotion
–

www.genymotion.com
Vývoj
• GIT (svn, ...)
• Amazon/Bitnami
– EC2 micro
Vývoj
• http://square.github.io/
–

Dagger

–

Otto

–

Okhttp

–

Tape

–

...
Vývoj - Databáza
• SQLite
• ORM
–

OrmLite

–

greenDAO

–

storm-gen
Vývoj - UI
• Touch feedback!
• DP+SP – nie PX
• Android Asset Studio
– android-ui-utils.googlecode.com/hg
/asset-studio/di...
Vývoj - UI
• CB screen
resolution
Vývoj
• AndroidQuery
–

aq.id(R.id.button)
.text("Click Me")
.clicked(this, "buttonClicked");
Vývoj - Hry
• Cocos2d
–

Android

–

Cocos2d-x

• AndEngine
• Unity
Vývoj
●
●
●
●
●
●
●
●

Performance / Battery life
Support Library
Lint – tools.android.com/tips/lint
Google play services
...
Testovanie
●
●
●

StrictMode
developer.android.com/tools/testing/
Robolectric
Activity activity = Robolectric.buildActivit...
Nasadenie
●

Zálohujte si certifikáty
●

Zálohujte si certifikáty
●

●

●

Zálohujte si certifikáty

ApiKeys (Devel/Produc...
Nasadenie
●

Lokalizácia
●
Getlocalization.com
●

...

●

App Translation Service
●

●

Developer Console

TIP: popis v Pl...
Maintanance
●

●
●

Crash/ANR
●
Devel console
Crashlytics
Google Analytics
Kde získavať info
●
●
●
●
●
●
●

Twitter
Google+
Google IO
ADiA, DevBytes, ...
Pinterest
androidweekly.net
Lokálne stretnu...
Treba.sk
●
●
●
●

Client/server
GCM
Drawer
Voice input
EasySilencer
●

Otto
●
EventBus

●

DashClockWidget

●

AlarmManager

●

Notifications
Hangman
Movies
●

Google Play
Game Services
●
Achievments
●

Leaderboards

●

Sync

●

YouTube

●

Amazon/Google
Hangman
Movies
●

Google Play
Game Services
●
Achievments
●

Leaderboards

●

Sync

●

YouTube

●

Amazon/Google
Football
Glossary
●
●
●

Voice input
YAML data
Tablet optimalizacia
Záver
●
●

Ďakujem za pozornosť
Q/A
Upcoming SlideShare
Loading in …5
×

Android code 2013 - Michal Pavlasek

880 views

Published on

Slidy z mojej prednasky o nastrojoch co pouzivam pri vyvoji na Android.

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
880
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android code 2013 - Michal Pavlasek

  1. 1. Tipy pre developerov Aké nástoje na vývoj používam Michal Pavlásek twitter.com/pavlasek plus.google.com/+MichalPavlasek
  2. 2. Obsah • • • • • Idea / Návrh aplikácie Vývoj Testovanie Nasadenie Ostrá prevádzka / Maintanance
  3. 3. O mne • • • • • Java/Android, …, developer Treba.sk Easy Silencer Football Glossary Hangman Movies
  4. 4. Idea / Návrh aplikácie • Fluid UI – fluidui.com • Taylor Ling – http://androiduiux.com/free-designresources/
  5. 5. Idea / Návrh aplikácie • Wireframing / Mockups • Printable A4 Android GUI Sketching Kit – http://androiduiux.com/2012/06/30/print able-a4-gui-sketching-kit-nexus-s-galaxy -nexus-and-nexus-7/
  6. 6. Vývoj • minSdkVersion=14 – Ak je to len trošku možné – Inak ● ActionBarSherlock ( ActionBarCompat) ● Holo Everywhere ● NineOldAndroids ● ... • 3MB vs 1MB (treba.sk)
  7. 7. IDE + OS • Android Studio – IntelliJ Idea • Android Development Tools (ADT) – Eclipse • Linux (Ubuntu), Mac • Windows – AVD - RAM (768MB)
  8. 8. Build • Gradle – Android Studio • Eclipse • ANT • Maven http://androidkickstartr.com/
  9. 9. Device - / AVD • Zariadenie je nutnosť • AVD – ARM – x86 • Amazon AVD • Genymotion – www.genymotion.com
  10. 10. Vývoj • GIT (svn, ...) • Amazon/Bitnami – EC2 micro
  11. 11. Vývoj • http://square.github.io/ – Dagger – Otto – Okhttp – Tape – ...
  12. 12. Vývoj - Databáza • SQLite • ORM – OrmLite – greenDAO – storm-gen
  13. 13. Vývoj - UI • Touch feedback! • DP+SP – nie PX • Android Asset Studio – android-ui-utils.googlecode.com/hg /asset-studio/dist/index.html • Action Bar Style Generator • Holo Colors Generator • CB screen resolution
  14. 14. Vývoj - UI • CB screen resolution
  15. 15. Vývoj • AndroidQuery – aq.id(R.id.button) .text("Click Me") .clicked(this, "buttonClicked");
  16. 16. Vývoj - Hry • Cocos2d – Android – Cocos2d-x • AndEngine • Unity
  17. 17. Vývoj ● ● ● ● ● ● ● ● Performance / Battery life Support Library Lint – tools.android.com/tips/lint Google play services Google play game services Amazon vs Google Crashlytics GCM
  18. 18. Testovanie ● ● ● StrictMode developer.android.com/tools/testing/ Robolectric Activity activity = Robolectric.buildActivity(MyActivity.class).create().get(); Button pressMeButton = (Button) activity.findViewById(R.id.press_me_button); TextView results = (TextView) activity.findViewById(R.id.results_text_view); pressMeButton.performClick(); String resultsText = results.getText().toString(); assertThat(resultsText, equalTo("Testing Android Rocks!"));
  19. 19. Nasadenie ● Zálohujte si certifikáty ● Zálohujte si certifikáty ● ● ● Zálohujte si certifikáty ApiKeys (Devel/Production) ● Maps,... Otestujte ● adb install app.apk
  20. 20. Nasadenie ● Lokalizácia ● Getlocalization.com ● ... ● App Translation Service ● ● Developer Console TIP: popis v Play store do strings.xml
  21. 21. Maintanance ● ● ● Crash/ANR ● Devel console Crashlytics Google Analytics
  22. 22. Kde získavať info ● ● ● ● ● ● ● Twitter Google+ Google IO ADiA, DevBytes, ... Pinterest androidweekly.net Lokálne stretnutia ;)
  23. 23. Treba.sk ● ● ● ● Client/server GCM Drawer Voice input
  24. 24. EasySilencer ● Otto ● EventBus ● DashClockWidget ● AlarmManager ● Notifications
  25. 25. Hangman Movies ● Google Play Game Services ● Achievments ● Leaderboards ● Sync ● YouTube ● Amazon/Google
  26. 26. Hangman Movies ● Google Play Game Services ● Achievments ● Leaderboards ● Sync ● YouTube ● Amazon/Google
  27. 27. Football Glossary ● ● ● Voice input YAML data Tablet optimalizacia
  28. 28. Záver ● ● Ďakujem za pozornosť Q/A

×