[Q] Programming language for Windows mobile devices - Windows Phone 7 Q&A, Help & Troubleshooting

We are a small company looking to do some inhouse programming using tablets. Initially we were going to move forward on an Android Honeycomb platform because we have only Java developers here. But it looks like we can't get rugged tablets for that platform. There seem to be a lot more rugged tablets that are Windows based.
Initially I thought that we would have to use C# /.Net to code for native applications for the Windows tablets (and Windows specific API). But a colleague of mine thought we could use Java to build native applications on the Windows tablets also. Is this true? Can I use Java to build applications that can be deployed both to the Windows tablets and the Honeycombs? Our applications will also use GPS location based services. Any feedback/pointers would be sincerely appreciated. Thanks.

What devices are you talking about? Phones (running Windows Mobile 6 or Windows Phone 7) or tablets (like the iPad, currently running Windows 7 and in the future Windows 8)?

Most of Windows-based tablets are based in just normal Windows computers on x86 processor. Only very few are Windows CE-based.
On Windows XP/7 tablet PCs you can write in Java without any problem. I am not sure about GPS usage, but it can be read using JNI or just serial port. You can have some common classes/class libraries for Windows and Android, but the device logic and UI needs to be specific (and the JVM is different - Sun JVM vs. Dalvik).
On Windows 8 with "Metro", however, there is no sign yet you can develop WinRT apps using Java.

I am talking about Windows 7 tablets (and Windows 8 in future)

If you want create an app you need C# and silverlight

stre67 said:
I am talking about Windows 7 tablets (and Windows 8 in future)
Click to expand...
Click to collapse
Well for Windows 7 you can develop using more or less whatever you prefer since there are no differences between the OS on the desktop and a tablet.
So yes, you can use Java for Windows 7.
There is some API for Location services in Windows 7 however I don't know the details about this.
I also don't know much about Android, but if you can develop for Android in Java you can at least share some code between the Windows 7 and Android version of your software.
Windows 8 will introduce a new kind of app (metro-style app) and those apps can only be written in HTML5 and Javascript or C#/VB.Net/C++/C and XAML.
However, users will still be able to use your Java Apps on Windows 8.

so it looks like Windows 7 is like a windows 7 PC. I can't find any specific books on amazon, so I do apologize if my questions are stupid.
1) Can I develop a Java application similar to that of a desktop and deploy the EAR/WAR file to the windows 7 tablet? if so, does the tablet have an inbuilt web server type application (websphere, tomcat) to serve pages? if not, will the app be loaded on a remote server and be accessed via a browser? In this case the tablet will need an internet connection all the time, correct?
Thanks again.

A Windows 7 Tablet is basically just running the desktop version of Windows 7 so you can do anything with the tablet that you could do with a Windows 7 desktop machine.
Note that Windows Phone 7 is an entirely different operating system that's barely connected.

Related

windows xp emulator for mobile phones

Hello, is there any emulator wich will alaud me to use windows xp app (like games) on mobile phones, or chance windows xp or vista or 7 to bi installed on mobile phone like htc for example?
helion222 said:
Hello, is there any emulator wich will alaud me to use windows xp app (like games) on mobile phones, or chance windows xp or vista or 7 to bi installed on mobile phone like htc for example?
Click to expand...
Click to collapse
i dont think so, windows xp needs a big ammount of ram and above 2ghz cpu dual core to even run properly these days, it takes alot of HDD space too.
Its very hard to make windows xp run natively on a phone, but emulating it is out of the question.
Emulating an entire operating system will result in major slowdown, you have xbox360 with windowsxp and its running horrible, it has a 3.2ghz tricore cpu too so imagine the speed of emulating it on a 1.0ghz dual core cpu and thats the top of the line phone these days.
So, windows will be very slow and when i mean slow i mean things like taking an entire minute to send a file to recycle bin and games would be out of the question as they are in majority D3D dependant and android cellphones use OpenGL.
As the above post says, no. It is possible to emulate a Winmo device from 2003 through 6.5.3 on your PC, but not the other way round. A phone, even the powerful ones do not have enough grunt, to do the job. WinMo emulators on the PC can now run native ARM code executables directly. No mean feat, even on a 3GHz PC
If the PC program was written in native x86 code, a phone cannot run it, but if it was written in .NET and used the core basic methods and properties of the same or a previous version of the .NET CF framework, there is a very slim outside chance that it may work, but the requisites are very restrictive.
Watch for the upcoming version of Windows 8. Microsoft is determined to get onto the latest ARM powered pad devices, having already lost important ground to the iPad and 'pad' versions of Android. This should see a much closer integration of the platforms, but next year may already be too late.
stephj said:
As the above post says, no. It is possible to emulate a Winmo device from 2003 through 6.5.3 on your PC, but not the other way round. A phone does not have enough grunt in it to do the job.
If the PC program was written in native x86 code, a phone cannot run it, but if it was written in .NET and used the core basic methods and properties of the same or previous version of the .NET CF framework, there is a very slim outside chance that it may work, but the requisites are very restrictive.
Watch the upcoming version of Windows 8, that Microsoft is determined to get onto the latest ARM powered pad devices, having already lost important ground to versions of Android. This should see a much closer integration of the platforms, but next year may already be too late.
Click to expand...
Click to collapse
This!
Buy a wm phone

[Q] what is ARM based and Intel Based Tablets

to whom is knowledgable and also like to explain like Ted mozbi in How I met Your Mother show.... please what is the defernce between ARM based tablet and Intel based tablet???? what concerns me the most is it like I can install exe. file on the intel while I can't in the ARM !?
The major difference between the two is that they typically refer to the the architecture of the cpu. This means how it was designed and how machine instructions are interpreted by cpu.
The answer is yes and no for whether you can install exe's. Yes, they will both be able to install different programs and applications. However, the application or program in question will have to be compiled for that architecture. I haven't done any windows mobile development but my guess is that most if not all apps you can download from the market place will be available for both architectures.
Hopefully that can clear things up a bit.
Wow fastest replay ever seen thanks a milion,,, it did clear out the picture clearer then before ...
To add a little more to the above, Windows on ARM (WoA) will only be able to run Metro style apps, specifically written for Windows 8. I also think that it will only be able to get these apps through the Windows Marketplace. I'm sure there'll be a jailbreak before it's even released, but I think this will still only allow metro style apps written for Windows 8, it'll just allow for them to be installed from other sources. Jailbreaking may also allow non-metro desktop style apps, it's too early to tell, but these will still have to be specially written for WoA.
Windows 8 on Intel chips will be able to run all legacy apps (which will now be called desktop mode apps to differentiate them from Metro apps), from any and all sources, just like your normal Windows PC can now. It will also be able to run Metro apps from the marketplace, and presumably from any other source as well.
See also http://forum.xda-developers.com/showthread.php?t=1466400
for the Definitive guide to Windows on ARM
stevenmu said:
To add a little more to the above, Windows on ARM (WoA) will only be able to run Metro style apps, specifically written for Windows 8. I also think that it will only be able to get these apps through the Windows Marketplace.
Click to expand...
Click to collapse
To add on, Windows on ARM is called Windows RT. Metro Style Apps is able to cross-platform on the x86, x64 and also ARM while Desktop Apps are able to run on x86 and x64. However, preinstalled Desktop Apps such as Office 15 (Microsoft Word, Excel, Powerpoint, OneNote, etc.) will be able to run on the ARM version.

[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

[Q] modern phone that is able to run windows apps

I have a windows 6.5 phone, it runs a legacy application that I'm not willing to part with. I cannot upgrade to Windows Phone 7 or 8. It will not run in that environment. This application will run on the real Windows XP-->7-->8. But there is no adequate app on Android or IOS.
I am looking to ditch this phone at some point in the future. What are my options?
1) Can I upgrade to Windows Phone 7-8? -- - And is there an App that employs a 'Windows Mobile 5/6' mode/emulator --- Sorta like on Windows 7 they have a Windows XP Mode (virtual machine), that allows Legacy incompatible apps to run.
2) Can I dual-boot a cool modern Android phone with Windows Mobile 5/6? - How to do it...
3) Really odd one.. Is there a phone with the real Windows 7, or the Real Windows 8 (not RT) on it. Not the phone OS's. If so, how cumbersome would it be to operate? or expensive? or big?
But I also don't want to spend $500> either.

Windows on x86 based android phones?

I was curious about this, if the android smartphones/tabs powered x86 intel processors can be used such that we can install desktop windows or other x86 OSes?
Unlikely as we would need to build drivers for the phone which is rather difficult when the manufacturers like to have things on lockdown most of the time, also it would probably brake some strange contract with Microsoft as most things do. Look at the Surface and Surface RT
Also the UI (Even Metro) would struggle to work on the display adapter
So in short no we can't run Windows on x86 Android phones, yet anyway
Install Android in Windows without Virtual box
I tried this product DuOS which will install Android version Jellybean in Windows 7/8/8.1 platforms. This one is very simple for use comparing with Bluestacks and has good performance for applications. Refer the link for further details and installation check the website for amiduos:good:

Categories

Resources