Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Osnove razvoja za Android

No description
by

Vladan Petrovic

on 1 November 2012

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Osnove razvoja za Android

Šta je Android? Otvorena softverska platforma i operativni sistem za pametne telefone i tablete... Baziran je na Linux kernel-u... Koristi Dalvik vituelnu mašinu... Gde je Android trenutno? Novembar 2011 - 200,000,000+ Android uređaja u upotrebi Decembar 2011 - preko 700,000 Android
uređaja aktiviranih dnevno ...takodje u Decembru 2011. - Pentagon je zvanično dozvolio zaposlenima upotrebu Android uređaja Februar 2012 - Ubuntu na Android multi-core uređajima U budućnosti??? Da li može da se zaradi na Androidu? Razvijen od Open Handset Alliance... Besplatna aplikacija - 1,000,000 $$$ mesečno od reklama Jedan čovek - 13,000 $ mesečno Arhitektura sistema Android vs iPhone Steve Wozniak:
“If you’re willing to do the work to understand it a little bit, well I hate to say it, but there’s more available in some ways” Prednosti Androida Open source, sve je dostupno, bilo koja platforma... Olakšana distribucija preko Android marketa (i alternativnih marketa) No setup fees (za market 25$ doživotno) Development Java programski jezik Osnovne komponente frameworka Activities Services Broadcast Receivers Content providers Intents User Interface Application Resources AndroidManifest.xml Komponenta koja predstavlja ekran sa korisničkim interfejsom Activity Lifecycle Tasks i Back Stack Predviđanja iz Februara 2011. Komponenta koja radi u
pozadini za "velike" poslove Bez UI Primer: media player Prima "broadcast" poruke Primer: baterija prazna, ekran zaključan Custom-made, Primer: pesma zaustavljena Deljenje informacija između aplikacija Primer: Contact Provider Unificiran pristup podacima I za pristup privatnim podacima Pokreće Activity, Service i Broadcast Receiver Key/value parovi se mogu proslediti
u extras property-u Intern filter: Da se javi sistemu koje
intentove prihvata aplikacija View Hierarchy XML Layout Event Listeners Dialogs Notifications Menus Styles and Themes onClick()
onLongClick()
onFocusChange()
onKey()
onTouch() Tipovi resursa:
drawable, string, animation, menu... Struktura
direktorijuma: MyProject/
src/
MyActivity.java
res/
drawable/
icon.png
layout/
main.xml
info.xml
values/
strings.xml Pristup resursima <manifest> <activity> <application> <permission> <uses-feature> <uses-sdk> Vuk Nikolić Vladan Petrović Java, Android & iOS
developer
član JavaSveta
Skijaš & basketaš klopaj.com Java developer
Freelance Web & Android developer
Maratonac Belgrade Genie Ipak, teže je napraviti novac na Androidu nego na iPhone-u. Od 72,000 aplikacija koje se plaćaju na Android Marketu, samo dve imaju više od 500,000 download-a Dok App Store ima 212,000 aplikacija koje se plaćaju Obratiti pažnju na... UI dizajn http://developer.android.com/design/index.html http://www.androidpatterns.com http://www.androiduipatterns.com Performanse Ograničeni resursi - memorija, baterija, procesor Loše strane Fragmentacija Različite veličine ekrana "Vendor" brendiranje Ekstremni slučajevi - sopstveni branch 800+ različitih uređaja Zavisi od vendora kada će biti update Od HTC cha cha do TV-a Touchwiz, HTC Sense Amazon sa Kindle Fire Preporuka Razvoj HTML5 mobilnih aplikacija Honeycomb browser podržava rad sa SVG fajlovima DEMO Pitanja? Hvala vam na pažnji! :) Java biblioteke Out-of-the box integracija
sa Google servisima Kreiranje novog Activity-a Startovanje Activity-a Android emulator IDE pluginovi Postoje Eclipse i IntelliJ pluginovi Različiti layouti (ViewGroup) LinearLayout, RelativeLayout... Gotove kompontente (View) TextView, Button, ImageView... http://bit.ly/wGfw5Z Osnove razvoja za Android Startap radionica #3 Primer: MainActivity za još java geeky stvari www.javasvet.rs @vuknikolic @vladanpetrovic http://www.slideshare.net/retomeier/html5-or-android-for-mobile-development
Full transcript