<?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; Programming</title>
	<atom:link href="http://compscistuff.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://compscistuff.com</link>
	<description>Dedicated to satisfying your computer needs</description>
	<lastBuildDate>Sun, 20 Jun 2010 01:21:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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>11</slash:comments>
		</item>
		<item>
		<title>Test out your Programming Skills</title>
		<link>http://compscistuff.com/2009/02/test-out-your-programming-skills/</link>
		<comments>http://compscistuff.com/2009/02/test-out-your-programming-skills/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 04:28:07 +0000</pubDate>
		<dc:creator>Michael Washington</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Frontpage]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[next level]]></category>
		<category><![CDATA[skills]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=322</guid>
		<description><![CDATA[Every now and then you need to tune up your programming skills. Even football players have to keep lifting to keep their level of strength.  So as a programmer what do you to keep your level of skill or raise your level of skill? Well I have the answer for you. These are a list [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-324 aligncenter" title="question" src="http://compscistuff.com/wp-content/uploads/2009/02/question.jpg" alt="question" width="200" height="150" /></p>
<p>Every now and then you need to tune up your programming skills. Even football players have to keep lifting to keep their level of strength.  So as a programmer what do you to keep your level of skill or raise your level of skill? Well I have the answer for you. These are a list of some very good websites to take your programming level too the next level.</p>
<ul>
<li><a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5mYWNlYm9vay5jb20vam9ic19wdXp6bGVzL2luZGV4LnBocA==">Facebook</a></li>
<li><a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5rYXJyZWxzLm9yZy9FZC9BQ00v">Ed&#8217;s Programming Contest Problem Archive</a></li>
<li><a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NtMnByb2QuYmF5bG9yLmVkdS9sb2dpbi5qc2Y=">ACM programming problems</a></li>
</ul>
<p>These problems should definitely get your brain going, if these problems are not big enough for you, you can always solve this <a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5icmlsbGlnLmNvbS9kZWJ0X2Nsb2NrLw==">problem</a>. Tell me how it goes, lol.</p>
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=322" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=322&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2009/02/test-out-your-programming-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thin Client Applications (Web App) vs. Thick Client Application (Software App) Which is Better?</title>
		<link>http://compscistuff.com/2009/01/thin-client-applications-web-app-vs-thick-client-application-software-app-which-is-better/</link>
		<comments>http://compscistuff.com/2009/01/thin-client-applications-web-app-vs-thick-client-application-software-app-which-is-better/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 20:31:30 +0000</pubDate>
		<dc:creator>M.E. Conwell</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Frontpage]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[cloud computting]]></category>
		<category><![CDATA[M.E. Conwell]]></category>
		<category><![CDATA[thick client app]]></category>
		<category><![CDATA[thin client app]]></category>
		<category><![CDATA[web app]]></category>

		<guid isPermaLink="false">http://compscistuff.com/?p=274</guid>
		<description><![CDATA[As a developer it is always good to keep up with trends and have an understanding of the direction the field of computer science or web development is moving. Recently I have started to notice just how many thin client applications that are out there that do the exact same thing as many thick client [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer it is always good to keep up with trends and have an understanding of the direction the field of computer science or web development is moving.<span> </span>Recently I have started to notice just how many thin client applications that are out there that do the exact same thing as many thick client applications. Now for those who don’t know what I’m talking about in terms of thin and thick client apps let me break it down a little.</p>
<p class="MsoNormal">Thick client applications are your traditional applications. These are the software that you go out and buy from the store then download onto your computer from a CD like Quicken or MS Office.<span> </span>Such applications are then stored on your personal computer’s hard drive taking up memory and runs completely on that computer’s resources. This also means that the security of the application is dependent on the local computer, which in most cases has a limited amount of users and access. These apps, because they are stored on a person’s local computer, are always readily available as long as there are no issues with the computer housing them. This also means that the only way to us such an application from a different computer is that it has to be loaded on that machine, and an individual would have to have there information on some kind of portable media so that it can be uploaded an reused. That means these kinds of apps are not very portable and in most cases can not be used with a mobile device.</p>
<p><script type="text/javascript">// <![CDATA[
     google_ad_client = "pub-3332053812512101"; /* 200x200, created 8/18/09 */ google_ad_slot = "8873285113"; google_ad_width = 200; google_ad_height = 200;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p class="MsoNormal">Thin client applications are web applications. These are applications that can be accessed from the internet with out the use of a CD or any other type of media. These applications are purchased by paying for an account or subscription to a website which gives you access to the app, as opposed to purchasing it at a store. With the application itself being used from the web it dose not take up any space on the local computer, but still uses other resources from the local computer. Instead the app resides on a server somewhere that can be accessed by many users at any time, which means a need for greater security measures to be taken.<span> </span>Also thin client apps can be accessed by any computer or mobile device that has internet access making them very portable. <span> </span>With that said thin apps are only as fast and reliable as the user’s internet connection and the producer’s server. This also means that if either is not working correctly for any reason then the application could be unreachable or extremely slow.</p>
<p class="MsoNormal">Now with a better understanding and some background information of what is a thin client and thick client app, I go back to the original questing of which one is better? Well that’s a tough question because at the end of the day they both do the same job and usually cost about the same. Even though thin apps are easier to access and do not take up any memory of the local computer, thick apps are more reliable and usually a lot more secure. Thus I think the best way to answer this question is for users to first decide how big of an issue accessibility is. If it is a big issue for the user then yes, a thin client app is defiantly better. Yet, if that is not the case then maybe a thick client app is better. It all depends on what the user is looking for out of their apps. If you have any questions and want to know more about thick and thin client apps you can e-mail me at <a href="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=bWFpbHRvOm1lX2NvbndlbGxAY29tcHNjaXN0dWZmLmNvbQ==">me_conwell@compscistuff.com</a>.</p>
<p class="MsoNormal">Also a side note: Thin client apps are the basis of cloud computing, which is the idea of a computer running with its apps being ran from a remote server as opposed to on the local computer itself. This is an Idea that will be further explored in a later article so being on the look out. <span> </span></p>
 <img src="http://compscistuff.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=274" width="1" height="1" style="display: none;" /><img src="http://compscistuff.com/?ak_action=api_record_view&id=274&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://compscistuff.com/2009/01/thin-client-applications-web-app-vs-thick-client-application-software-app-which-is-better/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
