Palm Pre Emulator Internet connection problem - palm-pre

I am running the Google Map application which is part of Palm Emulator. On launching the application , it displays "Google Maps requires internet connection". When i run emulator, do I need to configure the network settings .
Similar thing happens when i enter some url in the browser its says " Error Loading Page 2028".
I assumed that emulator will the take the pc Lan setting on which the emulator is running to access to internet.
Can someone help and highlight some info on the same ??
Thanks,

I ran into this problem and solved it by rooting into the emulator via novacom, and updating /etc/resolv.conf to a proper nameserver. For some reason it hadn't set that correctly.
To check if this is your problem, try (from your rooted emulator) pinging "google.com", and then try pinging just its IP. If the latter works but not the former, this is your issue.
You can check the output of "ip route show" and use the default gateway shown as the nameserver to set it to.
Also, the emulator setup should default to NAT, so no, extra configuration should not be required as indicated by other poster.

The Palm Pre Emulator works atop Sun's VirtualBox. If the emulator is not able to connect to the Internet or any existing network from the get-go, you should skim through the documentation provided on the VirtualBox site as well as the helpful HOWTOs and tutorials that explain how to set up different kinds of networking on VirtualBox.

Related

Running Hybris development env in Mobile for debugging

just curious if there is a way to run the Hybris website(development mode,i.e., https://localhost:9002) in the Mobile to check the UI/UX features.
I have tried several ways but didn't get success.
It would be helpful if anyone knows, meanwhile I am continuing my research on this.
Thanks in Advance.
There are several ways in which you can check the UI/UX features in different screen sizes (Desktop / mobile / tablet):
Hybris SmartEdit preview feature - This is the most widely used method.
Access the site using your laptop's IP address (provided your mobile and laptop are in the same network) e.g. this is how it looks like when I access the site using https://192.168.0.23:9002/yacceleratorstorefront/?site=electronics&clear=true in my mobile phone:
The command to find the IP address is ipconfig in Windows and ifconfig in MacOS. You can also find the IP address using the Control Panel in Windows and System Preferences in MacOS.
Using the browser's device mode e.g.
Firefox:

Can't access localhost from OSX VirtualBox Windows 8.1 IE11

I have consulted some references already:
Running ie on your mac free
This thread
And this thread
I am using OSX 10.10.5 and VirtualBox 5.0.16. I am trying to debug some web apps on IE11 using the free virtual machine that Microsoft provides from this site. I am using the Win 8.1 and IE11 image.
My understanding is that I should be able to just make an adjustment to the VM's hosts file and then I can access localhost through 10.0.2.2 However, that has not been the case.
I have tried various entries:
10.0.2.2 localhost
10.0.2.2 outer
10.0.2.2 subdomain.localhost - one thread suggested trying this
I have also tried changing the network setting for the image in VirtualBox. I have tried both NAT and Bridged with no success...
No matter what I put in the address bar of IE, it tells me the page can't be displayed. I have tried:
http://localhost
http://localhost:80
http://localhost:8888
http://outer
http://10.0.2.2
http://10.0.2.2:3000
http://10.0.2.2:80
No combination of addresses/hosts file config seems to do the trick. One thread suggested trying ping 10.0.0.2 on the command line in the VM. I tried it and it appears to respond; the output says that 4 packets were sent and received.
I'm very frustrated at this point, and uncertain how to proceed. It also tried this with the Win7 IE11 VM image and didn't have any luck. The other threads on SO seem to suggest that I can just visit 10.0.2.2 with the way the VM is configured out of the box. If anybody has any suggestions, or could point me in the right direction, it would be really helpful!

Windows Phone SDK Paradox: "Xde couldn't find an IPv4 address.." and "The emulator couldn't determine the host's IP address..."

A few useful pieces of information: I'm running Windows 8 Professional on a custom-built rig, and I am using a 'WiFi dongle' to connect my computer to the local router. I am using a home network, not a public/work/school network.
I installed the Windows Phone SDK. Piece of strawberry cheesecake so far. Coded my first simple browser app (as detailed on the Windows Phone Dev site) and hit the Run button, expecting my app to come to life and breathe in links and breathe out websites!
But instead, I got this:
Something happened while creating a switch:
Xde couldn't find an IPv4 address for the host machine.
In this case, the emulator wouldn't run at all. And so, I did my research and found out that the solution was this:
Remove all the switches from Hyper-V Manager's "Virtual Switch Manager", and make a new Internal one called Windows Phone Emulator Internal Switch.
I did, and the error did NOT show up again but it did screw up my WiFi and Bluetooth adapters (which I had to do a system restore to solve) and now both WiFi and Bluetooth peripherals are working again.
However, I got this error instead when running the emulator again:
The Windows Phone Emulator wasn't able to connect to the Windows
Phone operating system:
The emulator couldn't determine the host IP address, which is used to
communicate with the guest virtual machine.
Some functionality may be disabled.
In this case, the emulator did run, but I couldn't find my app anywhere. I did some research again and found that the solution to this was:
Delete the Windows Phone Emulator Internal Switch from Hyper-V Manager's Virtual Switch Manager.
Now, I created the switch to solve the problem in the first place. But I did delete it, for the heck of trying everything out. And no surprise there but, it went back to the first error.
I am now stuck in this paradox and have no idea how to escape it.
Thank you in advance!
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).
Remove any Cisco VPN's or similar connections. I have found this VPN client works as a replacement to Cisco https://www.shrew.net/
For me shrew soft version 2.1.7 was the only version that worked.

Debugging Windows Phone 7 device traffic with Fiddler

I followed all the steps from the article but when I try to hit the server from my windows phone it says there is a dns error.
Article for reference.
http://blogs.msdn.com/b/fiddler/archive/2011/01/09/debugging-windows-phone-7-device-traffic-with-fiddler.aspx
How do I know my windows phone is using my local LAN WIFI as opposed to ATT cellular?
Personally, I use Netmon 2.3 for network traffic information from WP7. Fiddler didn't support WP7 up until recently and Netmon/Wireshark did, so I just stick with those.
Using Netmon 2.3, while your device is connected to Zune/WPConnect, you'd be able to see all WP7 device transport on the ZuneComm process. Netmon isn't as user-friendly as Fiddler, but it's fairly darn specific and easy.
You could turn on flight mode and then turn wifi back on.
Or you could take the sim out.
Either of those ways will ensure you're not using the cellular network.
I used the IP address instead of dns and it worked.

Windows Mobile Device Emulator - how to save config permanently?

I am working at a client site where there is a proxy server (HTTP) in place. If I do a hard reset of the emulator it forgets network connection settings for the emulator and settings in the hosted Windows Mobile OS. If I 'save state and exit' it will lose all of these settings. I need to do hard resets regularly which means that I lose this information and spend a lot of time setting:
The emulators associated network card
DNS servers for network card in the WM OS.
Proxy servers in connection settings of WM OS.
How can I make my life easier? Can I save this as defaults in the emulator, or create an installer easily?
There is a way you can programmatically provision your devices. If you're using managed code, you can use Microsoft.WindowsMobile.Configuration.dll to do most of the work for you. If you're using unmanaged code, you have to use DMProcessConfigXML native function.
There's more details in this blog post by Andrew Arnott.
The problem with these devices is everything is stored in the RAM and ROM. So you need a second alternate device storage for these settings, just like a real device. So that when a real device, or your device is reset, it has a statically stored configuration file outside of the RAM that can be loaded on start up. The alternative is to do soft-resets if possible.

Resources