Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android
Search
Burak Aydın
March 27, 2013
Programming
0
170
Android
Karabük Üniversitesi Android Sunumu - 27/03/2013
Burak Aydın
March 27, 2013
Tweet
Share
More Decks by Burak Aydın
See All by Burak Aydın
Building REST API with GoLang
burakaydn
0
150
Building REST API with GoLang
burakaydn
0
280
Hack The ESP8266
burakaydn
0
330
REST API Design - My Practices
burakaydn
0
160
Hack The Jack
burakaydn
1
100
ADD 2013 - Git
burakaydn
1
1.4k
Git & Github
burakaydn
1
460
Android
burakaydn
0
110
Other Decks in Programming
See All in Programming
Ruby GitHub Packages
bkuhlmann
0
630
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
500
2 週間で Twitter Bot を作ってみた
contour_gara
0
630
ゆるい個人開発のススメ
kuroppe1819
10
1k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
見た目から始める生産性向上
ikumatadokoro
8
960
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
790
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
270
Fragment Composition of GraphQL
quramy
7
1k
Let's learn code review
riofujimon
2
510
雑に思考を整理する技術と効能
konifar
60
29k
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.2k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
132
6.3k
Git: the NoSQL Database
bkeepers
PRO
422
63k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Bash Introduction
62gerente
604
210k
The Language of Interfaces
destraynor
151
23k
What's new in Ruby 2.0
geeforr
337
31k
The Invisible Side of Design
smashingmag
294
49k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Transcript
1/23 Burak Aydın Ankara Üniversitesi – Böte III burakaydin.net.tr
[email protected]
2/23 Ajanda •GDG Ankara •Android •Android Uygulama Yapısı •Android Uygulama
Bileşenleri •Araçlar – Nereden başlamalı? •Hello World!
3/23 GDG Ankara gdgankara.org • Gönüllülük • Yapabileceğimizi göstermek •
Özveri
4/23 Android Temmuz 2005
5/23 Android •Açık kaynak kodlu •Linux tabanlı •OHA •Mobil cihazlar(?)
için işletim sistemi
6/23 Android Versiyonları
7/23 Pazar Payı http://venturebeat.com/2013/01/28/android-captured-almost-70-global-smartphone-market-share-in-2012-apple-just-under-20/
8/23 Google Play
9/23 Android Mimarisi
10/23 Uygulama Yapısı ├── assets ├── bin ├── libs ├──
res │ ├── drawable-hdpi │ ├── drawable-ldpi │ ├── drawable-mdpi │ ├── drawable-xhdpi │ ├── layout │ ├── menu │ └── values └── src └── com └── example └── deneme
11/23 Manifest.xml <manifest xmlns: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> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
12/23 Activity <activity android:name=".OrnekActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER"
/> </intent-filter> </activity> Twitter Facebook Gmail
13/23 Intent & Intent Filter Niyet ettim... startActivity(new Intent(getApplicationContext(), Activity2.class));
<activity android:name=".OrnekActivity"> <intent-filter> <action android:name="android.intent.action.VIEW"/> </intent-filter> </activity>
14/23 Service • Arka planda çalışır. • Multi-tasking özelliğini kullanır.
<manifest> <application> <service android:name=".OrnekService" /> </application> </manifest>
15/23 Content Provider • İçerik paylaşımı • Kişi listesine erişim
<manifest> <application> <provider android:name=".contentprovider.MyTodoContentProvider" android:authorities="org.ankara.android.todos.contentprovider"> </provider> </application> </manifest>
16/23 Broadcast Receiver • Telefon açıldığında • Sms geldiğinde •
Pil azaldığında... <manifest> <application> <receiver android:name="OrnekReceiver" > <intent-filter> <action android:name="android.intent.action.VIEW" /> </intent-filter> </receiver> </application> </manifest>
17/23 Permissions <manifest> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.VIBRATE" /> ...
</manifest>
18/23 Layouts & Views •GridView •ListView •ImageView •WebView •TextView •Button
•Checkbox •ProgressBar •RadioButton •Dialogs • RelativeLayout • LinearLayout • GridLayout • TableLayout • FrameLayout
19/23 R.java txtKullaniciAdi = (TextView) findViewById(R.id.txtKullaniciAdi); txtSifre = (TextView) findViewById(R.id.txtSifre);
OrnekActivity.java <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"/> activity_ornek.xml
20/23 Nereden başlıyoruz? Eclipse + Android Development Tool JDK 7
http://developer.android.com/sdk http://developer.android.com/training
21/23
22/23 Android Geliştirici Günleri androiddeveloperdays.com androidgelistiricigunleri.com
23/23 Teşekkürler... Burak Aydın Ankara Üniversitesi – Böte III burakaydin.net.tr
[email protected]