Creating a direct shortcut to a Java app - HD2 General

Hello my helpful community!
A quick queston to You all... Is there a way to make a direct shortcut to a Java app which would cause the app to open instantlu without the need of firing it through JBlend? I use a Java app for checking my bus timetables, so sometimes when Im running to the bus, a quick access to the app would be really helpful I found some old threads where they showed how to edit a shortcut (add some parameters to the end) but it didnt work even on my Topaz so Im searching for new solutions

Hey - im also interested in an answer of this question.
I installed opera mini 5 beta and a shortcut of this java app would be great.

I can suggest to install the Java-Runtime of Xperia X1 (called Myriad Java). It is made by Esmertec and for me the best Java-Solution available for PPC. Find it here in second post. If you're not using WWE-Rom then do the following:
ultrashot said:
[HKEY_LOCAL_MACHINE\Software\Apps\Esmertec Java]
"ProgramsGamesURL"="\\Windows\\Start Menu\\Programs\\Games" ;this
"ProgramsURL"="\\Windows\\Start Menu\\Programs" ;this
But I don't know paths for your rom
\\Start Menu\\Programs\\Games is a language-dependent part
Click to expand...
Click to collapse
It will set shortcuts in start-menu by default!

I'll try it when I will have some free time, big thanks But those paths look like taken from WWE. I'm using WWE, so those paths should be valid right?

Yes, if you're using WWE-ROM the paths should be fine by default. If you're using some different launguage ROM than you have to translate "program files", "games", and "start menu" into the language of your device.

Related

Tutorial: How to create a shortcut to a specific midlet

I asked a few days back if this was possible and ended up e-mailing back and forth with a guy at TAO and he showed me how to do it after we figured out that the wizards java manager could handle it.
This is what he told me (I'll explain it all afterwards):
-r"<suite>","<vendor>","<name>"
where:
<suite> is the name of the MIDlet suite and can be obtained from the
MIDlet-Name line in the jad file.
<vendor> is the name of the MIDlet vendor and can be obtained from the
MIDlet-Vendor line in the jad file.
<name> is the name of the MIDlet and can be obtained from the first
parameter to the relevant MIDlet-<n> line in the jad file.
the shortcut to the manager program is \windows\jmm.exe, so a specific link would be \windows\jmm.exe -r"<suite>","<vendor>","<name>"
To find all of the information you need, you need the .jar or .jad file on your computer.
1. Open the .jar(.jad) file with winrar or 7zip or other unzipping program
2. Open the META-INF folder
3. Open the MANIFEST.MF file with a document viewer, I used wordpad.
Here's what google local gave me: I've bolded what you need to know
Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: Google Local
Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.2
MIDlet-Vendor: Google
MIDlet-1: Google Local, GoogleMapsIcon.png, com.google.googlenav.Googl
eNav
MIDlet-Version: 1.0.0
MicroEdition-Profile: MIDP-2.0
4. Create a shortcut to the java manager(\windows\jmm.exe) on your ppc and open it for editing. I used Total Commander for this.
5. Remember that the shortcut has to be in -r"<MIDlet-1>","<MIDlet-Vendor>","<MIDlet-name>", so here, the full path should be \Windows\jmm.exe -r"Google Local","Google","Google Local"
6. Now you can link that to a button or put it in a launcher. When activated, the link will open the manager first, then the midlet.
Opera mini is \Windows\jmm.exe -r"Opera Mini","Opera Software ASA","Opera Mini"
I dont know how to link icons, so if someone could help me with that, I'd appreciate it. Now, all the links have the MIDlet manager icon.
I'd also love to hear what other cool midlets people are using.
Excellent information! Now I can link to Google Local from my Today screen with Pocket Plus!
Brilliant! I was looking for this exact information . Checked around on the Tao site but didn't find any documentation.
Changing the icon is done by adding the following to the end of the shortcut:
?\Program Files\Opera\opera.exe,0
The number is the n'th icon in the .exe file find out which using a resource hack tool. But it's usually 0 or one of the first ones, so simply try it out a few times. The two midlets I have come with their own icon displayed in the manager, and I found this file as a PNG image inside the Application Data directory, under Tao and then ever deeper down you'll find it.
But using png as icon didn't work for me. I'm guessing it needs to be converted to ICO or even BMP. Haven't had time to try that out yet.
And for the last part of your post, these are the cool midlets I'm using
Opera Mini - http://opera.mini.com (You obviously know this one)
MidpSSH - http://xk72.com/midpssh (Excellent freeware SSH client)
works with newmenu by saman as well thanks for the tip.
btw any more cool midlets for ppcs? the only thing i have so far is opera :|
I noticed the shortcut only works if you've run the applet atleast once. Otherwise only Midlet Manager opens up. Not really a big deal though
Question?
Is there a way to do this with IBM's Java Midlet Manager. I tried the syntax listed here and it doesn't work. It opens up the midelet manager, then closes right away.
BTW, this thing is case sensitive. I tried GMail and it didn't work.
This is for Gmail. Copy paste and enjoy.
46#"\Windows\jmm.exe" -r"Gmail", "Google", "Gmail"
Tokay said:
Brilliant! I was looking for this exact information . Checked around on the Tao site but didn't find any documentation.
Changing the icon is done by adding the following to the end of the shortcut:
?\Program Files\Opera\opera.exe,0
Click to expand...
Click to collapse
It would seem that you need to have opera mobile installed for this to work though right?
KINetics said:
Is there a way to do this with IBM's Java Midlet Manager. I tried the syntax listed here and it doesn't work. It opens up the midelet manager, then closes right away.
Click to expand...
Click to collapse
Did you ever figure this out? I'd like to know how to get it to work.
Anyone managed to do this on esmertec's java manager because this does NOT work:
"\Windows\jeodek.exe" -r"Gmail", "Google", "Gmail"
Paladin27 said:
Excellent information! Now I can link to Google Local from my Today screen with Pocket Plus!
Click to expand...
Click to collapse
why didn't you just install the cab file then? you can find it if you type gmm.cab in google.
famewolf said:
Anyone managed to do this on esmertec's java manager because this does NOT work:
"\Windows\jeodek.exe" -r"Gmail", "Google", "Gmail"
Click to expand...
Click to collapse
The answer to your question is HERE
You have to thank the author of the article and the great Menneisyys for posting the link in this post
Bye
(Hopefully) final MIDlet Bible main feature & hack & standards compliance chart published!
It was yesterday that I’ve published a larger excerpt from my forthcoming MIDlet Bible (a full roundup & tutorial explaining what MIDlets are, why you would want to run them, what applications there are to do this etc.), focusing on mostly 3D games. I haven’t been lazy in the meantime: I’ve made some serious updates to the main feature & hack & standards compliance chart of the Bible. The reason I’m posting it as a preview is pretty simple: it will still take me some two or three days to completely finish and, finally, publish the MIDlet Bible. In the meantime, however, you can already check out the new chart. I’m absolutely sure you’ll find it useful if you’re into gaming or running probably the, after Opera Mobile, second best Web Browser for Windows Mobile, Opera Mini 4 beta 2. Or, alternatively, the really unique and useful Gmail MIDlet, which is far more usable than any other Windows Mobile mailer tool.
I’ve, as has already been stated, greatly enhanced the previous version published over a month ago. I’ve added discussions of ClearType / font smoothing, automatic network connection, proxies, text input fields / areas etc. and I’ve even published the source code (!) of some of my test MIDlets I’ve written specifically for these tests. (I’m a Java pro.)
The chart is HERE, should you want to check it out before I, finally, publish the MIDlet Bible.
Comments are REALLY welcome!
Try this:
60#"\Windows\jmm.exe" -r"Opera Mini","Opera Software ASA","Opera Mini"
my opera mini link works great using jbed and the permissions fix, BUT...
I want to know if it is possible to make a link to a page (favorite/speedial #1) within opera. I have some shortcuts for PIE (default browser) on my today screen and wondered if I could do the same with opera pages without opera being my default browser. I have seen some shortcut creators that look interesting, but I am not sure about what path this link would need.
Any ideas?
thanks
my opera mini link works great using jbed and the permissions fix, BUT...
Click to expand...
Click to collapse
I can't get my Opera link to work using jbed, where do you get the permissions fix... maybe that's my problem?
I'm using:
60#"\Windows\jbed.exe" -r"Opera Mini","Opera Software ASA","Opera Mini"
jbed permissions fix is at the bottom of this page...
http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html
Does anyone have this working with the ne Opera Mini 4.1? Latest Jbed.
hey can someone turn this into english for me haha sorry. i wanna get opera 4.1 shortcut into launcher. im not good at this stuff unless there is a step by step for dummies
I downloaded the latest 4.1 and it works great... Because I downloaded the new version before I deleted the previous version, I had to change my shortcut to point to r1 not r0. The new version has permissions fix already added I believe.
Everything is working brilliantly

[release] PhoneContacts

This is my first project for PocketPC. It's a simple Contacts replacement with search keypad.
PS: .NET CF 1.1 is required.
16/9/2006
- WM5.0 version added (category filter, contact update, contact delete bugs fixed)
11/9/2006 - 1.1.3.0
- Contacts list loads more faster on large amount of data
- Name filter and back button improved
3/9/2006
- Load Categories bug fixes
14/7/2006
- Added .NET 2.0 version
5/07/2006 - 1.1.2.0
- Added category filter
13/06/2006 - 1.0.1.6
- Some bug fixes
- Added Tools - Save Config
- Added Name [display] format
any screen shots of usage screens and config screens?
tested with which models?
tested with which os? wm5 or 2003se or?
Size of program after install?
It' tested only on O2 XDA mini, WM2003.
can you please upload it here. it says the file is corrupt if i download it. thanks
Here it is...
... moved into the first post
does this work with WM5?
Installed on Qtek 9100 WM 5. It works perfectly.
The only defects are:
When it is exited from the program loses the formulations of the English language and the dimension of the font.
Is not possible to set up the order of reading of the contacts 1°/2° or 2°/1° name.
dborello said:
Installed on Qtek 9100 WM 5. It works perfectly.
The only defects are:
When it is exited from the program loses the formulations of the English language and the dimension of the font.
Is not possible to set up the order of reading of the contacts 1°/2° or 2°/1° name.
Click to expand...
Click to collapse
About configuration(lang, font...): I dont know how program works on WM5. I'll try to correct it as soon as possible and i will add order of reading ( <FN MN LN> and <LN, FN> ).
thanks CDK. ill post it on my blog http://oldsap.blogspot.com
Great job - really. I love it. it works perfectly on my QTEK9100 as posted already. This is one tool which will replace the built in contacts.
Some more suggestions and hints:
- Program loading lasts very long - maybe it is decreasable??
- If i write a name the tool greps for all matches in the first and the last name. That is great. I love it. Is it possible to search also in the middle of the string. Example: Alex and i type lex
- Is it possible to grep not only first and last name but also the other fields which are defined in the Pocket Outlook Object model?
- Is it possible to have more search boxes or filter for the categories?
- Maybe it is possible to have a WM05 compile where for example a context menu pops up with all the selectable categories
- The russian/english problem posted already is also on my device
A lot of requests. Let me know if you find some useful.
Thanx anyway for this great app.
how do you install this? just copy all the files into a folder and run?
topcaser said:
Some more suggestions and hints:
- Program loading lasts very long - maybe it is decreasable??
- If i write a name the tool greps for all matches in the first and the last name. That is great. I love it. Is it possible to search also in the middle of the string. Example: Alex and i type lex
- Is it possible to grep not only first and last name but also the other fields which are defined in the Pocket Outlook Object model?
- Is it possible to have more search boxes or filter for the categories?
- Maybe it is possible to have a WM05 compile where for example a context menu pops up with all the selectable categories
- The russian/english problem posted already is also on my device
Click to expand...
Click to collapse
Ok. I give some explanation. This program is written for my request and with my collaboration. That's why i try to answer some questions and I will post, sometimes, new release.
1. This is .NET :-( Here is a "hide"-feature added to solve (temporary) this problem. I think F.T.D. post here the source code as soon as possible. May be someone rewrite this on native C.
2. May be. But this may be unusable with huge contacts lists...
3 & 4. Describe, please, what you want to see. Perhaps this will be added in the hext releases.
5. ... requires WM5 device... :-(
6. This is corrected and will be posted today (if we understand the problem correctly)
ikkoku said:
how do you install this? just copy all the files into a folder and run?
Click to expand...
Click to collapse
Yes.
topcaser said:
...
- Is it possible to have more search boxes or filter for the categories?
- Maybe it is possible to have a WM05 compile where for example a context menu pops up with all the selectable categories
...
Click to expand...
Click to collapse
I will be VERY appreciate if you show me how to get available categories in system (it might be as well in .NET)
good job
have sudjustion.. i think it's beter to put the keys in ordenary like on the keybord .. it will be faster to tape for users how know where is every key in the keybord
thanks
miky420 said:
good job
have sudjustion.. i think it's beter to put the keys in ordenary like on the keybord .. it will be faster to tape for users how know where is every key in the keybord
thanks
Click to expand...
Click to collapse
I think it will become customizable in the next releases.
For example:
- main file is a list: [picture name=text file (symbols code list)]
- every keyboards are: picture itself and text file with symbols code.
updated. see first post for details.
that's really gr8.... i like it......
is there a way this can work with .net cf2 because i have a .net cf2 loaded rom on my 8125 and when i try to run this it gives me an error
cybiker123 said:
is there a way this can work with .net cf2 because i have a .net cf2 loaded rom on my 8125 and when i try to run this it gives me an error
Click to expand...
Click to collapse
uploaded

How does one create a Today Plug-in?

I have a program called Weather Watcher Mobile. It's a great program that I would love to see a Today Plugin incorporated. I have seen some developers on these forums who have made Today screen plug-ins. How would one create a Today Plugin for an established program? Thanks.
Here is an excellent article that helped me wright my plugin:
http://www.microsoft.com/mspress/books/sampchap/5461a.aspx#100
The problem is from what I can see on the developers site (is this the one you are talking about http://www.singerscreations.com/RSS/Posts/339.asp)
he programs in .NET
There is no way to create a plugin using .NET languages, only using C / C++.
In any case I believe it would be best if you referred this developer directly to the forum so he can ask the specific questions he has himself.
levenum said:
There is no way to create a plugin using .NET languages, only using C / C++.
Click to expand...
Click to collapse
Sure? http://msdn2.microsoft.com/en-us/library/ms839442.aspx
Ok, my mistake, I should have said There is no way to create a plugin using only .NET languages."
I forgot I read about something similar briefly - using a .NET dll and a C++ dll together.
Thanks. I'll direct him to this thread.
Is it possible to write a today plugin, the text on which can be controlled through command line or any other way ?
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
levenum said:
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
Click to expand...
Click to collapse
When...when...when....????
I am planing a very nice plugin but it is really difficult to make one. All examples on the net are for evc++, I did not find a single sample for Visual Studio 2005.
If u are making something like this, it will really save a lot of my time.
Soon I hope, but it will be evc++ as well. I hate VS 2005, its fat, slow and costs a lot.
But if you are using c++ (there are samples on MSDN for c#) it doesn't matter what compiler the project is for, just use the source files.
See the links in previous posts for detailed explanations.

Titanium and wm6.5

Dear friends, I just installed RRE Series 6 WM 6.5 Build 21501 BETA 2 ROM for my Fuze and I think it is an awesome RO, but for the Titanium, I really need to understand some more about it. I searched a lot and found titanizer and CHome Editor v1.5 beta by showaco, and can't seem to understand about the tabs or the panels how does they work. can I, for example, put a panel for internet calling, for wifi management, or these panels are only for using as is, and can be only hidden, because even when trying to create a new panel I can't use it for example as a launcher, please guide me in the right direction
medman said:
Dear friends, I just installed RRE Series 6 WM 6.5 Build 21501 BETA 2 ROM for my Fuze and I think it is an awesome RO, but for the Titanium, I really need to understand some more about it. I searched a lot and found titanizer and CHome Editor v1.5 beta by showaco, and can't seem to understand about the tabs or the panels how does they work. can I, for example, put a panel for internet calling, for wifi management, or these panels are only for using as is, and can be only hidden, because even when trying to create a new panel I can't use it for example as a launcher, please guide me in the right direction
Click to expand...
Click to collapse
Sure you can use a panel as launcher, check in the CHome Editor thread or in the WM 6.5 themes thread. You create a panel and save it, then you create a new page and there you set the program to launch, then you create another page and you set another program to launch and so on, up to 20 pages are possible. In the above indicated threads you find a lot of info and tips to do that.
Titanium
claus1953 said:
Sure you can use a panel as launcher, check in the CHome Editor thread or in the WM 6.5 themes thread. You create a panel and save it, then you create a new page and there you set the program to launch, then you create another page and you set another program to launch and so on, up to 20 pages are possible. In the above indicated threads you find a lot of info and tips to do that.
Click to expand...
Click to collapse
Thank you very much

How do I get landscape mode in Remote Desktop Mobile?

Hi! I just checked out HD2's Remote Desktop client and it works perfectly on my Win7 box. Actually, it's the best mobile remote desktop client I've ever used!
There is only one minor flaw; is there no landscape mode, or am I just not seeing the option?
Give Gyrator a try. You can set which apps to allow auto-rotate or not.
http://gyrator.brins0.net/
johncmolyneux said:
Give Gyrator a try. You can set which apps to allow auto-rotate or not.
http://gyrator.brins0.net/
Click to expand...
Click to collapse
Thanks for the tip. Although I Google'd a little and read that it doesn't work very well with the HD2.
Shouldn't this be as simple as a small registry tweak? I'm sure there is a value somewhere in the registry that makes Remote Desktop Mobile start in landscape mode.
pcprono said:
Thanks for the tip. Although I Google'd a little and read that it doesn't work very well with the HD2.
Shouldn't this be as simple as a small registry tweak? I'm sure there is a value somewhere in the registry that makes Remote Desktop Mobile start in landscape mode.
Click to expand...
Click to collapse
I'm not certain why you are "sure there is a value somewhere in the registry that makes Remote Desktop [...]" because I know there IS NO such reg-value to make your app start in one orientation or another .
However, there is a registry entry to make it respond to orientation changes as perceived by the G-Sensor, then you can simply turn your device to sideways to switch your program between portrait/landscape/etc...
The easiest way is to use G-Config. The full manual procedure is to make new entries for your program as follows:
1. Navigate to reg key: "HKCU\Software\HTC\HTCSENSOR\GSensor\Module"
2. Create a new string reg-value with name of program, and its path for the value.
3. Navigate to reg key: "HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList"
4. Create a new string reg-value with the name of program, and its class name for the value.
5. RESET your device (turn off then on).
Hope this helps,
Cheers...
shirreer said:
The easiest way is to use G-Config.
Click to expand...
Click to collapse
How do you use G-Config with a HD2? I thought it needed a stylus to recognize new applications.
shirreer said:
I'm not certain why you are "sure there is a value somewhere in the registry that makes Remote Desktop [...]" because I know there IS NO such reg-value to make your app start in one orientation or another .
However, there is a registry entry to make it respond to orientation changes as perceived by the G-Sensor, then you can simply turn your device to sideways to switch your program between portrait/landscape/etc...
The easiest way is to use G-Config. The full manual procedure is to make new entries for your program as follows:
1. Navigate to reg key: "HKCU\Software\HTC\HTCSENSOR\GSensor\Module"
2. Create a new string reg-value with name of program, and its path for the value.
3. Navigate to reg key: "HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList"
4. Create a new string reg-value with the name of program, and its class name for the value.
5. RESET your device (turn off then on).
Hope this helps,
Cheers...
Click to expand...
Click to collapse
Awesome, I will try it tonight. Thanks a lot!
johncmolyneux said:
How do you use G-Config with a HD2? I thought it needed a stylus to recognize new applications.
Click to expand...
Click to collapse
My dear friend, there are SO many apps that do automatic orientation: the most versatile, easiest, and customizable is Change Screen. Get it off of the diamond/raphael forums. Otherwise look for:
Zensor2 (easier), Gsens(lighest), or gyrator (heaviest).
Cheers
shirreer said:
3. Navigate to reg key: "HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList"
4. Create a new string reg-value with the name of program, and its class name for the value.
Click to expand...
Click to collapse
What is its class name? I see its a different value for each program. When I want to add a new app, is there anyway I can find out for myself what its class name is?
Hi
download app "Change Screen 2.78".
once you install it set default rottation as portrait.it is important cos you don't want any other apps to rottate.(if you do want others,just set the exeptions)
Then go to exeptions and and create new with name "wpctsc" and set it only for landscape.now every time you start Remote Desktop it will be opened only in landscape mode.i use this app since i had my old Touch Pro and now i am using it on LEO and it always 100% worked for me.tried more of them but this one is far the best.
adding some pictures for you to help with settings.
hope that this will help you a bit.
Well, if anybody still needs it...
Code:
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
"Remote Desktop Mobile"="\\Windows\\wpctsc.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
"Remote Desktop Mobile"="TSSHELLWND"
how do i find out class names for other programs?
Until we get another solution like Gyrator's neat stylus-out/stylus-in, you can check on the net or use a task manager. I personally use Dotfred's task manager, which shows window classes opened by a program (Applications tab/long tap on applications/Details button/Windows tab).
Now you need to find the right one (Usually the one with the window title, but not necessarily), and type it away.
Real quick example attached.
polystirenman said:
Hi
download app "Change Screen 2.78".
once you install it set default rottation as portrait.it is important cos you don't want any other apps to rottate.(if you do want others,just set the exeptions)
Then go to exeptions and and create new with name "wpctsc" and set it only for landscape.now every time you start Remote Desktop it will be opened only in landscape mode.i use this app since i had my old Touch Pro and now i am using it on LEO and it always 100% worked for me.tried more of them but this one is far the best.
adding some pictures for you to help with settings.
hope that this will help you a bit.
Click to expand...
Click to collapse
Wow! Works perfectly. Thanks a lot! This app made remote desktop even more awesome than it already is.
So easy to use too and it worked like a charm. Thanks again!
pcprono said:
Wow! Works perfectly. Thanks a lot! This app made remote desktop even more awesome than it already is.
So easy to use too and it worked like a charm. Thanks again!
Click to expand...
Click to collapse
not a problem.glad to help.
Yunabeco said:
Until we get another solution like Gyrator's neat stylus-out/stylus-in, you can check on the net or use a task manager. I personally use Dotfred's task manager, which shows window classes opened by a program (Applications tab/long tap on applications/Details button/Windows tab).
Now you need to find the right one (Usually the one with the window title, but not necessarily), and type it away.
Real quick example attached.
Click to expand...
Click to collapse
Beautiful, just what i was looking for. Thank you.
Works Great
Yunabeco said:
Well, if anybody still needs it...
Code:
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\ModuleName]
"Remote Desktop Mobile"="\\Windows\\wpctsc.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\WhiteList]
"Remote Desktop Mobile"="TSSHELLWND"
Click to expand...
Click to collapse
Tnx man, works great.
Can someone put this into a cab, for non technical users?
Grga
I recommend BsB tweaks for rotating apps (and many other tweaks).
Thanks a lot Yunabeco! Great tip!
Grga001 said:
Tnx man, works great.
Can someone put this into a cab, for non technical users?
Grga
Click to expand...
Click to collapse
I too recommend BsB Tweaks, but here's a CAB file anyway. Just run it and then reset for the changes to take effect
Great. It's was I needed.
I've just a problem with the keyboard language.
I'm French and Leo keyboard is in french. but when I connect to my Windows Server 2008 (also with a french version), the keyboard is detect as english and it's a big problem for key entry.
and changing Leo keyboard to english don't resolve the problem.
any idea?

Categories

Resources