[Q] How to test WP 7.0 - Windows Phone 7 Q&A, Help & Troubleshooting

Hi,
I am building a mobile website that must work cross-browser. I use the iOS Simulator on Mac to test iPhone, iPad. I use the Android SDK for Android testing.
And I just downloaded and can run the WP7.1 SDK and Emulator.
However, the client is telling me that the layout for the website is breaking on WP7. On further inspection I think the client is running WP 7.0 as the issue does not manifest in the emulator which is 7.1.
The emulator only has Explorer and I can't see any way to change the OS. I believe it is ROM-based.
Is there a location where different ROMs can be obtained to run in the emulator for testing across OS versions? Is this not something Microsoft produce to help developers?
Thanks so much.

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Emulation\Images\WM70C1.en-US.bin

Related

[Q] Best mobile platform to develop apps for after Android?

I've already started developing apps for the Android platform and was wondering what was the next best mobile platform to develop for? I've downloaded the bada SDK but have had some problems with the emulator as I get an error trying to run it.
The iOS SDK requires Mac OS X and I have a Windows PC, I know I can run Mac via a virtual machine or dual-boot but then I would have to download the large 4.3GB iOS SDK. I heard somewhere that Windows Phone 7 Marketplace got shut down, is that true?

[Q] How to create homebrew app with native code which run in emulator.

Hi Guys,
I would like to create simple app with NATIVE code which run in emulator.
It is not possible to use solution in http://forum.xda-developers.com/showthread.php?t=1299134&highlight=developer+guide because it's use some ARM code.
Do you have any idea how make things work?
Thank you,
Ch.
You actually could (msotly) use that guide, but you would need to recompile the ARM portion for x86. My guess as to the best way to do this would be to use the "Platform Builder" for CE6 or CE7, instead of using the WinMo 6.5 platform as your target. WinMo only shipped on ARM devices, so far as I know, but the underlying OS, Windows CE, is very portable and the tools for it support building on a wide variety of architectures. WP7 is built on a version of CE somewhere between CE6 and CE7.
Otherwise, the stuff about using ATL, making a COM library, using ComBridge from the WP7 app, etc. all still applies.
That all said... why would you want to do this? Do you not have an actual phone to test on? Porting between ARM and x86 isn't *that* hard, but you shouldn't just assume that it'll work in all cases, so it makes a lot more sense, if you're building native code, to build and test for the same architecture you're planning to release on.
Additionally, the emulator may be missing some of the libraries that are present on the phone.
Thanks a lot. I will try it.
This is very beginning of my school project. I want only demonstrate that is possible to run some native code on WP7. Next phase of project will be on real device which I don't have right now..
Well, good luck, but I'd tend to say you're setting yourself up for a risk of failure. I don't know what it will take to use the CE Platform Builder for something like this; I have it installed but have never tried using it.
There may also be a way to compile for x86 using the WinMo build tools; I think some of the old "emulators" for WinMo were also x86 virtual machines (much like the WP7 emulator is). I never tried, though.
Risk of failure? I don't see how. The hardest part of this is finding a way to get his .exe on the emulator device and unlocking it. If he isn't using ARM ASM in his project, "porting" to x86 (or any other processor WinCE supports) should be trivial as long as a sufficiently complete SDK is available. The main issue with x86 on newer Pocket PC-like targets is that there are no Pocket PC SDKs targeting it newer than the Pocket PC 2003 one. If you want to use newer WM5 only features like GPSAPI, you'd probably need to use a CE 6.0 SDK instead.
If he doesn't want to do real time debugging, any of the Windows CE development tools or even 3rd party tools like Bloodshed DevC++, CE gcc/MinGW or FreePascal should all suffice. Windows CE is a very backward compatible OS so even an application targeting the CE 2.11 platform/SDK should still run on WP7 when you are careful to use supported APIs.
If you don't want to install Platform Builder and generate your own custom OS to base an SDK on, there are plenty of SDKs to choose from. Of course, some are worse than others. If you are using the CE 4.2 or 5.0 STANDARD_SDKs, you might become a bit frustrated when you realize they are missing many basic things like the Windows CE SIP APIs. (something that has been available for CE since 1.01 in 1997). But if you don't care about using the latest native CE kernel features and still want to use a newer IDE like VS2005/VS2008, the CE 5.0 STANDARD_SDK should be enough if you are careful. Though, I usually install things like eMbedded Visual C++ 3.0 and 4.0 along with all the Pocket PC and Handheld PC SDKs just in case I need a header or lib file that one or the other is missing.
The following MS SDKs can target x86:
-eVC3
Pocket PC 2002
Smartphone 2002
Handheld PC 2000
-eVC4
Pocket PC 2003
Smartphone 2003
STANDARDSDK_400
STANDARDSDK_401
STANDARDSDK_420
STANDARDSDK_500
-VS2005/2008
STANDARDSDK_500
Another useful x86 SDK I've found is the one for the Allegro CE/DOS Field PC:
http://www.junipersys.com/Juniper-Systems/support/Developers/Allegro-Field-PC/Allegro-CX
Here are some download links to many of the CE SDKs and compilers that were released over the years:
Here are some links to download some of the tools I've mentioned:
http://www.hpcfactor.com/developer/
http://www.microsoft.com/download/en/search.aspx?q=embedded visual tools
You will need SP4 for eMbedded Visual C++ 4.0 if you wish to use newer SDKs with it.
http://www.microsoft.com/download/en/search.aspx?q=pocket pc sdk
Ummm... maybe you missed the part where this is WP7 forum, and the OP is trying to run native code on the WP7 emulator... I can tell from your post that you're not terribly familiar with WP7 development, so here's a few salient points:
Compiling to a .exe is a waste of time. WP7 won't run foreign EXEs, at all, unless you make some pretty low-level changes that aren't possible on the emulator (see "full-unlock" custom ROMs). You have to write a managed app (which compiles to a DLL hosted inside a low-privilege EXE that's built into the system) and a COM library and use the InteropServices ComBridge API. So far we haven't even gotten P/Invoke to work.
WP7, especially Mango, uses a limited set of native APIs and the APIs have changed somewhat in the last decade or so. They aren't supposed to be available to third-party devs at all, so any backward compatibility is basically a convenient accident. Targeting Smartphone 2003 *might* work, but then, it might not. Even a number of WinMo 6.5 APIs aren't available or don't work.
Since it appears that the OP is just going for a demo project, he or she probably is a lot less interested in getting the most powerful APIs, and is probably hoping for something closer to invoking a MessageBox from native code.
All that said, however, it's true that there are WinCE SDKs which can build native x86 code. I'd tend to suggest using the CE6 or CE7 Platform Builders, since they're the most recent (WP7 is somewhere between the two), but there are other options. You probably want to follow the guide as much as possible, including things like using ATL, as it makes writing a COM library a lot easier and that's the best way we currently know for executing native code in WP7.

[Q] Exe files

Hi I'm farely new to xda (over on the Rezound forums mostly). Just recently I've been looking into tablets since my laptop died. My friend has this tablet and from what I've seen and read it's a good buy. Since im replacing my laptop with this I'd need to be able to run exe files. Is it possible to root and mod this to be able to run exe files? Or not since this a an android device? Sorry if this is a basic question again I'm new here. Thanks for help in advance
hmmmm, i dont think thats possible. Unless you install a different OS on it. But with pure android OS, i dont think so. EXE is kind of windows specific. But, what app are you trying to install using an EXE file? Im pretty sure there is an android equivelant for the app.
May have problems with it as exe is a program compiled for x86/x64, not ARM. Same reason why Windows RT & Pro aren't the same. Pro runs on x64 and can run normal exe's. RT runs on ARM and can't run native windows programs.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
NickS VR4 said:
May have problems with it as exe is a program compiled for x86/x64, not ARM.
Click to expand...
Click to collapse
And even if it was compiled for ARM, it won't run on Android. EXE is an Windows executable and depends on the Windows runtime libraries.
It would be nice to see someone developer a full blown version of Wine for Android, or if companies like Codeweavers can make CrossOver for Android to allow the use of .exe Windows applications.
I know this is not impossible and very possible if Android is really just a Google controlled version of Linux.
My first and only paid $ purchase of Linux was Xandros 2.0 desktop OS, and one of that OS main selling features was that it had Crossover integrated into it. I could download .exe's and install them on Xandros and run Windows apps. :laugh:
You're looking at two different processor architectures on two different operating systems. You would need a whole lot more than just a crossover/wine for Android. Consider purchasing the Asus Vivo Tab (not the Vivo Tab RT) if you have to run .NET/win32/WinRT executables. Also consider if android has equivalent apps that suit your needs. What kind of Windows programs do you use?
Update:
https://play.google.com/store/apps/details?id=com.max2idea.android.limbo.main&hl=en
If you ran this, installed Trinux on it and ran wine/crossover (provided they even support Trinux) you MIGHT have a chance at running windows apps. But it will likely be insanely slow.
The other option is to buy a new server, install Windows Server 2008/Server 2008 R2, buy a router that supports VPN, get a really good internet service (preferably with symmetrical data rates), buy the XTraLogic RDP app for android, tunnel into your VPN from your android device, set up terminal services on Windows Server, buy one Terminal Services Client Access License, configure RemoteApp in terminal services and run the apps using XTraLogic RDP on your android from your windows server. You would have to keep the server running 24/7.
My point being, even if you could pull this off, it would be incredibly impractical. Consider alternatives, like equivalent apps for Android or an X86 tablet.
this post is relevant

Is Android 4.4.2 emulation on Note 20 Possible?

Hi All,
On my Windows 10 desktop PC I could run old DOS apps using a DOS emulator app that runs within a window on my Win10 OS.
With that in mind, does an Android 4.4.2 emulator app exist which can run within my Note20 Android 11 OS? My goal is to run an old apk file called "Beyond Tetris". I tried installing it on my Note20 and it does not work. I realize the Google Play Store has various Tetris games for download but none of them are as good as Beyond Tetris.
Any info regarding this matter will be greatly appreciated. Thank you for your time.
Just a follow-up. The link below is about Anbox.
https://anbox.io/
It's an open source project for an Android OS emulator designed to run within the Linux OS. Has an Android 4.4.2 Kit Kat emulator like Anbox been developed that runs within Android 11?
Or is a better option to run virtual machine software such as VMware within my Note20? As shown in link below:
https://play.google.com/store/apps/details?id=com.vmware.view.client.android&hl=en_US&gl=US
Any opinions welcome. Thank you for your time.

How can I use Window Emulator on my Android Device?

I'm interested in running a window emulator on my Android device to enhance productivity and multitasking. I would like to know if there are any recommended window emulator apps available for Android and how to set them up. Specifically, I would like to understand how to create multiple windows, resize them, and switch between different apps within the emulator. Additionally, I'm curious about the compatibility of window emulators with various Android versions and device models. Any tips or recommendations would be greatly appreciated!
You can use a virtual machine manager like Adronix, and use VNC Viewer to connect to the VM.
@Ceisero
you can run Windows 11 ARM on any Android 13 phone if the Windows 11 hardware requirements are met.
More info here:
How to Download and Install Windows 11 ARM With ISO
While it's not perfect, you can still download and install Windows 11 on ARM-based devices.
www.makeuseof.com

Categories

Resources