<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5685114072184879502</atom:id><lastBuildDate>Sun, 20 Oct 2024 05:19:07 +0000</lastBuildDate><title>Wince Smart Device DotNet Mobile Application Development</title><description>i have shared my experince about mobile application development for windows enabled mobile devices through dot net.</description><link>http://dotnetmobileapplication.blogspot.com/</link><managingEditor>noreply@blogger.com (raju)</managingEditor><generator>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-4405720204131693459</guid><pubDate>Tue, 24 Nov 2009 12:58:00 +0000</pubDate><atom:updated>2009-11-24T04:58:59.879-08:00</atom:updated><title>Is keyboard / keypad not appearing in wince smart device mobile application for text entry?</title><description>Have you wondered why keyboard / keypad not appearing for the textbox if any entry in the mobile device? Dont imagine it will appear automatically.&lt;br /&gt;
&lt;br /&gt;
The solution is quite simple and you will be amazed too.&lt;br /&gt;
&lt;br /&gt;
While running the application in the emulator if there is any text entry it will show as below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGr0fsSBqUN4wfBVTh7hIP1Eqw4dNEJTuokyC5bt9cdD5ltuX8EN2ZlZk8C1rAyODuBlt2g65Dg1kNFnKBkWsG0UScCN3xUnL1wfFwjPAJCD-mrwa-I51qY4zePcuEmaHUGBOOHPo7il0/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGr0fsSBqUN4wfBVTh7hIP1Eqw4dNEJTuokyC5bt9cdD5ltuX8EN2ZlZk8C1rAyODuBlt2g65Dg1kNFnKBkWsG0UScCN3xUnL1wfFwjPAJCD-mrwa-I51qY4zePcuEmaHUGBOOHPo7il0/s320/1.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDtqFYjGUAdnQcdDqZUVmdrLAmyLxmHW0u3PfG3hWy398mKvWvG9MMhTjmgQRkTfoz3fguLh0fgnJeidwLiZK1tEipJdD2dcqdmd2akgEM3i7gSpsriw8MFoZaxuhE0zP13nnVSf3ML4k/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDtqFYjGUAdnQcdDqZUVmdrLAmyLxmHW0u3PfG3hWy398mKvWvG9MMhTjmgQRkTfoz3fguLh0fgnJeidwLiZK1tEipJdD2dcqdmd2akgEM3i7gSpsriw8MFoZaxuhE0zP13nnVSf3ML4k/s320/2.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;but for certain forms the icon&amp;nbsp; or the key board wont appear like this.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYY8v_HUmBzd_p-YSP_wVCRb2uLVsZnUhG__iK1jNtEn-k7f9srBfCvGT-Rv6-eT3XYTaod71VVrvJRUoiaKjKqpf4acbjpJTQj1Qd-Y_zsU10Nw4oFrV8MoqZvfTyFPZyvUUEWRLOHx0/s1600/4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYY8v_HUmBzd_p-YSP_wVCRb2uLVsZnUhG__iK1jNtEn-k7f9srBfCvGT-Rv6-eT3XYTaod71VVrvJRUoiaKjKqpf4acbjpJTQj1Qd-Y_zsU10Nw4oFrV8MoqZvfTyFPZyvUUEWRLOHx0/s320/4.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;The solution is quite simple ; while adding a new form in the project by default &lt;strong&gt;menu1 &lt;/strong&gt;will appear i think you would have noticed. At any cost dont delete it. Since it plays a major role in showing the keyboard / keypad where ever the textbox appears in the form.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;If&amp;nbsp;you delete it unexpectly, then from the toolbox browse for navigation and place the menu control in the form.Thats enough :-) wallaaa the keyboad appears in the form or in the device !!!!!!.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjuY28y-wyTw6TFRxBEI964KwPmvwUyx32iKioHqUfJQM2Q1F385KAuNKMZE4Vo0wb2AQPXgulSrPuC4Pcax3fCTZTK5ukAtFEkZyXR9JUgt0Tu5P34WaV1cBkHYpYd53qds8aJiMZGc/s1600/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjuY28y-wyTw6TFRxBEI964KwPmvwUyx32iKioHqUfJQM2Q1F385KAuNKMZE4Vo0wb2AQPXgulSrPuC4Pcax3fCTZTK5ukAtFEkZyXR9JUgt0Tu5P34WaV1cBkHYpYd53qds8aJiMZGc/s320/3.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;You can delete the menu control from the form where ever there is no textbox.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;I know the solution would not have satisfied you; the same with me too. Still now i am wondereing what is the conenction between the menu control and the windows mobile form.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/is-keyboard-keypad-not-appearing-in.html</link><author>noreply@blogger.com (raju)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGr0fsSBqUN4wfBVTh7hIP1Eqw4dNEJTuokyC5bt9cdD5ltuX8EN2ZlZk8C1rAyODuBlt2g65Dg1kNFnKBkWsG0UScCN3xUnL1wfFwjPAJCD-mrwa-I51qY4zePcuEmaHUGBOOHPo7il0/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-8133910102801429122</guid><pubDate>Tue, 24 Nov 2009 12:28:00 +0000</pubDate><atom:updated>2009-11-24T04:57:55.818-08:00</atom:updated><title>Voice recording wince smart device mobile application</title><description>Voice recording wince mobile application - While working on mobile projects in most of the scenario there will be a requirement for voice recording at least 75%. I have searched a lot to use dot net compact frameworks dll but i couldn&#39;t at last i figured it is not possible using compact frameworks dll.&lt;br /&gt;
&lt;br /&gt;
We can achieve the same thing using pinvoke i.e. Platform Invoke. I will just place the sample code so that you can follow up.&lt;br /&gt;
&lt;br /&gt;
Read this post first before proceeding as you need to know about &lt;a href=&quot;http://dotnetmobileapplication.blogspot.com/2009/11/reduce-image-size-wince-mobile.html&quot;&gt;opennetcf&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create a new form named frmVoice.vb&lt;br /&gt;
place button btnstart &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;btnstart onclick event&lt;br /&gt;
************** START ****************&lt;br /&gt;
&lt;br /&gt;
Private audioRecorder As OpenNETCF.Media.WaveAudio.Recorder&lt;br /&gt;
Dim voicefolder As String = &quot;\My Documents\Voice&quot;&lt;br /&gt;
Dim voicefile As String = voicefolder + &quot;\Record1.wav&quot;&lt;br /&gt;
Const RECORD_DURATION As Integer = 45&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;If System.IO.Directory.Exists(voicefolder) = False Then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.Directory.CreateDirectory(voicefolder)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim s As String&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each s In System.IO.Directory.GetFiles(voicefolder)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.File.Delete(s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next s&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim fs As FileStream = File.Create(voicefile)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fs.Close()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim audioStream As System.IO.Stream&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audioStream = System.IO.File.OpenWrite(voicefile)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audioRecorder = New OpenNETCF.Media.WaveAudio.Recorder&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;---save the audio to stream---&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audioRecorder.RecordFor( _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audioStream, _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECORD_DURATION, _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenNETCF.Media.WaveAudio.SoundFormats.Mono16bit11kHz)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
place another button stop&lt;br /&gt;
on stop click event&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;audioRecorder.Stop()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
**************&amp;nbsp;&amp;nbsp; END&amp;nbsp;&amp;nbsp; ****************</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/voice-recording-wince-mobile.html</link><author>noreply@blogger.com (raju)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-5700839507871824757</guid><pubDate>Tue, 24 Nov 2009 11:46:00 +0000</pubDate><atom:updated>2009-11-24T04:58:06.461-08:00</atom:updated><title>Reduce Image size wince smart device mobile application</title><description>Does any one tried to reduce the size of the image in windows based mobile application using dot net libraries if yes then please post me the URL. but i have figured out an easy way of reducing the image size.&lt;br /&gt;
&lt;br /&gt;
We can use opennetcf&#39;s dll&#39;s.&lt;br /&gt;
About opennetcf :- its a community to develop windows based mobile application.You can find many dlls free to use it in our application.&lt;br /&gt;
&lt;br /&gt;
I just tried with &lt;a href=&quot;http://www.opennetcf.com/Products/SmartDeviceFramework/tabid/65/Default.aspx&quot;&gt;&lt;b&gt;OpenNETCF&lt;/b&gt; &lt;/a&gt;dll for my image reduce functionality.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;place the code in any button onclick event &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Dim objImage As System.Drawing.Image&lt;br /&gt;
Dim fractionalPercentage As Double&lt;br /&gt;
&amp;nbsp; fractionalPercentage = 20 / 100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;objImage = New Bitmap(FILEPATH)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Dim bi As OpenNETCF.Drawing.Imaging.IBitmapImage&lt;br /&gt;
&amp;nbsp; bi = OpenNETCF.Drawing.Imaging.ImageUtils.CreateThumbnail( _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsred, New Size(objImage.Width * fractionalPercentage, objImage.Height * fractionalPercentage))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#39; pctreduced - picture box , the reduced image will be drawn in this control&lt;br /&gt;
&amp;nbsp;pctreduced.Image = _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OpenNETCF.Drawing.Imaging.ImageUtils.IBitmapImageToBitmap(bi)</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/reduce-image-size-wince-mobile.html</link><author>noreply@blogger.com (raju)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-561678217947724454</guid><pubDate>Tue, 24 Nov 2009 11:29:00 +0000</pubDate><atom:updated>2009-11-24T04:58:20.381-08:00</atom:updated><title>Launch camera programatically in windows mobile wince smart device dot net application</title><description>We can launch the camera and capture photos in the windows enabled mobile phone using dot net in built libraries.&lt;br /&gt;
&lt;br /&gt;
You need to import &quot;Microsoft.WindowsMobile.Forms&quot; libraries which can be found when you install &quot;Windows Mobile 6 SDK&quot; under the folder &quot;Windows Mobile 6 SDK\Managed Libraries&quot;.&lt;br /&gt;
&lt;br /&gt;
The copy the below code in any button event.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Dim cameraimgfolder As String = &quot;\My Documents\pictures&quot; &lt;br /&gt;
Dim objImage As System.Drawing.Image&lt;br /&gt;
Dim MycameraDialog As New CameraCaptureDialog()&lt;br /&gt;
&lt;br /&gt;
MycameraDialog .Owner = Me&lt;br /&gt;
MycameraDialog .Title = &quot;Take Still Picture&quot;&lt;br /&gt;
&lt;br /&gt;
MycameraDialog .Mode = CameraCaptureMode.Still&lt;br /&gt;
MycameraDialog .StillQuality = CameraCaptureStillQuality.Normal&lt;br /&gt;
MycameraDialog .InitialDirectory = cameraimgfolder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If ((MycameraDialog .ShowDialog() &amp;lt;&amp;gt; DialogResult.OK) _&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Or (MycameraDialog .FileName = &quot;&quot;)) Then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; Handle the cancel case here.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MycameraDialog .DefaultFileName = &quot;XXXXX&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MycameraDialog .InitialDirectory = cameraimgfolder&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
&#39; we need to know the file name as it will be created automatically&lt;br /&gt;
TextBox3.Text = cameraDialog.FileName&lt;br /&gt;
&lt;br /&gt;
filePath = TextBox3.Text&lt;br /&gt;
Dim picturenamearr() As String&lt;br /&gt;
picturenamearr = filePath.Split(&quot;\&quot;)&lt;br /&gt;
filename = picturenamearr.Last&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If TextBox3.Text.Trim &amp;lt;&amp;gt; &quot;&quot; Then&lt;br /&gt;
&amp;nbsp;&#39;storing in image object; so that you can place the object in the picture box if you need&lt;br /&gt;
&amp;nbsp;objImage = New Bitmap(TextBox3.Text.ToString)&lt;br /&gt;
&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Notes:&lt;/b&gt;&lt;br /&gt;
After the image has been captured based on the device it will automatically jumps to the initiated screen or else it will show you back button.</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/launch-camera-programatically-in.html</link><author>noreply@blogger.com (raju)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-8948285891648230477</guid><pubDate>Mon, 23 Nov 2009 13:26:00 +0000</pubDate><atom:updated>2009-11-24T04:58:31.561-08:00</atom:updated><title>Get mobile number of a sim card - wince smart device mobile application dot net</title><description>At any cost there is no possible way to get the mobile number because the mobile number is just the ID given to the sim number. so the network operator can identify you with help of sim number only and not with the mobile number.&lt;br /&gt;
&lt;br /&gt;
Think of a table structure&lt;br /&gt;
&lt;br /&gt;
Primarykey&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;br /&gt;
your sim number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your mobile number&lt;br /&gt;
357533000961259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +91XXXXXXXXXX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:-( :-(&amp;nbsp;:-( :-(&lt;br /&gt;
&lt;br /&gt;
Other blogs&lt;br /&gt;
&lt;a href=&quot;http://blog.totalblogdirectory.com/&quot;&gt;Blog Blog&lt;/a&gt;</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/get-mobile-number-of-sim-card-win-ce.html</link><author>noreply@blogger.com (raju)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-9035201518888266007</guid><pubDate>Mon, 23 Nov 2009 13:15:00 +0000</pubDate><atom:updated>2009-11-24T04:58:46.150-08:00</atom:updated><title>Get IMEI IMSI number of the mobile phone - wince smart device mobile application</title><description>Have you wondered how to fetch the IMEI or IMSI number from the winows enabled mobile phone through dot net!!!&lt;br /&gt;
&lt;br /&gt;
Yes there is a solution.&amp;nbsp;I dont know&amp;nbsp;from where i have&amp;nbsp;found out the code&amp;nbsp;, definitely the credit goes to the author. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create a class file named &quot;&lt;b&gt;DevicePhoneInfo.vb&lt;/b&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
********************* START **************************************&lt;br /&gt;
&lt;br /&gt;
Imports System&lt;br /&gt;
&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Collections&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Runtime.InteropServices&lt;br /&gt;
Imports System.Text&lt;br /&gt;
Imports System.Xml&lt;br /&gt;
Imports System.IO&lt;br /&gt;
&lt;br /&gt;
Namespace TAPI&lt;br /&gt;
Public Module PhoneInfo&lt;br /&gt;
&#39;Private Sub New()&lt;br /&gt;
&#39;End Sub&lt;br /&gt;
&#39;original code location:&lt;br /&gt;
&#39;http://www.developersdex.com/vb/message.asp?p=2916&amp;amp;ID=%3C68D1F07B-ECB0-4A15-AFCA-2A911FC3234C%40microsoft.com%3E&lt;br /&gt;
Public Sub [Get](ByRef manufacturer As String, ByRef model As String, ByRef revision As String, ByRef serialNumber As String, ByRef subsciberId As String)&lt;br /&gt;
Dim hLine As IntPtr&lt;br /&gt;
Dim dwNumDev As Integer&lt;br /&gt;
Dim num1 As Integer = &amp;amp;H20000&lt;br /&gt;
Dim lineInitializeParams As New LINEINITIALIZEEXPARAMS()&lt;br /&gt;
lineInitializeParams.dwTotalSize = CUInt(Marshal.SizeOf(lineInitializeParams))&lt;br /&gt;
lineInitializeParams.dwNeededSize = lineInitializeParams.dwTotalSize&lt;br /&gt;
lineInitializeParams.dwOptions = 2&lt;br /&gt;
lineInitializeParams.hEvent = IntPtr.Zero&lt;br /&gt;
lineInitializeParams.hCompletionPort = IntPtr.Zero&lt;br /&gt;
&#39;#Region &quot;lineInitializeEx&quot;&lt;br /&gt;
Dim result As Integer = Tapi.lineInitializeEx(hLine, IntPtr.Zero, IntPtr.Zero, Nothing, dwNumDev, num1, _&lt;br /&gt;
lineInitializeParams)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineInitializeEx failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code:{0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&#39;#Region &quot;lineNegotiateAPIVerison&quot;&lt;br /&gt;
Dim version As Integer&lt;br /&gt;
Dim dwAPIVersionLow As Integer = &amp;amp;H10004&lt;br /&gt;
Dim dwAPIVersionHigh As Integer = &amp;amp;H20000&lt;br /&gt;
Dim lineExtensionID As LINEEXTENSIONID&lt;br /&gt;
result = Tapi.lineNegotiateAPIVersion(hLine, 0, dwAPIVersionLow, dwAPIVersionHigh, version, lineExtensionID)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineNegotiateAPIVersion failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code: {0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;lineOpen&quot;&lt;br /&gt;
Dim hLine2 As IntPtr = IntPtr.Zero&lt;br /&gt;
result = Tapi.lineOpen(hLine, 0, hLine2, version, 0, IntPtr.Zero, _&lt;br /&gt;
&amp;amp;H2, &amp;amp;H4, IntPtr.Zero)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineNegotiateAPIVersion failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code: {0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;lineGetGeneralInfo&quot;&lt;br /&gt;
Dim structSize As Integer = Marshal.SizeOf(New LINEGENERALINFO())&lt;br /&gt;
Dim bytes As Byte() = New Byte(structSize - 1) {}&lt;br /&gt;
Dim tmpBytes As Byte() = BitConverter.GetBytes(structSize)&lt;br /&gt;
&lt;br /&gt;
For index As Integer = 0 To tmpBytes.Length - 1&lt;br /&gt;
bytes(index) = tmpBytes(index)&lt;br /&gt;
Next&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;make initial query to retrieve necessary size&quot;&lt;br /&gt;
result = Tapi.lineGetGeneralInfo(hLine2, bytes)&lt;br /&gt;
&lt;br /&gt;
&#39; get the needed size&lt;br /&gt;
Dim neededSize As Integer = BitConverter.ToInt32(bytes, 4)&lt;br /&gt;
&lt;br /&gt;
&#39; resize the array&lt;br /&gt;
bytes = New Byte(neededSize - 1) {}&lt;br /&gt;
&lt;br /&gt;
&#39; write out the new allocated size to the byte stream&lt;br /&gt;
tmpBytes = BitConverter.GetBytes(neededSize)&lt;br /&gt;
For index As Integer = 0 To tmpBytes.Length - 1&lt;br /&gt;
bytes(index) = tmpBytes(index)&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
&#39; fetch the information with properly size buffer&lt;br /&gt;
result = Tapi.lineGetGeneralInfo(hLine2, bytes)&lt;br /&gt;
&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(Marshal.GetLastWin32Error().ToString())&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;actual data fetching&quot;&lt;br /&gt;
Dim size As Integer&lt;br /&gt;
Dim offset As Integer&lt;br /&gt;
&lt;br /&gt;
&#39; manufacture&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 12)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 16)&lt;br /&gt;
manufacturer = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
manufacturer = manufacturer.Substring(0, manufacturer.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; model&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 20)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 24)&lt;br /&gt;
model = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
model = model.Substring(0, model.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; revision&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 28)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 32)&lt;br /&gt;
revision = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
revision = revision.Substring(0, revision.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; serial number&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 36)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 40)&lt;br /&gt;
serialNumber = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
serialNumber = serialNumber.Substring(0, serialNumber.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; subscriber id&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 44)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 48)&lt;br /&gt;
subsciberId = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
subsciberId = subsciberId.Substring(0, subsciberId.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#39;tear down&lt;br /&gt;
Tapi.lineClose(hLine2)&lt;br /&gt;
&lt;br /&gt;
Tapi.lineShutdown(hLine)&lt;br /&gt;
End Sub&lt;br /&gt;
End Module&lt;br /&gt;
&lt;br /&gt;
End Namespace&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
********************* END **************************************** &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
create another class named &quot;&lt;b&gt;TAPI.vb&lt;/b&gt;&quot; &lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&amp;nbsp; &lt;br /&gt;
********************* START ************************************** &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Imports System&lt;br /&gt;
&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Collections&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Runtime.InteropServices&lt;br /&gt;
Imports System.Text&lt;br /&gt;
Imports System.Xml&lt;br /&gt;
Imports System.IO&lt;br /&gt;
&lt;br /&gt;
Namespace TAPI&lt;br /&gt;
Public Module PhoneInfo&lt;br /&gt;
&#39;Private Sub New()&lt;br /&gt;
&#39;End Sub&lt;br /&gt;
&#39;original code location:&lt;br /&gt;
&#39;http://www.developersdex.com/vb/message.asp?p=2916&amp;amp;ID=%3C68D1F07B-ECB0-4A15-AFCA-2A911FC3234C%40microsoft.com%3E&lt;br /&gt;
Public Sub [Get](ByRef manufacturer As String, ByRef model As String, ByRef revision As String, ByRef serialNumber As String, ByRef subsciberId As String)&lt;br /&gt;
Dim hLine As IntPtr&lt;br /&gt;
Dim dwNumDev As Integer&lt;br /&gt;
Dim num1 As Integer = &amp;amp;H20000&lt;br /&gt;
Dim lineInitializeParams As New LINEINITIALIZEEXPARAMS()&lt;br /&gt;
lineInitializeParams.dwTotalSize = CUInt(Marshal.SizeOf(lineInitializeParams))&lt;br /&gt;
lineInitializeParams.dwNeededSize = lineInitializeParams.dwTotalSize&lt;br /&gt;
lineInitializeParams.dwOptions = 2&lt;br /&gt;
lineInitializeParams.hEvent = IntPtr.Zero&lt;br /&gt;
lineInitializeParams.hCompletionPort = IntPtr.Zero&lt;br /&gt;
&#39;#Region &quot;lineInitializeEx&quot;&lt;br /&gt;
Dim result As Integer = Tapi.lineInitializeEx(hLine, IntPtr.Zero, IntPtr.Zero, Nothing, dwNumDev, num1, _&lt;br /&gt;
lineInitializeParams)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineInitializeEx failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code:{0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&#39;#Region &quot;lineNegotiateAPIVerison&quot;&lt;br /&gt;
Dim version As Integer&lt;br /&gt;
Dim dwAPIVersionLow As Integer = &amp;amp;H10004&lt;br /&gt;
Dim dwAPIVersionHigh As Integer = &amp;amp;H20000&lt;br /&gt;
Dim lineExtensionID As LINEEXTENSIONID&lt;br /&gt;
result = Tapi.lineNegotiateAPIVersion(hLine, 0, dwAPIVersionLow, dwAPIVersionHigh, version, lineExtensionID)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineNegotiateAPIVersion failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code: {0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;lineOpen&quot;&lt;br /&gt;
Dim hLine2 As IntPtr = IntPtr.Zero&lt;br /&gt;
result = Tapi.lineOpen(hLine, 0, hLine2, version, 0, IntPtr.Zero, _&lt;br /&gt;
&amp;amp;H2, &amp;amp;H4, IntPtr.Zero)&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(String.Format(&quot;lineNegotiateAPIVersion failed!&quot; &amp;amp; vbLf &amp;amp; vbLf &amp;amp; &quot;Error Code: {0}&quot;, result.ToString()))&lt;br /&gt;
End If&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;lineGetGeneralInfo&quot;&lt;br /&gt;
Dim structSize As Integer = Marshal.SizeOf(New LINEGENERALINFO())&lt;br /&gt;
Dim bytes As Byte() = New Byte(structSize - 1) {}&lt;br /&gt;
Dim tmpBytes As Byte() = BitConverter.GetBytes(structSize)&lt;br /&gt;
&lt;br /&gt;
For index As Integer = 0 To tmpBytes.Length - 1&lt;br /&gt;
bytes(index) = tmpBytes(index)&lt;br /&gt;
Next&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;make initial query to retrieve necessary size&quot;&lt;br /&gt;
result = Tapi.lineGetGeneralInfo(hLine2, bytes)&lt;br /&gt;
&lt;br /&gt;
&#39; get the needed size&lt;br /&gt;
Dim neededSize As Integer = BitConverter.ToInt32(bytes, 4)&lt;br /&gt;
&lt;br /&gt;
&#39; resize the array&lt;br /&gt;
bytes = New Byte(neededSize - 1) {}&lt;br /&gt;
&lt;br /&gt;
&#39; write out the new allocated size to the byte stream&lt;br /&gt;
tmpBytes = BitConverter.GetBytes(neededSize)&lt;br /&gt;
For index As Integer = 0 To tmpBytes.Length - 1&lt;br /&gt;
bytes(index) = tmpBytes(index)&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
&#39; fetch the information with properly size buffer&lt;br /&gt;
result = Tapi.lineGetGeneralInfo(hLine2, bytes)&lt;br /&gt;
&lt;br /&gt;
If result &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
Throw New ApplicationException(Marshal.GetLastWin32Error().ToString())&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&#39;#Region &quot;actual data fetching&quot;&lt;br /&gt;
Dim size As Integer&lt;br /&gt;
Dim offset As Integer&lt;br /&gt;
&lt;br /&gt;
&#39; manufacture&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 12)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 16)&lt;br /&gt;
manufacturer = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
manufacturer = manufacturer.Substring(0, manufacturer.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; model&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 20)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 24)&lt;br /&gt;
model = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
model = model.Substring(0, model.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; revision&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 28)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 32)&lt;br /&gt;
revision = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
revision = revision.Substring(0, revision.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; serial number&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 36)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 40)&lt;br /&gt;
serialNumber = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
serialNumber = serialNumber.Substring(0, serialNumber.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39; subscriber id&lt;br /&gt;
size = BitConverter.ToInt32(bytes, 44)&lt;br /&gt;
offset = BitConverter.ToInt32(bytes, 48)&lt;br /&gt;
subsciberId = Encoding.Unicode.GetString(bytes, offset, size)&lt;br /&gt;
subsciberId = subsciberId.Substring(0, subsciberId.IndexOf(ControlChars.NullChar))&lt;br /&gt;
&lt;br /&gt;
&#39;#End Region&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#39;tear down&lt;br /&gt;
Tapi.lineClose(hLine2)&lt;br /&gt;
&lt;br /&gt;
Tapi.lineShutdown(hLine)&lt;br /&gt;
End Sub&lt;br /&gt;
End Module&lt;br /&gt;
&lt;br /&gt;
End Namespace&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
********************* END **************************************&lt;br /&gt;
&lt;br /&gt;
create a form named &quot;&lt;b&gt;getIMEI_IMSI.vb&lt;/b&gt;&quot;&amp;nbsp; , in the code behind&amp;nbsp; paste the following code&lt;br /&gt;
&lt;br /&gt;
*********************&amp;nbsp; START&amp;nbsp; **************************************&lt;br /&gt;
Imports System&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imports System.Collections.Generic&lt;br /&gt;
&lt;br /&gt;
Imports System.ComponentModel&lt;br /&gt;
&lt;br /&gt;
Imports System.Data&lt;br /&gt;
&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
&lt;br /&gt;
Imports System.Text&lt;br /&gt;
&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
&lt;br /&gt;
Imports Camera2.TAPI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Public Class getIMEI_IMSI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Sub getIMEI_IMSI_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;
&lt;br /&gt;
Dim manifactrer As String&lt;br /&gt;
&lt;br /&gt;
Dim model As String&lt;br /&gt;
&lt;br /&gt;
Dim revision As String&lt;br /&gt;
&lt;br /&gt;
Dim imsi As String&lt;br /&gt;
&lt;br /&gt;
Dim imei As String&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PhoneInfo.[Get](manifactrer, model, revision, imei, imsi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TextBox1.Text = imsi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TextBox2.Text = imei&lt;br /&gt;
&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
End Class &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
*********************&amp;nbsp;END **************************************</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/get-imei-imsi-number-of-mobile-phone.html</link><author>noreply@blogger.com (raju)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-1662698594750717107</guid><pubDate>Sat, 21 Nov 2009 11:11:00 +0000</pubDate><atom:updated>2009-11-24T04:59:18.262-08:00</atom:updated><title>Running/Debugging the wince smart device mobile application</title><description>Running the application require certain additional efforts than the regular vb.net application.&lt;br /&gt;
&lt;br /&gt;
Pre-requiste / pre- requirement to run the application:&lt;br /&gt;
&lt;br /&gt;
1. Active sync - Most important software to be installed in the machine.&lt;br /&gt;
2. Mobile phone emulators.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;background-color: red;&quot;&gt;Mobile phone emulators&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Some words about&amp;nbsp;&lt;strong&gt;Mobile phone emulators&lt;/strong&gt; &amp;nbsp;&lt;strong&gt;-&amp;nbsp; &lt;/strong&gt;Emulators(Someone who copies the words or behaviour of another) &amp;nbsp;are nothing but the simulation of real mobile phone as a software. so that the mobile application can be tested against the software instad of real mobile phone.&lt;br /&gt;
&lt;br /&gt;
Most of the mobile vendor provide emulators as free download&amp;nbsp;to develop the applications.&lt;br /&gt;
&lt;br /&gt;
No need to worry as dot net itself has some pre-loaded emulators. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;Active Sync&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Some words about &amp;nbsp;&lt;strong&gt;Active Sync&amp;nbsp; -&lt;/strong&gt;&amp;nbsp; As the name suggests active sync ; syncs the &amp;nbsp;real moble/emulator&amp;nbsp;against the computer/system.&lt;br /&gt;
&lt;br /&gt;
It act as a communication bridge between the mobile phone (emulator/real) and the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Running the application&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Below shown are the list of images; follow in the same order then you will have no problem in running the application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step:1&amp;nbsp; Design the form as i shown below in the wince environment&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1pBwo4hpE7fjdqQR1L1iHpx-UXW2579fGkHMHukmp9YuOvMW2fLfxWZgpYVPiqu2FT4wnmwuZfIbjolZ9PqFIWqRINmL5KLvW-DZGRTvOo9XbDAxED6vkifHDw6GnPthaVElop6Qqc4c/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1pBwo4hpE7fjdqQR1L1iHpx-UXW2579fGkHMHukmp9YuOvMW2fLfxWZgpYVPiqu2FT4wnmwuZfIbjolZ9PqFIWqRINmL5KLvW-DZGRTvOo9XbDAxED6vkifHDw6GnPthaVElop6Qqc4c/s320/1.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step2: Go to Tools -&amp;gt; Device emulator manager; where it will list all the emulators installed in your machine.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGBG-hD_XVhPq6SSz6deYmetWBD9Ctr3QFCyYmx7BXaSWHO9viM9xuSe7iKY4v-5J61LLxgqrOXNmeZmeOJ1qLW-nWPpAoXeZog4Bwj8lugAuxJ7D8pfOZzqAMvT54_xtoMtzZuEPdSg/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGBG-hD_XVhPq6SSz6deYmetWBD9Ctr3QFCyYmx7BXaSWHO9viM9xuSe7iKY4v-5J61LLxgqrOXNmeZmeOJ1qLW-nWPpAoXeZog4Bwj8lugAuxJ7D8pfOZzqAMvT54_xtoMtzZuEPdSg/s320/2.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step 3: Choose any emulator say &quot;POCKET PC 2003&quot; ; you can choose any emulators and it depends on the aplplication you develop. As far as testing consideration we can choose any device only the layout i.e. height and width of the screen is going to be get changed. As shown below right click the selected emulator and choose &quot;connect&quot;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsNXeCfPjZq6RLbcDgfq022Qtpg3b6ggfox1ZMkxSOgC5r3e7Jg-JWUGZk5gczp9jO3rvTdGXKWYTphdEJrA-0NwInZVSDUgm2ij2DAP1M2PxaC8u5Kx4Fvg1nwNcXsZp5IyO8UBgjqGE/s1600/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsNXeCfPjZq6RLbcDgfq022Qtpg3b6ggfox1ZMkxSOgC5r3e7Jg-JWUGZk5gczp9jO3rvTdGXKWYTphdEJrA-0NwInZVSDUgm2ij2DAP1M2PxaC8u5Kx4Fvg1nwNcXsZp5IyO8UBgjqGE/s320/3.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step4: The icon will be changed as play icon as shown below.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzEJyzQ68th9PgotC_-qqxLGaDgyp8TaIkmiQH8J4flTntVMCbZK1XXt9AtrKyzGMnLMTl36OEEROd-aumnP0yNBzAE34mue76so9M9yoUcoz7euGYvg5hZNtKsPb2EELzpjrByKx6WZQ/s1600/4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzEJyzQ68th9PgotC_-qqxLGaDgyp8TaIkmiQH8J4flTntVMCbZK1XXt9AtrKyzGMnLMTl36OEEROd-aumnP0yNBzAE34mue76so9M9yoUcoz7euGYvg5hZNtKsPb2EELzpjrByKx6WZQ/s320/4.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step 5: Now again select the emulator right click and choose cradle ; the icon will be changed .Dont forget to note down the icon in the taskbar i.e Active sync icon will be start rotating which means it is getting connected. It will take sometime to get connected. Active sync must be installed.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4AwAzXFZgYDxKBpjkRBXmg8lMOZNnWN050J37Dp-V44Ou25vYB64tUw7HCLeJ50M98Mqj3miwSTVUou3c8OGoGXeARldG-JMGIwm-YSofQhC3CHyLEe-_rVDFpEQAkD192LI7RmR09bQ/s1600/5.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4AwAzXFZgYDxKBpjkRBXmg8lMOZNnWN050J37Dp-V44Ou25vYB64tUw7HCLeJ50M98Mqj3miwSTVUou3c8OGoGXeARldG-JMGIwm-YSofQhC3CHyLEe-_rVDFpEQAkD192LI7RmR09bQ/s320/5.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step 6: Now from the dot net enviorment press f5 i.e. run the aplication following screen will be shown to you. Choose the emulator that you have already selected in the device emulator manager and click deploy. It will take some time to deploy.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&amp;nbsp; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvb8a2uaa4WeJPrcZWDa9v6WBdulaJzmYCbveykasQ-6z7YQmMQlzLvhtGY5xapqZuHuMORPkuGIoAL0ti7-bJfPkvqvW84b5p85v0OmFQCDRTj8fFNpi8XJCeaFj7Xv9KNEeWCE1xgcw/s1600/6.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvb8a2uaa4WeJPrcZWDa9v6WBdulaJzmYCbveykasQ-6z7YQmMQlzLvhtGY5xapqZuHuMORPkuGIoAL0ti7-bJfPkvqvW84b5p85v0OmFQCDRTj8fFNpi8XJCeaFj7Xv9KNEeWCE1xgcw/s320/6.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;Step 7: The form will be loaded inside the mobile emulator. Now you can work in the mobile by doing actions using the mobile buttons.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM3d5eGaONW5UW_iOMYg_MNVSKJaO2m55gEzMdnoIuWc1iN_0uhxjTCQUgZ1fFUQopdibG5NUmlm7dunhHwkUDI_-4tklxp9w2f6VM6xGpDjq3BV3682H0TUFZpARKAtc4SeBkNEyKhgg/s1600/7.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM3d5eGaONW5UW_iOMYg_MNVSKJaO2m55gEzMdnoIuWc1iN_0uhxjTCQUgZ1fFUQopdibG5NUmlm7dunhHwkUDI_-4tklxp9w2f6VM6xGpDjq3BV3682H0TUFZpARKAtc4SeBkNEyKhgg/s320/7.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;The final image will be shown when u run the application. if you need the break point to be hit then place the breakpoint some where in the code then it appear as we see during runing the ordinary aplications.&lt;br /&gt;
&lt;/div&gt;</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/runningdebugging-wince-mobile.html</link><author>noreply@blogger.com (raju)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1pBwo4hpE7fjdqQR1L1iHpx-UXW2579fGkHMHukmp9YuOvMW2fLfxWZgpYVPiqu2FT4wnmwuZfIbjolZ9PqFIWqRINmL5KLvW-DZGRTvOo9XbDAxED6vkifHDw6GnPthaVElop6Qqc4c/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5685114072184879502.post-6743940454506347672</guid><pubDate>Sat, 21 Nov 2009 08:07:00 +0000</pubDate><atom:updated>2009-11-24T04:59:29.571-08:00</atom:updated><title>Creating wince smart device desktop Mobile application</title><description>Hello everyone this is my first article on the internet. As i am little bit comfortable with mobile application specificaaly in dot net i decided to share some of the information with the public.&lt;br /&gt;
&lt;br /&gt;
During my learning statge i have struggled how to create a mobile project but after spending consider time with the net with huge support from google ( as most of the programmers do :-) lol ) i came with what we can do and not.&lt;br /&gt;
&lt;br /&gt;
Pictures and code comments are mostly out of framework 3.5&lt;br /&gt;
&lt;br /&gt;
As a first article i have decided to publish &lt;strong&gt;how to create a wince&amp;nbsp;mobile&amp;nbsp;project&lt;/strong&gt;.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
The first step will be choosing a right project from the set of available option. My pictures will explain you better than me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6pBquNIxl-GPIhnYqhMN4QGKDBSOSL_90jaZNkYEQVgERjXfE3wQqw8ndb88ZMRYOR_n4HZoO16CdmnR_6UqZe3fvojiiye4J0jPJs7fPzVNnpBTRbTzjdEOfI2HR4gJ-10PCN2kJA7A/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6pBquNIxl-GPIhnYqhMN4QGKDBSOSL_90jaZNkYEQVgERjXfE3wQqw8ndb88ZMRYOR_n4HZoO16CdmnR_6UqZe3fvojiiye4J0jPJs7fPzVNnpBTRbTzjdEOfI2HR4gJ-10PCN2kJA7A/s320/1.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;The second step will be choosing the device based framework. You need to know what is your mobile device framework so that you can develop right application for your device.&amp;nbsp; My mobile has Win ce framework so my samples will be made out of wince.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSGwefv5yo3VpmQ_5bFGRUeRcSh6NPpuZPdQn82l6SwfkE6_c58ebiiLyTilvlAgXIo-nygWsEiWPdOfBEPSNEsVZwLA6pkrtmf8ZTOqIIVRvQSV5oJwmSRcCVRfFg7T5D_XdCimlsstk/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSGwefv5yo3VpmQ_5bFGRUeRcSh6NPpuZPdQn82l6SwfkE6_c58ebiiLyTilvlAgXIo-nygWsEiWPdOfBEPSNEsVZwLA6pkrtmf8ZTOqIIVRvQSV5oJwmSRcCVRfFg7T5D_XdCimlsstk/s320/2.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;The final step will be the form will be shown to you with the screen same as vb.net but the screen size will be considerably smaller.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Pp-7KwvwEbha1KcVijJstjaZZIcqGNpFsZwFk8AXiFT-HOwXXBRhyHzyoPU2gbeEc9gwhUwJpvIWPzbtyQbV-K1gWJNZJIvGKJmqPq-dMTMDA6VugwX077BnOEZbQSfCtGZi5MfoS7Y/s1600/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Pp-7KwvwEbha1KcVijJstjaZZIcqGNpFsZwFk8AXiFT-HOwXXBRhyHzyoPU2gbeEc9gwhUwJpvIWPzbtyQbV-K1gWJNZJIvGKJmqPq-dMTMDA6VugwX077BnOEZbQSfCtGZi5MfoS7Y/s320/3.JPG&quot; yr=&quot;true&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://dotnetmobileapplication.blogspot.com/2009/11/creating-wince-desktop-mobile.html</link><author>noreply@blogger.com (raju)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6pBquNIxl-GPIhnYqhMN4QGKDBSOSL_90jaZNkYEQVgERjXfE3wQqw8ndb88ZMRYOR_n4HZoO16CdmnR_6UqZe3fvojiiye4J0jPJs7fPzVNnpBTRbTzjdEOfI2HR4gJ-10PCN2kJA7A/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>