Java Midlets on PC (before they go to ppc) - General Topics

Is there a user friendly way of running Java MIDlets on a pc just to see if its worth putting on a phone ? Loading/installing/uninstalling is a but tedious if its done only on phone...
I've got these stupid complex tutorials about editing manifests, messing with classes etc, i dont want any of that. Is there an easier way to see what the game looks like by just doubleclicking a JAR file ?

i tink there is
try This http://kwyshell.myweb.hinet.net/ i use that it doez open opera mini gmail appz like dat

Thanks.
Problem though. It only works in lo-res 176x220. No 240x320 support which i need. I have HTC VOX and need to see stuff supporting fullscreen at 240x320.

Have you tried netbeans?

This is getting ridiculous. Full Netbeans 6 - ~200mb, JDK (requided to install netbeans) - ~70mb, java itself - ~50mb... and its all to just runa napplet of 300 kilobytes in size... jeez... very user friendly...

Related

PPC Emulator for Testing downloaded programs

Hi Guys,
I have searched high and low for the answer to this one, so I thought I'd give up and ask you guys.
What I need is an Emulator for PPC that I can use on my computer to test downloaded programs before I instal them to my XDA.
The problems are:
Active sync appears to only work with visual .net development suit, which I dont have the money to buy.
Embeded visual C does run a nice emulator, but it wont connect to the active sync and thuse I cant install programmes. There did seem to be a solution in useing the folder option in the above programe to access a Virtual SD card on the computer (shared folder on my drive) but how do I access the programmes?
I would prefer to try these programmes out in a sand pit if I could.
But there doesnt seem to be away.
Please dont flame me if I have missed an earlier thread or some google search... I am new.. I am not worthy... I have no flame retardent underware...
Edy
I don't have an answer for you, (I also would like to do this also!), but I don't believe you will be able to get the eMbedded Emulator to run 'real' apps because these apps are compiled for a CPU target, (usually ARM) and the emulator only runs 8086 compiles.
The emulator is more to test your own source code and it compiles for 8086, and when you are ready, you compile your source for ARM, MIPS, to distribute.
If anyone knows of a Windows based emulator that runs ARM compiled programs, I would LOVE to know about it.
I seem to remember there was a Palm version where you could simply drag and drop programmes into it and test them. Would be nice if that were so for the PPC.
Still noone said life had to be perfect ;-)
Edy
Ya, I came from the Palm world, and they did have an emulator that would allow you to run Palm apps. It wasn’t the great emulation, but it usually was good enough to give you an idea if you even wanted to bother installing it on your ‘real’ device.
Well, maybe there is one for PPC and we just don’t know about it… Anyone???
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has done this.
So the long and the short of this is I need visual .net to be able to run the MS emu... Any here doing that? If so can you tell me if it is possible to install other programs for testing, or will the emu only work with applications you are writing yourself?
There is no such an emulator and making it is extremely difficult. You'll have to completely emulate whole CPU, some hardware and write your own OS just for this "virtual" PocketPC. Noone has
Click to expand...
Click to collapse
no it's that that difficult at all sure it takes some time to do
if you look around for emulators many many platforms come as emulated on pc systems like ps2 all the way back to mame
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Rudegar said:
i have a few friends who just made a whole emulation of the arm cpu on the pc not a pocketpc or windows ce emulator but just pure arm
Click to expand...
Click to collapse
Please, can you provide us with a link? I was very interested in such an emulation to test Xanadux stuff without being afraid to render the Himalaya into a brick
Matthias
they are making it because they are embedded software developers
and they are making a project where they are programming to the arm cpu i dont know if they would part with the code but mind you it's no
pocketpc emulator and i doubt it would even support a graphic display apart from text since they dont need it for the project
i'm sure there must be some emulators out there
i mean the stuff in embedded visual c++ and visual studio 2003 and 2005
even if it's not a true emulator then it comes kinda close
embedded visual c++ does have an emulator, but you cant sync it with active sync and therefore you can only test programs that you are developing yourself. There was a posted solution for this involving a null modem cable and two com ports. But my computer only has one com port :-(
Looks like you need to buy Visual Studio .net to get a fully working emulator that can sync with active x and thus test programs....
Hi there,
Somebody correct me if I'm wrong about this, but I don't think even getting the .NET framework working with Microsofts PPC 2003 emulator will work as a true emulator for the actual device.
I have the emulators for PPC and SmartPhones installed since we are developing applications for mobile (but mostly Java based) phones. So far with our initial test developments, you can only run your own developed applications or applications that are currently being developed and compiled for the emulators. Final compiled applications (for ARM/MIPS) are different from the compiled versions for the emulators and won't work with it. Being like this, the compiled version for the ARM processors will not work with the PPC emulator.
Well, that is just my comment...
Cheers,
Hey, I haven't tried it yet, but this sure sounds like what we have wanted...
http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/default.aspx
Hey, I just tired it, (installing an ARM app) and it works. Cool!
How do I download that program. or can somebody upload please.
How do I download that program. or can somebody upload please
Click to expand...
Click to collapse
* Visit http://beta.microsoft.com,
* Login using your Passport account, or create one if you don't have one.
* Use Guest ID MSDEVICE to access the Community Preview website
You'll have to create a passport but that shouldn't be a real problem? I tried to upload it to the FTP using upload:upload but it won't let me send the file?
I have to say that this tool / App is one of the best you can find on the Web. I can now emulate the Pocket PC on my PC to trial games / apps first without messing up my XDA2i.
Thanks for the link guys well done!!
Lee
Upload it plz!
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Re: Upload it plz!
studdocs said:
can u upload it somewhere? i am unable to download from the MS site!!!
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.................
Click to expand...
Click to collapse
I assume you installed the Microsoft ActiveX component called "Microsoft File Transfer Manager" right?
It's the requestor that appears just before the download begins... Then press "transfer" to begin the transfer ..
I hope it works for you...
Rayan
It would be helpful if somebody could upload this program, I am having no success after many attempts to download.
Here you go: ftp://ftp.xda-developers.com/DeviceEmulator050419.msi
(better use a 'normal' FTP client to download)

Stupid: DC++ Windows Mobile

Hello all,
I would have a question here: is there any DC++ Hub Viewer for Windows Mobile?
I googled all the search terms I could think of and here's the result:
http://sourceforge.net/projects/mobiledc (good if you got Symbian UIQ )
Maybe some would find a thing like this useful...
Anyway, ***have a nice day***.
--- PS ---
Saw that poll?
Yeah, Symbian gets tons of good software. You know, I'd love to try to run Symbian on my Dash.
Read-Me-First (?)
For those who don't know what's DC++ (2 votes, this is getting bad... ) :
--- ENCYCLOPEDIA: DC++ HUBS ---
DC++ Hubs are... well, some tech thingies. (This was the description)
The hubs are used to host users. (Well, what else could they do and make them popular?)
The users connected to hubs can:
- chat in a main chat and in personal messages (PMs)
- share files from their computer (mostly pirated )
- respect some rules
You can connect to the hubs with a DC++ Client or Viewer, like StrongDC++ or oDC (those are the most known).
Almost all the hubs require a minimum share (ex. 5GB). That means you need to have at least that share to connect to a hub.
--- ENCYCLOPEDIA: DC++ HUBS (END) ---
You want more info? Go to Wikipedia: http://en.wikipedia.org/wiki/Direct_Connect_(file_sharing)
Hope that helps, newbies to DC++! (I don't want any more votes at "What's DC++?" !!!)
*** Have a nice day! ***
I've never used DC on PC or other devices. However, WMTorrent is an absolutely great app if downloading is your thing.
If there's code on sourceforge for UIQ, and DC is an open protocol, you could try to knock together a client yourself. Not a quick solution, but c'est la vie
V
Thanks for the encouragement, V.
Knocking it toghether may be a solution, but if I am not mistaken, it takes the WM SDK and VB Studio (commercial )... or d'you know a free WM-development application?
And where on earth is the source code at SourceForge?!
*** Have a nice day! ***
eMbedded Visual c++ 4 is absolutely free together with WM 2003 SDK (I am too lazy for links so please search MS downloads)
Apps written with it will work on WM 5 and 6 and if you know how to play with linkage you can even get access to new APIs not supported in WM 2003 SDK.
They give you full functionality and in my opinion is still the best way of coding for WM.
levenum said:
Apps written with it will work on WM 5 and 6 and if you know how to play with linkage you can even get access to new APIs not supported in WM 2003 SDK.
Click to expand...
Click to collapse
Do you have a rough guide on how to do this? I did a search and it seems that people are much happy to pay for a £100+ new Visual Studio and do not borther to find ways to get a free dev env for windows mobile. I think (think) the software I'm writting now runs on WM5, but I think there are quite some API missing in WM2003-SDK. Do you think it will work if I were to throw everything *.h stuff from WM5-SDK to overwrite WM203-SDK?
Ref:
No free dev env for WM5-SDK, for eVc+ or the VS Express - http://www.pocketsoap.com/weblog/2006/07/1656.html
Q: Do you think the hobbyist and $10-per-program shareware market is important for Windows Mobile? If so, can you explain why Visual Studio 2005 Standard ($249) is required for targeting WM5? eVC++ 4 was free. The WM5 SDK cannot be installed on VS Express.
A: Jack2, there are various evaluation versions of Visual Studio 2005 available that you can try out before making a purchase decision, there is one for Visual Studio 2005 Professional edition (90 days) and one for Visual Studio 2005 Team Suite (180 days),
Click to expand...
Click to collapse
http://msdn.microsoft.com/chats/transcripts/mobileembedded/06_0125_msdn_ce.aspx
There are basically two ways to use missing APIs (personally I never found one I really needed except maybe "ExitWindowsEx" once).
1) Manually unpack the MSI file for the SDK you want. (Sorry, I do not remember the link for the extractor).
Then in Project->Settings->Link you can just redirect the default libraries to the folders of that SDK. What you need are the headers for the prototypes (h files) and the actual lib files.
2) If its just one or two functions you can use LoadLibrary and GetProcAddress to dynamically connect with the DLL. If I am not mistaking this is call "implicit" linking.
Note that if you use method 1 your app will not run on WM 2003. If you use method 2 it will run on 2003 but get NULL as function pointer and fail to execute the missing API so this way you can make widely compatible apps.
P.S.:
In my personal opinion, M$ gave away an IDE at first to gain a wide application base for its new platform. Now that Windows Mobile is an established and even leading mobile OS they are back to their usual policy of selling expensive, bloated and overcomplicated software.
They simply no longer need freeware developers for WM.
levenum said:
eMbedded Visual c++ 4 is absolutely free together with WM 2003 SDK (I am too lazy for links so please search MS downloads)
Apps written with it will work on WM 5 and 6 and if you know how to play with linkage you can even get access to new APIs not supported in WM 2003 SDK.
They give you full functionality and in my opinion is still the best way of coding for WM.
Click to expand...
Click to collapse
Yeah, eVC++ would be good (if you know how to fight with it), but the installer asked me for a serial. Why am I always cursed?
PocketDC++ for Pocket PC *Awesome*
I found this cool DC++ Client for Pocket PC called "PocketDC++". It seems like it doesn't have Download support yet. It wil be awesome if Download option is added.
PocketDC++ homepage : http://mistysoft.jino-net.ru/
External download Link : http://xpojnt.iglu.cz/download/tklienti/pocketdc0.1.8.9.rar
I have a copy of DC++ Source code and a copy of VS .NET and VB as well as Dephi I even altered a version of DC++ a while ago....but yeah I think it would be great for on the go downloaders for file checking and user checking/count....excellent idea

Programming

I previously posted on the wrong section, sorry, so I'm transferring it here.
Anyway, I want to know what programs I can use to make programs for HTC Raphael. Can I use Microsoft Visual Studio? Borland? I currently know how to use c and c++, do I need to use c# instead? And are the commands the same with the one on for the PC and for the PPC? So yeah any programs for programming on the desktop or on the PPC?
Thanks in advance!
yeah visual studio will do it
it support
1
.net compact framework for c# which is a subset of normal .net with some of the more fancy controls missing is normal .net programs from pc dont use anything missing in the compact framework they can run directly on the pocketpc unless the rest is not programmed to adjust (c#)
2
it support microMFC which is a pocketpc version of the old microsoft foundation classes
which was ms's object lib before .net (c/c++)
3
it support pure win32 api which again is a subset of the normal windows win32 api (c/c++)
performance wise 1 is lowest 3 is fastes
support in turms of having control without programming too many unmanaged hooks 3 is best 1 is worst
speed to get a project up and displaying something and having some functionality 1 is fastest 3 is worst
dont know about borland anymore guess they support compact framework
So if I make a program in c or c++, I can actually run it already on my PPC? If so, why does the .exe files on my PPC disallows me to run them on my desktop? Do I need to like convert the .exe file I made on my desktop to make it run on the PPC? If yes, is there any program out there to convert it to make it available for my PPC?
you have to run it using an emulator on your pc such as the one that comes with vs
userman777 said:
So if I make a program in c or c++, I can actually run it already on my PPC? If so, why does the .exe files on my PPC disallows me to run them on my desktop? Do I need to like convert the .exe file I made on my desktop to make it run on the PPC? If yes, is there any program out there to convert it to make it available for my PPC?
Click to expand...
Click to collapse
if you have Visual Studio 2005 Pro, you can create a new "SmartDevice" project. This will take care of setting up almost everything you need. You can also later create a SmartDevice Cab project to create an cab for your program.
It is quite straightforward...try a simple hello world program to get used to it.

Creating a WM Application - Where to start ?

I hope this is the right place to put this, if not, mods, feel free to remove and/or delete it. I've dabbled a bit with C before, but that's about the extent of my programming experience. I'd like to create a program that will parse the information from a website and display it... I don't imagine something like that would be hard to do, but I have no idea what tools I would even need to start writing a PPC application.
Kitco (a website that gives live quotes of precious metals) recently came out with an application for the iphone that neatly formats all this information:
http://www.kitco.com/images/banners/KitcoiPhone/iphone.html
I'd like to basically create a PPC version of this application.
Is this something that an individual with next to no experience could hope to achieve ? I'd have to create a GUI, initialize the internet, connect and retrieve a webpage and remove the relevent information before displaying it.
Any help would be greatly appreciated. I've always wanted to become more familiar with these sorts of things and figured this project would be a great way of learning it.
Thanks!
ThreadMoved
Next to no experience? I dont think so. You have to have a little under your belt first and the only way to achieve that is to start readin right here!
I'm also interested in the expert answers to this question.
My very non-expert understanding is as follows:
VS 2005 (microsoft visual studio) can create executables for WM devices using a SDK (low level) or .Net CF (medium level) interface. You want to use .Net CF (compact framework) because it is supposed to make things easier. I think you have to use C++ to use the SDK but you can use C++, C#, or Visual Basic and write to .NET CF.
VS 2005 is an IDE (integrated development environment). It contains features to edit, compile, and even test your program using simulator/debugger. I think there are some non-microsoft IDE's that can also generate Windows Mobile code -- there is a market for cross-platform environments (e.g. programmers write code using a special library instead of the windows SDK or .NET function and the same source code can be compiled to run on Blackberry, iPhone, S60, Windows Mobile, etc...)
Instead of writing to the phone hardware (or .NET abstraction) directly, you can write your application using Java. You would use some Java compatible IDE (like Eclipse, Jbuilder, or NetBeans) to create Java applets that you download to your phone. You'd have to install a Java VM (virtual machine) on your phone to run these applets. I think the downloadable games for phones are Java applets.
Disclaimer: I haven't worn my "programming cap" since 2001 and hopefully things have gotten simpler. In my previous life I designed operating systems for mainframe computers.

FullScreen 3d Java Support

Hi Guys and Girls, I'm new here but not so new to ppc's and there apps.
So anyway I have an Apache Running WM6.5 quite well, takes up more ram than I'd hoped for but thats ok.
Now to the topic of this thread, I've seen that a lot of people have been looking for a full screen 3d java emu for there ppc's and there has not been much luck for them, I've had one for quite some time and it works great it runs almost all 3d apps that I've tried to run on it and most of the ones it doesn't don't run on java supported phones ether, it's created by Esmertec by the way.
One fault or maybe let back is a better word is that if you have a lot of Java App's installed on it it takes awhile to load there pics.
And before you ask to many questions heres a list of its do's and don'ts to my knowledge:
FullScreen Support: Yes
3D Support: Yes
Landscape Support: Yes
Multi-Java App's Running: No
Bluetooth Support: Minimal or No
TouchScreen Support on non-touch Midlets: No (Bit of a let down)
Midlets Installed on Main memory: No (Not really sure if it installs them at all, but if it does its not on the main memory)
Installing: There is no cab just copy to you storage card
One more thing, about permissions, well you can't select always alow net access so you have to say yes each time you launch an app like Opera which I've tested but I haven't tested gmail though. Fell free to ask Questions and to request apps, I have a few.
Vromoth
Vromoth said:
Now to the topic of this thread, I've seen that a lot of people have been looking for a full screen 3d java emu for there ppc's and there has not been much luck for them, I've had one for quite some time and it works great it runs almost all 3d apps that I've tried to run on it and most of the ones it doesn't don't run on java supported phones ether, it's created by Esmertec by the way.
Click to expand...
Click to collapse
Hmm, I think there's been a bit of a mix-up. I believe what those people are actually asking for is a Java program that runs programs at full screen on VGA/WVGA devices.
Most Java programs are designed to run at QVGA resolution and they don't scale, so they aren't full screen on VGA/WVGA phones. Your phone, the HTC Apache, is a QVGA resolution phone, thus all Java programs are full screen on your device.
So far as I know, Esmertec JBed doesn't scale either.

Categories

Resources