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
December 17, 2012
Technology
0
110
Android
Samsun 19 Mayıs Üniversitesi - Android Sunumu - 17 Aralık 2012
Burak Aydın
December 17, 2012
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
180
Other Decks in Technology
See All in Technology
AIエージェントによる業務効率化への飽くなき挑戦-AWS上の実開発事例から学んだ効果、現実そしてギャップ-
nasuvitz
5
1.6k
serverless team topology
_kensh
3
260
AI機能プロジェクト炎上の 3つのしくじりと学び
nakawai
0
180
Retrospectiveを振り返ろう
nakasho
0
150
20251027_マルチエージェントとは
almondo_event
1
500
累計5000万DLサービスの裏側 – LINEマンガのKotlinで挑む大規模 Server-side ETLの最適化
ldf_tech
0
110
DSPy入門
tomehirata
6
830
ストレージエンジニアの仕事と、近年の計算機について / 第58回 情報科学若手の会
pfn
PRO
4
940
オブザーバビリティと育てた ID管理・認証認可基盤の歩み / The Journey of an ID Management, Authentication, and Authorization Platform Nurtured with Observability
kaminashi
2
1.6k
dbtとAIエージェントを組み合わせて見えたデータ調査の新しい形
10xinc
7
1.7k
RemoteFunctionを使ったコロケーション
mkazutaka
1
170
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
1.9k
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Invisible Side of Design
smashingmag
302
51k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
191
56k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Transcript
Android Günü 1/18 10/31/13 2.Oturum Burak Aydın Ankara Üniversitesi –
Böte III burakaydin.net.tr
[email protected]
Android Günü 2/18 10/31/13 Ajanda • Android Uygulama Yapısı •
Activities • Services • Content Providers • Intents & Intent Filters • Broadcast Receivers • Manifest.xml • Permissions • Debugging • LogCat
Android Günü 3/18 10/31/13 Android Uygulama Yapısı ├── assets ├──
bin ├── libs ├── res │ ├── drawable-hdpi │ ├── drawable-ldpi │ ├── drawable-mdpi │ ├── drawable-xhdpi │ ├── layout │ ├── menu │ └── values └── src └── com └── example └── deneme
Android Günü 4/18 10/31/13 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
Android Günü 5/18 10/31/13 Activities <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
Android Günü 6/18 10/31/13 Activities
Android Günü 7/18 10/31/13 Intents & Intent Filters Niyet ettim...
startActivity(new Intent(getApplicationContext(), Activity2.class));
Android Günü 8/18 10/31/13 Intents & Intent Filters <activity android:name=".OrnekActivity">
<intent-filter> <action android:name="android.intent.action.VIEW"/> </intent-filter> </activity>
Android Günü 9/18 10/31/13 Services • Arka planda çalışır. •
Multi-tasking özelliğini kullanır. <manifest> <application> <service android:name=".OrnekService" /> </application> </manifest>
Android Günü 10/18 10/31/13 Content Providers • İç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>
Android Günü 11/18 10/31/13 Broadcast Receivers • 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>
Android Günü 12/18 10/31/13 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>
Android Günü 13/18 10/31/13 Permissions <manifest> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission
android:name="android.permission.VIBRATE" /> ... </manifest>
Android Günü 14/18 10/31/13 Debugging adb – Android Device Bridge
• adb devices • adb -s emulator-5554 install deneme.apk
Android Günü 15/18 10/31/13 Debugging
Android Günü 16/18 10/31/13 LogCat Log.i("MyActivity", "MyClass.getView() — get item
number " + position);
Android Günü 17/18 10/31/13
Android Günü 18/18 10/31/13 Teşekkürler... Burak Aydın Ankara Üniversitesi –
Böte III burakaydin.net.tr
[email protected]