<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>Cook Your Wireless Application</title>
	<link>http://www.cookwireless.com</link>
	<description>Initiate developers towards Wirefree Solutions …</description>
	<pubDate>Wed, 28 Jul 2010 19:49:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Tool for android Views and Layout.</title>
		<link>http://www.cookwireless.com/?p=24</link>
		<comments>http://www.cookwireless.com/?p=24#comments</comments>
		<pubDate>Mon, 15 Mar 2010 21:47:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=24</guid>
		<description><![CDATA[&#8220;hierarchyviewer&#8221;
e.g. Usage
$ hierarchyviewer
A GUI tool will appear that will show devices on left hand side and running packages on right hand side. TO see how the View hierarchy looks like select Device first. then what package you are interested in and finally Load View Hierarchy  button. It might take 3- 5 seconds to appear.
]]></description>
			<content:encoded><![CDATA[<p><em><strong>&#8220;hierarchyviewer&#8221;</strong></em></p>
<p>e.g. Usage</p>
<p>$ hierarchyviewer</p>
<p>A GUI tool will appear that will show devices on left hand side and running packages on right hand side. TO see how the View hierarchy looks like select <strong>Device</strong> first. then what <strong>package</strong> you are interested in and finally <strong>Load View Hierarchy</strong>  button. It might take 3- 5 seconds to appear.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>Working with ADB shell.</title>
		<link>http://www.cookwireless.com/?p=23</link>
		<comments>http://www.cookwireless.com/?p=23#comments</comments>
		<pubDate>Mon, 15 Mar 2010 21:36:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=23</guid>
		<description><![CDATA[ADB &#8212; (Android Debug Bridge)
As the name says, its a complete tool for ondevice debugging. It provides access to device data.
- let it be accessing different databases on device those are created by different applications. Imp for accessing data/data directory on Device your device has to be dev rooted.
e.g. for accessing databases on android, One [...]]]></description>
			<content:encoded><![CDATA[<p>ADB &#8212; (Android Debug Bridge)</p>
<p>As the name says, its a complete tool for ondevice debugging. It provides access to device data.</p>
<p>- let it be accessing different databases on device those are created by different applications. Imp for accessing data/data directory on Device your device has to be dev rooted.</p>
<p>e.g. for accessing databases on android, One need to go to data</p>
<p>From command line</p>
<p>&gt; adb shell</p>
<p>you are in a android shell.</p>
<p>&gt; cd data/data</p>
<p>&gt;cd application.package.name</p>
<p>cd databases</p>
<p>then use <strong>sqlite3</strong> utility for opening xxx.db</p>
<p>e.g. &gt; sqlite3  xxx.db</p>
<p>SQLite version 3.5.9<br />
Enter &#8220;.help&#8221; for instructions</p>
<p>If you want to see tables in the xxx.db<br />
sqlite&gt; .tables;</p>
<p>- A good source of adb command and its usage is</p>
<p>http://android-dls.com/wiki/index.php?title=ADB</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=23</wfw:commentRss>
		</item>
		<item>
		<title>How to Use MapActivity in Android</title>
		<link>http://www.cookwireless.com/?p=22</link>
		<comments>http://www.cookwireless.com/?p=22#comments</comments>
		<pubDate>Mon, 15 Mar 2010 20:53:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=22</guid>
		<description><![CDATA[Getting Map View to work. A Three Step process &#8230;

1. use java &#8220;keytool&#8221; to generate Test Application RSA certificate.
Windows: Mac: Terminal
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name  -keyalg RSA -validity 10000
Now Generate MD5 Entry &#8212; with following Line &#8230;
$ keytool -list -keystore my-release-key.keystore
It will give result in this form
alias_name, Dec 14, 2009, keyEntry,
Certificate [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Getting Map View to work. A Three Step process &#8230;</strong></p>
<p><strong><br />
<em>1. use java &#8220;keytool&#8221; to generate Test Application RSA certificate.</em></strong></p>
<p>Windows: Mac: Terminal<br />
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name  -keyalg RSA -validity 10000</p>
<p>Now Generate MD5 Entry &#8212; with following Line &#8230;</p>
<p>$ keytool -list -keystore my-release-key.keystore</p>
<p>It will give result in this form<br />
alias_name, Dec 14, 2009, keyEntry,<br />
Certificate fingerprint (MD5):  DC:00:83:C0:8A:A5:D4:DB:E9:CE:C6:25:6A:E2:70:EB</p>
<p><strong><em>2. Now we need to put our key in following link</em></strong></p>
<p>http://code.google.com/android/maps-api-signup.html</p>
<p>The key will be generated in this format on this webpage&#8230;<br />
e.g. Your key is:    0ui8F2Ff_e83ArP9HG9JjCeLcRm6WzJu3z7rnGQ</p>
<p>The above generated key would be good for all apps signed with your  certificate whose fingerprint is:</p>
<p>DC:00:83:C0:8A:A5:D4:DB:E9:CE:C6:25:6A:E2:70:EB</p>
<p><em><strong>3. Add Following XML code in your AndroidManifest.xml </strong></em></p>
<p><com.google.android.maps.mapview>&lt;com.google.android.maps.MapView<br />
android:layout_width=&#8221;fill_parent&#8221;<br />
android:layout_height=&#8221;fill_parent&#8221;<br />
android:apiKey=&#8221;0ui8F2Ff_e83ArP9HG9JjCeLcRm6WzJu3z7rnGQ&#8221;<br />
/&gt;</com.google.android.maps.mapview></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=22</wfw:commentRss>
		</item>
		<item>
		<title>Using GPS features in your Android Application</title>
		<link>http://www.cookwireless.com/?p=17</link>
		<comments>http://www.cookwireless.com/?p=17#comments</comments>
		<pubDate>Fri, 19 Dec 2008 19:29:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=17</guid>
		<description><![CDATA[

    
Little Bit of Background to run GPS example in android device.
1. To add GPS Functionality in your Android application, you will have to add the ACCESS_FINE_LOCATION  permission to the androidManifest.xml
     e.g.
&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;
&#60;manifest xmlns:android=&#8221;http://schemas.android.com/apk/res/android&#8221;    package=&#8221;net.learn2develop.GPS&#8221;&#62;        &#60;uses-permission [...]]]></description>
			<content:encoded><![CDATA[<p><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 11" /><meta name="Originator" content="Microsoft Word 11" /></p>
<link href="file:///C:%5CDOCUME%7E1%5Cachabra%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" />
<style>   <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --> </style>
<p class="MsoNormal">Little Bit of Background to run GPS example in android device.</p>
<p>1. To add GPS Functionality in your Android application, you will have to add the <strong>ACCESS_FINE_LOCATION</strong><span>  </span>permission to the <strong>androidManifest.xml</strong></p>
<p class="MsoNormal"><span>     </span>e.g.</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</p>
<p><span></span>&lt;manifest xmlns:android=&#8221;http://schemas.android.com/apk/res/android&#8221;<span>    </span>package=&#8221;net.learn2develop.GPS&#8221;&gt;<span>    </span><span>    </span>&lt;uses-permission <span>        </span>android:name=&#8221;android.permission.ACCESS_FINE_LOCATION&#8221; /&gt;<span></span></p>
<p><span></span><span></span>&lt;application android:icon=&#8221;@drawable/icon&#8221; <span>        </span>android:label=&#8221;@string/app_name&#8221;&gt;<span></span></p>
<p><span>        </span>&lt;activity android:name=&#8221;.GPS&#8221; android:label=&#8221;@string/app_name&#8221;&gt;</p>
<p><span>            </span>&lt;intent-filter&gt;</p>
<p><span>                </span>&lt;action android:name=&#8221;android.intent.action.MAIN&#8221; /&gt;<span>   </span></p>
<p><span>             </span>&lt;category android:name=&#8221;android.intent.category.LAUNCHER&#8221; /&gt;<span> </span></p>
<p><span>           </span>&lt;/intent-filter&gt;<span> </span></p>
<p><span>       </span>&lt;/activity&gt;<span></span></p>
<p><span>      </span>&lt;/application&gt;</p>
<p class="MsoNormal"><span>    </span>&lt;/manifest&gt;</p>
<p>2. In Android, Loc based services are provided by the</p>
<p class="MsoNormal"><span></span>&#8211; <strong>LocationManager</strong> class in <strong>android.location</strong> package.</p>
<p><span>    </span>Your device can obtain periodic updates of the device&#8217;s geographical locations.<span>    </span>Android application fires intent when it enters the proximity of a certain location.</p>
<p class="MsoNormal"><span>    </span></p>
<p class="MsoNormal">3. Connect to android console to give commands to androids host (e.g. Emulator or device)…</p>
<p style="text-indent: 0.5in" class="MsoNormal">tools&gt;telnet</p>
<p style="text-indent: 0.5in" class="MsoNormal"><span></span>telnet&gt; 0 localhost 5554</p>
<p style="text-indent: 0.5in" class="MsoNormal">(this will connect to the currently active device&#8230;.)</p>
<p style="text-indent: 0.5in" class="MsoNormal">geo fix -77.230488 38.916336</p>
<p style="text-indent: 0.5in" class="MsoNormal"> <a href="http://www.cookwireless.com/?p=17#more-17" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>MIT Courses</title>
		<link>http://www.cookwireless.com/?p=16</link>
		<comments>http://www.cookwireless.com/?p=16#comments</comments>
		<pubDate>Fri, 19 Dec 2008 18:53:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=16</guid>
		<description><![CDATA[

  

MIT Open course ware  is the right place for getting knowledge online.
 
http://ocw.mit.edu/OcwWeb/web/home/home/index.htm
 
There are many courses from all streams that could be of our potential interest.
I have interest in computer science and Alternative energy resources. And I found my world here. .. so don’t take time just go ahead and look for your horizon.
 
 
Amit
]]></description>
			<content:encoded><![CDATA[<p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 11" /><meta name="Originator" content="Microsoft Word 11" /></p>
<link href="file:///C:%5CDOCUME%7E1%5Cachabra%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" LatentStyleCount="156">  </w:LatentStyles> </xml><![endif]--><br />
<style> <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --> </style>
<p><!--[if gte mso 10]><br />
<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;} </style>
<p> <![endif]--></p>
<p class="MsoNormal">MIT Open course ware <span> </span>is the right place for getting knowledge online.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="http://ocw.mit.edu/OcwWeb/web/home/home/index.htm">http://ocw.mit.edu/OcwWeb/web/home/home/index.htm</a></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There are many courses from all streams that could be of our potential interest.</p>
<p class="MsoNormal">I have interest in computer science and Alternative energy resources. And I found my world here. .. so don’t take time just go ahead and look for your horizon.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Amit</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=16</wfw:commentRss>
		</item>
		<item>
		<title>Little bit about Android&#8230;</title>
		<link>http://www.cookwireless.com/?p=15</link>
		<comments>http://www.cookwireless.com/?p=15#comments</comments>
		<pubDate>Thu, 13 Nov 2008 07:24:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=15</guid>
		<description><![CDATA[I want to say enjoy your android walk through with these android notes &#8230;
Know How / Android Platform ..  
Dalvik virtual machine
 Android use DVM (Dalvik Virtual Machine.) Following are some points  on DVM and android relation&#8230;.
1. byte code vm similar to JVM
2. .dex byte code files -&#62; java class files got converted into .dex files.
3. [...]]]></description>
			<content:encoded><![CDATA[<p>I want to say enjoy your android walk through with these android notes &#8230;</p>
<p align="center"><strong>Know How / Android Platform ..  </strong></p>
<p align="left"><strong>Dalvik virtual machine</strong></p>
<p> Android use DVM (Dalvik Virtual Machine.) Following are some points  on DVM and android relation&#8230;.</p>
<p>1. byte code vm similar to JVM<br />
2. .dex byte code files -&gt; java class files got converted into .dex files.<br />
3. In Every process run in it&#8217;s own Dalvik VM runtime.<br />
4. Mobstr cpus are register based so dalvik cuts over head<br />
.dex allows proicesses to share system classes saves memory<br />
5. Integrating and Extending the existing components &#8230;<br />
Integrating existing components &#8211;&gt;<br />
Fire Intent and pick one of the already available set of library which we need for<br />
example    &#8211;&gt; Gmail wants photo and it integrate picasa lib for picking photos &#8230;<br />
6. Android has flushed issue tracker<br />
http://code.google.com/p/android<br />
Group for discussion &#8230;.<br />
http://code.google.com/groups.html<br />
7. Bluetooth API &#8211;&gt; Is part of the Android API..</p>
<p align="left"><strong>  Introduction to SDK</strong></p>
<p>  Concepts &#8230;. Application building blocks , There are Four building blocks of every android application. Every android application can have one of these or all of these in it.</p>
<p>1. Activity &#8211;&gt; UI Components &#8230;<br />
2. Intent Receivers &#8211;&gt; Pices of code responds to notifications or status changes<br />
3. Services &#8211;&gt; dont have UI and runs in backgrounds ..<br />
4. Content Provider &#8211;&gt; Provide Handel to Deal with Data.</p>
<p>Some More Detail on these Building blocks</p>
<p><strong>    1/ Activity &#8211;&gt; </strong><br />
1/ Can be faceless<br />
2/ can be in a floating window<br />
3/ Can return a value.<br />
4/ Can be embedded.</p>
<p><strong>Views </strong>- Used for building android screens&#8230;</p>
<p>1. TextView EditText, Button, Image View<br />
CheckBox, Lists<br />
2. Every activity has a tree of views<br />
1. view can be in xml<br />
2. view can be instantiated from code.<br />
3. support xml based styles and themes.</p>
<p><strong>Layouts</strong></p>
<p>1.  FrameLayout<br />
2.    Linear layout<br />
3.    RelativeLayout<br />
4.    TableLayout<br />
5.    AbsoluteLayout view given specific layout</p>
<p><strong>   2/ Intents and Intents Filers</strong></p>
<p><strong>Intents description what you want to do.        </strong><br />
- Moving from one screen to another screen (we can declare intents what will do following task&#8230;)<br />
- Caller calles startActivity(myintent),<br />
- System picks Activity whose IntentFilter best matches myIntent.<br />
- New Activity is informed of the Intent.<br />
<strong>Intent Receivers</strong><br />
- Respond to alarms and notifications<br />
- Will wake up your process if necessary<br />
- System can broadcast intents : data <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 11" /><meta name="Originator" content="Microsoft Word 11" /></p>
<link href="file:///C:%5CDOCUME%7E1%5Cachabra%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" LatentStyleCount="156">  </w:LatentStyles> </xml><![endif]--><br />
<style> <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --> </style>
<p><!--[if gte mso 10]></p>
<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;} </style>
<p> <![endif]--><span style="font-size: 12pt; font-family: 'Times New Roman'">connections</span>, phone state changes, etc.<br />
- Intent receivers can start Services for lengthy tasks(e.g downloading new data).<br />
- IntentReceivers in AndroiidManifest.xml<br />
- Can also attach Intent Receivers to other objects so they can receive notifications( Activities , Views etc.)</p>
<p><strong> 3/ Services </strong></p>
<p>- Faceless classes that run in the background.<br />
- Music player , network download, etc.<br />
- Services run in your applications process or their own process.<br />
- your code can bind to Services in your process or another process.<br />
- Once bound, you communicates with Services using a remotable interface defined in IDL.</p>
<p><strong> 4/ Content Providers</strong></p>
<p>- enabling data sharing across Applications .<br />
- Query data (Returns Cursor)<br />
- delete , Update , and insert rows.<br />
- Hide underlaying implementation<br />
- Work across processes.<br />
- All content is rep by URI&#8217;s<br />
- Convenience methods mean clients dont&#8217; need to know syntax</p>
<p align="center"> <strong>Application Life Cycle &#8230;</strong></p>
<p align="left">        - Applications run in their own processes.<br />
- Processes are started and stopped as needed to run an app components Process.</p>
<p><strong>         Life cycle Methods &#8230;    </strong><br />
onCreate() &#8211;&gt; we can check revive all the states when we get back to here &#8230;.<br />
onPause()  &#8211;&gt; we would like to pause and save all of our states &#8230;.<br />
onStop()    &#8211;&gt; we like to close services or other system resources that we have acquired.</p>
<p align="left"> -  There is a limit for amt of computations in onCreate() or lifeCycle Methods So be careful while using them and decide  what to put what not to put &#8230;..</p>
<p align="left">&nbsp;</p>
<p align="left"><strong> Other API&#8217;s in Android </strong></p>
<p>1. 2D Graphics &#8230;.<br />
We can build custon graphics components &#8230;.</p>
<p>2. Location Manager<br />
-    Applicationa can refister for notifications of current locations<br />
-  Can register for app specific Intents to be fired based on proximity.<br />
- We can register with location manager for particular loc so that we can get to know the location<br />
- Track files &#8230;  lugia@mit.edu (Anh Nguyen) xml file containing lat long, or google earth file &#8230;<br />
- Map view , MapActivity,</p>
<p>3. Media Support &#8230;<br />
- Play back and record media files<br />
- Audio , Pictures and video<br />
- Codec&#8217;s still being decided (mp4, wma etc &#8230;.)</p>
<p>- Access through intents<br />
Stream from a URL<br />
Set MIME type to help decide action</p>
<p>- Also class level API<br />
Embed playback<br />
Recording.<br />
- Streaming through RTP</p>
<p>4. XMPP Service &#8211;&gt; we can use GTalk service &#8230;.<br />
logged-in to Gtalk -&gt; we can send messages to friends &#8230;</p>
<p>5. Application management services &#8230;</p>
<p>6. LowLevel H/W API&#8217;s<br />
- API&#8217;s not yet available.<br />
- Accessing Bluetooth.<br />
- Accessing Wifi.</p>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=15</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Visiual studio plugin for Blackberry.</title>
		<link>http://www.cookwireless.com/?p=14</link>
		<comments>http://www.cookwireless.com/?p=14#comments</comments>
		<pubDate>Thu, 16 Aug 2007 03:36:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2me]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=14</guid>
		<description><![CDATA[The BlackBerry® Plug-in for Microsoft® Visual Studio® allows Microsoft® based developer to develop wirelessly enable applications for BlackBerry® smartphones. Download the Plug-in.
Key benefits for developers include:

Familiar development experience — Plugs into an existing Microsoft Visual Studio 2005 development environment, providing a familiar experience for .NET developers to create rich client applications for the BlackBerry platform.


Seamless [...]]]></description>
			<content:encoded><![CDATA[<p>The BlackBerry® Plug-in for Microsoft® Visual Studio® allows Microsoft® based developer to develop wirelessly enable applications for BlackBerry® smartphones. Download the <a target="_blank" href="http://na.blackberry.com/eng/developers/downloads/mvsplugin.jsp?CPID=EMC-BBVSQ2-07-2&amp;cp=EMC-BBVSQ2-07-2" title="Plug-In">Plug-in</a>.</p>
<p>Key benefits for developers include:</p>
<ul class="noTopMargin">
<li>Familiar development experience — Plugs into an existing Microsoft Visual Studio 2005 development environment, providing a familiar experience for .NET developers to create rich client applications for the BlackBerry platform.</li>
</ul>
<ul>
<li>Seamless wireless connectivity — Leverages the inherent security and managed wireless connectivity of the BlackBerry® Enterprise Solution, allowing developers to seamlessly connect to back-end enterprise systems using .NET Web Services.</li>
</ul>
<ul>
<li>Simplified BlackBerry development — Provides a framework of re-useable BlackBerry application components that simplifies user interface design, data management and wireless connectivity of rich-client applications.</li>
</ul>
<ul>
<li>Enterprise-class security and manageability — Applications developed using the BlackBerry Plug-in for Microsoft Visual Studio will leverage the same secure, push-based technology and scalable architecture of BlackBerry® Enterprise Server. IT departments also benefit from simplified management and centralized control of their wireless deployments.</li>
</ul>
<p>For downloading the plug-in developer needs to have plackberry developer community UID and password. For registration onto blackberry Developer community <a target="_blank" href="https://www.blackberry.com/CorpDevZone/register.do" title="Click">click.</a></p>
<p>Dowload the blackberry knowledge base. <a target="_blank" href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe?func=ll&amp;objId=1364836&amp;objAction=browse&amp;sort=name" title="click">Click</a></p>
<p>&#8211;Amit<br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=14</wfw:commentRss>
		</item>
		<item>
		<title>File Handling in J2me.</title>
		<link>http://www.cookwireless.com/?p=11</link>
		<comments>http://www.cookwireless.com/?p=11#comments</comments>
		<pubDate>Tue, 07 Aug 2007 21:01:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2me]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=11</guid>
		<description><![CDATA[_________________________________________________________________________
&#124;&#124;&#8211;&#124;&#124; File Handling Example &#124;&#124;&#8211;&#124;&#124; 
This example explains how we can use File handling API JSR 75 on J2me Handheld.I have used SonyEricsson Handset to test the Code. The following code does very simple job, It save the image in the File system of the phone. _________________________________________________________________________
Please click on more to see code &#8230;.
]]></description>
			<content:encoded><![CDATA[<p>_________________________________________________________________________</p>
<p><strong>||&#8211;|| File Handling Example ||&#8211;|| </strong></p>
<p>This example explains how we can use File handling API JSR 75 on J2me Handheld.I have used SonyEricsson Handset to test the Code. The following code does very simple job, It save the image in the File system of the phone. _________________________________________________________________________</p>
<p>Please click on more to see code &#8230;.</p>
<p> <a href="http://www.cookwireless.com/?p=11#more-11" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=11</wfw:commentRss>
		</item>
		<item>
		<title>LWL (Light weight logger)</title>
		<link>http://www.cookwireless.com/?p=13</link>
		<comments>http://www.cookwireless.com/?p=13#comments</comments>
		<pubDate>Tue, 07 Aug 2007 20:53:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2me]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=13</guid>
		<description><![CDATA[LWL (Light weight logger).

Release Features  
1.       Logger has very less number of classes.
2.       Easily configurable Logging levels.
3.       J2ME LWL view can easily differentiate logs on the bases of Logging levels.
4.       J2me LWL can ignore logs on the bases of logging levels.
5.       J2me LWL can be easily switched off or switched on.
Logging API
Logging Levels Interface
Logging levels [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0in 0in 15pt" class="MsoTitle"><font size="4" color="#17365d" face="Cambria">LWL (Light weight logger).</font></p>
<p><em><u><span style="text-decoration: none"></span></u></em></p>
<h2 style="margin: 10pt 0in 0pt"><font size="4"><font color="#4f81bd"><font face="Cambria">Release Features<span>  </span></font></font></font></h2>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpFirst"><span><span><font face="Calibri">1.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">Logger has very less number of classes.</font></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">2.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">Easily configurable Logging levels.</font></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">3.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">J2ME LWL view can easily differentiate logs on the bases of Logging levels.</font></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">4.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">J2me LWL can ignore logs on the bases of logging levels.</font></p>
<p style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"><span><span><font face="Calibri">5.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">J2me LWL can be easily switched off or switched on.</font></p>
<h2 style="margin: 10pt 0in 0pt"><font size="4" color="#4f81bd" face="Cambria">Logging API</font></h2>
<h1 style="margin: 24pt 0in 0pt"><font size="5" color="#365f91" face="Cambria">Logging Levels Interface</font></h1>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">Logging levels is nothing but a log differentiating parameters.</font></p>
<p><span style="font-size: 10pt; font-family: 'Courier New'">*<span>     </span><strong>INFO</strong> <span>      </span><strong>:</strong> General Information kind of log.</span><span style="font-size: 10pt; font-family: 'Courier New'"></span></p>
<p><span style="font-size: 10pt; font-family: 'Courier New'">*<span>     </span><strong>SEVERE</strong><span>     </span><strong>:</strong> ERROR or Exception LOG.</span></p>
<p><span style="font-size: 10pt; font-family: 'Courier New'"></span><span style="font-size: 10pt; font-family: 'Courier New'">*<span>      </span><strong>WARNING</strong><span>   </span><strong>:</strong> WARNINGS App Developer can use only when there is a problem which can</span></p>
<p><span style="font-size: 10pt; font-family: 'Courier New'"></span><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'"><span>                      </span></span><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'">e.g. for using levels <strong>LoggerLevels.INFO</strong></span><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'"> </span></p>
<h1 style="margin: 24pt 0in 0pt"><font size="5" color="#365f91" face="Cambria">Logging Class</font></h1>
<p style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in" class="MsoListParagraph"><span><span><font face="Calibri">1.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">Static Method for setting J2ME LWL configuration , this method can<span>  </span>be called anytime before calling logging function, configureLog method has four parameters as follows,</font></p>
<p style="margin: 0in 0in 10pt 0.5in" class="MsoNormal"><strong><font face="Calibri">LOG_INFO_BOOL_PARAM </font></strong><strong><span style="font-family: Wingdings"><span>à</span></span></strong><font face="Calibri"><span>   </span>Boolean parameter for configuring informative logs.</font></p>
<p style="margin: 0in 0in 10pt 0.5in" class="MsoNormal"><font face="Calibri"><span> </span><strong>LOG_SEVERE_PARAM </strong></font><strong><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> </font></strong><font face="Calibri">Boolean parameter for configuring SEVERE kind of problems for e.g. Exceptions and ERRORS.</font></p>
<p style="margin: 0in 0in 10pt 0.5in" class="MsoNormal"><strong><font face="Calibri">LOG_WARNING_PARAM</font></strong><strong><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> </font></strong><font face="Calibri">Boolean parameter for configuring a warning kind of logs.</font></p>
<p style="margin: 0in 0in 10pt 0.5in" class="MsoNormal"><strong><font face="Calibri">NO_OF_LOG_ENTRIES </font></strong><strong><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> </font></strong><font face="Calibri">For configuring upper limit of log.</font></p>
<p><strong><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'">LOGGING_ON_SYS_OUT </span></strong><strong><span style="font-size: 10pt; line-height: 115%; font-family: Wingdings"><span>à</span></span></strong><strong><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'"> for logging on system output.</span></strong><font face="Calibri"><span> </span>public static void <strong>configureLog</strong>(<strong>boolean LOG_INFO_BOOL_PARAM ,boolean<span>  </span>LOG_SEVERE_PARAM ,boolean LOG_WARNING_PARAM, int NO_OF_LOG_ENTRIES)</strong></font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span>                </span>e.g. of calling the method </font></p>
<p><strong><font face="Calibri"><span>                </span>LogUtil.configureLog(true,true,true,10);</font></strong></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpFirst"><span><span><font face="Calibri">2.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">j2me LWL Method for logging, This method has three parameters they are as follows,</font></p>
<p style="margin: 0in 0in 0pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">a.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri"><strong>logEntry</strong> </font><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> String value of Log.</font></p>
<p style="margin: 0in 0in 0pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">b.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">      </span></span></span><font face="Calibri"><strong>logType</strong> </font><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> Logging level accepts integer constants values given in LoggerLevels interface. e.g. LoggerLevels.INFO</font></p>
<p style="margin: 0in 0in 10pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"><span><span><font face="Calibri">c.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri"><strong>clear</strong> </font><span style="font-family: Wingdings"><span>à</span></span><font face="Calibri"> for keeping one log at a time.</font></p>
<p><strong><font face="Calibri">public static void log (String logentry, int logType, boolean clear);</font></strong><strong><font face="Calibri"> </font></strong><strong><strong><font face="Calibri">e.g. <span> </span><span>      </span>LogUtil.log(“FirstLogEntry”,LoggerLevel.INFO,false);</font></strong><strong><em><span><span><font face="Calibri">3.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span></em></strong><font face="Calibri">J2me LWL method for closing the record store the data base of LWL. This method has no parameters. This should be called for closing the database<strong>.<em><u></u></em></strong></font><strong><font face="Calibri">Public static void freeLoggerUtils ();</font></strong><strong><font face="Calibri">LogUtil.freeLoggerUtils();</font></strong><strong><font face="Calibri"> </font></strong></strong></p>
<h2 style="margin: 10pt 0in 0pt"><font size="4" color="#4f81bd" face="Cambria">Log Viewing Utility</font></h2>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">This utility can be used for viewing logs , to use the logging utility application has to do following tasks, The tasks are as follows.</font></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpFirst"><span><span><font face="Calibri">1.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">While building an application integrate J2meLWL.jar in lib directory.</font></p>
<p style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in" class="MsoListParagraphCxSpMiddle"><span><span><font face="Calibri">2.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">Once application is build put an entry in .jad file of application i.e. </font></p>
<p style="margin: 0in 0in 10pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"><span><span><font face="Calibri">a.</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal">       </span></span></span><font face="Calibri">Midlet-n: Logger,, com.Logger.ViewLog</font></p>
<p style="margin: 0in 0in 10pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"><font face="Calibri">________________________________________________________________________________</font></p>
<p style="margin: 0in 0in 10pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpLast">Please Click on More to View Code &#8230;</p>
<p style="margin: 0in 0in 10pt 1in; text-indent: -0.25in" class="MsoListParagraphCxSpLast"> <a href="http://www.cookwireless.com/?p=13#more-13" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
		<item>
		<title>SCMAD  By:-  Terence Doyle</title>
		<link>http://www.cookwireless.com/?p=9</link>
		<comments>http://www.cookwireless.com/?p=9#comments</comments>
		<pubDate>Tue, 17 Jul 2007 01:41:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[J2me]]></category>

		<guid isPermaLink="false">http://www.cookwireless.com/?p=9</guid>
		<description><![CDATA[J2me Sun Certified Mobile Application developer exam Notes, By:-  Terence Doyle
]]></description>
			<content:encoded><![CDATA[<p><a href="http://usuarios.arsystel.com/tdoyle/docs/SCMAD_objectives_with_notes_by_TerryDoyle.pdf">J2me Sun Certified Mobile Application developer exam Notes, By:-  Terence Doyle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cookwireless.com/?feed=rss2&amp;p=9</wfw:commentRss>
		</item>
	</channel>
</rss>
