[Q] Icon for java apps in the menu - Bada Software and Hacking General

I think I'm not the only one who use java apps on the phone. But accessing these apps is not user friendly. As we can see with Palringo, it is possible to start java apps by an icon instead of scrolling throuh all java apps. Can we somehow implement this for all (or for selected) java apps not just the IM? This would greatly increase the usability.
Any ideas?
BR,
Balázs

Good Question...
T-Mobile Branding uses also thier JAVA Midlet Navi in the menu and 1,2 other things...
Maybe step 1 would be. If we can replace Palringo with other Midlet.
As it is in Hidden Games folder...
At the moment I have 0 ideas how this work... as Icons are stored somewhere else.
And NOT loaded from JAVA folder...
I tried several things, but no success.
Best Regards

Well, IMO more importantly we should be able to put app shortcuts on the homescreen :\

Maybe other direction...
Apps start from JAVA menu.
Tumbling Dice is internal App.
Asphalt5 is prepared, but not activated...
Asphalt5 is for instance prepared but not activated in KJxLinkDisplayOrder.ini:
#LINK_INFO
LinkCount=2
#Link_1
link_name=Tumbling Dice
link_order=1
#Link_2
link_name=Asphalt5
link_order=2
I've added only Icon and tried to edit OapinGameList.ini...
In Firmware with Branding, there are enough examples with JAVA Midlets in menu. But still same problem, where are the Setting files?
Maybe we find for both an solution.
Best Regards

For JAVA Midlets on Main menu.
Part 1 seems to be:
KJxDispatch.ini
#Palringo
class=com.paxmodept.palringo.main.jme.JmeMain
vendor=Palringo
name=Palringo
Class we can find in *.jad
At the moment I try to replace Palringo with something else... frome T-Mobile.
Other test failed as no icon was created...
Best Regards

hey Guys! I'am from Poland and on polish forum we are trying to add java icons in menu too... My idea was to "tell" the Dolphin browser to "run" some java application. It is simple hack to do this: You have to add bookmark in Dolphin, call it, write the address to *.jar file (in my guide : file:///Mount/Mmc/Others/Opera/opera.jar) and it's IMPORTANT: activate third option, it's adding bookmark to main menu. But this idea is very imperfect - after clicking on main menu icon, you must install this midlet all the time This is because "hack" tells the browser to run NOT the application, but INSTALL file (*.jar). That's why You have to install Opera always after clicking on it. At this time we can't solve this otherwise. I give You link bo polish "bada-world" forum. At first post, there's my quick guide. Of course, you have to login, to see it. Probably You have to use Google Translator, or if someone of You knows Polish perfectly, it would be so nice
Code:
h ttp://tnij.org/bada_guide
(please remove the space after "h", I have no permissions to use outside links )
BTW, sorry for my english, but I hope You understand me Maybe with common powers, We will add java icons to menu!
Regards,
wxtester

@wxtester
re-installing opera and other apps will erase bookmarks and such things right?

If you want to use java on the desktop or the menu, it's not possible.
On the desktop you can just add flash files (and widgets).
On the menu, you can only add applis icons.
What you can do it's add the link of games and other on the main desktop to have a quick acces.
After you can add java applications.
You need to modify KJxDisplayOrder.ini file.
#DEFAULT_INFO
Count=1
#Midlet_1
name=DoodleJump
class=Doodle
fixed=1
order=1
Click to expand...
Click to collapse

lasentenza said:
If you want to use java on the desktop or the menu, it's not possible.
On the desktop you can just add flash files (and widgets).
On the menu, you can only add applis icons.
What you can do it's add the link of games and other on the main desktop to have a quick acces.
After you can add java applications.
You need to modify KJxDisplayOrder.ini file.
Click to expand...
Click to collapse
I don't undestand...where can find the file?

Wich one

majed19 said:
@wxtester
re-installing opera and other apps will erase bookmarks and such things right?
Click to expand...
Click to collapse
no, it don't. You will still have access to your favourite sites and bookmarks, it won't be deleted. It You want to be sure, please reinstall from Your jar file, not mine!

lasentenza, on your screenshot I see that U have access to internal filesystem by Windows default filemanager (explorer.exe). Is it any plugin to see it without any program like sTune?
BTW, I don't understand Your tutorial Your idea is to add icon "Games and more" to desktop (next to widgets)? Why you talk about Java application "DoodleJump"? I don't understand Can you explain it simpler?
Thanks in advance

wxtester said:
lasentenza, on your screenshot I see that U have access to internal filesystem by Windows default filemanager (explorer.exe). Is it any plugin to see it without any program like sTune?
BTW, I don't understand Your tutorial Your idea is to add icon "Games and more" to desktop (next to widgets)? Why you talk about Java application "DoodleJump"? I don't understand Can you explain it simpler?
Thanks in advance
Click to expand...
Click to collapse
same problem...

I do not have acces to filesystem, the files you see is FFS dumped files.
Perhaps I don't understand.
I thought you wanted to add java apps on the desktop?
Doodlejump is to show that we can add java apps on game and more, in a custom firmware.

lasentenza said:
I thought you wanted to add java apps on the desktop?
Click to expand...
Click to collapse
Yes, I still want to do this. On the desktop or in the menu.
Doodlejump is to show that we can add java apps on game and more, in a custom firmware.
Click to expand...
Click to collapse
Is it similar to normal installing from java file?
So, finally there's no way to add java apps to Main Menu?

@ latenza..
I want link java app on the main desktop or on menu to have a quick acces...

I think it's not possible.
The java application are only available from game and more.
The only link you can add to the menu or the desktop are widkets, applications or flash (like calendar, dualclock, email etc)... Or maybe I don't find the way

lasentenza said:
I think it's not possible.
The java application are only available from game and more.
The only link you can add to the menu or the desktop are widkets, applications or flash (like calendar, dualclock, email etc)... Or maybe I don't find the way
Click to expand...
Click to collapse
ohh...ok...so i can't...
;(

All Firmware Brandings I found where JAVA Midlets in Mainmenu.
Icons are in f... *.RC1 file.
So no replace, delete is at the moment possible... I mean the Icons.
I have no idea, how to link to Midlet folder to use Picture here as Icon...
Best Regards

adfree said:
All Firmware Brandings I found where JAVA Midlets in Mainmenu.
Icons are in f... *.RC1 file.
So no replace, delete is at the moment possible... I mean the Icons.
I have no idea, how to link to Midlet folder to use Picture here as Icon...
Best Regards
Click to expand...
Click to collapse
good news...
THanks!!

Related

Intent Midlet Manager + GMail Font Size Fix ?

I have installed the latest Intent Midlet Manager available Here on my Universal with the latest Helmi_C WM6 Rom (v1.1).
But i get very small font sizes
Tried searching here but could not get a Fix
Anybody know how to fix this
the midlet manager seems to be for the wizard and not for universal. maybe it went wrong there....
do a hard reset and it should be normal.
is there a version (v.11) available for Universal.
Cause the default version cannot run the GMail app ?
I have soft reset it but does not work (a hard reset would remove the app)
pshetty said:
I have installed the latest Intent Midlet Manager available Here on my Universal with the latest Helmi_C WM6 Rom (v1.1).
But i get very small font sizes
Tried searching here but could not get a Fix
Anybody know how to fix this
Click to expand...
Click to collapse
You can add this key to fix.
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Tao\intent\conf\sys\ui\midp\vnd\font]
"stringfont"="andale,24"
"size"="24"
"labelfont"="andale,24,bold"
"alttextfont"="monotype.com,24"
Quote: Posted by pshetty: But i get very small font sizes Tried searching here but could not get a Fix Anybody know how to fix this :confused
There is a switch in the software. Open Midlet, open Gmail app:
Select... Menu < Goto < Settings
The "use small fonts" switch is enabled by default. Uncheck this, save, close the app and restart:
Font is still small but useable on Universal.
Excellent product if you need to access gmail wirelessly.
nncuong said:
You can add this key to fix.
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Tao\intent\conf\sys\ui\midp\vnd\font]
"stringfont"="andale,24"
"size"="24"
"labelfont"="andale,24,bold"
"alttextfont"="monotype.com,24"
Click to expand...
Click to collapse
Works Great ..... Thanks
pshetty said:
Works Great ..... Thanks
Click to expand...
Click to collapse
Thanks for the advice, however when I open the registry, the registry only up to [HKEY_LOCAL_MACHINE\SOFTWARE\Tao\intent\
then there's no further folder. Why's that?! Thanks!
tonyfung820 said:
Thanks for the advice, however when I open the registry, the registry only up to [HKEY_LOCAL_MACHINE\SOFTWARE\Tao\intent\
then there's no further folder. Why's that?! Thanks!
Click to expand...
Click to collapse
With your registry editor you have to add each of the folders mentioned in the post up to FONT, then you have to put in the four strings recommended into the FONT folder.

Esmertec Jbed security messages WM6.1 ?

I've installed the 6.1 Kavana ROM (GREAT JOB!!!), and now I'm trying to setup opera mini so that I can access directly and not have to answer the 2 security messages each time using directions from TalynONe at http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html .
I've got the icon setup and that part works, though I'd like to change the icon if possible so that it doesn't appear the same as the Java icon.
But I don't seem to have the \windows\appdb\selector.utf directory path so I can't edit the file as outlined. Is this because the Jbed is part of the ROM, rather than a seperate install? Could I find and edit this somewhere else on the phone?
Also, when/if I get all of this working is it possible to change the phone to open URL's via the mini-opera by default rather than using the sluggish PIE?
Thanks,
Tim
Now that I have mini-opera setup as the default browser, I'd really like to bypass the Jbed security warnings per my post above? Any ideas? - Tim
tmcdoniel said:
Now that I have mini-opera setup as the default browser, I'd really like to bypass the Jbed security warnings per my post above? Any ideas? - Tim
Click to expand...
Click to collapse
The files are under \Application Data\JavaDB
However, even when you replace the "selector.utf" file in that directory, it still doesn't work. I even tried to install a previous version of the Jbed setup (which did create the "AppDB" directory), but that still didn't work.
I'd like to know the answer as well.
Okay, now that DaMilky helped me locate where the selector.utf file is, I tried the modifications at the link noted above, even downloaded the fix.zip file so that it could convert the file. But it doesn't work, still get the security warnings. :-( - Tim
Trugl figured it out.
http://forum.xda-developers.com/showthread.php?t=380504

Kavana WM6.1, Esmertec JBed, and Opera Mini: A Complete Solution

Hello everybody,
I've figured a few things out regarding JBed and Opera Mini on Kavana's latest WM6.1 ROM, and I thought I'd share them with you.
Introduction
First off, a quick introduction: Opera Mini 4, a Java MIDlet web browser, is arguably the best browser available for Windows Mobile. It routes traffic through Opera servers, so it doesn't take as much data (or time) to browse the Web, and it has small-screen rendering like iPhone's. Slashdot, for example, loads in seconds under OM, as opposed to half an hour in Pocket IE. Esmertec JBed respects the system's network settings, so it works with the T-Zones $5.99 internet trick.
JBed isn't perfect, though. It has a few glaring issues: network access permissions, inability to use a MIDlet as a systemwide default browser, and ugly fonts. I haven't figured out the last one yet, but the first two are solvable, and here's how.
Network Access Permissions
Most tutorials for fixing this problem refer to the file \Windows\AppDB\Selector.utf; editing this file and replacing the text
Code:
domain=untrusted, \
with
Code:
domain=tckmax , \
fixes the problem under Cloudyfa's JBed. The version of JBed in Kavana's WM6.1 stores its data in \Application Data\JavaDB, and the selector.utf trick doesn't work. The culprit is a missing file named policy.utf, which defines tckmax. I've attached a copy of this file; just move it to your \Application Data\JavaDB directory and the selector.utf trick will work as usual.
Systemwide Default Browser
First off, you can make it easier to access Opera Mini by changing the short_IE.lnk file to open OM instead of PIE. I've attached a version of that file for your convenience; copy it to your \Windows directory and the IE (or T-Zones) button will open a usable browser for a change. This only works if OM is the first MIDlet you've installed; if you have installed other MIDlets you'll have to edit the shortcut (Notepad works nicely) to reflect the change. If OM is your second MIDlet, change s0_ to s1_; third, s2_; and so on.
Also, various MortScript scripts have been floating around that attempt to automate the process of copying a clicked link to the system clipboard, opening OM, and pasting the link into the address bar. I haven't found one that works, but a much better solution is available. The linked post contains a CAB file (which I've reposted here for convenience) that installs an actual application that works well under WM6.1. This one is hardcoded with the assumption that Opera Mini is the first MIDlet that you've installed.
One Other Thing
I recommend backing up your \Application Data\JavaDB directory once you get everything working; you can simply copy it back from your backup after a cold boot to get everything working again. I don't know how to make a CAB file myself, but if someone is up to the challenge, I'd suggest making a single file that installs Opera Mini and the Opera Mini Default Browser application, and optionally replaces the PIE button with OM. Or maybe Kavana can add this to his next ROM
Hope you find this useful!
EDIT: The application I've attached only works if Opera Mini is the first application ever installed under JBed. If you uninstall it and reinstall it, it will get a new suite number. You can look at your selector.utf file and figure out your suite number (e.g., s1_), but I would recommend clearing out your \Application Data\JavaDB folder to reset your suite numbers. Also, it may be a bad idea to edit your selector.utf file in Notepad; a hex editor should avoid corruption issues.
~truggl
awesome! thanks!
very useful, thanks!
Great Job!!
How do you tell what the s number is for the OM midlet?
When I press the short key cut key I get a "Could not find suite s0_" error message. When I dismiss the message I get the jbed midlet manager window which list Opera Mini and it's the only applet listed. I click on that and Opera Mini opens up.
Perfect, the policy.utf file did the trick. I'm not so sure that I want to replace the iexplore shortcut to OM because there are still some limits to the OM applet over PIE. OM can't launch youtube for example.
Thank you ... thank you - Tim
truggl said:
Hello everybody,
I've figured a few things out regarding JBed and Opera Mini on Kavana's latest WM6.1 ROM, and I thought I'd share them with you.
Introduction
First off, a quick introduction: Opera Mini 4, a Java MIDlet web browser, is arguably the best browser available for Windows Mobile. It routes traffic through Opera servers, so it doesn't take as much data (or time) to browse the Web, and it has small-screen rendering like iPhone's. Slashdot, for example, loads in seconds under OM, as opposed to half an hour in Pocket IE. Esmertec JBed respects the system's network settings, so it works with the T-Zones $5.99 internet trick.
JBed isn't perfect, though. It has a few glaring issues: network access permissions, inability to use a MIDlet as a systemwide default browser, and ugly fonts. I haven't figured out the last one yet, but the first two are solvable, and here's how.
Network Access Permissions
Most tutorials for fixing this problem refer to the file \Windows\AppDB\Selector.utf; editing this file and replacing the text
Code:
domain=untrusted, \
with
Code:
domain=tckmax , \
fixes the problem under Cloudyfa's JBed. The version of JBed in Kavana's WM6.1 stores its data in \Application Data\JavaDB, and the selector.utf trick doesn't work. The culprit is a missing file named policy.utf, which defines tckmax. I've attached a copy of this file; just move it to your \Application Data\JavaDB directory and the selector.utf trick will work as usual.
Systemwide Default Browser
First off, you can make it easier to access Opera Mini by changing the short_IE.lnk file to open OM instead of PIE. I've attached a version of that file for your convenience; copy it to your \Windows directory and the IE (or T-Zones) button will open a usable browser for a change. This only works if OM is the first MIDlet you've installed; if you have installed other MIDlets you'll have to edit the shortcut (Notepad works nicely) to reflect the change. If OM is your second MIDlet, change s0_ to s1_; third, s2_; and so on.
Also, various MortScript scripts have been floating around that attempt to automate the process of copying a clicked link to the system clipboard, opening OM, and pasting the link into the address bar. I haven't found one that works, but a much better solution is available. The linked post contains a CAB file (which I've reposted here for convenience) that installs an actual application that works well under WM6.1. This one is hardcoded with the assumption that Opera Mini is the first MIDlet that you've installed.
One Other Thing
I recommend backing up your \Application Data\JavaDB directory once you get everything working; you can simply copy it back from your backup after a cold boot to get everything working again. I don't know how to make a CAB file myself, but if someone is up to the challenge, I'd suggest making a single file that installs Opera Mini and the Opera Mini Default Browser application, and optionally replaces the PIE button with OM. Or maybe Kavana can add this to his next ROM
Hope you find this useful!
~truggl
Click to expand...
Click to collapse
Kinda bummed.... I cant seem to get this to work. Everytime I edit selector.utf with the new code, my opera midlet dissappears. I have policy.utf in the directory so I am at a loss. ???
Works great on my system - many thanks for this!
Poser said:
Kinda bummed.... I cant seem to get this to work. Everytime I edit selector.utf with the new code, my opera midlet dissappears. I have policy.utf in the directory so I am at a loss. ???
Click to expand...
Click to collapse
I had the same problem. I was using notepad to edit selector.utf which I guess is bad. Try using a hex editor or run this script. http://treo.discussion.treocentral.com/tcforum/showthread.php?t=152078
socal1 said:
How do you tell what the s number is for the OM midlet?
When I press the short key cut key I get a "Could not find suite s0_" error message. When I dismiss the message I get the jbed midlet manager window which list Opera Mini and it's the only applet listed. I click on that and Opera Mini opens up.
Click to expand...
Click to collapse
I think i figured this issue out. Edit the Opera Mini.lnk file from run s0_ to run s4_
pudgedaddy said:
I think i figured this issue out. Edit the Opera Mini.lnk file from run s0_ to run s4_
Click to expand...
Click to collapse
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.
socal1 said:
I had the same problem. I was using notepad to edit selector.utf which I guess is bad. Try using a hex editor or run this script. http://treo.discussion.treocentral.com/tcforum/showthread.php?t=152078
Click to expand...
Click to collapse
Worked a charm , thanks much mate
removed: dbl post
DaMilky said:
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.
Click to expand...
Click to collapse
Opera is the only java app that I have installed and I still get the error, however, I have installed and uninstalled a few times... so I think there may be .db remnants that force it further down the "install list" e.g. s2_
edit: just had to clean up \\application data\javaDB, works fine
Hi all,
Glad I was able to help. I added a bit of information to my original post; I recommend starting with a blank slate, so to speak, because OperaDefault.cab is programmed with that assumption. When in doubt about your suite number, and if you don't care about OperaDefault, then you can look in (or post) your selector.utf file and get it from there.
~truggl
Esmertec jbed
Can someone point me to forum where i can get esmertec jbed?
I'm looking for a couple of hours already.
Please help....
Having a very strange problem with Opera Mini 4. I'm using Ricky's Rom V5 with my Dash and Opera will not display fonts correctly. They all seem to have horizontal lines going through them and appear to be slightly stretched (that could be my imagination though). I checked the Jbed version and it appears to be the latest one (I never changed it) and I'm not sure where to go from here. Opera boots and runs fast but it's not legible at all. Any suggestions as to what I can try? I searched XDA but couldn't come up with anything. Thanks,
kasim1 said:
Can someone point me to forum where i can get esmertec jbed?
I'm looking for a couple of hours already.
Please help....
Click to expand...
Click to collapse
NM, I found Esmertec.
ItsDon said:
Having a very strange problem with Opera Mini 4. I'm using Ricky's Rom V5 with my Dash and Opera will not display fonts correctly. They all seem to have horizontal lines going through them and appear to be slightly stretched (that could be my imagination though). I checked the Jbed version and it appears to be the latest one (I never changed it) and I'm not sure where to go from here. Opera boots and runs fast but it's not legible at all. Any suggestions as to what I can try? I searched XDA but couldn't come up with anything. Thanks,
Click to expand...
Click to collapse
I am having this same problem. Does anyone know how to change the font in Opera Mini?
DaMilky said:
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.
Click to expand...
Click to collapse
NOT TRUE.
I tried to use from s0_ to s4_, nothing worked....
Untill i opened my selector.utf(windows\appdb) and seen that gMail is "root=s-1_", so i've change my shortcut to point to "s-1_", this did the trick.
Thanx.

Rhodium start menu icons help

I'm using Dutty's 2.3 Xtreme ROM. The startmenu is based on the Rhodium roms (looks like the program tab, but with nicer icons ). However, the good-looking icons are only those that came with the rom, for example WMPlayer, settings, file explorer, etc. When you add a shortcut from lets say TomTom, it looks all crap with jagged edges. It's seems the iconholder upscales the icon or something so it's no longer at it's native resolution. I would like to be able to change the icon used for a certain shortcut myself to perhaps a higher resolution alternative.
It seems the used icon is controlled bij strings in HKLM\software\HTC\Manila. The string's name is the .exe used in the shortcut. It contains a file location to \windows\MPI_xxx.qct (\windows\MPI_wmplayer.qct, \windows\MPI_camera.qct, etc.). I know this, because when I change the path in lets say the wmplayer.exe string to that of the file explorer MPI file, the icon changes in the start menu. However, when I make a new string with a stringname for tomtom (tomtom navigator.exe) and make it's value the same as the fileexplorer, nothing happens...
So... help? I don't know what to try next due to my limited knowledge on the subject. Who can help me devise a way to use custom icons in the new startmenu?
You have to use the full path, not just the file name. Also, you have to use quotes.
For example: I wanted Resco File Explorer to use HTC's explorer icon, so I created a new string with the name:
"\Program Files\Resco Explorer\Explorer.exe" (quotes included)
And value:
\windows\MPI_fexplorer.qtc (no quotes here)
Hi there... I also want to change Program Icons in my HD. Is there a complete guide on how to do this?
Please help... Thanks in advance!
jaypeev_9 said:
Hi there... I also want to change Program Icons in my HD. Is there a complete guide on how to do this?
Please help... Thanks in advance!
Click to expand...
Click to collapse
Is this what you guys are looking for?: http://forum.xda-developers.com/showthread.php?t=513501
Yes... Thanks! Can I use it in WM 6.5? Just want to know because I dont want to do a hard reset when I fail.
I change my program icon directly in the program.exe file. this way both from startmenu and programs show the new icons. use resource hack to do it. you can also hack into the installation cab and change it there. so every time you change rom and reinstall, the new icon is there. just my way......need helpon that you can pm me
jaypeev_9 said:
Yes... Thanks! Can I use it in WM 6.5? Just want to know because I dont want to do a hard reset when I fail.
Click to expand...
Click to collapse
No for WM6.5 start menu icons look here: http://forum.xda-developers.com/showthread.php?t=507299 and here: http://forum.xda-developers.com/showthread.php?t=481379 hope that helps!
Thanks for help and advice m6silver. I appreciate all your help because Im not very good when it comes to customizing icons.
Thanks for the links gfreek... It's working great and Im also using your WM6.5 Medium size and Wm 6.5 Extra Start for Folders. Thanks to you for that nice and easy to install cabs.
Now my only problem is the icons in Manila "Program" I want to change it to High Quality Icons.

[Question] Install unsigned java apps

Hey guys im using jbed on my Dash and when i install and run unsigned java apps it always ask me to allow connect internet , read/write user data etc..
so is there any way to remove those security mess ?
btw, how to change icon of a cab file ? becoz some cab apps have so ugly icon and i want to change to my own icon
thx in adv
Yo GaBeo, what java apps are you talking about?
Opera Mini
Using version 4.2 (I think) of Opera Mini on my excalibur, i always get those messages.
uninstall opera 4.2 you already have on your phone
Go to mini.opera.com using internet explorer, then click the link "if the version fails to install..."
after that click "download opera mini (multiple certificates)"
it will install and ask about permissions, answer "always allow" for everything.
You can also start the java app and at opera click actions/security and even allow more permisions such as uploading and downloading from opera.
as for changing icons i have no clue, but it may be possible.
its Gmail Mobile from Google , i cant find an signed version for that app
im not sure about gmail, i never used it.
opera mini 4.2
hey pokejoke did u manage what u wanted? and is your opera able to download now and save pages for offline viewing? please let me know any methods u used if you managed. thanks
The Opera Mini Version for Nokia E61 works just fine and does not prompt for permissions. I use it together with the Jbed 3D mod here

Categories

Resources