Your SlideShare is downloading. ×
Android code 2013 - Michal Pavlasek
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android code 2013 - Michal Pavlasek

569

Published on

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

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
569
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Tipy pre developerov Aké nástoje na vývoj používam Michal Pavlásek twitter.com/pavlasek plus.google.com/+MichalPavlasek
  • 2. Obsah • • • • • Idea / Návrh aplikácie Vývoj Testovanie Nasadenie Ostrá prevádzka / Maintanance
  • 3. O mne • • • • • Java/Android, …, developer Treba.sk Easy Silencer Football Glossary Hangman Movies
  • 4. Idea / Návrh aplikácie • Fluid UI – fluidui.com • Taylor Ling – http://androiduiux.com/free-designresources/
  • 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. Vývoj • minSdkVersion=14 – Ak je to len trošku možné – Inak ● ActionBarSherlock ( ActionBarCompat) ● Holo Everywhere ● NineOldAndroids ● ... • 3MB vs 1MB (treba.sk)
  • 7. IDE + OS • Android Studio – IntelliJ Idea • Android Development Tools (ADT) – Eclipse • Linux (Ubuntu), Mac • Windows – AVD - RAM (768MB)
  • 8. Build • Gradle – Android Studio • Eclipse • ANT • Maven http://androidkickstartr.com/
  • 9. Device - / AVD • Zariadenie je nutnosť • AVD – ARM – x86 • Amazon AVD • Genymotion – www.genymotion.com
  • 10. Vývoj • GIT (svn, ...) • Amazon/Bitnami – EC2 micro
  • 11. Vývoj • http://square.github.io/ – Dagger – Otto – Okhttp – Tape – ...
  • 12. Vývoj - Databáza • SQLite • ORM – OrmLite – greenDAO – storm-gen
  • 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. Vývoj - UI • CB screen resolution
  • 15. Vývoj • AndroidQuery – aq.id(R.id.button) .text("Click Me") .clicked(this, "buttonClicked");
  • 16. Vývoj - Hry • Cocos2d – Android – Cocos2d-x • AndEngine • Unity
  • 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. 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. 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. Nasadenie ● Lokalizácia ● Getlocalization.com ● ... ● App Translation Service ● ● Developer Console TIP: popis v Play store do strings.xml
  • 21. Maintanance ● ● ● Crash/ANR ● Devel console Crashlytics Google Analytics
  • 22. Kde získavať info ● ● ● ● ● ● ● Twitter Google+ Google IO ADiA, DevBytes, ... Pinterest androidweekly.net Lokálne stretnutia ;)
  • 23. Treba.sk ● ● ● ● Client/server GCM Drawer Voice input
  • 24. EasySilencer ● Otto ● EventBus ● DashClockWidget ● AlarmManager ● Notifications
  • 25. Hangman Movies ● Google Play Game Services ● Achievments ● Leaderboards ● Sync ● YouTube ● Amazon/Google
  • 26. Hangman Movies ● Google Play Game Services ● Achievments ● Leaderboards ● Sync ● YouTube ● Amazon/Google
  • 27. Football Glossary ● ● ● Voice input YAML data Tablet optimalizacia
  • 28. Záver ● ● Ďakujem za pozornosť Q/A

×