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
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
170
Other Decks in Technology
See All in Technology
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
850
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
require(ESM)とECMAScript仕様
uhyo
3
830
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
250
JSON攻略法.pdf
miyakemito
8
5.1k
競技としてのKaggle、役に立つKaggle
yu4u
5
2k
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
180
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
190
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
370
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
190
VS CodeでAWSを操作しよう
smt7174
8
1.7k
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
How STYLIGHT went responsive
nonsquared
92
4.8k
For a Future-Friendly Web
brad_frost
172
9k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
The Pragmatic Product Professional
lauravandoore
25
5.8k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Adopting Sorbet at Scale
ufuk
68
8.6k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
Six Lessons from altMBA
skipperchong
21
3k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
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]