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
180
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
160
Building REST API with GoLang
burakaydn
0
290
Hack The ESP8266
burakaydn
0
340
REST API Design - My Practices
burakaydn
0
170
Hack The Jack
burakaydn
1
110
ADD 2013 - Git
burakaydn
1
1.4k
Git & Github
burakaydn
1
480
Android
burakaydn
0
110
Other Decks in Programming
See All in Programming
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
420
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
340
A2A プロトコルを試してみる
azukiazusa1
2
1.1k
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
790
エラーって何種類あるの?
kajitack
5
310
C++20 射影変換
faithandbrave
0
530
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
ニーリーにおけるプロダクトエンジニア
nealle
0
470
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
1
540
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
410
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
150
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
A Tale of Four Properties
chriscoyier
160
23k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Bash Introduction
62gerente
614
210k
Thoughts on Productivity
jonyablonski
69
4.7k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Being A Developer After 40
akosma
90
590k
How STYLIGHT went responsive
nonsquared
100
5.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
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]