|
hi all,
i want to read SMS from inbox of Pocket pc.I already search on net(google etc )but appropriate result is not found.Can anybody tell me that how can i do this thing using vb.net.
any guide or link will be grately appreciated.
thanks in advance
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
I am currently in the developement of something similar, basically my application is a bluetooth app that will activly search for phone close by, and then connect to the phone automatcally using AT commands via the Dial up networking profile
Most phone on the market now supports AT commands, and most of them support extracting SMS using AT commands, unfortunately tho, my nokia 7370 phone does not support that.
But you can do a lot of things using AT commands,i.e. monitor signal strength, monitor battery level, look at contacts, dial a number, recivce a call, go on the internet... all u can call
for more information on at commands, search for AT commands in the nokia forum[^]
I had been sucuessful on connecting to my phone via the bluetooth virtual com port via hyperterminal to use the at command, however, doing the same thing was not sucessfull on my axim x51v
I found out that in order to execute at commands on the phone from pda, i need to connect to the phoen using the DUN (dial up networking) profile. I found that a free souce library called InTheGo would allow me to do so
So far i am able to connect to the phone using DUN, and able to pair it. I will look into sending AT commands later
I would be happy to exchange some experience with you.
|
|
|
|
|
How can I create file in NOKIA mobile phone memory disk? How can I create dirrectory in NOKIA mobile phone memory disk?
My mobile phone is Nokia N72. I can access its memory disk after I connect it wity my computer. Its directory is 'My Computer\\Nokia N72\\memorydisk\\'
I failed to access it with the following code:
CString csNokiaDir("My Computer");
bFindFile=finder.FindFile(csNokiaDir);
csNokiaDir = "My Computer\\Nokia N72";
bFindFile=finder.FindFile(csNokiaDir);
csNokiaDir = "My Computer\\Nokia N72\\memorydisk";
I get another directory by the following MFC code:
BROWSEINFO bi;
TCHAR Buffer[512]="";
TCHAR FullPath[512]="";
bi.hwndOwner = m_hWnd;
bi.pidlRoot = NULL;
bi.pszDisplayName = Buffer;
bi.lpszTitle = "Select directory";
bi.ulFlags = BIF_RETURNONLYFSDIRS|BIF_EDITBOX|BIF_BROWSEFORCOMPUTER ;
bi.lpfn = NULL; //回调函数,有时很有用
bi.lParam = 0;
bi.iImage = 0;
ITEMIDLIST* pidl = ::SHBrowseForFolder (&bi);
if(::SHGetPathFromIDList (pidl,FullPath))
{
m_sFonePath2 = FullPath;
}
The path I got is'::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{416651E4-9C3C-11D9-8BDE-F66BAD1E3F3A}\354533010872671\E:\'
I used FindFile to check it and failed again.
Does any one know how to handle this kind of directory?
|
|
|
|
|
How can attach external display (i.e. pc monitor or else ) and also external keypad.
How can i operate mobile phone using external keypad and external display. Please guide me.
Interested in useful invetion/tricks/software
|
|
|
|
|
Hello i made a Pocket PC program that sends and receives data through the internet using sockets. It connects to the server which is a windows application.
When I tested the program with Activesync i had no problems. When using GPRS nothing happens, the server is not seeing any connections and the client program is frozen i think.
|
|
|
|
|
I have a WAVE file and I want to know how much time that file can be played. How can I do it? I tried to use OpenNetCF but its WaveFormat2 doesn't help.
I'm working on Windows Mobile 5 and .NET Compact Framework 2.0.
Thanks
I'm ...
a fan of Manchester United
a fan of Ozzy Osbourne
a King of Nothing
|
|
|
|
|
Hi all,
Is any .NET CF application able to receive/respond to any events when a WM2003/WM5 device goes into stand-by mode?
In other words, can a .NET CF application wake up a WM2003/WM5 device when it is on stand-by/suspend mode?
Problem:
How to wake up a WM2003 device, that is currently on stand-by/suspend mode and its battery life has reached say 10%.
Considering that keeping the device alive while checking the battery life is not a solution.
Ideas?
|
|
|
|
|
Only notifications can wake up a Windows CE-based device. You set up a notification by calling CeSetUserNotificationEx (there are older APIs but these should no longer be used).
You can see from the documentation of CE_NOTIFICATION_TRIGGER that you can have the notification fire either at a specific time, or when certain events occur (many of these events will only occur when the device is already awake). I think about all you could do would have the device wake up periodically to check the battery level, which isn't a very good solution.
Why do you want to do this, anyway? If it's to save user data, that's not a good solution. You should be looking to periodically flush changes to user data to a file, because the user could remove the battery or reset the device without warning.
|
|
|
|
|
Hello Mike,
Sorry for the late reply, I've been away for some time.
The idea was not let the device run out of battery completely by warning the user that battery was going down. Basically we're talking about a WM2003 Phone Edition, so it would be nice to remind the user that battery life is fading.
If I'm not mistaken, it currently only warns twice, once at 20% and again at 10%, but I want to keep warning after the 10%, so that the user gets so annoyed it has no solution but to charge the device
|
|
|
|
|
hi,
i m newbie in Mobile development. i want to create a application which send SMS on giving number.
following error occured when we send SMS through PocketPC
"The SMSC address is unknown. Verify the SMSC address is configured and try again"
code for send SMS is following
Private Sub SendSMS()<br />
Dim SMSMessage1 As New SmsMessage<br />
<br />
SMSMessage1.Body = txtDate.Text.Trim & " || " & txtPlace.Text.Trim & " || " & txtClub.Text.Trim & " || " & txtAge.Text.Trim & " || " & txtSex.Text.Trim & " || " & txtMembers.Text.Trim & " || " & txtHandicapped.Text.Trim<br />
SMSMessage1.To.Add(New Recipient("9413684086"))<br />
SMSMessage1.Send()<br />
End Sub
i dont know where i m wrong ?
please guide me or send link which is useful for me (mean how can i send SMS using VB.NET)
thanks in advance
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
I would like to believe that the error is caused by a bad or unset SMSC number. You need to set that on the modem before trying sending the SMS.
When i once did it i had to send AT commands through the serial port and the command for setting the SMSC is: AT+CSCA="service#" e.g AT+CSCA="+263912100300"
NEVER GIVE UP!!
|
|
|
|
|
Hi all,
I've built a little program to play a video file, with an embedded platform running WinCE 6, using DirectShow interfaces.
Basically the core statements are the following:
/***********************************************************/
CoInitialize(NULL);
hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC, IID_IGraphBuilder, (void **) &pGraph);
if ( FAILED(hr) ) { // add some error handling here
return -1;
}
hr = pGraph->QueryInterface(IID_MediaControl, (void **) &pMediaControl);
hr = pMediaControl->QueryInterface(IID_IMediaEventEx, (void **) &pEvent);
hr = pGraph->RenderFile(TEXT("\\HARD DISK\\MyFile.wmv"), NULL);
if (SUCCEEDED(hr)) {
hr = pMediaControl->Run();
}
/************************************************************/
This program is compiled and built correctly (it seems to be).
At runtime, however, RenderFile() never returns success, whichever format "MyFile.wmv" is, or it never returns at all!
This functions indeed has ever one of the following behaviour:
1) returns some error code, due to the file format (no decompressor, etc); this would even be correct.
2) it hangs everything, i.e. the program never returns from this function; moreover the entire o.s. crashes (even mouse pointer goes locked), and I must restart the PC.
I'd like simply to know the reasons of this last point!!
My "test" video file is (depending on its format) about 50KB wide so I don't think that there is any hardware capability issue. By the way, the platform is a x86 single board computer Vortex SOC 133 Mhz, with 64MB of RAM (40MB free before running the program).
Every clue is appreciated
Thanks in Advance
Oswald
|
|
|
|
|
Hi,
This is more of a question than a problem. I'll be starting to create a piece of software that will need to be run on a PDA or mobile phone. The question is:
Do i need to code any differently from a windows exe to a mobile device in C#?
The reason for asking is because i've never looked into coding for any type of mobile device before and just wondered are there any major differences etc.
Regards,
Gareth.
|
|
|
|
|
You can use C# with the .NET Compact Framwork[^]. But you can code with C++ and traditional MFC and Win32 with Embedded Visual C++[^] (there's also EVC++ 4.0). It's very confortable using eVC 4, since it's traditional C++/MFC and even WTL. Of course, there are restrictions and mostly you'll program dialog-based apps, but it's nice IMO.
Regards.
|
|
|
|
|
Does anyone know how to implement Tap-and-Hold for a generic UserControl?
A ContextMenu seems not to be present, and creating a new one is without effect.
Does anyone have a simple C# example on how to include a contextmenu? All the source I found was for a ListControl that already had some kind of ContextMenu and that got only some new features, etc.
Anyhow, I don't get it work!
Thanks in advance!
|
|
|
|
|
hi,
how can i programmatically detect that whether Pocket PC device is in landscape mode or portrait mode using vb.net. & how can i change the application layout according to mode.
any help or link will be appreciated.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
hi everyone,
can anybody tell me that how can i make a transparent label.
Please guide me or send any link which is helpful for me.
any help will be appreciated.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Hello.
I faced the same problem a year ago. In a word, there's no supported way for transparent labels. You'll have to make a work around.
There is this article you might want to look at: http://www.codeproject.com/ce/transparent_controls.asp[^].
There was a technique for creating transparent controls, that involved copying the bitmap of the window before the control was created, store it in memory and when drawing the control, use the portions of the bitmap to "draw" the control and then the control itself. Yet I think that with the already provided article will suffice.
Regards.
|
|
|
|
|
Hi there,
I'm currently looking into using this factory to create an application for a mobile device. I like the idea of using this factory because of the code/modules it provides (ie: connection monitor).
However, I was wondering if anyone had any experience or suggestions on MCSF as I'm finding it hard to find decent examples/tutorials to really get my head around it and start creating something worth while.
http://www.codeplex.com/smartclient/Wiki/View.aspx?title=Mobile%20Client%20Software%20Factory&referringTitle=Home[^]
I've had a look at the MCSF HOLs samples but no real progress.
Just wondering why this isn't more widely used/avaliable, there don't seem to be many MCSF examples on Code Project.
Thanks in advance,
Pete
|
|
|
|
|
hi ,
I'm having a problem with my dropdownlist autocomplete feature (onkeyup event using javascript) on PDA but it works fine on my desktop pc (local host).
F.Y.I ,currently i'm using PIE browser and have tried with Opera mobile version but it still not functioning. I even have tried to use listSearchExtender in Ajax Extended Toolkits
but it still now working on my PDA.
I suspect is there any javascript version or browser compatibility on the PDA side?...any suggestions?thanks in advance..
ethan
|
|
|
|
|
Hi everyone,
Is it possible to connect the Emulator (Pocket PC / Windows CE) to the activesync?
My second question concerns a webservice problem
I have a folder c:\webTest which contains my webservice and a subfolder
c:\webTest\images containing some images.
When I try to transfer files from the images folder to the PDA I get the following error:
" server was unable to process request.---> c:\webTest\images\Jenny.jpg is not a valid virtual path "
Does anyone know how to solve this problem
Pamela
|
|
|
|
|
I am trying to create Home and logout links in one single line in my website,
But i am not able to get any way.
Any help pls..
|
|
|
|
|
I have to cal a dll function on PPC from desktop usin CeRapiInvoke.
I created a dll with a function dat diaplays a message box and return 1.
When i cal the function from desktop usin CeRapiInvoke it displays the
message box text but it doesnt return the value 1 as expected.
Also it gives error 78.ie The GetProcAddress of pFunctionName call on the device failed.Kindly let me kno if theres somethn missin dat i m supposed to do.
|
|
|
|
|
Hi,
I am working on a PDA application (visual studio 2005). My project is to transfer data between a PC and PDA. I've created windows application for PC and mobile application for PDA.Im using XML for storing data in both applications. How can i transfer datas between PC and PDA. Both PDA application and Windows application contains a button called "Synchronisation". Clicking on these will start transfer of data between pc and pda. im using C# 2.0.
|
|
|
|
|
I don't use active sync for data transfer. Much more reliable and capable is WTMiP from Quest Solution, described as FTP on steroids. There is a client and a server component. You call the client from your code - examples are provided.
Gary
|
|
|
|