<?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>Code Library</title>
	<atom:link href="https://www.ucosoft.com/feed" rel="self" type="application/rss+xml" />
	<link>https://www.ucosoft.com</link>
	<description>Free Source Code and Program Tips</description>
	<lastBuildDate>Thu, 14 Mar 2013 01:21:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8.25</generator>
	<item>
		<title>Google Reader will be closed in 3 months(by July 31, 2013)</title>
		<link>https://www.ucosoft.com/google-reader-will-be-closed-in-3-monthsby-july-31-2013.html</link>
		<comments>https://www.ucosoft.com/google-reader-will-be-closed-in-3-monthsby-july-31-2013.html#respond</comments>
		<pubDate>Thu, 14 Mar 2013 01:19:13 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/?p=237</guid>
		<description><![CDATA[&#160;It&#8217;s a sad news since google reader is my favorite online service. But it will be closed soon. http://googleblog.blogspot.jp/2013/03/a-second-spring-of-cleaning.html We launched&#160;Google Reader&#160;in 2005 in an effort to make it easy for people to discover and keep tabs on their favorite websites. While the product has a loyal following, over the years usage has declined. So, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>&nbsp;It&#8217;s a sad news since google reader is my favorite online service. But it will be closed soon.<a href="http://www.ucosoft.com/wp-content/uploads/2013/03/google-reader-closed.png"><img src="http://www.ucosoft.com/wp-content/uploads/2013/03/google-reader-closed-300x111.png" alt="google-reader-closed" width="300" height="111" class="alignnone size-medium wp-image-238" srcset="https://www.ucosoft.com/wp-content/uploads/2013/03/google-reader-closed-300x111.png 300w, https://www.ucosoft.com/wp-content/uploads/2013/03/google-reader-closed.png 459w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="http://googleblog.blogspot.jp/2013/03/a-second-spring-of-cleaning.html" target="_blank">http://googleblog.blogspot.jp/2013/03/a-second-spring-of-cleaning.html</a></p>
<blockquote>
<p><span style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">We launched&nbsp;</span><b style="font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">Google Reader</b><span style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">&nbsp;in 2005 in an effort to make it easy for people to discover and keep tabs on their favorite websites. While the product has a loyal following, over the years usage has declined. So, on July 1, 2013, we will retire Google Reader. Users and developers interested in RSS alternatives can export their data, including their subscriptions, with&nbsp;</span><a href="http://www.dataliberation.org/google/reader" style="color: rgb(119, 89, 174); text-decoration: initial; font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">Google Takeout</a><span style="color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">&nbsp;over the course of the next four months</span></p>
</blockquote>
<p>&nbsp;</p>
No tag for this post.]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/google-reader-will-be-closed-in-3-monthsby-july-31-2013.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why work with code on your phone?</title>
		<link>https://www.ucosoft.com/why-work-with-code-on-your-phone.html</link>
		<comments>https://www.ucosoft.com/why-work-with-code-on-your-phone.html#respond</comments>
		<pubDate>Wed, 27 Jun 2012 00:55:57 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/?p=222</guid>
		<description><![CDATA[A lot of smartphone users are happy with the basic functionality they get out of their handsets. &#34;Wait a second,&#34; you say. &#34;Basic functionality? My phone can do all sorts of things &#8211; email,Partypoker , SMS, YouTube &#8211; what are you talking about?&#34; Well, although your phone may indeed be able to do all of [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>A lot of smartphone users are happy with the basic functionality they get out of their handsets. &quot;Wait a second,&quot; you say. &quot;Basic functionality? My phone can do all sorts of things &#8211; email,<a href="http://www.partypoker.fr/">Partypoker</a> , SMS, <a href="http://www.youtube.com/">YouTube</a> &#8211; what are you talking about?&quot; Well, although your phone may indeed be able to do all of these things, there&#8217;s one thing that not enough smartphone owners consider: you&#8217;re not pushing your phone to its limits.</p>
<p>Being able to use code in order to get your phone to do a variety of different things can result in the odd error or you having to learn a bit more or try again in order to get things going the way you want them to, but it&#8217;s also a great way to learn more about code and even step into the realm of developing your own scripts to get your phone to perform a wide variety of different functions.&nbsp;</p>
<p>It&#8217;s not going to be a walk in the park &#8211; there is a lot of knowledge to soak up, and the best coders in the world would never say that they know how to do everything. But working with code is largely problem-solving and figuring out how to get from A to B, and luckily for you, there are many examples of working scripts that you can deconstruct and learn from on this site, not to mention use to get more out of your phone!&nbsp;</p>
<p>So if you are curious about unlocking the potential of your device and you don&#8217;t mind putting the work in in order to do that, then you&#8217;re going to have a great time working with code and scripts. No longer will your device be like every other model &#8211; you&#8217;ll own a master key to unlock the hidden power of your smartphone. Go code, and have fun!&nbsp;</p>
No tag for this post.]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/why-work-with-code-on-your-phone.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, Hello, TimePicker (study 8)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-timepicker-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-timepicker-study-2.html#respond</comments>
		<pubDate>Fri, 18 Dec 2009 16:50:28 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[timepicker]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-timepicker-study-2.html</guid>
		<description><![CDATA[Hello, TimePicker A TimePicker is a Widget that allows the User to Select the time by hour, minute and AM or PM. &#160; &#160; Start a new project / Activity called HelloTimePicker. &#160; Modify HelloTimePicker.java code is as follows: &#160; package com.example.test; import java.util.Calendar; import android.app.Activity; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.view.View; import [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>Hello, TimePicker</h1>
<div>
<div class="jd-descr">
<p>A <code>TimePicker</code> is a Widget that allows the User to Select the time by hour, minute and AM or PM.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Start a new project / Activity <strong>called</strong> HelloTimePicker.</p>
<p>&nbsp;</p>
<p>Modify HelloTimePicker.java code is as follows:</p>
<p>&nbsp;</p>
<pre lang="java">
package com.example.test;
import java.util.Calendar;
import android.app.Activity;
import android.app.Dialog;
import android.app.TimePickerDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.TimePicker;
public class HelloTimePicker extends Activity (private TextView mTimeDisplay;
private Button mPickTime;
private int mHour;
private int mMinute;
static final int TIME_DIALOG_ID = 0;
@ Overrideprotected void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState);
setContentView (R.layout.main);
/ / capture our View elements mTimeDisplay = (TextView) findViewById (R.id.timeDisplay);
mPickTime = (Button) findViewById (R.id.pickTime);
/ / add a click listener to the button mPickTime.setOnClickListener (new View.OnClickListener () (public void onClick (View v) (showDialog (TIME_DIALOG_ID);
)));
/ / get the current time final Calendar c = Calendar.getInstance ();
mHour = c.get (Calendar.HOUR_OF_DAY);
mMinute = c.get (Calendar.MINUTE);
/ / display the current date updateDisplay ();
}
Overrideprotected Dialog onCreateDialog (int id) (switch (id) (case TIME_DIALOG_ID: return new TimePickerDialog (this, mTimeSetListener, mHour, mMinute, false);
) return null;
) / / updates the time we display in the TextViewprivate void updateDisplay () (mTimeDisplay.setText ( new StringBuilder (). append (pad (mHour)). append (&quot;:&quot;). append (pad (mMinute )));
}
private TimePickerDialog.OnTimeSetListener mTimeSetListener = new TimePickerDialog.OnTimeSetListener () (public void onTimeSet (TimePicker view, int hourOfDay, int minute) (mHour = hourOfDay;
mMinute = minute;
updateDisplay ();
));
private static String pad (int c) (if (c&gt;
= 10) return String.valueOf (c);
else return &quot;0 &quot;+ String.valueOf (c);
))</pre>
<p>&nbsp;</p>
<p>Layout-&gt; main.xml</p>
<pre lang="java">
  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: layout_width = &quot;wrap_content&quot; android: layout_height = &quot;wrap_content&quot; android: orientation = &quot;vertical&quot;&gt; &lt;TextView android:id=&quot;@+id/timeDisplay&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:text=&quot;&quot;/&gt; &lt;Button android : id = &quot;@ + id / pickTime&quot; android: layout_width = &quot;wrap_content&quot; android: layout_height = &quot;wrap_content&quot; android: text = &quot;Change the time &quot;/&gt;&lt;/ LinearLayout&gt; </pre>
<p>&nbsp;</p>
<p>Run Now run it. Run the results are as follows:</p>
<p><img height="284" width="200" alt="" src="/images/345eb4ffa77115deb9d4fb0bef7c3ac2.png" /></p>
<p>&nbsp;</p>
<p>Source Download: HelloTimePicker.zip</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</div>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a>, <a href="https://www.ucosoft.com/tag/timepicker" title="timepicker" rel="tag">timepicker</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-timepicker-study-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, Hello, WebView (study 6)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-webview-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-webview-study-2.html#respond</comments>
		<pubDate>Fri, 18 Dec 2009 14:21:54 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[webview]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-webview-study-2.html</guid>
		<description><![CDATA[Hello, WebView A WebView allows you to Create your own Web Browser Activity. In this Tutorial, we&#39;ll Create a simple Activity that can View Web pages. Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-webview.html HelloWebView.java Code package com.example.test; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class HelloWebView extends Activity (WebView webview; / ** Called when the activity is first created. [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>  Hello, WebView </h1>
<div>
<div class=jd-descr>
<p> A <code>WebView</code> allows you to Create your own Web Browser Activity. In this Tutorial, we&#39;ll Create a simple Activity that can View Web pages. </p>
</p>
<p>  Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-webview.html </p>
</p>
<p>  HelloWebView.java Code </p>
</p>
<pre lang="java">  package com.example.test; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class HelloWebView extends Activity (WebView webview; / ** Called when the activity is first created. * / @ Override public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState); setContentView (R.layout.main); webview = (WebView) findViewById (R.id.webview); webview.getSettings (). setJavaScriptEnabled (true) ; webview.loadUrl (http://ditu.google.cn);)) </pre>
</p>
<p>  Layout-&gt; main.xml </p>
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: layout_width = &quot;wrap_content&quot; android: layout_height = &quot;wrap_content&quot; android: orientation = &quot;vertical&quot;&gt; &lt;WebView android:id=&quot;@+id/webview&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;fill_parent&quot; /&gt; &lt;/ LinearLayout&gt; </pre>
</p>
<p>  Implementation of the Eclipse-&gt; HelloWebViewAndroid-&gt; Android Application Show pictures are as follows: </p>
</p>
<p><img src=/images/5ab84791881f6453736271357496b644.png alt="" width=341 height=501 /></p>
</p>
<p>  Code download HelloWebView.zip </p>
</p>
</div>
</div>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a>, <a href="https://www.ucosoft.com/tag/webview" title="webview" rel="tag">webview</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-webview-study-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, RelativeLayout (study 3)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-relativelayout-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-relativelayout-study-2.html#respond</comments>
		<pubDate>Fri, 18 Dec 2009 10:15:06 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-relativelayout-study-2.html</guid>
		<description><![CDATA[Hello, RelativeLayout A RelativeLayout is a ViewGroup that allows you to layout child elements in positions relative to the parent or siblings elements. Start a new project / Activity called HelloRelativeLayout. Open the layout file. Make it like so: &#60;? xml version = &#34;1.0&#34; encoding = &#34;utf-8&#34;?&#62; &#60;RelativeLayout xmlns: android = &#34;http://schemas.android.com/apk/res/android&#34; android: layout_width = [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>  Hello, RelativeLayout </h1>
<div>
<p class=jd-descr> A <code>RelativeLayout</code> is a ViewGroup that allows you to layout child elements in positions relative to the parent or siblings elements. </p>
<div class=jd-descr>
<ol>
<li>  Start a new project / Activity called HelloRelativeLayout. </li>
<li>  Open the layout file. Make it like so:
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;RelativeLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: layout_width = &quot;fill_parent&quot; android: layout_height = &quot;fill_parent&quot;&gt; &lt;TextView android:id=&quot;@+id/label&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot; android:text=&quot;Type here:&quot;/&gt; &lt;EditText android: id = &quot; @ + id / entry &quot;android: layout_width =&quot; fill_parent &quot;android: layout_height =&quot; wrap_content &quot;android: background =&quot; @ android: drawable / editbox_background &quot;android: layout_below =&quot; @ id / label &quot;/&gt; &lt;Button android: id = &quot;@ + id / ok&quot; android: layout_width = &quot;wrap_content&quot; android: layout_height = &quot;wrap_content&quot; android: layout_below = &quot;@ id / entry&quot; android: layout_alignParentRight = &quot;true&quot; android: layout_marginLeft = &quot;10dip&quot; android: text = &quot; OK &quot;/&gt; &lt;Button android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:layout_toLeftOf=&quot;@id/ok&quot; android:layout_alignTop=&quot;@id/ok&quot; android:text=&quot;Cancel&quot; /&gt; &lt; / RelativeLayout&gt; </pre>
<p>  Pay attention to each of the additional <code>layout_*</code> attributes (besides the usual width and height, which are required for all elements). When using relative layout, we use attributes like <code>layout_below</code> and <code>layout_toLeftOf</code> to describe How we&#39;d like to position each View. Naturally, these are different relative positions, and the value of the attribute is the id of the element we want the position relative to. </p>
</li>
<li>  Make sure your Activity loads this layout in the <code>onCreate()</code> method:
</p>
<pre lang="java">  public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState); setContentView (R.layout.main);) </pre>
<p>  <code>R.layout.main</code> refers to the <code>main.xml</code> layout file. </p>
</li>
<li>  Run it. </li>
</ol>
</div>
</div>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-relativelayout-study-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, Hello Spinner (Study 10)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-spinner-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-spinner-study-2.html#comments</comments>
		<pubDate>Fri, 18 Dec 2009 07:51:34 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[spinner]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-spinner-study-2.html</guid>
		<description><![CDATA[HelloSpinner.java Source package com.example.test; import android.app.Activity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Spinner; public class HelloSpinner extends Activity (@ Overridepublic void onCreate (Bundle savedInstanceState) ( super.onCreate (savedInstanceState); setContentView (R.layout.main); Spinner s = (Spinner) findViewById (R.id.spinner); ArrayAdapter adapter = ArrayAdapter.createFromResource (this, R.array.planets, android.R. layout.simple_spinner_item); adapter.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); s.setAdapter (adapter);)) layout-&#62; main.xml &#60;? xml version = &#34;1.0&#34; encoding = [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>  HelloSpinner.java Source </p>
<pre lang="java">  package com.example.test; import android.app.Activity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Spinner; public class HelloSpinner extends Activity (@ Overridepublic void onCreate (Bundle savedInstanceState) ( super.onCreate (savedInstanceState); setContentView (R.layout.main); Spinner s = (Spinner) findViewById (R.id.spinner); ArrayAdapter adapter = ArrayAdapter.createFromResource (this, R.array.planets, android.R. layout.simple_spinner_item); adapter.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); s.setAdapter (adapter);)) </pre>
<p>  layout-&gt; main.xml </p>
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: orientation = &quot;vertical&quot; android: padding = &quot;10dip&quot; android: layout_width = &quot;fill_parent&quot; android: layout_height = &quot;wrap_content&quot;&gt; &lt;TextView android: layout_width = &quot;fill_parent&quot; android: layout_height = &quot;wrap_content&quot; android: layout_marginTop = &quot;10dip&quot; android: text = &quot;Please select a planet: &quot;/&gt; &lt;Spinner android: id =&quot; @ + id / spinner &quot;android: layout_width =&quot; fill_parent &quot;android: layout_height =&quot; wrap_content &quot;android: drawSelectorOnTop =&quot; true &quot;android: prompt =&quot; @ string / planet_prompt &quot;/ &gt; &lt;/ LinearLayout&gt; </pre>
<p>  values-&gt; arrays.xml </p>
<pre lang="java">  &lt;resources&gt; &lt;string-array name=&quot;planets&quot;&gt; &lt;item&gt; Mercury &lt;/ item&gt; &lt;item&gt; Venus &lt;/ item&gt; &lt;item&gt; Earth &lt;/ item&gt; &lt;item&gt; Mars &lt;/ item&gt; &lt;item&gt; Jupiter &lt; / item&gt; &lt;item&gt; Saturn &lt;/ item&gt; &lt;item&gt; Uranus &lt;/ item&gt; &lt;item&gt; Neptune &lt;/ item&gt; &lt;/ string-array&gt; &lt;/ resources&gt; </pre>
<p>  value-&gt; strings.xml </p>
</p>
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;resources&gt; &lt;string name=&quot;hello&quot;&gt; Hello World, HelloSpinner! &lt;/ string&gt; &lt;string name=&quot;app_name&quot;&gt; HelloSpinner &lt;/ string&gt; &lt;string name=&quot;planet_prompt&quot;&gt; Choose a planet &lt;/ string&gt; &lt;/ resources&gt; </pre>
</p>
<p>  run it <img src=/images/2a6d1cb47d7db3e832cd4b13bd065d1c.png alt="" /></p></p>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a>, <a href="https://www.ucosoft.com/tag/spinner" title="spinner" rel="tag">spinner</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-spinner-study-2.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Android View Add Listener Tips Sample</title>
		<link>https://www.ucosoft.com/add-listener-tips-android-view-2.html</link>
		<comments>https://www.ucosoft.com/add-listener-tips-android-view-2.html#respond</comments>
		<pubDate>Fri, 18 Dec 2009 03:29:40 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/add-listener-tips-android-view-2.html</guid>
		<description><![CDATA[In the development for the control to add Listener is a very common work, the easiest way to add Listener can be: findViewById (R.id.myButton). setOnClickListener (new View.OnClickListener () (public void onClick (View v) (/ / Do stuff))); Add a Listener using the above method has a drawback is that if control is too large, Listener [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>  In the development for the control to add Listener is a very common work, the easiest way to add Listener can be: </p>
<pre lang="java">  findViewById (R.id.myButton). setOnClickListener (new View.OnClickListener () (public void onClick (View v) (/ / Do stuff))); </pre>
<p>  Add a Listener using the above method has a drawback is that if control is too large, Listener will increase the number, so the following tips can be used to reduce the number of Listener: </p>
<pre lang="java">  View.OnClickListener handler = View.OnClickListener () (public void onClick (View v) (switch (v.getId ()) (case R.id.Button01: / / doStuff break; case R.id.Button02: / / doStuff break;))) findViewById (R.id.myButton). setOnClickListener (handler); findViewById (R.id.myOtherButton). setOnClickListener (handler); </pre>
<p>  The Android1.6 inside, add the Listener&#39;s work has become fairly simple (feeling more like doing web programming!), Concrete steps are as follows: </p>
<p>  1. First, the definition in the layout inside the Button and specify the response Listener </p>
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: orientation = &quot;vertical&quot; android: layout_width = &quot;fill_parent&quot; android: layout_height = &quot;fill_parent&quot;&gt; &lt;TextView android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot; android:text=&quot;@string/hello&quot; /&gt; &lt;Button android: text = &quot;Button01&quot; android : id = &quot;@ + id/Button01&quot; android: layout_width = &quot;wrap_content&quot; android: layout_height = &quot;wrap_content&quot; android: onClick = &quot;myClickHandler01&quot; /&gt; &lt;Button android: text = &quot;Button02&quot; android: id = &quot;@ + id / Button02 &quot;android: layout_width =&quot; wrap_content &quot;android: layout_height =&quot; wrap_content &quot;android: onClick =&quot; myClickHandler02 &quot;/&gt; &lt;TextView android: layout_width =&quot; fill_parent &quot;android: layout_height =&quot; wrap_content &quot;android: text =&quot; @ string / hello &quot;/&gt; &lt;/ LinearLayout&gt; </pre>
<p>  These two lines of which the following are new features: </p>
<p>  android: onClick = &quot;myClickHandler01&quot; </p>
<p>  android: onClick = &quot;myClickHandler02&quot; </p>
</p>
<p>  2. In the event inside the definition of public methods myClickHandler01, and myClickHandler02 (Note that these two methods must have a View of the shape parameter). </p>
<pre lang="java">  package com.ray.test; import android.app.Activity; import android.os.Bundle; import android.view.View; public class TestOnClickListener extends Activity (@ Override public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState) ; setContentView (R.layout.main);) public void myClickHandler01 (View target) (setTitle ( &quot;myClickHandler01&quot;);) public void myClickHandler02 (View target) (setTitle ( &quot;myClickHandler02&quot;);)) </pre>
<p>  Of course, you can also use this wording: </p>
<p>  The two buttons set to the same Listener </p>
<p>  android: onClick = &quot;myClickHandler&quot; </p>
<p>  android: onClick = &quot;myClickHandler&quot; </p>
<pre lang="java">  package com.ray.test; import android.app.Activity; import android.os.Bundle; import android.view.View; public class TestOnClickListener extends Activity (@ Override public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState) ; setContentView (R.layout.main);) public void myClickHandler (View target) (switch (target.getId ()) (case R.id.Button01: setTitle ( &quot;myClickHandler01&quot;); break; case R.id.Button02 : setTitle ( &quot;myClickHandler02&quot;); break;))) </pre>
<p>  Refer to the article: &quot;UI framework changes in Android 1.6&quot; (take over the wall) </p>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/listener" title="listener" rel="tag">listener</a>, <a href="https://www.ucosoft.com/tag/tips" title="Tips" rel="tag">Tips</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/add-listener-tips-android-view-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, Hello, MapView (study 5)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-mapview-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-mapview-study-2.html#respond</comments>
		<pubDate>Fri, 18 Dec 2009 01:01:06 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mapview]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-mapview-study-2.html</guid>
		<description><![CDATA[Hello, MapView Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-mapview.html HelloItemizedOverlay.java Code package com.example.test; import java.util.ArrayList; import android.graphics.drawable.Drawable; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; public class HelloItemizedOverlay extends ItemizedOverlay (private ArrayList &#60;OverlayItem&#62; mOverlays = new ArrayList &#60;OverlayItem&#62; (); public HelloItemizedOverlay (Drawable defaultMarker) (super (boundCenterBottom (defaultMarker ));// TODO Auto-generated constructor stub) @ Overridepublic int size () (return mOverlays. size ();) public void addOverlay [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>  Hello, MapView </h1>
<p>  Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-mapview.html </p>
</p>
<p>  HelloItemizedOverlay.java Code </p>
<pre lang="java">  package com.example.test; import java.util.ArrayList; import android.graphics.drawable.Drawable; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; public class HelloItemizedOverlay extends ItemizedOverlay (private ArrayList &lt;OverlayItem&gt; mOverlays = new ArrayList &lt;OverlayItem&gt; (); public HelloItemizedOverlay (Drawable defaultMarker) (super (boundCenterBottom (defaultMarker ));// TODO Auto-generated constructor stub) @ Overridepublic int size () (return mOverlays. size ();) public void addOverlay (OverlayItem overlay) (mOverlays.add (overlay); populate ();}Overrideprotected OverlayItem createItem (int i) (return mOverlays.get (i);)) </pre>
</p>
<p>  HelloMapView1.java Code </p>
<pre lang="java">  package com.example.test; import java.util.List; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.widget.LinearLayout; import android.widget.ZoomControls; import com.google.android . maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import com.google.android.maps.Overlay; import com.google.android.maps.OverlayItem; public class HelloMapView1 extends MapActivity (LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; List &lt;Overlay&gt; mapOverlays; Drawable drawable; HelloItemizedOverlay itemizedOverlay; / ** Called when the activity is first created. * / @ Override public void onCreate (Bundle savedInstanceState) (super . onCreate (savedInstanceState); setContentView (R.layout.main); mapView = (MapView) findViewById (R.id.mapview); mapView.setBuiltInZoomControls (true); mapOverlays = mapView.getOverlays (); drawable = this.getResources ( ). getDrawable (R.drawable.androidmarker); itemizedOverlay = new HelloItemizedOverlay (drawable); GeoPoint point = new GeoPoint (19240000, -99120000); OverlayItem overlayitem = new OverlayItem (point, &quot;&quot;, &quot;&quot;); itemizedOverlay.addOverlay ( overlayitem); mapOverlays.add (itemizedOverlay);) @ Override protected boolean isRouteDisplayed () (return false;)) </pre>
<p>  Layout-&gt; mail.xml </p>
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;RelativeLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: id = &quot;@ + id / mainlayout &quot;android: orientation =&quot; vertical &quot;android: layout_width =&quot; fill_parent &quot;android: layout_height =&quot; fill_parent &quot;&gt; &lt;com.google.android.maps.MapView android: id =&quot; @ + id / mapview &quot;android: layout_width =&quot; fill_parent &quot;android: layout_height =&quot; fill_parent &quot;android: clickable =&quot; true &quot;android: apiKey =&quot; Your Maps API Key &quot;/&gt; &lt;LinearLayout android: id =&quot; @ + id / zoomview &quot;android: layout_width =&quot; wrap_content &quot;android: layout_height = &quot;wrap_content&quot; android: layout_alignBottom = &quot;@ id / mapview&quot; android: layout_centerHorizontal = &quot;true &quot;/&gt;&lt;/ RelativeLayout&gt; </pre>
</p>
<p>  Implementation of the android Application, found that google maps can not be displayed, please know the cause of the friend told my, thank you. </p>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a>, <a href="https://www.ucosoft.com/tag/mapview" title="mapview" rel="tag">mapview</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-mapview-study-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse developed Android, TableLayout (study 4)</title>
		<link>https://www.ucosoft.com/eclipse-developed-android-tablelayout-study-2.html</link>
		<comments>https://www.ucosoft.com/eclipse-developed-android-tablelayout-study-2.html#comments</comments>
		<pubDate>Thu, 17 Dec 2009 23:52:30 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[developed]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[tablelayout]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/eclipse-developed-android-tablelayout-study-2.html</guid>
		<description><![CDATA[Hello, TableLayout A TableLayout is a ViewGroup that will Lay child View elements into rows and columns. Start a new project / Activity called HelloTableLayout. Open the layout file. Make it like so: &#60;? xml version = &#34;1.0&#34; encoding = &#34;utf-8&#34;?&#62; &#60;TableLayout xmlns: android = &#34;http://schemas.android.com/apk/res/android&#34; android: layout_width = &#34;fill_parent&#34; android: layout_height = &#34;fill_parent&#34; android: [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>  Hello, TableLayout </h1>
<div>
<div class="jd-descr">
<p> A <code>TableLayout</code> is a ViewGroup that will Lay child View elements into rows and columns. </p>
<ol>
<li>  Start a new project / Activity called HelloTableLayout. </li>
<li>  Open the layout file. Make it like so:
<pre lang="java">  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; &lt;TableLayout xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; android: layout_width = &quot;fill_parent&quot; android: layout_height = &quot;fill_parent&quot; android: stretchColumns = &quot;1&quot;&gt; &lt;TableRow&gt; &lt;TextView android:layout_column=&quot;1&quot; android:text=&quot;Open...&quot; android:padding=&quot;3dip&quot; /&gt; &lt;TextView android: text = &quot; Ctrl-O &quot;android: gravity =&quot; right &quot;android: padding =&quot; 3dip &quot;/&gt; &lt;/ TableRow&gt; &lt;TableRow&gt; &lt;TextView android: layout_column =&quot; 1 &quot;android: text =&quot; Save ... &quot;android: padding = &quot;3dip&quot; /&gt; &lt;TextView android:text=&quot;Ctrl-S&quot; android:gravity=&quot;right&quot; android:padding=&quot;3dip&quot; /&gt; &lt;/ TableRow&gt; &lt;TableRow&gt; &lt;TextView android: layout_column = &quot;1&quot; android: text = &quot;Save As ...&quot; android: padding = &quot;3dip&quot; /&gt; &lt;TextView android:text=&quot;Ctrl-Shift-S&quot; android:gravity=&quot;right&quot; android:padding=&quot;3dip&quot; /&gt; &lt;/ TableRow &gt; &lt;View android:layout_height=&quot;2dip&quot; android:background=&quot;#FF909090&quot; /&gt; &lt;TableRow&gt; &lt;TextView android:text=&quot;X&quot; android:padding=&quot;3dip&quot; /&gt; &lt;TextView android: text = &quot;Import. .. &quot;android: padding =&quot; 3dip &quot;/&gt; &lt;/ TableRow&gt; &lt;TableRow&gt; &lt;TextView android:text=&quot;X&quot; android:padding=&quot;3dip&quot; /&gt; &lt;TextView android: text =&quot; Export ... &quot;android : padding = &quot;3dip&quot; /&gt; &lt;TextView android:text=&quot;Ctrl-E&quot; android:gravity=&quot;right&quot; android:padding=&quot;3dip&quot; /&gt; &lt;/ TableRow&gt; &lt;View android: layout_height = &quot;2dip&quot; android: background = &quot;# FF909090&quot; /&gt; &lt;TableRow&gt; &lt;TextView android:layout_column=&quot;1&quot; android:text=&quot;Quit&quot; android:padding=&quot;3dip&quot; /&gt; &lt;/ TableRow&gt; &lt;/ TableLayout&gt; </pre>
<p>  Notice How this resembles the structure of an HTML Table. <code>TableLayout</code> is like the <code>table</code> element; <code>TableRow</code> is like a <code>tr</code> element; but for our cells like the HTML <code>td</code> element, we can use any kind of View. Here, we use <code>TextView</code> for the cells. </p>
</li>
<li>  Make sure your Activity loads this layout in the <code>onCreate()</code> method:
<pre lang="java">  public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState); setContentView (R.layout.main);) </pre>
<p>  <code>R.layout.main</code> refers to the <code>main.xml</code> layout file. </p>
</li>
<li>  Run it. </li>
</ol>
<p>  You should see the following: </p>
<p><img src="/images/a4f09f3d8bb6b82fc61491b306284d39.png" alt="" width="150" height="171" /></div>
</div>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/developed" title="developed" rel="tag">developed</a>, <a href="https://www.ucosoft.com/tag/eclipse" title="eclipse" rel="tag">eclipse</a>, <a href="https://www.ucosoft.com/tag/tablelayout" title="tablelayout" rel="tag">tablelayout</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/eclipse-developed-android-tablelayout-study-2.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android if they had to switch screen solution (reproduced)</title>
		<link>https://www.ucosoft.com/android-switch-screen-solution-reproduced-2.html</link>
		<comments>https://www.ucosoft.com/android-switch-screen-solution-reproduced-2.html#respond</comments>
		<pubDate>Thu, 17 Dec 2009 22:22:28 +0000</pubDate>
		<dc:creator><![CDATA[support]]></dc:creator>
				<category><![CDATA[Program]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/uncategorized/android-switch-screen-solution-reproduced-2.html</guid>
		<description><![CDATA[Original From: http://blog.sina.com.cn/s/blog_4ca975460100g5yj.html Android if they had to switch on the screen solution The time in the development of the game, some games are only horizontal screen play, so when placed in the erection of mobile phone, to keep the game screen is still horizontal screen. To achieve this requirement is very simple to configure [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>  Original From: http://blog.sina.com.cn/s/blog_4ca975460100g5yj.html </p>
</p>
<p>  Android if they had to switch on the screen solution </p>
<p>  The time in the development of the game, some games are only horizontal screen play, so when placed in the erection of mobile phone, to keep the game screen is still horizontal screen.  To achieve this requirement is very simple to configure in the AndroidManifest.xml inside look on it.  Add this line android: screenOrientation = &quot;landscape&quot;. </p>
<p>  For example, (landscape is a horizontal, portrait vertical): <br />  Java code </p>
<p>  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; <br />  &lt;manifest xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; <br />  package = &quot;com.ray.linkit&quot; <br />  android: versionCode = &quot;1&quot; <br />  android: versionName = &quot;1.0&quot;&gt; <br />  &lt;application android:icon=&quot;@drawable/icon&quot; android:label=&quot;@string/app_name&quot;&gt; <br />  &lt;activity android: name = &quot;. Main&quot; <br />  android: label = &quot;@ string / app_name&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; <br />  &lt;intent-filter&gt; <br />  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt; <br />  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt; <br />  &lt;/ intent-filter&gt; <br />  &lt;/ activity&gt; <br />  &lt;activity android: name = &quot;. GamePlay&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; &lt;/ activity&gt; <br />  &lt;activity android: name = &quot;. OptionView&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; &lt;/ activity&gt; <br />  &lt;/ application&gt; <br />  &lt;uses-sdk android:minSdkVersion=&quot;3&quot; /&gt; <br />  &lt;/ manifest&gt; </p>
<p>  &lt;? xml version = &quot;1.0&quot; encoding = &quot;utf-8&quot;?&gt; <br />  &lt;manifest xmlns: android = &quot;http://schemas.android.com/apk/res/android&quot; <br />  package = &quot;com.ray.linkit&quot; <br />  android: versionCode = &quot;1&quot; <br />  android: versionName = &quot;1.0&quot;&gt; <br />  &lt;application android:icon=&quot;@drawable/icon&quot; android:label=&quot;@string/app_name&quot;&gt; <br />  &lt;activity android: name = &quot;. Main&quot; <br />  android: label = &quot;@ string / app_name&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; <br />  &lt;intent-filter&gt; <br />  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt; <br />  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt; <br />  &lt;/ intent-filter&gt; <br />  &lt;/ activity&gt; <br />  &lt;activity android: name = &quot;. GamePlay&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; &lt;/ activity&gt; <br />  &lt;activity android: name = &quot;. OptionView&quot; <br />  android: screenOrientation = &quot;portrait&quot;&gt; &lt;/ activity&gt; <br />  &lt;/ application&gt; <br />  &lt;uses-sdk android:minSdkVersion=&quot;3&quot; /&gt; <br />  &lt;/ manifest&gt; </p>
<p>  In addition, android dynamic switching each time the screen will restart Activity, so it should be in the Activity prior to their destruction to save the state of current activity in the Activity, when re-Create load configuration, as carried out in the game will not be automatically restarted! </p>
<p>  Reprinted from: http://rayleung.javaeye.com/blog/426972 </p>
<p>  Answers Time :2009-01-18 18:04 <br />  When the screen when the screen becomes horizontal, the system will re-calls the current Activity&#39;s OnCreate method, you can put on your OnCreate the following methods to check the current in the direction of, then you can let your SetContentView to load a different Layout xml. </p>
<p>  if (this.getResources (). getConfiguration (). orientation == Configuration.ORIENTATION_LANDSCAPE) ( </p>
<p>  Log.i ( &quot;info&quot;, &quot;landscape&quot;); </p>
<p>  ) </p>
<p>  else if (this.getResources (). getConfiguration (). orientation == Configuration.ORIENTATION_PORTRAIT) ( </p>
<p>  Log.i ( &quot;info&quot;, &quot;portrait&quot;); </p>
<p>  ) </p>
<p>  When switching on the screen first need to add the configuration in the androidmanifest.xml <br />  android: configChanges = &quot;orientation | keyboardHidden | navigation <br />  So in the program. Activity will not be repeated call onCreate () <br />  Does not even call onPause.onResume. <br />  Will call a onConfigurationChanged (Configuration newConfig) <br />  This is the XML configuration option to join the premise. </p>
<p>  If you join the options on the premise. As stated above. Activity will be re-activated onCreate method </p>
<p>  According to your own needs to choose the configuration changes when the mechanism for handling such a better life. </p>

	<div class="st-post-tags">
	Tags: <strong><a href="https://www.ucosoft.com/tag/android" title="android" rel="tag">android</a>, <a href="https://www.ucosoft.com/tag/screen" title="screen" rel="tag">screen</a>, <a href="https://www.ucosoft.com/tag/solution" title="solution" rel="tag">solution</a></strong><br /></div>

]]></content:encoded>
			<wfw:commentRss>https://www.ucosoft.com/android-switch-screen-solution-reproduced-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
