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
120
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
120
ADD 2013 - Git
burakaydn
1
1.4k
Git & Github
burakaydn
1
480
Android
burakaydn
0
180
Other Decks in Technology
See All in Technology
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
130
Bref でサービスを運用している話
sgash708
0
210
「AIエージェントで変わる開発プロセス―レビューボトルネックからの脱却」
lycorptech_jp
PRO
0
200
トイルを超えたCREは何屋になるのか
bengo4com
0
100
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
380
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
130
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
650
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
130
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
160
【AWS】CloudTrail LakeとCloudWatch Logs Insightsの使い分け方針
tsurunosd
0
130
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
270
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
300
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
The Curse of the Amulet
leimatthew05
1
11k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
BBQ
matthewcrist
89
10k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Thoughts on Productivity
jonyablonski
75
5.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Balancing Empowerment & Direction
lara
5
1k
Designing for Timeless Needs
cassininazir
0
180
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
93
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]