Related
Hello,
I'm new in the wonderful world of XDA and Pocket PC 2002, and I would like to use SMS in a new application. Do you know how I could see example of source code using SMS API? Or do you have such example to help me?
Thanx
Gizmo
Precision
I forget something important : I'm using eMbedded Visual C++ 3.0!!
Thanx
Gizmo
All you have to do is include SMS.H in your code and linkt to SMS.LIB, see online documentation for more details. Below a simple function which takes a phone number in international format (+491715555555) and the message as parameters ...
Code:
BOOL SendSMS(LPCTSTR pszNumber, LPCTSTR pszMessage)
{
SMS_HANDLE hSMS;
HANDLE hGlobalReadSMSEvent;
HRESULT hResult;
hResult= SmsOpen(SMS_MSGTYPE_TEXT, SMS_MODE_SEND, &hSMS, &hGlobalReadSMSEvent);
if(hResult != S_OK)
{
AfxMessageBox(_T("Couldn't open the SMS function"));
return FALSE;
}
SMS_ADDRESS smsaDestinationAddress;
smsaDestinationAddress.smsatAddressType= SMSAT_INTERNATIONAL;
wcscpy(smsaDestinationAddress.ptsAddress, pszNumber);
TEXT_PROVIDER_SPECIFIC_DATA tpsd;
tpsd.dwMessageOptions = PS_MESSAGE_OPTION_NONE;
tpsd.psMessageClass = PS_MESSAGE_CLASS3;
tpsd.psReplaceOption = PSRO_NONE;
hResult= SmsSendMessage(hSMS, NULL, &smsaDestinationAddress, NULL, (BYTE*)pszMessage,
wcslen(pszMessage)*sizeof(WCHAR), (BYTE*)(&tpsd), sizeof(tpsd), SMSDE_OPTIMAL, SMS_OPTION_DELIVERY_NONE, NULL);
if(hResult != S_OK)
{
AfxMessageBox(_T("Couldn't send the SMS"));
return FALSE;
}
hResult = SmsClose(hSMS);
if(hResult != S_OK)
{
AfxMessageBox(_T("Couldn't close the SMS function"));
return FALSE;
}
AfxMessageBox (_T("SMS has been send"));
return TRUE;
}
Thanx
Thanx! Thanx!
I made a big mistake : I forgot to link the SMS.LIB....
I'm a beginner!! (and I'm French : I'm sorry for the bad english language!)
Have a great week!
Gizmo
Hello,
Does anybody has a code example for receiving SMS messages?
I've trying to do so for two weeks, and I'm completely lost.
I've read in this site it can't be done with SmsReadMessage or SimReadMessage. Is it correct? What have I to do, using RIL? Or can I use POOM?
Any help would be very appreciated.
APallares
Have you seen tstril? It shows a good way of handling incoming SMSs.
It's here http://xda-developers.com/RIL/
Yes, I've took a look at tstrill. But this example only shows notifications on what's happening on the SMS channels. It has't any reference to the RIL_ReadMsg.
I've searched on the patent documentation, and I have found this help on the RIL_ReadMsg function:
HRESULT RIL_ReadMsg(HRIL hRil, DWORD dwIndex)
Reads a message from the current storage Location
Parameters:
hRil: handle to RIL instance returned by RIL_Initialize
dwIndex:
index of the message to be read
Comments:
Asynchronous. lpData points to an RILMESSAGEINFO structure
My question is: How do I access to lpData?
What I want to do is a function on a DLL like this (in pseudo-code):
BOOL WINAPI ReadSMSMessage(int numMens, LPTSTR Message){
RIL_Initialize
RIL_ReadMessage
RIL_DeInitialize
}
But, what I have to do to get access to "lpData"?
Thanks,
APallares
SMS.LIB
Have the sms.lib now. Normaly it's delivered with dthe EVC - but the 2 Versions I've got doesn't have it. Get them now by eMail
Maybee, this is the super-beginner-question - sorry
I'm searching for the SMS.lib and SMS.h . Working with MS EVC++ 3.0.
Every time, if I try to compile, I get the message, that the files couldn't been found.
Thougt to get them from the internet - but found them nowhere.
I'm happy about every tip (excluding "you're stupid" ;o)
Greetings from hannovre,
Andreas )
[/b]
Look in ProgramFiles / Windows CE Tools / WCE420 / PocketPC2002 / LIB / Armv4 / all your libraries should be stored there ... in ur code FILE VIEW , Source Files, right click and select add Files to Folder and add your lib
else just #inclde "<the full lib path>"
@nutitija
You are aware of the fact that this thread is more than two years old
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sascha
poor guy could still be waiting for an answer ....
Hi guys,
I've reflashed my rom recently with a new mob6.5 version. Looks great, but I don't now have access to Telstra bigpond or Foxtel.
Any help appreciated.
I've scanned the forum, and there was one mention of a file to download, but the link (rapidshare) is no longer working.
Anybody know how to browse the free telstra sites (or the address) and how to get the foxtel logo (or address) working?
I'm using Telstra as the carrier.
thanks.
bump, anybody out there that can help
I have the same problem.
lt8x7 said:
I have the same problem.
Click to expand...
Click to collapse
I recognise that user....does ozaudi ring a bell?
Try this:
http://forum.xda-developers.com/showthread.php?t=463339
didn't seem to work.
It opens up the site (in ie) http://mobiletv.telstra.com/startAction.do?entry=portal
not working in ie, tried in Opera as well, still no luck.
In Opera, I get:
'to access Telstra mobile Foxtel you need a compatible 3G or Next g phone.
Call 125 111 (or 125 8880 for prepaid) for more information (call charges apply).
can anybody with a proper Telstra rom advise of the URL link that it takes you to (and also does it use IE, or Opera, or something else?)
jnrdavo said:
I recognise that user....does ozaudi ring a bell?
Click to expand...
Click to collapse
That's me
You can use Opera to access Mobile Foxtel, but you have to change a couple of things.
You have to set the user string in Opera to be:
Touch HD T8285 Opera /9.50 (Windows NT 5.1; U; en)
and you have to make sure the proxy addresses are set to:
10.1.1.181:80
To make these changes, go to About:Config in Opera. Do a quick find for User and then down the list it will show "Custom User Agent" make the change in there. The proxy address is entered in the proxy section. Check "enable http 1.1 for proxy"
Make sure you save the changes.
The URL mentioned in this thread should then work. You can also go to wap.telstra.com/wap for the mobile bigpond website.
Jack.
jnrdavo said:
Hi guys,
I've reflashed my rom recently with a new mob6.5 version. Looks great, but I don't now have access to Telstra bigpond or Foxtel.
Any help appreciated.
I've scanned the forum, and there was one mention of a file to download, but the link (rapidshare) is no longer working.
Anybody know how to browse the free telstra sites (or the address) and how to get the foxtel logo (or address) working?
I'm using Telstra as the carrier.
thanks.
Click to expand...
Click to collapse
Thanks for your help, but no luck :-(
I've changed both the proxy and the string, but when I go to the URL per below, I still get the message:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screen shots of config below:
Tried a reboot, but still no luck...
Your left hand screen shot doesn't go down far enough. There are three settings under "Enable HTTP 1.1 for proxy"
These are FTP Server, HTTP Server and HTTPS Server. In each of these three fields should be 10.1.1.181:80
I usually don't search for these bits, just go straight to the Proxy section and expand it.
Make sure there isn't a space either in the Custom User Agent field between Opera and /9.50 - I think I inadvertently put one in. You should only have to change what comes before the word Opera.
ok, so close, yet so far
I've done the extra mods, and removed the space. I can browse the http://wap.telstra.com/wap without problem, but when I click on Foxtel, I still get the same problem!
is there anyway to modify the ini file without having to view and scroll on screen? Is the file able to be copied to my pc?
I've never tried this before, but this is my Opera.ini file from Windows\Opera9
You should be able to just copy it into that folder while Opera isn't running.
I've attached it as Opera.txt - you'll have to rename it Opera.ini
nope, still no potatoe!!!
I wonder what it is... I copied down the file, renamed to ini, copied to the \windows\opera9 folder (and overwrote the existing one), then started opera....
browsed to the mobiletvetc URL, but got the same message
When you go to wap.telstra.com/wap, what page do you get?
The nice glossy Bigpond one or the old crappy WAP looking one?
sorry for the late reply... I get the nice one, easy to read etc.
Also, if I try to 'watch' and stories from the bigpond news, nothing happens. The status bar at the bottom start to display, then it disapears, and stays on the current screen.
I've just downloaded and installed V57 firmware, recopied over the opera.ini file to the \windows\opera9 folder, but still the same problem.....
If I press on the 'watch' icon, I now get the following...
interesting..... (and frustrating!)
I have posted my Opera.ini from a default Telstra ROM. Hopefully this will help you. I also located an opera1.ini which I have included. let me know how you go.
http://rapidshare.com/files/277063085/operaini.rar.html
Cheers
That fixed mine - thanks.
thanks mate...
Still no luck
I'll be buggered if I know what it is that's causing it...
Would you mind sending me your settings and setting1 files from the opera9\Settings folder?
...hold your horses.... it's working now!
I rebooted, then recopied down the files (both ini files) to the \windows\opera9 folder and it works!!
Many MANY thanks...
Hopefully this thread will help others as well
....maybe I spoke too soon....
I'm now getting 'This service is temporarily unavailable due to a technical issue. Please try again later. If problem persists call customer service on 125111 (or 1258880 for Prepaid) for assistance (call charges apply)....
please delete my mistake
"The requested URL /packages/passion/signed-passion-FRF91-from-FRF85B.db99fdf1.zip was not found on this server."
Unblock RPC Functions proved easy. You just need to create an empty file:
Phone \ Data \ Users \ Public \ Documents \ Non-Production Errors.txt
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
spavlin said:
Unblock RPC Functions proved easy. You just need to create an empty file:
Phone \ Data \ Users \ Public \ Documents \ Non-Production Errors.txt
View attachment 2459414
Click to expand...
Click to collapse
It means we can use RPC Components in GDR 3 by creating this file ?
really?!!!!!
I have no Samsung phone to try it
Samsung is awesome
???
spavlin said:
Unblock RPC Functions proved easy. You just need to create an empty file:
Phone \ Data \ Users \ Public \ Documents \ Non-Production Errors.txt
View attachment 2459414
Click to expand...
Click to collapse
sorry for my "noob" question....but WHAT can we do with this ?
please explain !
many thanks in advance
Micheal
holy shucking fit.
it works.
holy **** i am still in shock
ngame said:
It means we can use RPC Components in GDR 3 by creating this file ?
really?!!!!!
I have no Samsung phone to try it
Click to expand...
Click to collapse
Hmm, I wonder if its good for all Windows Phones. I would think its just debug output, but I guess not....
thals1992 said:
Hmm, I wonder if its good for all Windows Phones. I would think its just debug output, but I guess not....
Click to expand...
Click to collapse
It is "just debug output". If you have not all fuses blown, secure boot turned off etc - this file is created and errors are written there.
It is so funny that Samsung checks this file
ultrashot said:
It is "just debug output". If you have not all fuses blown, secure boot turned off etc - this file is created and errors are written there.
It is so funny that Samsung checks this file
Click to expand...
Click to collapse
I think, pre-517 FCRouter doesn't check it.
After swapping on WP8Diag of GDR2, editing the registry works
Bwahahaha, that's hilarious!
@megasounds (and anybody else): I believe that this allows using the interop-unlock hack (for Samsung WP8 phones only) and interop-requiring apps on retail GDR3 without flashing a modified update (or downgrading). It is a very silly thing for them to do, after all the work they put into locking it down...
GoodDayToDie said:
Bwahahaha, that's hilarious!
@megasounds (and anybody else): I believe that this allows using the interop-unlock hack (for Samsung WP8 phones only) and interop-requiring apps on retail GDR3 without flashing a modified update (or downgrading). It is a very silly thing for them to do, after all the work they put into locking it down...
Click to expand...
Click to collapse
But GDR3 still can't be unlocked without downgrade.
Ah, sadness. Is that because the Diag app gets overwritten, or...?
Speaking of problems with GDR3, does anybody know where my \Programs (or \Users\DefApps) folders went under GDR3? They are no longer visible with Full FS Access enabled. I could have sworn they used to be, but I installed the latest preview updates (revision 512 -> 521) and now I can't find them. I still have access to the restofthe file system, though...
On my ATIV S : I8750XXCMK2 (GDR3) + My Custom + WP8Diag taken from GDR2 + Non-Production Errors.txt
I confirm. All works, we have a fully functioning Interop Unlock.
Now time for easier way
GoodDayToDie said:
Ah, sadness. Is that because the Diag app gets overwritten, or...?
Speaking of problems with GDR3, does anybody know where my \Programs (or \Users\DefApps) folders went under GDR3? They are no longer visible with Full FS Access enabled. I could have sworn they used to be, but I installed the latest preview updates (revision 512 -> 521) and now I can't find them. I still have access to the restofthe file system, though...
Click to expand...
Click to collapse
It's because of new Diagnosis and CSCMgr.
RPC server itself doesn't give you interop unlock.
Hmm, I'm not entirely sure what the "CSCMgr" is here, apparently I need to do more research into the background of how the unlock works. I knew they had updated the Diagnosis app though, which (if they removed the registry editor interface) would obviously prevent interop-unlock.
I think I've figured out at least part of the reason for the missing app folders. The way I was turning on Full FS Access (which didn't involve rebooting the phone) appears to have changed the root folder for MTPSVC, so I could see most of the file system, but not to have changed the user it ran under (still PROTOCOLS instead of SYSTEM), which I base on the fact that I could see the \Users\PROTOCOLS folder but not \Users\DefApps, and could read but not write the HOSTS file (which is only writable by SYSTEM). I should find a way to make the MTPSVC stably start up under the SYSTEM account every time...
This debug output file was also created on my htc 8x after I had my htc 8x "security off".
contents of the file :
"
// Production Self Test Log
// This log file describes test failures from the Production Self Test.
// If you see this log file, it means that this device is not ready to ship
// because some of the production self tests are failing. If this is a pre-production
// device, this is an expected result and this file can be ignored (or deleted). If this
// is supposed to be a production ready device, check the log below to identify tests that
// are failing, and see the Windows Phone documentation for information on how to fix the
// issues identified by these tests.
TEST FAIL: UEFIVariable: SecureBoot is not enabled
TEST FAIL: UEFIVariable: SetupMode IS enabled
TEST FAIL: UEFIVariable: Unable to enumerate certificates in store 'PK'
TEST FAIL: UEFIVariable: Unable to read UEFI variable 'PK'
"
GoodDayToDie;48618341
I think I've figured out at least part of the reason for the missing app folders. The way I was turning on Full FS Access (which didn't involve rebooting the phone) appears to have changed the root folder for MTPSVC said:
Do you mean?
Click to expand...
Click to collapse
herlek said:
This debug output file was also created on my htc 8x after I had my htc 8x "security off".
contents of the file :
"
// Production Self Test Log
// This log file describes test failures from the Production Self Test.
// If you see this log file, it means that this device is not ready to ship
// because some of the production self tests are failing. If this is a pre-production
// device, this is an expected result and this file can be ignored (or deleted). If this
// is supposed to be a production ready device, check the log below to identify tests that
// are failing, and see the Windows Phone documentation for information on how to fix the
// issues identified by these tests.
TEST FAIL: UEFIVariable: SecureBoot is not enabled
TEST FAIL: UEFIVariable: SetupMode IS enabled
TEST FAIL: UEFIVariable: Unable to enumerate certificates in store 'PK'
TEST FAIL: UEFIVariable: Unable to read UEFI variable 'PK'
"
Click to expand...
Click to collapse
That's common thing, but file is only useful on those samsungs.
Hello, here is the new Tool developed by @contable that Unlocks the System files on SD Card.
Added a .XAP file plus Source Code.
v1.0
- Manual control for "Path".
Code:
private void unlock_click(object sender, RoutedEventArgs e)
{
try
{
var directory = new DirectoryInfo("D:\\WPSystem\\") { Attributes = System.IO.FileAttributes.Normal };
foreach (var info in directory.GetFileSystemInfos("*"))
{
info.Attributes = System.IO.FileAttributes.Normal;
}
MessageBox.Show("Success !");
Application.Current.Terminate();
}
catch
{
MessageBox.Show("Error");
}
}
Thanks @contable for great stuff.
<!-- Older Post -->
Hello,
I've found a simple method to gain access into WPSystem Folder, Browse Isolated Storage directly.
We can now browse WPSystem Folder from any favorite File manager also we can access folder during the attachment or uploading processes.
Open Pocket File Manager 4.3.6.0.
Touch and hold on WPSystem Folder pop up menu will opened, select Info.
3. Unchecked both check marks.
A. Hidden File.
B. System File.
And save the changes.
Done.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now browse WPSystem Folder from any favorite File Manager.
We all know that when we does a same procedure on other version of P.F.M. it crashes every time. We was not able to make changes on WPSystem Directory.
Luckily this version able to change the WPSystem Folder permissions
Can you send me version 4.3.6.0 of Pocket File Manager or send me link for download on private message please?
cro.dev said:
Can you send me version 4.3.6.0 of Pocket File Manager or send me link for download on private message please?
Click to expand...
Click to collapse
Someone posted details on his blog.
http://windowsphone-9.blogspot.com/2014/08/how-to-make-free-license-applications.html
But inform me later if this is working for you.
thanks for the PM, got it working!
gremsems said:
Going to the site and yet I can't find a doenload location anywhere to download this program
Click to expand...
Click to collapse
Check your Inbox.
I've sent you a PM.
djamol said:
Check your Inbox.
I've sent you a PM.
Click to expand...
Click to collapse
If you don't mind, PM me as well? ?
If you don't mind, Could you send me a PM?
Thanks in advance.
Can you pm me, too? Thanks
Sent from my GT-I8750 using Tapatalk
PM me too please. I also has Pocket File Manager v. 4.3.2.0 used for your previous trick.
Is it possible browse the .REG files on a app?
Marocco2 said:
Is it possible browse the .REG files on a app?
Click to expand...
Click to collapse
No, This trick only for External SD Card system files.
Simply use this link for downloading
Mod Edit: Links to paid software removed.
thanks
myst02 said:
Simply use this link for downloading
Mod Edit: Links to paid software removed.
Click to expand...
Click to collapse
#will testingg it
myst02 said:
Simply use this link for downloading
Mod Edit: Links to paid software removed.
Click to expand...
Click to collapse
Please do not post free copies of paid software. This is considered as warez by xda and is against the rules: 6. Do not post warez.
If a piece of software requires you to pay to use it, then pay for it. We do not accept warez and nor do we permit any member to request, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.
can we modify system values with this Manager??? where do I find it?
santacruzdz said:
can we modify system values with this Manager??? where do I find it?
Click to expand...
Click to collapse
hmmmm doesn't install...
santacruzdz said:
can we modify system values with this Manager??? where do I find it?
Click to expand...
Click to collapse
What do you mean by ?
djamol said:
What do you mean by ?
Click to expand...
Click to collapse
I mean for exemple changing some UI elements like text colors of text field backgrounds?
santacruzdz said:
I mean for exemple changing some UI elements like text colors of text field backgrounds?
Click to expand...
Click to collapse
lol, it's not possible dude.
djamol said:
lol, it's not possible dude.
Click to expand...
Click to collapse
Works for me - WPSystem folder becomes visible in Microsoft's Files app BUT I can`t browse any app content, just can see GUIDs. Aerize Explorer does not even show WPSystem folder and asks me to make in-app purchase when I`m trying to find it using built-in search.