ConnMgrEstablishConnectionSync problems with sx56 - Windows Mobile Software Development

in ConnMgrEstablishConnectionSync api function what does the error code
mean:
CONNMGR_STATUS_NOPATHTODESTINATION = No path to the destination could be
found.
it is a bit ambigous. the problem only occurs on sx56... does not happen on
the t-mobile version of the same phone.
and if i manually start the connection through the connection manager
application once, then disconnect, the ConnMgrEstablishConnectionSync api
function works once or twice, then fails to work from that point on.
any help is greatly appreciated.
[email protected]

Have you tried using "ConnMgrMapURL" API call? And map the GUID in the CONNMGR_CONNECTIONINFO struct and then call the ConnMgrEstablishConnectionSync function.

Related

Where is wrong to make a phone call?

I am trying to make a call by TAPI
1. "lineOpen" is suceessfully completed
2. CallRequestID = lineMakeCall(hLine,&g_hCall,
(TCHAR*)"65798523",0, NULL);
after lineMakeCall is executed, the voice always prompt that the phone number is a void number or not existing number, why? can anyone correct the code ?
thanks.
Beats me.
I use this line of code, works perfectly for me. Ensure the number is UNICODE, try TEXT("123456789"). What happens if you call it from the inbuilt phone app?
Ben

Collection of all the fixes for WM6

We should post all the fixes the have been found for wm6 on the dash here to make it easier to find....
Reminder FIX:
From RandyRants.com:
Step 1: Make a change to your Normal profile. Raise the volume of some alert or something. Change something to get the device to create the following file: \Application Data\Profiles\Normal.prof.xml
Step 2: Connect via ActiveSync on XP or WMDC on Vista and copy this file to your desktop.
Step 3: Edit this XML file - add the following blurb to the SoundCategories section:
<characteristic type="Reminder">
<parm name="Script" value="v0p" />
<parm name="InitVol" value="4" />
</characteristic>
Step 4: Save this file on your PC.
Step 5: Set the System flag on this file. You can do this with a right click on the file and setting the properties or via a command prompt: attrib +s normal.prof.xml.
Step 6: Now copy it back to \Application Data\Profiles
I posted this to another thread, but the steps have changed... seems that if you don't have the System attribute set on the profile XML files before moving them to the phone it renders them useless. It also seems that on Vista with WMDC it keeps the attributes fine (inspite of having to change the OS to even see the files) but on XP/2003 with ActiveSync the System flag is removed when the file comes from the phone.
Either way, good luck with it!
Click to expand...
Click to collapse
Rotated video FIX:
freyes01 freyes01 is offline
Member
Join Date: Apr 2006
Location: Miami
Posts: 35
[United States] [U.S.A. - T-Mobile]
Default
getwsted at HF found a solution for the screen rotation issue:
Add the following Key "Rotation" under HKLM\System\GDI\
e.g. [HKLM\System\GDI\Rotation]
Then Add this dword.
"LandscapeMode"=0
It solved my problem with Orb and other Videos with WMP in full screen mode.
__________________
Thanks,
Freddy Reyes
http://www.freddyreyes.com
Click to expand...
Click to collapse
SMS Sent Notification Removal:
Download this Here YOU HAVE TO SOFT RESET FOR IT TO WORK!!
Bluetooth Voice Command Fix:
WM6 Voice Command 1.6
Voice Command is a very powerful program that will allow you to control your WM6 Excalibur with your voice.
* Hands-free phone
* Dial your phone by voice using the phone number
* Contact lookup
* View contacts with a voice command
* Have the subject, time, and location of upcoming appointments read to you
* Media player
* Program starter
* Device Status
Enable Voice Command
Start > Voice Command
Voice Enabled > Yes
Announcement Routing > Bluetooth if Available
This setting will allow Voice Command to use the Excalibur phone speaker to respond to vocal commands, if you don't have a bluetooth headset connected.
IMPORTANT: Soft Reset to enable the changes to Voice Command
After the soft reset, press and hold the home key. This is the default Record Application Button which activates Voice Command. When you hear the beep say, "Help". Voice command will then guide you through the available voice commands.
IMPORTANT: Do not talk directly into the microphone. Hold the phone 4 inches/100mm from your voice. The response from Voice Command will take a few seconds.
A Voice Command tutorial from Microsoft is here.
Enable Voice Command with a Bluetooth Headset
With the current beta release of WM6, you need to modify the following registry settings to use your bluetooth headset with this feature.
NOTE: Your Excalibur has to be application unlocked to make modifications to the registry.
HKLM\SOFTWARE\Microsoft\Bluetooth\AudioGateway\BTA GExtModule
The string value needs to be changed from "OEMAGW.dll" to "\Windows\vcbthag.dll".
IMPORTANT: Soft Reset to enable the changes to Voice Command
After the phone reboots, your bluetooth headset will now be able to use Voice Command by pressing the button on your headset. Wait for the beep, then speak the command.
Viel Spaß mit Voice Command,
jromney
Click to expand...
Click to collapse
Streaming Video Player:
rvbcrs said:
Ok guys here is a .cab I made for the Streaming Media tool.. I tried it and it worked with m.youtube.com!
Let me know if it works!
Download here: http://www.ramonshare.com/files/index.php?share=4&path=TOOLS/RvBCrS_HTC_Streaming_Media.cab
Click to expand...
Click to collapse
anymore fixes please post here..
you could add those to the collection on the wiki
http://wiki.xda-developers.com/index.php?pagename=Excalibur_WM6_Tweaks
please feel free to do that i dont have the time for that...
k i done it
Thanks for the fixes. Unfortunately, none of the work for me. I have the files unhidden and apparently no files appear in my App Data/Profiles folder when modifying any of the profiles.
Also, when trying to add a new key to the GDI registry folder, I get an error message saying I can't do so. I'm using Resco Explorer's registry editor btw.
Error Message!
.PoNeH said:
Thanks for the fixes. Unfortunately, none of the work for me. I have the files unhidden and apparently no files appear in my App Data/Profiles folder when modifying any of the profiles.
Also, when trying to add a new key to the GDI registry folder, I get an error message saying I can't do so. I'm using Resco Explorer's registry editor btw.
Click to expand...
Click to collapse
My friend I had the very same problem you are having now. The reason you are getting that error message is because, your wm6 ROM got corrupted some how. what I did was, reinstall the clean wm5 ROM all over again, after that, I reinstall the new wm6 official upgrade Rom and also you will have to application unlock your device all over again! Now everything will work fine!
Reminder FIX - doesn work.
The reminder fix doesn't seem to work with the release version of WM6 for the Dash.
In fact, if you do this mod, you woun't be able to switch to "Normal" profile.
It seems if the OS determines that the profile's XML file is inavlid in some way, it will refuse to load it, and this mod seems to be invalid to the OS.
This is a BIG bug with the dash (no reminder volume setting) - I hope they release a patch for it.
UPDATE: I just found and read the full version of this fix (where you need to change the "system" attribute) and it actually now does work. I am going to try to create a CAB file to do the patch so users won't have to do all the copy to/from their PC.
UPDATE: See this page for the CAB file - http://forum.xda-developers.com/showthread.php?p=1271705#post1271705
Does anyone know how to ensure that your time is always in sync with your Exchange server? I never had this problem with WM5 but since I have upgraded my Dash's internal clock seems to have gone cuckoo. If I turn it off, and turn it back on my Dash thinks it's the same time that I turned it off at. It's like the clock just stops (would be nice if it happened in real life!)
Barring a fix, does anyone know of a utility that syncs WM time with a time server over the net using SNTP?
Edit: I found this:
http://s-k-tools.com/index.html?m_downloads.html#tsync
hope everyone is finding these fixes useful...
anthoneous said:
hope everyone is finding these fixes useful...
Click to expand...
Click to collapse
see thats why we use the wiki, so you don't need to bump
Somehow when copying back edited profile files, it does not retain System attribute on the flag, which, as already mentioned earlier, renders profiles unsuable.
Here is a simple workaround that I came across:
1) On your phone, open Vibrate profile for editing. Change something and save. This will force it to create the Meeting.Prof.xml profile file in the Profiles folder.
2) From ActiveSync, navigate to that folder on your phone and rename the file to Normal.Prof.xml
Now you can go back to your phone, open Normal profile for editing and the Reminder option will be there.
Hope this helps.
Unable to change profile
Unable to change profile?
Delete files in Application Data/Home/Profiles
then go to Start - Settings - Profiles
Switch to your desired Profile or re-customize your settings on every profile that you want
**xxxx.prof.xml files in Application Data/Home/Profiles contains the customizations made on every profile, example if you have only customized the Normal profile, normal.prof.xml will be automatically generated at Application Data/Home/Profiles.So deleting the xx.prof.xml file will revert the profile customization back to default.
Massive Fail.
anthoneous said:
please feel free to do that i dont have the time for that...
Click to expand...
Click to collapse
Massive Fail.
You've got the time to throw all of what's in your original post together, you've got time to append it to a wiki.
/Massive Fail.

Android hidden secret codes...

DISCLAIMER: This information is intended for experienced users. It is not intended for basic users, hackers, or mobile thieves. Please do not try any of following methods if you are not familiar with mobile phones. We'll not be responsible for the use or misuse of this information, including loss of data or hardware damage. So use it at your own risk.
*#*#4636#*#*
This code can be used to get some interesting information about your phone and battery. It shows following 4 menus on screen:
Phone information
Battery information
Battery history
Usage statistics
*#*#7780#*#*
This code can be used for a factory data reset. It'll remove following things:
Google account settings stored in your phone
System and application data and settings
Downloaded applications
It'll NOT remove:
Current system software and bundled applications
SD card files e.g. photos, music files, etc.
PS: Once you give this code, you get a prompt screen asking you to click on "Reset phone" button. So you get a chance to cancel your operation.
*2767*3855#
Think before you give this code. This code is used for factory format. It'll remove all files and settings including the internal memory storage. It'll also reinstall the phone firmware.
PS: Once you give this code, there is no way to cancel the operation unless you remove the battery from the phone. So think twice before giving this code.
*#*#34971539#*#*
This code is used to get information about phone camera. It shows following 4 menus:
Update camera firmware in image (Don't try this option)
Update camera firmware in SD card
Get camera firmware version
Get firmware update count
WARNING: Never use the first option otherwise your phone camera will stop working and you'll need to take your phone to service center to reinstall camera firmware.
*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.
*#*#273283*255*663282*#*#*
This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.
*#*#197328640#*#*
This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.
WLAN, GPS and Bluetooth Test Codes:
*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use "Menu" button to start various tests)
*#*#232338#*#* - Shows WiFi MAC address
*#*#1472365#*#* - GPS test
*#*#1575#*#* - Another GPS test
*#*#232331#*#* - Bluetooth test
*#*#232337#*# - Shows Bluetooth device address
*#*#8255#*#*
This code can be used to launch GTalk Service Monitor.
Codes to get Firmware version information:
*#*#4986*2650468#*#* - PDA, Phone, H/W, RFCallDate
*#*#1234#*#* - PDA and Phone
*#*#1111#*#* - FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
Codes to launch various Factory Tests:
*#*#0283#*#* - Packet Loopback
*#*#0*#*#* - LCD test
*#*#0673#*#* OR *#*#0289#*#* - Melody test
*#*#0842#*#* - Device test (Vibration test and BackLight test)
*#*#2663#*#* - Touch screen version
*#*#2664#*#* - Touch screen test
*#*#0588#*#* - Proximity sensor test
*#*#3264#*#* - RAM version
Great
I've not tested all, but all those I've tested except the the first one don't work in CM7
Should be precised in first post.
sachin kundu said:
DISCLAIMER: This information is intended for experienced users. It is not intended for basic users, hackers, or mobile thieves. Please do not try any of following methods if you are not familiar with mobile phones. We'll not be responsible for the use or misuse of this information, including loss of data or hardware damage. So use it at your own risk.
Click to expand...
Click to collapse
Excelente, great information.
Take photos from hackers

[Q] VPN Problem with evervolv 2014-01-02 (Kitkat)

Hi,
currently I'm running the ev nightly-2014-01-02. Since several days I ty to activate a VPN connection into my home lan (connected with an AVM Router). It does NOT work. While the "internal" VPN Software does not tell me some interesting information a second try with VPNCilla shows:
--- cut here ---
Error on establish:
command '693 interface fwmark rule add tun0'
failed with '400 693 Failed to add fwmark rule (File exists)'
Possible reason: invalid server parameter or TUN device unavailable
---cut here ---
With this error message I find in google some information about a VPN problem in 4.4. BUT: my wife's brand new nexus 5 with Kitkat connects without trouble immediately with the same login data.
So what's the problem with ev here?
Any ideas?
Thanks in advance
Steill awaiting response
Really nobody here any ideas?

Question Caller ID Issue

After I've rooted my phone, I've disabled Show Caller ID(so that others can't see my phone number), and now I cannot enable it; It shows an error "Unexpected response from network" I tap Ok and another error pops out "Network or SIM card error".
I've tried to reset the dialer app and it changed nothing(about the error).
But one thing that I wasn't able to do is to locate directly where this setting is stored(in the directory), and it has something to do with my phone number, since whenever I use a different SIM it enables Caller ID; While still being unable to access the setting itself -- uses default.
Or are there other ways to fix this?
Thanks in advance!
You'll need to talk to your cellular service provider to reset this if you see that error.

Categories

Resources