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
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android
Samsun 19 Mayıs Üniversitesi - Android Sunumu - 17 Aralık 2012
Burak Aydın
December 17, 2012
More Decks by Burak Aydın
See All by Burak Aydın
Building REST API with GoLang
burakaydn
0
170
Building REST API with GoLang
burakaydn
0
300
Hack The ESP8266
burakaydn
0
350
REST API Design - My Practices
burakaydn
0
170
Hack The Jack
burakaydn
1
130
ADD 2013 - Git
burakaydn
1
1.4k
Git & Github
burakaydn
1
480
Android
burakaydn
0
190
Other Decks in Technology
See All in Technology
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
220
振り返りこそエンジニアの本領
negima
0
280
DMMブックスのNext.js化を加速させるAI活用 / Migrating DMM Books to Next.js with AI
kentarom
1
330
AndroidでHDRメディアを「壊さずに」扱う
chigichan24
0
390
AIで開発は速くなったのに、なぜ現場は楽にならないのか 〜あなたの組織のボトルネックを突き止めるワークショップ〜
jacopen
1
260
書籍『生成AIの安全性入門』の入門
wataoka
0
210
20260903 Tokyo Jazug Night #62 | Azure エンジニアよ、 その環境は本当にセキュアか?
olivia_0707
1
610
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
0
240
データエンジニアリングワークショップ:Auto LoaderとSparkで学ぶデータパイプライン構築
databricksjapan
PRO
0
150
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
300
KAEN Company Deck
kaen
PRO
0
310
Where Is JetBrains AI Heading- — Central CLI, Air Alpha, and the Agentic Development Stack
x5gtrn
PRO
0
120
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.5k
How to Ace a Technical Interview
jacobian
281
24k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Fireside Chat
paigeccino
42
4k
Music & Morning Musume
bryan
47
7.4k
Technical Leadership for Architectural Decision Making
baasie
3
550
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Prompt Engineering for Job Search
mfonobong
0
440
Practical Orchestrator
shlominoach
191
12k
A Tale of Four Properties
chriscoyier
163
24k
The Limits of Empathy - UXLibs8
cassininazir
1
630
The Invisible Side of Design
smashingmag
301
52k
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]