Java Plug-in - Windows Phone 7 General

Hello,
Will Java Plug-ins work on WP7.5? I have been looking for some help on this on google, but unable to find much info. Sorry if this is a frequent question here.
Thanks.

xprav said:
Hello,
Will Java Plug-ins work on WP7.5? I have been looking for some help on this on google, but unable to find much info. Sorry if this is a frequent question here.
Thanks.
Click to expand...
Click to collapse
Hi,
You can't run Java Plugins in WP7 (or write WP7 apps using Java).
Your main options for developing apps on WP7 (if that's what you're looking to do) are C# or Visual Basic (in combination with XAML for the UI). You can also use standard web technologies if you prefer (html/javascript/css) and use software called PhoneGap to turn a web app into a Wp7 app. WP7 doesn't have a Java runtime environment so Java Plug-ins are not an option.
Coding in C# is pretty similar to coding in Java though so your learning curve might not be as steep as you think.
If you're writing a Java back end (server) you might want to look at something called WebORB as it simplifies the integration between a WP7 client and a Java server environment.
Hope that helps.
Ian

Related

I really want to develop software for the XDA but....

I Really Really Really want to develop some stuff for the XDA (I have been doing this sort of stuff for over 25 years!!) but I am not sure if Java would be best or C++ (I am dead good in both)
I know java like the back of my hand
and Borland C++ the same but I do not know Visual C++ at all (I have had a look and don't like what I see)
I am having REAL troubles finding out anything - Can anyone help :?:
A few pointers in the right direction would be great!!
Java has the adavantage of being portable but the packages avaialble are poor (only AWT it seems)
C++ would be great but it seems that you can only use Visual C++ (which is as visual as a blind man on a charging horse)
I need to be able to develop database-type applications with nice pretty controls such as Text Fields List Boxes and the like.
There is a beer in it for anyone who can help
Some options:
Java: no-go - there is no built in JRE on the XDA, so you'd have to count on your users to buy a third party one like Jeode or Creme.
C++: yes Visual C++ doesn't really provide a full visual toolkit, compared to the Borland IDEs, but it's the best performance-wise, and applications will run with minimal install on XDAs
EVB: Have you tried the embedded VB environment - it makes producing programs a doddle with a good screed designer etc, however performance is a dog as it's interpreted. Also access to API functions is difficult, and in a lot of cases (callbacks etc) impossible.
.NET CF: This might be the answer to your problem. You can develop applications using VisualStudio.net for the compact framework (ie the PocketPC) in either VB.Net or C#. The IDE is everything you'd want. The runtime is distributable (although it's 1.5B), but it's currently quite show. Strangely, you can't currently use C++.Net for the CF, but reportedly ths will be rectified soon. It's also quite costly.
So:
- for power, performance and code size, but missing ease of use: eVC
- for ease of use and code size, but limited power and low performance: eVB
- for ease of use and power, but lacking performance, and a 1.5MB CF install: .NET
Judging by your requirements for database style development, and your experience with C++, I'd recommend using C# and the .Net CF
If you don't want to invest in visual studio 2003, then go with eVB, but bear in mind eVB is being phased out and will be unsupported on PPC2003 devices.
hi
Dive into eVC++. Yes it is a pain to get started but you can do anything in it. I do most of my development for desktops in qt so it was a real pain to learn MS weird ways but it is not so bad and it is the only alternative.
Cheers
Ian Bennetts

Which program can I use instead of Visual Studio to make apps for WM?

I want to make apps for WM especially HD2, only I have no experience in programming. Is there an easier program to make apps?
Or is there an easy way to learn Visual Studio? E.g. e-learning or an electronic guide.
Thanx
Sadly there is no "easy" way to learn programming as such, but if you search around on google there are many guides and a lot of help.
First thing to do would be to choose what language to use.
The main choices (if your using visual studio) are:
-Visual Basic .net
-C# .net
-C++
Personally I would advise using C++
It would take quite a while to learn, but its worth it.
Just use google and search for C++ lessons or stuff like that
theres plenty of people out there who have written stuff about it.
There are plenty of programs that you can use for writing in C++
But I dont know how good they are when making programs for
windows mobile. I find Visual Studio quite good.
Hope this helps
If you do not want to shell out the bucks for a professional version of VS there is always the gratis versions of Embedded Visual C++ version 4.0 and the earlier Embedded Tools 3.0 which comprises EVC 3.0 and Embedded Visual Basic. Both available as gratis downloads. I don't know whether MS still host Embedded Tools 3.0 on their site, but plenty of other hosts exist, discoverable via a Google search.
EVB is the easiest to learn. You can expect a very steep learing curve to master EVC, but if you do, you will find it a very enlightening experience. The inner guts of the device can be revealed.
In VS Pro you have the choices of C# and VB using the .NET CF objects. Easier to code than C++, but it does have one or two foibles to trap the unwary.
Good luck!
Visual Basic .net good, simple lang
sincerely recommend
You can also use Mortscript to make a lot of apps.
I recommend it if you are not ready to dive into .net.
resh1309 said:
I want to make apps for WM especially HD2, only I have no experience in programming. Is there an easier program to make apps?
Or is there an easy way to learn Visual Studio? E.g. e-learning or an electronic guide.
Thanx
Click to expand...
Click to collapse
There has been a lot of question on how to program lately.
Before asking, please:
1) Do a search on the forums
2) Look at the sticky in the front of the forum. There is plenty of information on programming in the Wiki pages.
Good luck!

How can I Make programs for Windows Mobile?

Hello
I want to make a program for Pocket PC What is the developmental environment to do so?
Most of the Visual 2007 Series by Microsoft are compatible with Windows Mobile 6.0 and up.
Example: Visual Basic.NET, Visual C#, etc..
Agent Zach said:
Most of the Visual 2007 Series by Microsoft are compatible with Windows Mobile 6.0 and up.
Example: Visual Basic.NET, Visual C#, etc..
Click to expand...
Click to collapse
Thank you
but Visual 2007 Ready to work without the need to add anything , or not ?
I want to do I program for Hd2
Do you have to learn it?
Thank you again
Depending on what you're planning to create, or make mods for, you may need certain SDK Libraries.
But honestly, I won't be able to help you much with these. I develop Software for Windows, not Windows Mobile [BIG differences].
Agent Zach said:
Depending on what you're planning to create, or make mods for, you may need certain SDK Libraries.
But honestly, I won't be able to help you much with these. I develop Software for Windows, not Windows Mobile [BIG differences].
Click to expand...
Click to collapse
ok
thanks Agent Zach
Is there someone who can help me?
Start here :
http://wiki.xda-developers.com/index.php?pagename=Development Tools
The link at the bottom takes you to a pile of other stuff.
http://wiki.xda-developers.com/index.php?pagename=Complete list of Development links and resources
stephj : Thank you
Depending on which programming language you prefer.
Basic,C,C++,C#,Pascal?
You could choose Basic4PPC or Lazarus or some native MS stuff.
I am using actually old embedded Visual C++ 4.0 SP3 with PocketPC 2003 SDK and everything works also on WM653. In addition I use WM 6.1 emulator,but it is not necessary.
you could do worse than go to www.ppl-lang.com
Pocket programming language is an easy to learnn WM5/6/6.1/6.5 compiler that can create windowed apps and games.
V1.60 is completely free or you can purchase V2 with loads of extra libraries for in game physics, databases etc. It also compiles Windows apps too.
I have been using this for the last 3 years almost and have created many fine windows mobile apps.
Check it out.

[Q] VS2008 beginners problems

Hi,
I have started to learn C++ and have created some programs (MinGW + Code::Blocks) for the command line and I would like to add a GUI and run it on my hopefully soon-to-have WM6.5 phone.
So I installed VS2008, Windows Mobile 6 Professional SDK Refresh and Windows Mobile 6.5.3 Professional DTK.
But when I start a new C++ project for a Mobile Device, I don't get a form where I can add buttons, etc. (sadly I have no idea about GUI programming to do it by hand). Also, the items in the Toolbox are greyed out (which makes sense considering that there is no form to add items to).
The video on MSDN ("Creating your first Windows Mobile 6 Application with Visual Studio 2008") made it look so easy - but that was under C#. I can recreate those steps, so under C# I can add stuff from the Toolbox to the form which looks like a WM device, but not under C++.
Am I missing something?
Thanks in advance!
Yep, that's about right. VB and C#, are both .NET CF languages, and as such are more or less identical. C++ is usually used for MFC, ATL or good old Win32 programming models, where the code creates the windows controls, etc and draws them on the client area.
With a bit of C++ knowledge you should be able to create the same thing in C# without too much trouble, but there are a few pitfalls to fall into along the way. C++ can also be used as a .NET language but the casts required make it hideous to read and understand. Go straight to C#.
The C++ programming models take a bit of mastering, but the code runs like a bat out of hell.
Thank you very much for your reply!
stephj said:
Yep, that's about right. VB and C#, are both .NET CF languages, and as such are more or less identical. C++ is usually used for MFC, ATL or good old Win32 programming models, where the code creates the windows controls, etc and draws them on the client area.
Click to expand...
Click to collapse
So you are saying that in C++, I pretty much HAVE to program everything by hand? (just to make sure I got you right)
With a bit of C++ knowledge you should be able to create the same thing in C# without too much trouble, but there are a few pitfalls to fall into along the way. C++ can also be used as a .NET language but the casts required make it hideous to read and understand. Go straight to C#.
Click to expand...
Click to collapse
K. I do know that C++ and C# should be pretty similar concerning the syntax. But still... any literature recommendations?
The C++ programming models take a bit of mastering, but the code runs like a bat out of hell.
Click to expand...
Click to collapse
That's why I want to stick to C++. My university prefers Java, but don't really like it and find C++ much more "elegant". However, my ideas [dreams?] about programs that I want to write eventually do involve quite some GUI. I had hoped that VS2008 would allow me to quickly get that GUI-stuff out of the way for now, since I thought I use QT for my Windows (and maybe eventually Unix) programs. But as I said, I'm still at the beginning of my learning process, where it is mostly about command line apps to learn the ropes.
Anyways, thanks again!
To be honest I only program WinMo in either Win32 C++ or C#. Although C++ and C# are quite close as far as languages are concerned, the IDE environments are completely different. Under Win32 you respond to the stream of WM_XXXXXX messages fired at your app by the operating system, one for every time something happens. If it is something your app isn't bothered about ignore it. Screen taps get converted to WM_LEFTBUTTONDOWN etc. A button is a child window of the main window, you will have to create it.
In C#, drag an object off the toolbox and drop it on the form, the IDE will maintain any events you wish to trap and use. The machine I have here only has VS 2003 on it, the 2008 machine is at work. I'll have a look at the other C++ models on it next week.
C# and Java are not too far apart, exept that C# uses the .NET framework objects.
As far as books go, I can't really recommend much as I have mastered it from the sharp end as it were, using the online help and examples for day to day, and internet trawls to tackle particular problems. Maybe others can chip in with a few ideas.
I haven't heard of QT running on Windows Mobile, but I could be wrong.
There is also MONO, which is an open source project to run .NET under Linux.
stephj said:
To be honest I only program WinMo in either Win32 C++ or C#. Although C++ and C# are quite close as far as languages are concerned, the IDE environments are completely different. Under Win32 you respond to the stream of WM_XXXXXX messages fired at your app by the operating system, one for every time something happens. If it is something your app isn't bothered about ignore it. Screen taps get converted to WM_LEFTBUTTONDOWN etc. A button is a child window of the main window, you will have to create it.
Click to expand...
Click to collapse
That sounds interesting, but sadly beyond my capabilities at the moment.
In C#, drag an object off the toolbox and drop it on the form, the IDE will maintain any events you wish to trap and use. The machine I have here only has VS 2003 on it, the 2008 machine is at work. I'll have a look at the other C++ models on it next week.
Click to expand...
Click to collapse
Yeah, this sounds much more reasonable for what I'm trying to accomplish, but also means I have to learn 2 languages instead of one (I don't want to give up C++). I guess my Windows Mobile app has to wait for a while.
C# and Java are not too far apart, exept that C# uses the .NET framework objects.
As far as books go, I can't really recommend much as I have mastered it from the sharp end as it were, using the online help and examples for day to day, and internet trawls to tackle particular problems. Maybe others can chip in with a few ideas.
I haven't heard of QT running on Windows Mobile, but I could be wrong.
Click to expand...
Click to collapse
Yeah, QT is more for Symbian. But since I want C++ for both Windows and eventually Unix, I thought QT was a good choice. At that point I did not even consider creating an app for WinMo.
There is also MONO, which is an open source project to run .NET under Linux.
Click to expand...
Click to collapse
Yeah, I've heard of it. Maybe I'll give it a try when I feel comfortable enough with the basics.
Thanks again for your reply, I'll tackle this when I feel more comfortable with C++! Very much appreciated!

[Q] Develop Apps for Windows Mobile

I want to develop simple apps for Windows Mobile. I read that I can use:
---Compact Framemork. (I downloaded Sharp Develop, it is free. It also exist a program from Resco that speedup the development with C.F.)
--- C or C++ or C# (I don't know if WinMo understand these...)
---Visual Basic (is difficult and Visual Studio isn't free, but I found another program that allows to develop more simple)
---Mortscript (I think is the most simple)
---Which is the best and the most simple language?
---Where can I read or download tutorials?
---I can not develop simple apps with images and sounds yet.
Please Help!
I want to develop
-a lock screen
-an app that turn on and turn off the leds of my device
-an app that change registry values (without softreset the device)
-an app that can copy, cut and delete files
-a Soft Imput Panel (a virtual keyboard)
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Cyclonezephyrxz7 said:
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Click to expand...
Click to collapse
Thanks CycloneZephyrxz7.
I want to develop for Windows Mobile 6.X for devices with WVGA resolution.
But with Mortscript I can do less things? Because I can only write scripts.
Do you know how is written a simple app like "ClearTemp"?
I wait other replies from Devolpers and people that used these languages...

Categories

Resources