Java Archives - 8125, K-JAM, P4300, MDA Vario General

I know the HTC Wizard is Java powered but every time I try to install a JAR archive I get an 'invalid archive' message, does anyone know why this is. I've tried a few different ones, is it just a coincidence and others may work or do I have to convert it or something?

wellmoon said:
I know the HTC Wizard is Java powered but every time I try to install a JAR archive I get an 'invalid archive' message, does anyone know why this is. I've tried a few different ones, is it just a coincidence and others may work or do I have to convert it or something?
Click to expand...
Click to collapse
The reason for this is the JAR's using custom, Nokia / Sony-Ericsson / etc.-specific libraries. It's not possible to make them work under Pocket PC Midlet JVM's, unfortunately.
(Please follow my articles; I've elaborated on this issue in them several times. Also, I've published a lot of compatibility reports and Pocket PC-compliant midlet reviews)

Ok, thanks for your advice again Menneisyys

so is there any way to emulate thses device so we could still use the incompatable jar files

I also have same problems however some of my JAR files will load up in MIDlet but when executed the screen flashes and returns to the MIDlet window, is this connected with the above problem?
Thanks

Related

.NET CF Problems

Hi,
Ive got 5 CAB files which all go together to run a little program i have written, however, when installing them on my XDA IIS every one of them displays the message 'The program you installed may not display properly because it was designed for a previous version of windows Mobile software'. I think these errors may become a problem when i place it in the Extended Rom folder.
the files are as follows
- OpenNETCF.PPC3.ARM
- MyProgram_PPC.ARM.CAB
- sql.ppc3.arm.CAB
- sqlce.dev.ppc3.arm.CAB
- sqlce.ppc3.arm.CAB
Any suggestions would be great!
Thanks,
James
Hi LinQ
The problem is that the OpenNETCF and SQL CAB files were built for WM2003 and _NOT_ WM2003SE. This means that WM2003SE cannot verify that they will work correctly with features such as the screen rotation facility.
To stop your app from coming up with the same message, you need to download the WM2003SE SDK from MS (haven't got a link sorry... but google for it and you should find it) and then target your application at the new WM2003SE device option that you get.
Hope that helps

VB.net app won't run on my SX66

Hope someone can help me with this. I am developing an application using VB.net and I have two problems.
1. When I copy the .exe file to my SX66 and try to run it nothing happens. I can see a wait cursor appear briefly and it seems to be starting but nothing happens after that (no error messages even). I have seen the same problem with other VB.net apps I have tried to use that others created.
I have the latest .Net Compact framework installed. The app works fine on a Toshiba Pocket PC I have with the older verison of Pocket PC 2003.
2. When I try to run the app directly from VB.net VB.net doesn't recognize that there is a device connected and won't copy the .exe from my desktop to my SX66. This works fine with the Toshiba Pocket PC too.
is your sx66 connected to activeSync ?
Does it run on your Emulator?
Yes on activesync
I haven't tried the emulator. As I said it works fine on a Toshiba PPC so I am figuring it will work in the emulator. I am pretty sure it is something on the SX66 because I have seen the same problem with other .NET apps that I have tried to use that were created by someone else.
is the debug manager service running?

Sync with OpenSuse/Ubuntu

hi all guru here,
Do you know how to get the HTC Dual Touch connect with linux and sync?
other than wine, im not sure
apparently, activesync 4.1 works under ubuntu and wine.
http://appdb.winehq.org/objectManager.php?sClass=version&iId=3774
i've downloaded the ActiveSync 4.3.. i think.. but it's in .CAB format... wine can't recognize it and install.. :'(
I tried with ActiveSync 4.5 which is a .msi file (MS installer),wine supports it with "wine msiexec /i filename.msi". It installed well but when I try to use it wine reports "Unsupported socket family".
I didn't waste too much time on it...if someone had better luck please share
ZhenMing said:
i've downloaded the ActiveSync 4.3.. i think.. but it's in .CAB format... wine can't recognize it and install.. :'(
Click to expand...
Click to collapse
tripledes said:
I tried with ActiveSync 4.5 which is a .msi file (MS installer),wine supports it with "wine msiexec /i filename.msi". It installed well but when I try to use it wine reports "Unsupported socket family".
I didn't waste too much time on it...if someone had better luck please share
Click to expand...
Click to collapse
I've installed the v4.5 to the system through the command you recoommand... but when launch the active sync, it says no USB port found when want to sync...
How to make the USB port through WINE?
Maybe you should check this out: http://www.guidodiepen.nl/2008/03/24/major-update-of-synce-kpm-now-even-better-than-before/
Succes, and please tell us if it works and how you got it to work (if you did ofcourse)
fritsypeij said:
Maybe you should check this out: http://www.guidodiepen.nl/2008/03/24/major-update-of-synce-kpm-now-even-better-than-before/
Succes, and please tell us if it works and how you got it to work (if you did ofcourse)
Click to expand...
Click to collapse
Hi, the above links to a project I have been working on (SynCE-KPM). I just want to clarify a bit about it:
* SynCE-KPM is builds upon some components of the SynCE project, you will need that to be installed before you can actually use SynCE-KPM (see www.synce.org for instructions. )
* SynCE-KPM does NOT do the actual syncing. Syncing of the PIM data on the phone can be done to any PIM application supported by the OpenSync project (Currently basically Evolution and Kontact, though there is a google plugin also IIRC).
If you want to install the SynCE on your computer, make sure that you follow the guides that are provided on www.synce.org because a lot of the guides found on the net are either a bit outdated and contain errors or are oriented to the WM2003 devices, which require a completely different way of connecting.
Guido Diepen
I'm currently sinking using this method
Any suggestions on a good program to manage
PIM
contacts
calendar
email?
I'd say stick to Evolution for PIM data, and use the opensync frame work to sync. All info and a good how to can be found at synce.org. Just follow the setup for ubuntu.
I've been syncing flawlessly for the past year.

Getting started with ROMs

I want to modify the messaging program but I've not done any WM coding before. I've looked at a number of posts on the forum and taken a look at the wiki but I'm still totally confused about where to start.
My current view is that I need to:
Extract the messaging program from the ROM I'm using
Is this possible? If so, what tools do I need? I found a few utilities that look promising on the wiki but there is no documentation for them so I've got no idea how to use them.
Disassemble the program
Can I do this with Visual Studio? Ideally I would like to step through the execution to find the bits I need to change, can I do that with the extracted program in the WM emulator? Or can I do it directly on my PDA?
Patch the program
I can probably figure this bit out by myself.
Get the patched program onto my PDA
As the program is in ROM, I'm assuming I'll have to re-make the ROM. Or can ROM files be updated/overwritten without rebuilding the ROM?
Each of those steps is assuming the previous one is the correct approach and is actually possible. I'm not looking for hand holding at every step, just some good pointers to relevant information and tools. Thanks.
0. - which programm you want to hack ?
1. What type of PDA you use ?
for example - for hx4700 -
prepare_imgfs.exe dump.dat
viewimgfs.exe imgfs_raw_data.bin
2. IDA - diassemble, or Visual Studio for debugging - if you know how
3. What type of PDA you use ?
for example - for hx4700 - like vivi kitchen.
4. ...
Thanks for your reply.
0. - which programm you want to hack ?
Click to expand...
Click to collapse
The messaging program, is it called Outlook Mobile? Do you know if it is native or managed code? If not, what's the easiest way to tell?
1. What type of PDA you use ?
for example - for hx4700
Click to expand...
Click to collapse
I've got a Kaiser. Currently running "udK 8.0 R0 Vega" ROM (WM6.1). Forgot to mention that in my previous post.
IDA - diassemble, or Visual Studio for debugging - if you know how
Click to expand...
Click to collapse
Does IDA support remote debugging on Windows Mobile? Also, are there any restrictions on what you can debug in VS, ie. do they stop you from debugging things you don't have the source for or are Microsoft applications (eg. Outlook) restricted from debugging in some way?
I'm finding it really hard to get decent information on these kinds of things. If I actually manage to get anywhere with this then I'll write up some kind of guide for the wiki.
Ok, I've used this tool to extract the ROM and get a file called 00_OS.nb. I then got these tools and managed to dump the NB file so that I now have all of the files inside the ROM.
I've been playing about with IDA but when I try and run poutlook.exe in the debugger, it runs but exits straight away (ie. it doesn't create a window on the PDA). I tried copying poutlook.exe onto my device but it doesn't run, I think I need to get it running from the exe before I do anymore IDA stuff. I remember reading somewhere that executables in the ROM image have been manipulated in some way (addresses rewritten or relocated or something), is that what is affecting it? Or do I need to run some additional tool on the extracted exe before it will run standalone?
How do I get an executable extracted from the ROM to run on my device? Or do I have to roll it all up into a ROM for it to work?

Install Issues on Vista x64

Hi People first time post i am trying to install the pc suite for my new hero and i am getting this
Trying to find this file and i have unzipped and everything it is being launched of my desktop when i cancil that out since i have no idea what it is trying to find
C:\Users\SIMONG~1\AppData\Local\Temp\IXP001.TMP\
it brings this up
Error 1706. An installation package for the product Microsoft Visual C ++ Redistributable cannot be found. Try again using a valid copy of the insatllation package 'VCREDIST.msi'
can some one help this is starting to do my head in
i have vista home premium x64bit machine.
Cheers Simon
Deathowl said:
Hi People first time post i am trying to install the pc suite for my new hero and i am getting this
Trying to find this file and i have unzipped and everything it is being launched of my desktop when i cancil that out since i have no idea what it is trying to find
C:\Users\SIMONG~1\AppData\Local\Temp\IXP001.TMP\
it brings this up
Error 1706. An installation package for the product Microsoft Visual C ++ Redistributable cannot be found. Try again using a valid copy of the insatllation package 'VCREDIST.msi'
can some one help this is starting to do my head in
i have vista home premium x64bit machine.
Cheers Simon
Click to expand...
Click to collapse
What pc-suite are you trying to install? I only think the HTC-sync is to be installed for the Hero. That is to be found on youre sd-card or downloadable @HTC.
Please tell us more about the 'pc-suite' you are trying to install. Never heard of it. HTC-sync is just a normal .exe that is to be installed as you normally install .exe-files.
Ahhhhhhhhhhhhhh still dont work
i am installing it from the download from the htc site i have tried running ms clean up utility no joy i have also tried it on a blank profile still no joy i need help on this this is doin my head in
http://www.google.co.uk/search?hl=e...oft+c+++redistributable+x64&btnG=Search&meta=
Simples.
(If you later have issues getting the PC to 'see' the Hero, have a look at this)
Duplicate - please ignore / delete depending on level of power!
Nope
Already tried that, it dont work.
what is the name of the file you're trying to run?
HTC Sync_2.0.4.exe i downloaded it off the HTC website
Any Ideas before i format the machine
Deathowl said:
Already tried that, it dont work.
Click to expand...
Click to collapse
Sorry. Not so simples then
HTC Sync 2.0.33 which was released yesterday does not solve the problem. Installing vcredist package does not work for me (probably due to presence of newer version). But I found walkaround.
Download Microsoft Visual C++ 2005 Redistributable Package (x86) from Microsoft site (www_microsoft_com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en). Note it's x86 version released on 4/10/2006 with no service pack.
Unzip vcredist_x86.exe. There's only one file VCREDI~1.EXE
Unzip VCREDI~1.EXE to %TEMP%/IXP001.TMP/ directory (create one).
Launch HTC Sync install
Im not sure if it's neccessary but i also copied registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A49F249F-0C91-497F-86DF-B2585E8E76B7}
to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Categories

Resources