Your SlideShare is downloading. ×
0
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Android Development Course in HSE lecture #1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android Development Course in HSE lecture #1

524

Published on

Introduction

Introduction

Published in: Education
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
524
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Разработка приложений для Android
  • 2. Зорин ИльяЕmpatika,Android Developer,Высшая ШколаЭкономики,Программнаяинженерияilya.zorin@empatika.com
  • 3. Что такое Android?● Операционная система, основанная на ядре Linux● Middleware● Ключевые приложения● Набор API
  • 4. Зачем разрабатыватьпод Android?
  • 5. Инструменты разработки
  • 6. Языки программирования ● Java ● XML ● SQL
  • 7. IDE Eclipse ● JDK ● ADT Plugin ● Android SDK ● GIT (Optional)Установка и настройка среды разработкиEclipse и SDK Tools
  • 8. Особенности разработкиAndroid приложений
  • 9. Архитектура Androidприложений
  • 10. Android приложение состоит из: ● Java-классов, являющихся подклассами основных классов из Android SDK (View, Activity,ContentProvider, Service, BroadcastReciever, Intent) и Java-классов, у которых нет родителей в Android SDK. ● Манифеста приложения ● Ресурсов наподобие строк, изображений и т.п. ● Файлов
  • 11. Activity
  • 12. Activity Lifecycle
  • 13. public class MyActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.my_layout); }}
  • 14. View
  • 15. <TextView android:id="@+id/one_feed_comment_username" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5dip" android:layout_toRightOf="@+id/one_feed_comment_userpic" android:textColor="#8B2492" android:textSize="16sp" android:textStyle="bold" />TextView username = (TextView) findViewById(R.id.one_feed_comment_username);
  • 16. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/action_bar_logoonly" android:orientation="vertical" ></LinearLayout>
  • 17. Intent
  • 18. Intent checkinIntent = new Intent(DashboardActivity.this, FirstCheckinActivity.class);startActivity(checkinIntent);
  • 19. Service
  • 20. public class UpdateFacebookFriendsService extends IntentService { public UpdateFacebookFriendsService() { super("UpdateFacebookFriendsService"); } @Override protected void onHandleIntent(Intent intent) { FacebookHelper.updateFacebookFriends(getSharedPreferences( "facebook", MODE_PRIVATE), this, intent.getIntExtra("screen", 2)); }}
  • 21. Content Provider
  • 22. Broadcast Receiver
  • 23. AndroidManifest.xml
  • 24. Создание проекта
  • 25. Hello world!
  • 26. Hints● button.setOnClickListener(...)● Build.VERSION.RELEASE● Toast toast = Toast.makeText( Context, text, length) ; toast.show();
  • 27. button.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // your code }});
  • 28. GIT Код предыдущего проекта здесь
  • 29. Code School Git course
  • 30. Источники:● developer.android.com● stackoverflow.com● startandroid.ru
  • 31. Homework● Поставить JDK, Eclipse, ADT, Android SDK● Доделать и запустить проект (если нужно)● Android Getting Started● Архитектура Android приложений (части 1, 2, 3, 4)● Можете начать генерить идеи для выших приложений и делиться на команды
  • 32. Спасибо за внимание! ilya.zorin@empatika.com

×