Pocket PC not Connecting to PC - sdk

I have a Symbol PPT8800 that will not connect to Windows Mobile Device Center. It was working, I took it off the cradle, did a hard reset, and now it's not connecting. Is there a setting on the HH itself that is preventing the connection?
I have other Symbol PPT8800's that will connect in the same cradle without an issue.

There are a lot of possible sources for connection problems between a windows mobile handheld device and a PC running WMDC (ActiveSync).
use a known good USB cable
connect USB cable directly into PC and avoid USB hub
verify WMDC connects with another windows mobile device
disconnect handheld and reboot you PC and wait until PC is booted
before trying to connect
"Allow USB connections" has been deselected in WMDC Connection
Settings
sometimes the device setting "Enable advanced network functionality"
in Start/Settings/Connections/"USB to PC" has to be unchecked (or
checked).
the device has a corrupted registry and does not start the connect
(repllog.exe) or does not authenticate correctly. Do a clean boot or
wipe of the device to get the device back to factory defaults
I am sorry, but there are many possible issues that can cause a WMDC connection to fail. Recently I had the prob that after sleep/resume of my PC the USB hubs were in power save mode and I was unable to get device to connect to WMDC.
Does your PC do some 'boing' sound when you attach the USB cable to the device?
What does Hardware Device Manager show? Any exclamation marks?
EDIT: How to wipe a device?
You need to write either a small .net or c++ app using DMProcessConfigXML and the following wap provisioning xml:
<wap-provisioningdoc>
<characteristic type="RemoteWipe">
<parm name="doWipe" value="1"/>
</characteristic>
</wap-provisioningdoc>
[see also http://peterfoot.net/UsingRemoteWipe.aspx]
or use RapiConfig tool from Mobile SDK.
If both are not useable for you (is that running Windows Mobile or Windows CE?) or just restore factory default or reflash the device. If it is a device with Windows Mobile before version 5, you can just do a cold boot but delete any persistent folder first (ie Flash File Store or ???).
Factory restore of PT 8800:
hold white RESET button + POWER + FUNC

Related

Can we remotly control iPhone connected to remote machine to trust developer (for provisioning profile)?

I'm working on remote mac machine using Team Viewer.
At times I need to build WebDriverAgent project on that machine and manually trust the WebDriverAgentRunner and Initegration app on the connected iPhone.
But remotely I cannot interact with the iPhone and need someone physically present there to tap on "Trust" from iPhone settings.
Is there any way I can control iPhone?
Yes, there are several apps that offer this.
One app I recommend (no affiliation) is ApowerMirror. Download link. It allows you to remotely control the iPhone so you can "trust" the developer.
Note: You will need to be on the same WiFi as the iPhone.
Alternatively, if you can't be on the same WiFi, you can connect the iPhone to the Remote Controlled computer and control the iPhone from the Remote Controlled Computer, so it goes:
iPhone -> RC computer -> Your computer

Syncing vast amount of test data to iOS device

In an automated test environment, I have to use 7.5GB of test data, that consists of 170k+ files. Simply copying it with the bundle is too slow (40+ minutes), thus I would like to incrementally sync the contents of the test data folder between the iOS device and the mac. Eg. using the iOS device as a USB drive, and use rsync to sync the contents, but any ideas are welcome. No, I can't jailbreak the device. Basically I want to keep two folders synchronized between an iOS test suite and a mac. Any ideas?
There is a way to do that using USB without jailbreaking your iOS device. The whole setup works via a UNIX socket called usbmuxd that Apple uses to communicate between a USB iOS device and e.g. Xcode or iTunes on a Mac. The iOS device basically opens a TCP server and the OSX app connects to the UNIX socket from which it can obtain a TCP connection to server on the iOS device. After that you can just write and read data over USB using streams at 480MBits.
There are some frameworks under MIT license with example apps for OSX and iOS that allow you to use this mechanism in your own apps:
https://github.com/jensmeder/DarkLightning
https://github.com/rsms/peertalk
This mechanism is App Store compliant in case u need to publish your app later. One popular example is an app called Duet Display that allows you to use your iPad as a second screen via USB.
Hope that helps.

ASCII code on an external device through USB port

Is it possible to send an ASCII code on an external device through USB port using IOS API? I assume that it is possible through bluetooth connection, but I'm not sure through USB connector. Any thoughts?
I would appreciate if someone could put me in the right direction.
Thanking you in advance
That largely depends on the level of sophistication of this "external device". If this external device is just a bare metal embedded device without some sort of operating system you definitely need MFI.
Otherwise, you can run a usbmuxd server (e.g. on Raspberry PI with Linux) to establish a connection via USB. Usbmuxd is basically the technology that Apple uses to communicate between iOS devices and Desktop apps such as iTunes or Xcode. And yes, it is App Store compliant, e.g., Duet Display uses this approach to make an iPad a secondary display for your Desktop via USB.
There are several open source libraries that provide a high level API, e.g., PeerTalk or DarkLightning.

Ios filesharing without iTunes or an internet connection

I am working on developing an enterprise application for ios 7 that needs to work offline and then sync with a desktop client (that I also need to write) for data transfer.
My company does not allow wireless or cell data in this area, and would strongly prefer to not use iTunes either.
The question is, how do you transfer data from an iPad over the usb cable to a custom windows program, without iTunes.
The simplest answer would be: iExplorer (http://www.macroplant.com/iexplorer/) plus some kind of a script to automate the data sync.
Otherwise, you can use the ExternalAccessory framework to communicate with the desktop via a USB tether. This would necessitate a desktop client running simultaneously to communicate with the device.
peertalk (https://github.com/rsms/peertalk) does what you want, however the computer side library is only for mac os. Maybe you can port the protocol to windows by looking at that (the license is BSD)
Edit: this guy managed to have it run under linux. It sits on usbmuxd, which also has a windows port, so it shouldn't be impossible.

the windows phone emulator wasn't able to connect to the windows phone operating system

this message occurred when i run my APP
"the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled."
after searching i found this answer
"
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Click on the remove button on the right side of the window.
launch the emulator
Accept the elevation of privilege asked
"
but message still appeared and my problem not solved
Hint:
Hyper V enabled
OS in my Laptop win 8.1 Enterprise (64-Bit)
Visual Studio 2012 Ultimate , Update 3
SDK 8
I also got this error message when I ran my app with the phone emulator:
the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled.
This is what I did, which worked perfectly for me:
First make sure you have closed your Visual Studio and the phone emulator, then
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Choose Private Network and Click Apply
Then the trick is to restart your system and go through the same step above,
but this time:
Choose Internal Network and Click Apply
Note : You'll see some Loading in progress,that's all , then start your phone Emulator Again
I had the same problem and solved it by disabling firewall (AVG). Try this.
do you have installed symantec? If so thats the issue. i am able to run only after disabling symantec. so you may choose to do so.
Regards,
Pankaj
I had this happen and none of the solutions above helped unfortunately.
However, I noticed that in my actual network settings there were duplicate phone emulators. After disabling the duplicates that were unplugged my issue was solved.
control panel -> network and internet -> network sharing center -> change adapter settings: here is where you disable any duplicates you may have running for whatever reason.
go to network and sharing center
go to change adapter setting
go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
right click it and enable it(if already enabled then disable and enable it again).
I followed these steps and it solved my problem.
Move to “Control Panel\All Control Panel Items\Administrative
Tools”, Here remove each and every Virtual Machines listen under.
Remove Hyper-V and then Restart the System.
After restarting, Install Hyper-V once again.
Open Visual Studio and Run any Windows Phone 8 app to start the
emulator.
It will create again all needed Virtual Machines( you can notice
from Hyper-V Manager tools)
While loading emulator, it will prompt for letting the emulator
access the internet. say yes.
Let the emulator and your project fully load
Now you need to shutdown the emulator( by closing directly or use
Shift + F5) and close the Visual Studio.
Now Open Network and Sharing Centre
Click change Adapter Settings (Listed on the left hand side)
Now you will see there - “Control Panel\Network and
Internet\Network” Connections. some new adapter created by HyperV,
they should be called “vEthernet(…)”
Here, You need to focus on the vEthernet( Virtual Switch) and
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch)
Now right click on vEthernet( Virtual Switch) and click on the
properties and navigate to the sharing tab.
Here, Choose Allow other Network users to connect and choose the
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch) as the adapter and then save the changes and close Windows.
Everything work now.(Make sure your Wi-fi is working properly)
Source
It's a firewall issue as above top 2 answers. I uncheck 'Enable Firewall' at Symantec Endpoint Protection > Network Threat Protection > Option. After the VM started, firewall can be turned back on.
I noted that in my Device Manager I had a warning against Network adapters / "Hyper-V Virtual Switch Extension Adapter".
My resolution was to use Hyper V manager to remove the "Windows Phone Emulator Internal Switch":
1...Launch Hyper V Manager
2...Virtual Switch Manager
3...Under Virtual Switches list, select "Windows Phone Emulator Internal Switch" and click Remove
4...Refer back to Device Manager - the "Hyper-V Virtual Switch Extension Adapter" warning will have been removed
5...Create a new Virtual network switch (Internal), using the same name
6...You then need to open the Settings for each emulator and reconnect it's Network Adapter to the newly created internal switch
7...I also ran the Emulator repair (Control Panel / Program Features / right click Windows Phone 8.1 Emulators - ENU / Change / Repair) - not sure if this had any bearing on the fix
9...I then launched VS2013 and emulator now worked
I have tried all guides above, nothing help.
Finally, I uninstall vmware player 12 and then it's work.
Hope this tip could help you.
I had the same problem with my AVG Antivirus firewall. The only thing needed was to disable AVG network filter driver in vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) network.
You can find it in Control panel -> network and internet -> network sharing center -> change adapter settings. Right click vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch), select Properties, uncheck AVG network filter driver.
After that Visual Studio is able to connect Windows Phone Emulator.
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).

Resources