|
Hi,
I am very glad to be a part of this forum.
I am developing an Win32 smart device console application in Windows Mobile 5.0 Standard device that needs to retrieves information about all the applications in that device(i.e., atleast name and ID). I cam across one shellapi for Windows called GetAppInfo(). But how to make use of it is again not clear.
I have googled in different sites which was helpless.
Can anybody kindly help me in this context.
Thanks in advance for any help.
Regards,
Hema.
|
|
|
|
|
Hello,
I have followed all the steps given in the following URL--
http://netcf2.blogspot.com/2006/01/create-sql-mobile-database-part-1.html
With these steps i have created a simple SQL mobile database and transfered to Win mobile 5.0 emulator.
I am not able to insert the data or retrieve the data from this database to C#.net form.
I am a novice to develpment of application for win mobile 5.
Can anyone plz help me with the details of how to do it. I will be very greatfull if someone helps me with the code in detail.
Also another problem i am facing is that i cannot see a query analyzer 3.5 on all the pc's on which i install VS 2008. How can i get the query analyser 3.5 on such pc's. Is there any specific setting of emulator for it?
Thanks in advance.
|
|
|
|
|
Hi Deepali Khalkar,
See this link L I N K [^]
if you want to use query analyzer of the emulator. This will be automatically install
When you are including (using System.Data.SqlServerCe; ) Name space and running your project in DEBUG mode in Emulator then query analyzer installed then you are able to view query analyzer.
Hope this may be help...
Pavan Pareta
|
|
|
|
|
Hi,
I am working on smartdevice application..
I am trying to make a phone call from my device emulator to cellular emulator..
I have made all the necessary configurations required..(i.e)
in the device emulator i have chose
File>Configure>Peripherals>set the Serial Port0 to the COM that is similar to that of the Cellular Emulator..
and then Reset>soft is also done
Then from the device emulator i have chosen
start>settings>connections> i chose Add new modem connection from My ISP..selected Cellular Line(GPRS) and finally finished the connectivity..
Eventhough i have tried all these above procedures..the Phone is still in off mode in the device emulator..and i could not see any G symbol in the top bar of the device emulator..
P.S. Previously i was able to make calls and send SMS between the emulators..but now it is not possible..
Can anyone give me the solution for the problem i am facing..
Thanks in advance..
|
|
|
|
|
Hi,
with:
IntPtr deviceContext = GetDC(IntPtr.Zero);
Graphics deviceGraphics = Graphics.FromHdc(deviceContext)
it is possible to draw on the screen.
But how can I delete the drawn objects from screen? It still appears until something changed on the screen so Windows Mobile repaint that area.
I tried RedrawWindow() and also SendMessage(with WM_PAINT) to repaint the whole screen, but nothing works
|
|
|
|
|
I you want to paint the full screen then why don't you run your application in full screen mode?
|
|
|
|
|
I want to paint directly on the screen. No Form, no Control. A hidden application which paints directly on the screen. For example a text in the top bar where the start-button is.
This works fine and is not the problem.
The problem is, that i'm not able to delete the things I drawed on the screen. They will dissaper when Windows Mobile force the controls, forms, etc. to be repaint.
For example if I draw text on the top bar the text still appears until I open the start menu, because then the bar will be repaint.
After closing my hidden application I want to delete the text, which I drawed. So I have to force the whole desktop to repaint (because the text on top bar was only an example).
But I tried RedrawWindow (with IntPtr.Zero) and also SendMessage (with WM_PAINT to IntPtr.Zero). This force Windows Mobile to repaint everything, but it doesnt work
|
|
|
|
|
Use InvalidateRect() and then wait for the OS to send you a WM_PAINT in response so you can redraw.
|
|
|
|
|
Thanks, but it doesn't work, too
IntPtr deviceContext = GetDC(IntPtr.Zero);
Rectangle rectangle = Screen.PrimaryScreen.Bounds;
using (Bitmap capture = new Bitmap(rectangle.Width, rectangle.Height))
using (Graphics deviceGraphics = Graphics.FromHdc(deviceContext))
using (Graphics captureGraphics = Graphics.FromImage(capture))
{
BitBlt(captureGraphics.GetHdc(), 0, 0,
rectangle.Width, rectangle.Height, deviceGraphics.GetHdc(),
rectangle.Left, rectangle.Top, SRCCOPY);
deviceGraphics.DrawString("Hello", Font, new SolidBrush(Color.Black), 10, 10);
}
|
|
|
|
|
Hi sushilange,
try this
this.Refresh();
Pavan Pareta
|
|
|
|
|
I want to repaint/refresh Windows Mobile! And not my own application, because my own application isn't shown on the screen.
If I draw directly on the screen above EVERYTHING, I want to delete this after closing my app. So I have to inform Windows Mobile that it has to repaint EVERTHING displayed on the screen.
|
|
|
|
|
Hi all,
I am developing a smart device application in Visual Studio 2008 with .NET Compact Framework 3.5 using C#..
I need to convert voice to text and the vice-versa..
Do i require SAPI 5.1 for this development...
And also suggest me some websites where i will get help regarding this to proceed further..
Thanks in advance..
|
|
|
|
|
Sadly while the technology exists for Windows Mobile devices to do this (through some interfaces exposed by VoiceCmd.exe) due to licensing constraints Microsoft has been unable to release to the public information on how to use these interfaces. Most solutions I see rely on the device having a data connection to send voice data back to the server to be recognized.
|
|
|
|
|
Hi
I am developing Smart Device Application using .NCF 1.0 with Windows CE 5.0
I am getting an error after adding InputPanel in application which is "System.NotSupportedException". But its work fine when I try this on Pocket PC Application. I Don't understand why It will giving error with Smart Device Application.
Please help me on this.
Thanks in advance
Yogesh Rishipathak
|
|
|
|
|
In a small in-house project, I will need to set up a few Windows Mobile devices (version 6.0+) so each one has Internet access. There is no Wifi and the service plan doesn't include Internet so the only way to get these phones connected to the Internet is via ActiveSync/WMDC. Question is, can I connect multiple phones to one PC at the same time so each one will have Internet access?
Thanks!
|
|
|
|
|
hi evryone
how i can show any massage before the main form is load ?
(i work in WinCE)
thank's for any help
|
|
|
|
|
How are you loading the form ??
At Startup or from Application...
|
|
|
|
|
Hi All
I need User agent profile of Spice handsets but am not successful in that.
Can anyone tell me a specific website or path where I can find that .
I have searched the google in -out for that. no help
Ish Kumar Kapila
|
|
|
|
|
Do you have one of these devices in your possession? If so then why not request a page and see what agent string it sends?
|
|
|
|
|
MiKwhjddtWnWPmub7L59U2ZOTE5NzU1MD,MSISDN,MP and Chattisgarh, [18/Feb/2009:02:53:27:405] ,GET /xdime/view/pages/homeDeck.jsp HTTP/1.1,200,0,Browsing, Spice S820null
This is the string I am getting ... No-where am i seeing the User agent nor the User agent Profile string....
Spice S820null is the browser hit and not from the device....
No help getting from the device hits..
Ish Kumar Kapila
|
|
|
|
|
Any help regarding this message ... ??
Ish Kumar Kapila
|
|
|
|
|
hi
i am using htc 3400i i windows mobile 6 and i am very much interested to know how to develop mobile applications. i have vs 2003 and vs 2005 installed in my machine.
from where i have to start and i tried a sample application in vs 2003 and build solution but i dont know how to get emulator display and how to make my application to work in my mobile . kindly let me know
|
|
|
|
|
|
hi
Thanks for links and hope i will really get some idea and is this vs2003 is enough to develop application for windows 6 mobiles .
|
|
|
|
|
Please note that different versions of Visual Studio have limitations on the the versions of Windows Mobile they support. Read this post[^] for more details.
|
|
|
|