Need a Java VM with JSR-82 support !! - JAM, MDA Compact, S100 Software Upgrading

Hello, I need a Java Virtual Machine for my Pocket PC (Magician) that supports the JSR-82 Bluetooth API. Because a java application called Blooover (a great Bluetooth Sniffer) need that API.
The Midlet Manger that comes with the Magician supports MIDP2.0 but NOT the JSR-82 BT API ;(
I found something connected to it, but don't know how to setup for my pocket pc.
please have a look at this:
http://www.avelink.com/Bluetooth/Products/JSR-82/index.htm
I hope some one know, how to use Java Applications that need this Bluetooth API.
Thanks

Nobody knows nothing????

Impossible. See http://www.aximsite.com/boards/bluetooth-talk/209772-pocketpc-bluetooth-enabled-midlets.html

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)

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.

Software bluetooth HID keyboard

I am looking for a way to use my PDA as an input device for my desktop PC.
Preferably I would want a software I can run on my PDA, that would simulate a bluetooth HID keyboard to the desktop PC. Is there such a software?
Failing that is there a server/client based application that transmits keystrokes over a network connection (bluetooth PAN)?
I am currently using VNC to use my PDA as an input device, but I want a clean solution that only transmits keystrokes to the desktop PC and not display back to the PDA.
Thanks for your advice.
Does nobody else need this functionality?
An interesting idea!
There's a driver doing exactly the opposite here
I'd like to see this implemented
Salling Clicker
Not excacly a bluetooth HID keyboard profile, but Salling Clicker can do this. The downside to using Salling Clicker is that you need their software on the PC, but it gets the job done, none the less
http://www.salling.com/
I am also looking for this functionality. Did you try the "salling clicker" software, is it what it should do?
I wrongly assumed "use PDA as HID input" would be standard feature in Windows Mobile; it would be perfect to be able to use your PDA as both "touchpad" and/or keyboard through bluetooth for e.g. your HTPC... I sure hope somebody will be able to create a small software addition for Windows Mobiel (especially for Touch Diamond in my case).
I asked the same question a while back.
http://forum.xda-developers.com/showthread.php?t=483392
I am using GRemote at this very moment. Thanks for pointing me to your thread, this seems to be almost the app I am looking for !

running application in C on mobile phone with Android

Hello !
SUMMARY: How to run pocketsphinx_continuous on mobile phone with Android, and how to do it with simulator of mobile phone with Android. PocketSphinx can be downloaded for free here, for both Linux and Windows: http://cmusphinx.sourceforge.net/html/download.php .
Click to expand...
Click to collapse
------------------------------------------------------------------------------------------------------------
SHORT EXPLANATION
I'd like to create application for mobile phone and server such that:
1. User runs application on mobile phone with Android, this application uses PocketSphinx. It is Automatic Speech Recognition software for devices like mobile phones, written in C. Somebody told me that "Pocketsphinx is used successfully on Symbian with minimal effort". (However I think Android may be better choice). My knowledge about Android is limited but I know something about CMU Sphinx. Can you help me, please, to run this PocketSphinx on Android? I also need to find simulator of mobile phone with Android. I have already found Wireless Toolkit and I tried to use this emulator, however I think it doesn't allow to run simulation of mobile phones with Android. (By the way I am limited in my project to mobile phone of the price up to about 160 euro; which Android version would be best for my application?).
2. This application communicates with the user. The users speaks digits and some other words (dictionary is about fifteen words, I can create language and acoustic models, as well as formal grammar in CMU Sphinx, with the use of SphinxTrain). The application recognizes those digits.
3. Based on this talk, mobile phone sends information about results of recognition to the server. I can do it in Java for CLDC/MIDP with httpconnection, POST method on the mobile phone side and with Tomcat on server. I think this httpconnection must be possible not only in Java ME, but also in Android C. But this is thing which will bother me later, now I'd like to run pocketsphinx_continuous on Android and try to modify it according to my needs.
Summing up, what I'd like to know is how to run demo pocketsphinx_continuous on mobile phone with Android, and how to do it with simulator of mobile phone with Android. (I've got Wireless Toolkit but I think it is not capable of running Android). PocketSphinx can be downloaded for free here, for both Linux and Windows: http://cmusphinx.sourceforge.net/html/download.php . There are two ways of installing it in Ubuntu. First is to unpack it (it is tar.gz), enter its directory and type "./configure", "make", "sudo make install". The other, different, is written in README file, i.e. run autogen.sh, "./configure", "make clean all", "make test", "make install". The result should be, among many other files, javadoc in doc directory.
------------------------------------------------------------------------------------------------------------
LONG EXPLANATION
What is required to give me some advices is written above. So if you don't want / don't have time to read the whole text, just above explanation is enough. But let me say about other possible approaches which I try to do. Those are worse than what I explained above, but I also tried them.
CMU Sphinx contains SphinxTrain to create acoustic model. It has got some different recognizers (also called decoders), those are PocketSphinx, Sphinx4 and some other. PocketSphinx is written in C and is for devices like mobile phones. Sphinx4 is Java application for PCs because it requires better hardware. There is good tutorial about using SphinxTrain with Sphinx4. It is here: http://www.speech.cs.cmu.edu/sphinx/tutorial.html . There is no similar tutorial for PocketSphinx. However with some knowledge about Android and C it is possible to run it on Android. The other approach than PocketSphinx, is using this Sphinx4. However it requires connection between mobile phone and server, sending audio data from cellular phone to server. It can be done with Skype, but there is still problem on server side with redirecting sound from Skype to Sphinx4. So you see there are two different approaches. One is to run speech recognition on mobile phone with PocketSphinx and Android. The other is speech recognition on server with Sphinx4. There are some ways to follow this second option. One is Skype on both server and mobile phone. (But there is problem with redirecting speech from Skype to Sphinx4). The other is too expensive Digium card. The third one is IVR, but I still look for good open-source IVR software. All of those three ways of second option involve Sphinx4. It was much easier to create application with Sphinx4. It is for PCs, not embedded devices, because it requires better device, extensive floating point math and some other things. But it has much better documentation than PocketSphinx. But I want to use PocketSphinx because I don't need to pay to anybody for access to mobile internet in order to send data through internet for application like Skype. The access to internet is required only for short time to send little text data with httpconnection, POST method. This is why I'd like you to help me, please, with running pocketsphinx_continuous on simulator of PocketSphinx on mobile phone with Android. (By the way, I see I've got installed S60 Developer Tools -> 3rd Edition FP1 SDK -> MIDP -> Emulator).
Summing up in a list, those are in CMU Sphinx:
I. SphinxTrain, which I can use to create files needed for speech recognition
II. decoders which use speech input and some files which I create with SphinxTrain, to follow speech recognition (input speech + files from SphinxTrain = are used by decoder)
II-1. PocketSphinx, written in C, for devices like mobile phones
II-2. Sphinx3, written in C, for PCs, actually the best developed
II-3. Sphinx4, written in Java, for PCs, with the best documentation
II-4. Some other, older versions
Those are possible approaches of solving my task:
I. Speech recognition on mobile phone with PocketSphinx. This is much better way than [II].
Problems: 1. running PocketSphinx on mobile phone with Android. 2. simulating mobile phone with Android on PC. I also thought that maybe I should consider Meamo, what do you think about it? Or use things different than CMU Sphinx, e.g. Simon, HTK, Julius. I looked at those other ASR engines and I think PocketSphinx may be best choice.
II. Speech recognition on server with Sphinx4. There are some different ways of establishing voice connection between mobile phone and server.
II-1. ordinary call from mobile phone to server; server has got Digium card. Disadvantage: Digium card is expensive.
II-2. to use Skype on both mobile phone and server. Problem: redirecting of sound from Skype to Sphinx4 and vice versa.
II-3. can you think about any other ways? I found that Asterisk may be useful.
Greetings !
Summing up, what I'd like to know is how to run demo pocketsphinx_continuous on mobile phone with Android
Click to expand...
Click to collapse
First step would be to setup a toolchain and compile the prog for android
or statically linked with uClibc.
Then push it onto your device and test if it works as expected.
You can also push it onto the android emulator that comes with the sdk.
Just my 2 cents...
Thank you very much!
Can you give me any links to tutorials which can be useful for me?
By the way I know how to create my own application in Sphinx4 and I know how to run demo in PocketSphinx, but I've got some difficulties with creating my own application for PocketSphinx. So if you can have a look at PocketSphinx http://cmusphinx.sourceforge.net/html/download.php and tell me which files I need to have to create new project for PocketSphinx, I would be greatful. I mean that for Sphinx4 the only what I need to do is to enter S:\tutorial\sphinx4-1.0beta3-src\src\apps\edu\cmu\sphinx\demo\helloworld and create my own ...\demo\my_application, and inside it analogically to what is here ...\demo\helloworld. In the case of PocketSphinx, to run the application, I need to enter S:\tutorial\pocketsphinx\doc and run pocketsphinx_continuous. So I check what I've got in this file and I cannot see what files and where I need to have in order to create new project. I uploaded directory doc with pocketsphinx_continuous here: http://www.speedyshare.com/files/19429494/doc.7z
Greetings and thanks once more !
Rough outline: You'll need the Android SDK and NDK, both of which are available from http://developer.android.com/. The NDK will allow you to compile C code. You'll need to wrap the C core in a Java layer to make it accessible to the rest of the Android system. The SDK also includes an emulator, which I believe you've asked for if I understand you right.
I haven't actually attempted this, so that's about all the help I can be, but there is sample code included with the NDK that should get you started.
Thanks for your answer !
I check the google and see that NDK is term of Android, because I knew only SDK abbreviation. I assume NDK is especially for porting (like porting PocketSphinx for Android). So am I right that with this NDK I don't need to change code of PocketSphinx? I think it would be too easy .
There also other question which I've got. It is not strictly connected with Symbian but there wouldn't be any need for porting if I won't solve this problem. I've got my application in Sphinx4. There are also examplary appications for Sphinx4 and PocketSphinx. I can run demos from PocketSphinx (as explained in first post), as well as demos from Sphinx4. I can change source code of demos from Sphinx4 to perform my task. I'd like to do similar thing with PocketSphinx, but even if it should be easy task, I cannot do it. In Sphinx4 it is much simpler because all source files are in one directory. In PocketSphinx it is done in somehow different way. (http://cmusphinx.sourceforge.net/html/download.php). Without ability to move my application from Sphinx4 there is no need for me to port this PocketSphinx to Symbian.
Greetings !
johnyjj2 said:
I assume NDK is especially for porting (like porting PocketSphinx for Android). So am I right that with this NDK I don't need to change code of PocketSphinx? I think it would be too easy .
Click to expand...
Click to collapse
NDK is used to write software for Android devices that are compiled natively to the platform -- for now, this usually means ARM. Java as you probably realize is a bytecode intermediate language that the java virtual machine converts to native calls at runtime. This means that Java is generally platform independent whereas your C code is not.
JNI as used with the NDK is the Java Native Interface (or something to that effect). It allows you to call code that has been compiled for a specific processor from Java. This means that you could put heavily optimized super fast calculations in a native library and call them from your Java app.
It could also mean, that you've more or less written your entire application in some native code, and then you have written a java shim that has enough code to initiate and start your native software. Beware, there be dragons here.
The fact that you CAN do this, doesn't mean you SHOULD. There are a lot of benefits to using the android platform and specifically using the android way of writing applications. Concepts like views, activities, intents, etc., greatly simplify how an Android device interacts with other Android devices and provides a consistent and powerful framework.
For something like SCUMMVM, it is a game (platform) that is very linear in design; you are either actively playing it, or it is on pause. How other applications are running while using SCUMMVM is inconsequential. It sounds like you have very different requirements.
Thanks for answer!
Isn't that link (http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx?view=rev&revision=9470) simply trying to copy engine library to Symbian, without effect? Only enginge won't help, there is also need to write from zero code which will use this library. So it looks like there is still long way to have it working. Do I understand it properly?
Greetings!

OpenNetCF change device ip

Hello,
I'm french so I'm sorry for my english but I try to explain my question
I work on Psion Teklo 7535 (and 7535 G2) with windows ce 5.0... I not have license for visual studio so I develop with .net framwork on desktop and I use ActiveSync and cradle to set my configuration.
For dialog with my device, I use the OpenNetCf library.
My question : How change the device ip ? With OpenNetCf or other method like registry (but not Mobil develop)
You understand ?
Thanks
think you have to do that unmanaged
more info here
http://www.google.com/search?source...change+ip+address&aq=f&aqi=&aql=&oq=&gs_rfai=
Thanks Rudegar but I want change ip address of my DEVICE with the pc application (run on windows xp).
I look eVC++ but it is hard for my small "need" <= ?
don't believe you can do that without having a program running on the pocketpc
which do the changing
and then a program on the pc which connect over a socket to the pocketpc program and tell it which ip it should use
if you could just make a pc program which could change ip's on other devices those other devices would be pretty unsecure and hackable
don't believe you can do that without having a program running on the pocketpc
which do the changing
and then a program on the pc which connect over a socket to the pocketpc program and tell it which ip it should use
Click to expand...
Click to collapse
ok Rudegar, but I can't use the socket because I can't make pocketpc program... So the registry is the only solution...
Thanks

Categories

Resources