<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes of a Developer &#187; Android</title>
	<atom:link href="http://www.developers-life.com/tag/android/feed" rel="self" type="application/rss+xml" />
	<link>http://www.developers-life.com</link>
	<description>Develop on Objective-C, UIKit, C, OpenGL for  iPhone, iPad, Mac OS X</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:49:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Universal web services suite for iPhone/iPad and Android apps</title>
		<link>http://www.developers-life.com/universal-web-services-suite-for-iphoneipad-and-android-apps.html</link>
		<comments>http://www.developers-life.com/universal-web-services-suite-for-iphoneipad-and-android-apps.html#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:08:13 +0000</pubDate>
		<dc:creator>Vladimir Boychentsov</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mob1serv]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Private]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[Кодинг]]></category>

		<guid isPermaLink="false">http://www.developers-life.com/?p=901</guid>
		<description><![CDATA[Hi there! We are a group of iPhone / Android developers who have developed a suite of web services to assist us and other developers in building great apps. After numerous projects we have become tired of having to set up the server scripts to do all the same things for different clients. Most of [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there! We are a group of iPhone / Android developers who have developed a suite of web services to assist us and other developers in building great apps.</p>
<p>After numerous projects we have become tired of having to set up the server scripts to do all the same things for different clients. Most of the server functionality</p>
<p>is typical: 1) storing location data for Google Maps; 2) storing users&#8217; high scores / ranks; 3) sending Push Notifications; 4) storing files / XML; etc.</p>
<p>We couldn&#8217;t use the existent solutions because in some cases they didn&#8217;t provide the required functionality and in most cases they require your users to be exposed to some social network of theirs, while our clients just want a simple functionality without users knowing of any services behind that.</p>
<p>So we have launched what we call Mob1serv, a universal server solution for the typical needs of iPhone / Android apps. It consists of modules which deal with most common tasks:</p>
<p>    * High Scores &#8211; a powerful online high scores table<br />
    * PushNote &#8211; a module allowing to send immediate or delayed Push Notifications (you can build instant messengers or alarm clocks, anything with this)<br />
    * GeoPos &#8211;  stores locations of Google Map objects, their statuses and &#8216;last seen online&#8217; time<br />
    * OAuth contracter  &#8211; allows you to implement transparent authentication and integration with Facebook, Twitter, Google etc<br />
    * More modules to come!</p>
<p><span id="more-901"></span><br />
We have tried to make it as simple as possible for developers, so you just need to register at the back end and then you can add as many apps as you want and start using these services. From the client (app) side, you need to add a library to your project and put a corresponding ID there, that&#8217;s it.</p>
<p>The service is free, it&#8217;s a &#8216;freemium&#8217; model. It has been built by developers for developers. Some developers and apps are already using it as it was open for alpha testing before, but now we are launching it open for the world so that we can see what you&#8217;re thinking of it and also get your feedback of how we can improve the existent modules or what modules to add next. Welcome to <a href="http://www.mob1serv.com/" title="universal web service for iPhone and Android apps">Mob1serv</a>!</p>
<p><a href="http://www.facebook.com/pages/mob1serv-universal-web-service-for-iPhone-Android/324022903887"><img src="http://gyazo.com/b2486f4d2738f2cb7724d7ebd87321ce.png" title="become our Facebook fan" border="0"></a></p>
<p><a href="https://twitter.com/mob1serv/">Twitter</a></p>
<p><a href="http://www.youtube.com/user/mob1serv">Youtube</a></p>
<p><a href="http://www.vimeo.com/mob1serv">Vimeo</a></p>
<p><a href="http://digg.com/apple/universal_server_API_solution_for_iPhone_Android">Digg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.developers-life.com/universal-web-services-suite-for-iphoneipad-and-android-apps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Проблема при переустановке Eclipse в Mac OS X</title>
		<link>http://www.developers-life.com/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d0%bf%d1%80%d0%b8-%d0%bf%d0%b5%d1%80%d0%b5%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b5-eclipse-%d0%b2-mac-os-x.html</link>
		<comments>http://www.developers-life.com/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d0%bf%d1%80%d0%b8-%d0%bf%d0%b5%d1%80%d0%b5%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b5-eclipse-%d0%b2-mac-os-x.html#comments</comments>
		<pubDate>Sun, 27 Dec 2009 00:03:22 +0000</pubDate>
		<dc:creator>Vladimir Boychentsov</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[others]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.developers-life.com/?p=716</guid>
		<description><![CDATA[Столкнулся с проблемой отказа запускаться вновь установленной среды разработки. Причиной этому стали права на запускаемый фаил! ./eclipse -bash: ./eclipse: Permission denied Исправляется очень просто: sudo chmod a+x /Applications/Eclipse/Eclipse.app/Contents/MacOS/eclipse Интересно получается, до этого ставил несколько раз и все было отлично, а в этом случае вот так вот! Поставил, а потом: 1. Start Eclipse, then select Help [...]]]></description>
			<content:encoded><![CDATA[<p>Столкнулся с проблемой отказа запускаться вновь установленной среды разработки.</p>
<p>Причиной этому стали права на запускаемый фаил!<br />
./eclipse<br />
-bash: ./eclipse: Permission denied</p>
<p>Исправляется очень просто:<br />
sudo chmod a+x /Applications/Eclipse/Eclipse.app/Contents/MacOS/eclipse</p>
<p>Интересно получается, до этого ставил несколько раз и все было отлично, а в этом случае вот так вот!</p>
<p>Поставил, а потом:<br />
<span id="more-716"></span><br />
   1.  <a href="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-macosx-cocoa-x86_64.tar.gz&#038;mirror_id=999&#038;url=http://d2u376ub0heus3.cloudfront.net/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-macosx-cocoa-x86_64.tar.gz">Start Eclipse</a>, then select Help > Install New Softare.<br />
   2. In the Available Software dialog, click Add&#8230;.<br />
   3. In the Add Site dialog that appears, enter a name for the remote site (for example, &#8220;Android Plugin&#8221;) in the &#8220;Name&#8221; field.</p>
<p>      In the &#8220;Location&#8221; field, enter this URL:</p>
<p>https://dl-ssl.google.com/android/eclipse/</p>
<p>      Note: If you have trouble aqcuiring the plugin, you can try using &#8220;http&#8221; in the URL, instead of &#8220;https&#8221; (https is preferred for security reasons).</p>
<p>      Click OK.<br />
   4. Back in the Available Software view, you should now see &#8220;Developer Tools&#8221; added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.<br />
   5. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.<br />
   6. Restart Eclipse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.developers-life.com/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d0%bf%d1%80%d0%b8-%d0%bf%d0%b5%d1%80%d0%b5%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b5-eclipse-%d0%b2-mac-os-x.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Android SDK first steps</title>
		<link>http://www.developers-life.com/google-android-sdk-first-steps.html</link>
		<comments>http://www.developers-life.com/google-android-sdk-first-steps.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 00:10:47 +0000</pubDate>
		<dc:creator>Vladimir Boychentsov</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Кодинг]]></category>

		<guid isPermaLink="false">http://www.developers-life.com/?p=625</guid>
		<description><![CDATA[Долгое время я посматривал на Google Android OS и хотел посмотреть, что это такое и вот решился :-). Поставить было довольно просто! Скачал Eclipse Galileo и Android SDK (само sdk было пустое, нужно было по инструкции поставить его), распоковал и поставил по инструкции все как и пологается. Вот! Структура файлов: Сначала начал тыкаться, мыкать, что [...]]]></description>
			<content:encoded><![CDATA[<p>Долгое время я посматривал на Google Android OS и хотел посмотреть, что это такое и вот решился :-). Поставить было довольно просто! Скачал Eclipse Galileo и Android SDK (само sdk было пустое, нужно было по инструкции поставить его), распоковал и поставил по инструкции все как и пологается. Вот!</p>
<p>Структура файлов:</p>
<p><img class="alignnone size-full wp-image-626" title="Screen shot 2009-11-03 at 1.03.04 AM" src="http://www.developers-life.com/wp-content/uploads/2009/11/Screen-shot-2009-11-03-at-1.03.04-AM.png" alt="Screen shot 2009-11-03 at 1.03.04 AM" width="203" height="330" /></p>
<p>Сначала начал тыкаться, мыкать, что куда и как, нашел где находится основной код:<br />
<strong> /src/__package_name__/__project_name__.java</strong></p>
<p>Обнаружил что-то типа интерфейс билдера, далее как IB (что-то типа, потому-что c apple реализацией IB тяжело ему тягаться)<br />
<strong>/res/layout/main.xml</strong> &#8211; его можно править как вручную так и немного автоматизированным путем:<br />
<img class="alignnone size-large wp-image-629" title="Screen shot 2009-11-03 at 1.23.44 AM" src="http://www.developers-life.com/wp-content/uploads/2009/11/Screen-shot-2009-11-03-at-1.23.44-AM-1024x571.jpg" alt="Screen shot 2009-11-03 at 1.23.44 AM" width="484" height="270" /></p>
<p>На картинке и так видно что к чему, но по мелочам распишу: <span id="more-625"></span><br />
1. Дерево фалов которое я привел выше<br />
2.  Сам толком еще не разобрал, но название говорит само за себя &#8211; layouts (слои). На 7 мы видим, что там главный слой LinearLayouts. Думаю, что слои для манипуляций с отображеием объектов, но с этим мы еще разберемся в будущем.<br />
3. Список объектов, тут все просто.<br />
4. Отображается полученный интерфейс при моделировании.<br />
<span style="background-color: #ffffff;">5. Переключатель между видами моделирования, сейчас выбран &#8220;Layout&#8221; а ниже приведен пример main.xml<br />
<img class="alignnone size-full wp-image-630" title="Screen shot 2009-11-03 at 1.43.13 AM" src="http://www.developers-life.com/wp-content/uploads/2009/11/Screen-shot-2009-11-03-at-1.43.13-AM.png" alt="Screen shot 2009-11-03 at 1.43.13 AM" width="338" height="246" /><br />
6. На картинке выбран элемент TextView и в этом окошке 6 отображаются его параметры, которые можно менять  и их довольно таки много!<br />
7. Список объектов. Тут все просто.<br />
</span></p>
<p><span style="background-color: #ffffff;">Немного просмотрев доки нашел как обратиться к кнопке:<br />
В <strong>/src/__package_name__/__project_name__.java </strong>добавим  <strong>import android.widget.Button;</strong></span></p>
<p>после:</p>
<div class="codecolorer-container java geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:810px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;setContentView<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">layout</span>.<span style="color: #006633;">main</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>вставим код:</p>
<div class="codecolorer-container java geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:810px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Abutton+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Button</span></a> button <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Abutton+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Button</span></a><span style="color: #009900;">&#41;</span>findViewById<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">Button01</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>обратите внимание на скриншо чуть выше, там есть кнопка с этим id<br />
и посавим текст:</p>
<div class="codecolorer-container java geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:810px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;button.<span style="color: #006633;">setText</span><span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">string</span>.<span style="color: #006633;">hello</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>Незнаю плюс это или минус, но есть хранилище констант (Android Resources)! Думаю всеже это пл<span style="background-color: #ffffff;">юс. В <strong>/res/values/strings.xml </strong>хранятся константы, к примеру текст который в TextView взят из этого хранилища и указан в IB через название константы.</span></p>
<p><img class="alignnone size-medium wp-image-631" title="Screen shot 2009-11-03 at 1.51.57 AM" src="http://www.developers-life.com/wp-content/uploads/2009/11/Screen-shot-2009-11-03-at-1.51.57-AM-300x109.png" alt="Screen shot 2009-11-03 at 1.51.57 AM" width="300" height="109" /><br />
К примеру из кода к этим данным можно обратиться таким образом: <strong>R.string.hello</strong></p>
<p>Наш следующий и заключительный на сегодня файл это: <strong>/gen/__package_name__/R.java<br />
<span style="font-weight: normal;">Как написано в самом файле: &#8220; This class was automatically generated by the aapt tool from the resource data it found.  It should not be modified by hand.&#8221; Другими словами автомаически генераруется спомощью толзы, когда мы редактируем ресурсы и объекты в IB. Благодаря этому коду мы можем работать с объектами в ресурс файле описанном выше. </span></strong></p>
<p>Вот еще немного информации:<br />
<span style="color: #99cc00;"> src/</span><br />
Includes your stub Activity Java file. All other Java files for your application go here.<br />
<span style="background-color: #ffffff;"><em> </em></span></p>
<p><span style="background-color: #ffffff;"><em><span style="color: #99cc00;">&lt;Android Version&gt;</span></em><span style="color: #99cc00;">/ (e.g., Android 1.1/)</span><br />
Includes the android.jar file that your application will build against. This is determined by the build target that you have chosen in the New Project Wizard.</span></p>
<p><span style="background-color: #ffffff;"><span style="color: #99cc00;">gen/</span><br />
This contains the Java files generated by ADT, such as your R.java file and interfaces created from AIDL files.</span></p>
<p><span style="background-color: #ffffff;"><span style="color: #99cc00;">assets/</span><br />
This is empty. You can use it to store raw asset files. See Resources and Assets.</span></p>
<p><span style="background-color: #ffffff;"><span style="color: #99cc00;">res/</span><br />
A folder for your application resources, such as drawable files, layout files, string values, etc. See Resources and Assets.</span></p>
<p><span style="color: #99cc00;"> AndroidManifest.xml</span><br />
The Android Manifest for your project. See The AndroidManifest.xml File.<br />
<span style="color: #99cc00;"> default.properties</span><br />
This file contains project settings, such as the build target. This files is integral to the project, as such, it should be maintained in a Source Revision Control system. It should never be edited manually — to edit project properties, right-click the project folder and select &#8220;Properties&#8221;.</p>
<p><strong> </strong></p>
<p><strong>Вывод: Android SDK меня заинтересовала, вполне гибко все сделано, если попотеть, то можно даже написать свой какой-то мега удобный интерфейс билдер, потипу как у apple, но это преспектива. Пока еще не изучил основные функции, ивенты и прочее, но конструкция R. мне уже чем-то нравится! Можно обратиться к объекту из любого места! Теперь паттерн singleton буду реже использовать. Вцелом будем двигать эту тему!</strong></p>
<p><strong><span style="font-weight: normal;">Спасибо за внимание! Буду рад вопросам и замечаниям!</span></strong></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.developers-life.com/google-android-sdk-first-steps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

