<?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>Computer Science Stuff &#187; Android</title>
	<atom:link href="http://compscistuff.com/category/programming/android-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://compscistuff.com</link>
	<description>Dedicated to satisfying your computer needs</description>
	<lastBuildDate>Sat, 29 Oct 2011 23:37:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ignore Configuration Changes in Android</title>
		<link>http://compscistuff.com/2010/02/ignore-config-android/</link>
		<comments>http://compscistuff.com/2010/02/ignore-config-android/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 01:01:26 +0000</pubDate>
		<dc:creator>Michael Washington</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=601</guid>
		<description><![CDATA[When programming on the android I encountered a error called android.view.AbsSavedState which happens whenever you do any type of screen orientation or slide out your keyboard. So I decided the best way for me to avoid this error was to ignore any type of screen orientation. add a couple of attributes in your manifest file [...]]]></description>
			<content:encoded><![CDATA[<p>When programming on the android I encountered a error called android.view.AbsSavedState which happens whenever you do any type of screen orientation or slide out your keyboard. So I decided the best way for me to avoid this error was to ignore any type of screen orientation.</p>
<p>add a couple of attributes in your manifest file<br />
<span style="color: #0000ff;">&lt;activity  android:name=&#8221;(Put in your activity name if not already entered)&#8221;  android:screenOrientation=&#8221;portrait or landscape (choose one)&#8221;  android:configChanges=&#8221;orientation|keyboardHidden&#8221; /&gt;</span></p>
<p>place the following code into the class that extends Activity</p>
<p><span style="color: #0000ff;">@Override</span></p>
<p><span style="color: #0000ff;">public void onConfigurationChanged(Configuration newConfig) {</span></p>
<p><span style="color: #0000ff;">super.onConfigurationChanged(newConfig);<br />
}</span></p>
<p>That it!</p>
<p>References:</p>
<ol>
<li>http://developer.android.com/reference/android/app/Activity.html#onConfigurationChanged%28android.content.res.Configuration%29</li>
<li>http://developer.android.com/guide/topics/manifest/activity-element.html</li>
</ol>
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=601" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=601&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2010/02/ignore-config-android/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Multi touch and Tethering for the Android phone without rooting it</title>
		<link>http://compscistuff.com/2009/12/multi-touch-and-tethering-for-the-android-phone-without-rooting-it/</link>
		<comments>http://compscistuff.com/2009/12/multi-touch-and-tethering-for-the-android-phone-without-rooting-it/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 06:43:13 +0000</pubDate>
		<dc:creator>Michael Washington</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[dolphin browser]]></category>
		<category><![CDATA[multi touch]]></category>
		<category><![CDATA[pdanet]]></category>
		<category><![CDATA[tethering]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=582</guid>
		<description><![CDATA[I always thought that in order to really use utilize or to get what I want out of my phone that I needed to jail break or root my phone.  But there have been two applications that disapprove my thought process. I really wanted to be able to have multi touch and to tether my [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-584" style="margin: 100px 200px;" title="g1-android-jailbreak" src="http://compscistuff.com/wp-content/uploads/2009/12/g1-android-jailbreak.jpg" alt="g1-android-jailbreak" width="327" height="350" /></p>
<p>I always thought that in order to really use utilize or to get what I want out of my phone that I needed to jail break or root my phone.  But there have been two applications that disapprove my thought process. I really wanted to be able to have multi touch and to tether my phone and computer without rooting the Droid and have been successful in my search. Check it out below</p>
<h2>Dolphin Browser (Multi Touch)</h2>
<p>Well here is something to rub in the faces of Iphone users. I always hear about how the Iphone has multi touch, but little do they know that even though android phones doesn&#8217;t come with multi-touch applications the hardware just supports multi-touch. So the only thing that needs to be done is on the software side. So one application who has accomplish this task is the dolphin browser. It works for the HTC Hero and the Droid phone. Here is a video of it.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VCz2vB5Hju0&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/VCz2vB5Hju0&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h2>PDAnet (Tethering)</h2>
<p>For tethering for the droid I was always under the impression that I needed to root my phone to even come close to this but PdaNet has changed my perception. PdaNet has made an application for android and for windows and mac. PdaNet uses the application they created for your phone uses your phone&#8217;s internet connection and make it seem like the browser is using when in actuality it is redirecting it towards your computer. You can check out the site <a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2p1bmVmYWJyaWNzLmNvbS9hbmRyb2lkL2luZGV4LnBocA==">here</a>. They also support Iphone, Blackberry, Palm OS and Windows Mobile phones.</p>
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=582" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=582&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2009/12/multi-touch-and-tethering-for-the-android-phone-without-rooting-it/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Free Exchange ActiveSync for the Droid or any Android phone</title>
		<link>http://compscistuff.com/2009/12/free-exchange-activesync-for-the-droid-or-any-android-phone/</link>
		<comments>http://compscistuff.com/2009/12/free-exchange-activesync-for-the-droid-or-any-android-phone/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 00:06:23 +0000</pubDate>
		<dc:creator>Michael Washington</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[activesync]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=576</guid>
		<description><![CDATA[This morning I was getting a ready for this meeting had which is a hour away. I&#8217;m running around making sure everything is good and studying the night before to make sure I&#8217;m on point with my information. I finally get there and find out the meeting is canceled after I get there and it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-578" style="margin: 100px;" title="exchange-diagram" src="http://compscistuff.com/wp-content/uploads/2009/12/exchange-diagram.jpg" alt="exchange-diagram" width="468" height="262" /></p>
<p>This morning I was getting a ready for this meeting had which is a hour away. I&#8217;m running around making sure everything is good and studying the night before to make sure I&#8217;m on point with my information. I finally get there and find out the meeting is canceled after I get there and it was a ruff drive getting there. Turns out the lady sent me an email stating 2 hours before I got there that it was canceled. I didn&#8217;t find out because I have been having trouble getting exchange active sync for the server to work with the droid pre-built application for emails. So someone that I know has the android phone and suggested I use the program that he had that came with his phone for the HTC called work email. As soon as I downloaded and inputted the information for the server IT WORKED!!! I was so happy because it will keep me from missing very important emails and keep my constantly up to date.</p>
<p>So I wanted to share it with everyone so everyone don&#8217;t have to go through what I went through. Here is the <a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NvbXBzY2lzdHVmZi5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMDkvMTIvTWFpbC5hcGs=">download</a>. After you download it make sure you have your information for the server handy and active sync for your account activated and you are good to go!</p>
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=576" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=576&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2009/12/free-exchange-activesync-for-the-droid-or-any-android-phone/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Text to Speech for the Google OS, Android (Updated)</title>
		<link>http://compscistuff.com/2009/04/text-to-speech-for-googles-os-android/</link>
		<comments>http://compscistuff.com/2009/04/text-to-speech-for-googles-os-android/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 06:46:35 +0000</pubDate>
		<dc:creator>Michael Washington</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Text to Speech]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=418</guid>
		<description><![CDATA[Text to Speech in Android Version of android executed in: 1.6rc2 in Windows TOOLS we used: Eclipse and Android library 1.6rc2 How it works: 1. In android 1.6rc2 the text to speech library is built in called android.speech.tts, here is link for the information http://developer.android.com/reference/android/speech/tts/TextToSpeech.html 2. Here is the code package com.android; import java.util.Locale; import [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal" style="text-align: center;" align="center"><strong><span style="text-decoration: underline;">Text to Speech in Android</span></strong></p>
<p class="MsoNormal"><strong>Version of android executed in: 1.6rc2 in Windows</strong></p>
<p class="MsoNormal"><strong><br />
</strong></p>
<p class="MsoNormal"><strong>TOOLS we used: </strong></p>
<p class="MsoNormal">Eclipse and Android library 1.6rc2</p>
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal"><strong>How it works:</strong></p>
<p class="MsoNormal"><strong>1. In android 1.6rc2 the text to speech library is built in called android.speech.tts, here is link for the information </strong>http://developer.android.com/reference/android/speech/tts/TextToSpeech.html</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>2. Here is the code</strong></p>
<p class="MsoNormal">package com.android;</p>
<p>import java.util.Locale;</p>
<p>import android.app.Activity;<br />
import android.content.Intent;<br />
import android.os.Bundle;<br />
import android.speech.tts.TextToSpeech;<br />
import android.speech.tts.TextToSpeech.OnInitListener;</p>
<p>public class TtS extends Activity implements OnInitListener{<br />
/** Called when the activity is first created. */<br />
private TextToSpeech mTts;</p>
<p>int MY_DATA_CHECK_CODE = 0;</p>
<p>@Override<br />
public void onCreate(Bundle savedInstanceState) {<br />
super.onCreate(savedInstanceState);<br />
setContentView(R.layout.main);</p>
<p>Intent checkIntent = new Intent();<br />
checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);<br />
startActivityForResult(checkIntent, MY_DATA_CHECK_CODE);<br />
mTts = new TextToSpeech(this,this);</p>
<p>}</p>
<p>@Override<br />
public void onInit(int arg0) {<br />
// TODO Auto-generated method stub<br />
String myText1 = &#8220;Did you sleep well?&#8221;;<br />
String myText2 = &#8220;I hope so, because it&#8217;s time to wake up.&#8221;;<br />
mTts.setLanguage(Locale.US);<br />
mTts.speak(myText1, TextToSpeech.QUEUE_FLUSH, null);<br />
mTts.speak(myText2, TextToSpeech.QUEUE_ADD, null);<br />
}</p>
<p>}</p>
<p class="MsoNormal"><strong>3. To make it even easier you can use you can download the code and open as an existing project. Click</strong> <a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NvbXBzY2lzdHVmZi5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMDkvMDQvVGV4dHRvU3BlZWNoLnppcA==">here</a> <strong>to download.</strong></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>References: </strong></p>
<ol style="margin-top: 0in;" type="1">
<li class="MsoNormal"><a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FuZHJvaWQtZGV2ZWxvcGVycy5ibG9nc3BvdC5jb20vMjAwOS8wOS9pbnRyb2R1Y3Rpb24tdG8tdGV4dC10by1zcGVlY2gtaW4uaHRtbA==">http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html</a></li>
</ol>
<p class="MsoNormal">
<p class="MsoNormal" style="margin-left: 0.25in;">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal" style="margin-left: 0.25in;">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal">
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=418" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=418&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2009/04/text-to-speech-for-googles-os-android/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

