anyone help? auto open midlet when jbed selected? - Windows Mobile Development and Hacking General

posting here as well as general thread in the hope anyone with c++ skills can assist i am aware that badbob001 has managed this with the mort based version, but was hoping someone could help with the c++
chrisd1a1 said:
both the Mort and the C++ work in the same way. click on an email link and the script auto opens jbed and the 4.1 midlet.
is it possible by using this to auto open the midlet when jbed is selected directly?
for example, i have edited the lgmenu and set the link on my cube so the internet explorer links to jbed. this works fine but i then need to click on the 4.1 midlet to open it. so in essence its 2 presses instead of one.
this would be more effective if when we select the jbed link, 4.1 auto opens.
(yes i know a lot of folks have other midlets. but suspect there are those like me who don't)
if anyone can help edit the c++ option, (attached again) or put together a small c++ app to do this i would be grateful.
i don't use the mort version as, overall the c++ takes less space than Mortscript and the mort opera app combined on my dev.
Cheers
Chris
Click to expand...
Click to collapse
many thanks

forget I posted this
brain on hold this morning, setting the shortcuts directly to the app works

Related

Stopwatch Software for Himalayas

I'm just a newbie here on the board as well as a user of an O2 XDAII.
I would just like to ask if anybody have made a stop-watch or timer software that could be installed on the XDAII?
Thanks in advance.
Yes, actually I have as my first attemt at a .Net CF application.
It is a very simple stopwatch/strokecount application. If you want it, I can upload it.
That was a quick reply... please do upload it. If it is not a hassle, can you also indicate on how do I load it....I am really very new with my new toy..it's too high tech for my existing knowledge. TIA Kim
Now, as you will be able to see, it is an application in a very rough stage. AND there is a little thing that is not implemented (Save splits).
What you do is you unpack the zip file to a folder on your harddrive. Then you uploade the exefile to your XDA II using ActiveSync and Explore. (You just press the explore button in ActiveSync and you can copy/paste the .exe file to your device there.)
You can put the exefile anywhere, but you have to your Explore on your XDA II to execute the file. (I think you can make the program show in programs by placing a link in the \Windows\Start Menu\Programs folder)
Now, in order to use the app, here is a little explanation of the buttons.
Time gives you the pace of your presses. You have to press this button 3 times before you get a result. It gives you the number of presses you would have if you continued for 1 minute. (Used in rowing and swimming)
Then you have your start/stop button, and a split button. And the reset, just clears the boxes. Unfortunatly I have not made it pause. When you stop the watch, it starts from 0. This will be in another release
Hope you can use it, and do not hesitate to come with some surgestions.
Oh, and by the way, if you have .Net framework 1.1 installed on your pc, you can try out the application on that too....
You can also try these freewares:
Pocket Counter
StopTime
You may find them in the PocketPCFreewares site
tnx to you two
I don't know what else you are adding to the app but I would suggest button mapping.
wildthing said:
I would just like to ask if anybody have made a stop-watch or timer software that could be installed on the XDAII?
Click to expand...
Click to collapse
You could look at Spb Time - multiple up and down timers, very nice.
gunsandrosses said:
I don't know what else you are adding to the app but I would suggest button mapping.
Click to expand...
Click to collapse
Actually that was part of my first alpha version made in eVC++ 4.0. But after switching over to C# and .Net I haven't gotten around to it. BUT it is going to be in there.
anyone know a stopwatch for the wizard - supporting wm5?
thx

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

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.

[APP][REQ]UltimateSearch modification

Dunno if it is the right place to post it...anyhow I would let you to know this fabulous (maybe just my personal opinion) that allow you to enable on your today screen a complete search engine frontend:
http://www.gx-5.com/products/ultimatesearch/
It is called "Ultimate Search" and it's pretty cheap. I really love it because you can make a search on Google/yahouu/youtube/ecc...just by tapping one button on your today.
I've just one problem: it works only with IE, not with Opera.
I tried to open the .dll attached here with an hex editor to enable it to launch Opera instead of IE but unfortunally I'm not so able in theese things and so I failed.
Is there something who can help me?
Thanks a lot in advance.
PS: (to the mods) I posted here just the dll used by the program. No copyrights violated, no warez.
Come on guys...
there's really noone who could help me?
I'm sorry...never liked the "bump action" but I really need thi help...
So: ...BUMP...
use vjbrisk to map the iexplorer exe to the opera exe
Or maybe you can set Opera like default browser?
it wont open with any other Browser other than IE because its using the HTTPRequest and other commands provided by M$ in there SDK

How to get Java to work with internet site

Everyone, I am sorry for the fallowing post as I am sure that it is a silly question but I just can't figure this one out. Yes, I have searched everything that I could think of.
I am trying to access a security alarm system that has a web interface. On my pc I put in the web address, username and password. Then a Java interface is launched, inter the security code and tada I'm in. Now here is my question, with my new tilt2 I can get all the way to the part where the Java interface is launched and then nothing.
Is there any way to get java interface to launch on my tilt2?
Thank you
Try this thread http://forum.xda-developers.com/showthread.php?t=544770
It may work for you, also Search for Adobe_FlashLite_3.1_WWE.cab
I hope this helps, its a start for you anyway.
osrix25 said:
Try this thread http://forum.xda-developers.com/showthread.php?t=544770
It may work for you, also Search for Adobe_FlashLite_3.1_WWE.cab
I hope this helps, its a start for you anyway.
Click to expand...
Click to collapse
He asked for Java not Flash.
And to answer your question, no, you can't.
Just because java application on mobile phone use j2me which is java adapted for mobile and there is no chance that a mobile java virtual machine can ever run a desktop java applet.
Regards
Thomas
tlefeuvre said:
He asked for Java not Flash.
And to answer your question, no, you can't.
Just because java application on mobile phone use j2me which is java adapted for mobile and there is no chance that a mobile java virtual machine can ever run a desktop java applet.
Regards
Thomas
Click to expand...
Click to collapse
Alright mate. I don't know what program he's trying to run or wether the applet is actually java or flash based. clearly you have all the answers.
osrix25 & tlefeuvre, thank you for your help. I was afraid that this would be the case. There is a service that will allow this communication with WM but it is an extra step in the process. I post all of m information on a third party website that converts the control to html the I can edit (for a fee). I am more worried about reducing the level of security with this program.
.357

Categories

Resources