More Related Content Similar to Создай свое первое Android приложение. (20) Создай свое первое Android приложение. 5. Цифры
500+ млн
устройств
25+ млрд
установок
прил.
в маркете
675.000+
приложений
6. Цифры
● Android - 68.1% (104.8 mln)
● iOS - 18.8% (26 mln)
● BlackBerry - 4.8%(7.4 mln)
● Symbian - 4.4% (6.8 mln)
● Windows Mobile - 3.5 %(5.4 mln)
● Other - 2.4%
2 квартал 2012г
11. Разработка
1. Java
2. Кофеин для андроида
● app inventor (wysywig editor)
● кросс-платформенные средства разработки (JavaScript, HTML5, CSS3)
○ PhoneGap
○ Appcelerator Titanium
● альтернативные языки JRuby, Mirah, Scala, Clojure, Kawa
● нативные инструменты разработки (NDK) С/C++
● несвободные альтернативы
○ MonoDroid
○ Adobe AIR
● Scripting Layer for Android (SL4A)
○ Beanshell, JavaScript (Rhino), JRuby, Lua, Python, Perl, PHP, Shell,
Tcl
● Rhomobile Rhodes
16. Установка ADT
1. Устанавливаем Eclipse (eclipse.org/downloads)
2. Добавляем репозиторий
https://dl-ssl.google.com/android/eclipse
(Help -> install new software)
3. Устанавливаем Eclipse ADT
4. Настраиваем ADT с Android SDK
Preferences -> Android
(указ на скач SDK)
Полная инструкция доступна на
сайте http://developer.android.
com/sdk/installing.html
23. Возможности
● Доступ к API Android
● Программинг
● Доступ к базе данных
● Доступ к web-api
33. Поддерживаемый API
● Accelerometer
● Camera
● Compass
● Contacts
● File
● Geolocation
● Media
● Network
● Notification (alert, sound, vibration)
● Storage
● Barcode
35. Geolocation
var geo;
function deviceIsReady(){
geo = navigator.geolocation.watchPosition(
doLocation, onFailure, { frequency: 3000} );
);
}
function doLocation(position){
alert(
"Latitude: " + position.coords.latitude + "n" +
"Longtitude: " + position.coords.longtitude
);
};
36. Sound
var media = null;
function deviceIsReady(){
media = new Media('sample.mp3', doComplete,
doFailure);
}
function doMedia(){
media.play(2000);
}
<a href="#" onClick="doMedia;return false;">Play
Sound</a>
45. Литература для изучения
● d.android.com
● android-developers.blogspot.com
● android books on amazon
● habrahabr.ru
● startandroid.ru
47. Всем спасибо за внимание!
web: https://sites.google.com/site/bishkekgtug/
group: https://groups.google.com/forum/#!forum/bishkek-gtug
twitter: http://twitter.com/#!/BishkeksGTUG
google+: https://plus.google.com/107766380565023451691/