Android Sunumu

483 views
393 views

Published on

Karabük Üniversitesi 27 Mart 2013

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
483
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android Sunumu

  1. 1. Burak AydınAnkara Üniversitesi – Böte III burakaydin.net.trmail@burakaydin.net.tr 1/23
  2. 2. Ajanda● GDG Ankara● Android● Android Uygulama Yapısı● Android Uygulama Bileşenleri● Nereden başlamalı?● Hello World! 2/23
  3. 3. GDG Ankara gdgankara.org● Gönüllülük● Yapabileceğimizi göstermek● Özveri 3/23
  4. 4. AndroidTemmuz 2005 4/23
  5. 5. Android● Açık kaynak kodlu● Linux tabanlı● OHA● Mobil cihazlar(?) için işletim sistemi 5/23
  6. 6. Android Versiyonları 6/23
  7. 7. Pazar Payıhttp://venturebeat.com/2013/01/28/android-captured-almost-70-global-smartphone-market-share-in-2012-apple-just-under-20/ 7/23
  8. 8. Google Play 8/23
  9. 9. Android Mimarisi 9/23
  10. 10. Uygulama Yapısı├── assets├── bin├── libs├── res│ ├── drawable-hdpi│ ├── drawable-ldpi│ ├── drawable-mdpi│ ├── drawable-xhdpi│ ├── layout│ ├── menu│ └── values└── src └── com └── example └── deneme 10/23
  11. 11. Manifest.xml<manifestxmlns:android="http://schemas.android.com/apk/res/android" package="org.gdgankara.ornek" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" /> <uses-permission android:name="android.permission.INTERNET" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".LoginActivity" android:label="@string/title_activity_login" > <intent-filter> <actionandroid:name="android.intent.action.MAIN" /> <categoryandroid:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest> 11/23
  12. 12. Activity<activity android:name=".OrnekActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <categoryandroid:name="android.intent.category.LAUNCHER" /> </intent-filter></activity> Twitter Facebook Gmail 12/23
  13. 13. Intent & Intent FilterNiyet ettim...startActivity(new Intent(getApplicationContext(), Activity2.class));<activity android:name=".OrnekActivity"> <intent-filter> <action android:name="android.intent.action.VIEW"/> </intent-filter></activity> 13/23
  14. 14. Service<manifest> <application> <service android:name=".OrnekService" /> </application></manifest>● Arka planda çalışır.● Multi-tasking özelliğini kullanır. 14/23
  15. 15. Content Provider<manifest> <application> <provider android:name=".contentprovider.MyTodoContentProvider" android:authorities="org.ankara.android.todos.contentprovider"> </provider> </application></manifest>● İçerik paylaşımı● Kişi listesine erişim 15/23
  16. 16. Broadcast Receiver<manifest> <application> <receiver android:name="OrnekReceiver" > <intent-filter> <action android:name="android.intent.action.VIEW" /> </intent-filter> </receiver> </application></manifest> ● Telefon açıldığında ● Sms geldiğinde ● Pil azaldığında... 16/23
  17. 17. Permissions<manifest> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.VIBRATE" /> ...</manifest> 17/23
  18. 18. Layouts & Views● RelativeLayout ● GridView● LinearLayout ● ListView● GridLayout ● ImageView● TableLayout ● WebView● FrameLayout ● TextView ● Button ● Checkbox ● ProgressBar ● RadioButton ● Dialogs 18/23
  19. 19. R.javaactivity_ornek.xml<EditText android:id="@+id/edKullaniciAdi" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1"></EditText><EditText android:id="@+id/edSifre" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1"/>OrnekActivity.javatxtKullaniciAdi = (TextView) findViewById(R.id.txtKullaniciAdi); txtSifre = (TextView) findViewById(R.id.txtSifre); 19/23
  20. 20. Nereden başlıyoruz? Eclipse + Android Development ToolJDK 7http://developer.android.com/sdkhttp://developer.android.com/training 20/23
  21. 21. 21/23
  22. 22. Android Geliştirici Günleri androiddeveloperdays.com androidgelistiricigunleri.com 22/23
  23. 23. Teşekkürler... Burak Aydın Ankara Üniversitesi – Böte III burakaydin.net.tr mail@burakaydin.net.tr 23/23

×