I bumped into this on a different site ... But it's the ability to link to Java apps directly, that way you don't have to open the Java App, then open the program you want.
I've made two shortcuts that work on my phone, and basically, the way they work is the following :
The "s1_" and "s0_" is the order in which they appear in the Jbed application
So you can open the files with any text editor and change the number following the S.
GMAIL
Code:
28#"\windows\jbed.exe" -run s1_
Opera Mini
Code:
28#"\windows\jbed.exe" -run s0_
The number 28 at the beginning of the line, is the number of characters in the whole line of text including the actual 28... but unless you add more than 9 shortcuts you won't have to mess with this.
Just follow the pattern and you can create shortcuts for any java application you want.
Once you edit the files, copy them into \Windows\Startmenu\Programs and it will appear in ur programs menu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm currently working on trying to change the icons... so I should hopefully have that out soon.
Java App links...
This is something that I’ve been wanting to do for a while now. Thanks, you did a great job!!
Nice. Good work David.
Nice find, this will come in handy for builds.
ttran001 said:
Nice find, this will come in handy for builds.
Click to expand...
Click to collapse
Don't forget to keep in mind, that it depends on the order in which programs appear on the jbed list.
here's a weird one for you guys. opera mini kept on giving me location errors, making many web pages render in norsk, and i only understand english. i have no idea what made it start to do that. first google one day, then myspace another, etc etc. after getting annoyed with it, i uninstalled opera mini from jbed, and tried using opera mobile. didn't like it as much as opera mini, so uninstalled opera mobile. went to download a signed opera mini from PIE again, and the java wouldn't autostart. so, i reinstalled esmertec jbed from here on the forum, and now opera mini works awesome again... except for the start menu shortcut. i've tried numerous tutorials, and i keep getting a "can't find suite s0, s1, etc etc" error. i've tried changing the s to anything, in hopes it would work, but no luck. opera mini is my only java app. any ideas anyone?
alongenemylines said:
here's a weird one for you guys. opera mini kept on giving me location errors, making many web pages render in norsk, and i only understand english. i have no idea what made it start to do that. first google one day, then myspace another, etc etc. after getting annoyed with it, i uninstalled opera mini from jbed, and tried using opera mobile. didn't like it as much as opera mini, so uninstalled opera mobile. went to download a signed opera mini from PIE again, and the java wouldn't autostart. so, i reinstalled esmertec jbed from here on the forum, and now opera mini works awesome again... except for the start menu shortcut. i've tried numerous tutorials, and i keep getting a "can't find suite s0, s1, etc etc" error. i've tried changing the s to anything, in hopes it would work, but no luck. opera mini is my only java app. any ideas anyone?
Click to expand...
Click to collapse
Open the shortcut in a text editor and see what the number on there is. if you don't have any other java apps, it should be "0"
alongenemylines said:
here's a weird one for you guys. opera mini kept on giving me location errors, making many web pages render in norsk, and i only understand english. i have no idea what made it start to do that. first google one day, then myspace another, etc etc. after getting annoyed with it, i uninstalled opera mini from jbed, and tried using opera mobile. didn't like it as much as opera mini, so uninstalled opera mobile. went to download a signed opera mini from PIE again, and the java wouldn't autostart. so, i reinstalled esmertec jbed from here on the forum, and now opera mini works awesome again... except for the start menu shortcut. i've tried numerous tutorials, and i keep getting a "can't find suite s0, s1, etc etc" error. i've tried changing the s to anything, in hopes it would work, but no luck. opera mini is my only java app. any ideas anyone?
Click to expand...
Click to collapse
Can someone point me to forum where i can get esmertec jbed?
I'm looking for a couple of hours already.
Please help....
NM, i found it in other Thread.
duprade said:
I'm currently working on trying to change the icons...
Click to expand...
Click to collapse
I suppose that usual rules for .lnk works, so for example it would be
56#"\windows\jbed.exe" -run s1_?\windows\shellres.dll,-8263
To create .lnk more easily you could use ShortcutCreator (if it works on your PDA)
http://forum.xda-developers.com/showthread.php?t=275577
duprade said:
Open the shortcut in a text editor and see what the number on there is. if you don't have any other java apps, it should be "0"
Click to expand...
Click to collapse
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.
JZ SmartMort v1.4 Released!
Announcing JZ SmartMort v1.4!
Now you can use JZ SmartMort to create Opera Mini and any other JBed application icon on your Start Menu!
Have a look at the screenshots of JZ SmartMort, available HERE or at SourceForge. Below are the prominent features that the software offers.
Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing
Revisions:
v1.4 *** 2008-07-07
- Created help files.
- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.
- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.
- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.
- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.
- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.
- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.
- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.
- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.
- Various speed & optimization considerations incorporated.
- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).
EXE file with GMAIL icon
.... for those of you who need a GMAIL icon for the GMAIL shortcut. Attached is an empty exe file with the GMAIL icon (number: 32512)
shortcut for java application
hello everyone...i actuall insrtalled a cleaning software on my windows phone(asus nuvifone m20) and when cleaning up the ram,it deleted the shortcut of java itself..........so now the java icon which was earlier present is gone away........so can anyone please tell me how to create the shortcut for java icon for java midlet application so that i can paste it in start menu and can open it...............???
rohit_myworld said:
hello everyone...i actuall insrtalled a cleaning software on my windows phone(asus nuvifone m20) and when cleaning up the ram,it deleted the shortcut of java itself..........so now the java icon which was earlier present is gone away........so can anyone please tell me how to create the shortcut for java icon for java midlet application so that i can paste it in start menu and can open it...............???
Click to expand...
Click to collapse
maybe you should view Tutorial: Creating a MIDlet shortcut in the start menu, and change the shortcut icon ~ http://forum.xda-developers.com/showthread.php?t=387752
Related
Friends,
I reviewed the posts here in the forum and searched the internet. I am using Opera 4.1 (beta) and would like to assign Opera to the IE button. I do not want java to load, by-pass this directly and run opera.
I looked around the net and this is what I have found so far and still does not work.
http://tiltsite.com/2008/02/launch-opera-mini-with-the-tilts-ie-button/
26#\Windows\jbed.exe -run s0_ (tried 0-9)
28#"\windows\jbed.exe" -run s1_
http://forum.xda-developers.com/showthread.php?t=347688&highlight=opera+mini+4
All I want to do is launch opera mini using the IE button. Is this too much to ask for these days..
I am using mortscript (latest) and able to successfully launch internet links in outlook, word docs etc..
Please help!
Tvos
"\Windows\jbed.exe" -run s#_
works for me. try that.
hey I am getting closer..
it launched but came up with a error message in java stating Could not find suit s0_
Any ideas?
tvos
two things.
I was creating the wrong extension .lnk and I used the one from
26#\Windows\jbed.exe -run s1_ which worked.
thank you!
tvos
is there a way to get rid of the annoying message each time the application is launched? the one that asks for permission!
last, I know this has been stated but not sure if this can be done in the new beta 4.1
Can you select text by highlighting in opera mini and paste?
please advise and thank you!
tvos
my pleasure, glad it worked.
1) I think you need to use another MIDapplet (not Esmertec) to skip that prompt (I've heard Cloud lets you).
2) You still cant copy-paste in Mini
thanx, i am just glade to skip the non-sense of having to launch it manual each time.. plus, IE ppc absoulte blows...
tvos
Check out this post. It's explained very well and worked on my tilt.
http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html
beautiful job..
beta 4.1 I had to do some editing with the script to point to s1_ which was no big deal.
but how can I find the java app and change the permissions?
How to set permissions in signed versions of Opera Mini
Note: This is only valid for Opera Mini 4.1 beta.
As of Opera Mini 4.1 beta, we will offer signed versions along with unsigned. The advantage of the signed version is that you can change permission settings to less restrictive permissions. The end result is that you will get fewer permission dialogs for e.g., file and network access.
How to set permissions for Opera Mini varies a lot among different phones, but we will give you a few examples:
In general, you have to locate the folder where Opera Mini 4.1 is. Then you have to highlight Opera Mini 4.1 and press an options/menu button.
thank you!
tvos
i have everything working except the permissions and when i click on a link from outlook it doesn't pass into opera mini. opera mini loads perfect w/no problems, just doesn't complete the script.
i am using opera beta 4.1
any ideas?
thanx
tvos
Made this cab to add the Opera icon to your Opera Mini shortcut under programs.
I got sick of looking at the generic Esmertec Jbed icon, and feel this is a more polished solution.
I'm running Open Touch V3 which came with Opera Mini already loaded, so this cab may or not work for your specific rom, but it can be easily uninstalled if it doesnt work for you. YMMV
If it does work on your rom please confirm here, Thanks!
Very Nice. Thank You!
Totally awesome... was thinking about doing the same thing!!!
Now this is definetely an ELEGANT solution! Thanks a lot!!!!!!
You should do the same thing for the GMAIL app
I started looking into the whole icon thing once, but ended up not following thru with it... so awesome you got it working.
duprade said:
You should do the same thing for the GMAIL app
I started looking into the whole icon thing once, but ended up not following thru with it... so awesome you got it working.
Click to expand...
Click to collapse
Can you send me the gmail link file, and i will look into it.
Works great on my wing! Im currently running Open Touch 4.0 Lite. Thanks!
Wow, this is just awesome. Thanks alot
Next step... how to associate url files with Opera Mini
the formula...
I tried to register Opera Mini as the default program to open url files. I used the following command line:
"\Storage Card\Program Files\Esmertec Java\jbed.exe" -run s0_ ?\Windows\operal.exe,-0 "%1" which is basically your shortcut with an additional %1 (open file). Of course it didn't work.
Any suggestions?
And again... thanks for the cab. It finally made Opera Mini my default Browser!
thanks - works great on AT&T Tilt!
c3p9 said:
the formula...
I tried to register Opera Mini as the default program to open url files. I used the following command line:
"\Storage Card\Program Files\Esmertec Java\jbed.exe" -run s0_ ?\Windows\operal.exe,-0 "%1" which is basically your shortcut with an additional %1 (open file). Of course it didn't work.
Any suggestions?
And again... thanks for the cab. It finally made Opera Mini my default Browser!
Click to expand...
Click to collapse
Check out the screenshot to my software pack (link in my signature). It was created for this exact purpose and much more. Let me know if you have any other questions. Here are some highlights of it's abilities:
copy/paste (really helpful on SmartPhones)
clipboard history
multi-browser & default browser support
hacks/tweaks/troubleshooters
Thanks!
JZ
JZ SmartMort v1.4 Released!
Announcing JZ SmartMort v1.4!
Now you can use JZ SmartMort to create Opera Mini and any other JBed application icon on your Start Menu!
Have a look at the screenshots of JZ SmartMort, available HERE or at SourceForge. Below are the prominent features that the software offers.
Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing
Revisions:
v1.4 *** 2008-07-07
- Created help files.
- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.
- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.
- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.
- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.
- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.
- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.
- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.
- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.
- Various speed & optimization considerations incorporated.
- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).
thanx a lot!!
http://www.operamini.com/features/
Anyone tried to upgrade with your Kaiser/Tilt?
Please post here your experience with this new version, especially the upgrade process.
gogol said:
http://www.operamini.com/features/
Anyone tried to upgrade with your Kaiser/Tilt?
Please post here your experience with this new version, especially the upgrade process.
Click to expand...
Click to collapse
Not installing it until they have a signed version like the http://mini.opera.com/beta ones.
Maybe it's just me but honestly i see no difference between 4.0 and 4.1...
famewolf said:
Not installing it until they have a signed version like the http://mini.opera.com/beta ones.
Click to expand...
Click to collapse
What's the importance of having a signed one? I've been using the unsigned 4.1 beta since it came out and I've had no problems.
ProudPop83 said:
Maybe it's just me but honestly i see no difference between 4.0 and 4.1...
Click to expand...
Click to collapse
There are several differences. They have them listed somewhere... The main one I noticed in my short time with it was the inclusion of a "synchronize" feature, which syncs bookmarks and some other stuff with their servers. If you use the new beta for desktop machines, it syncs with their servers, too, so your PC Opera and Opera Mobile/Mini are up to date with eachother. Kinda like Microsoft Exchange for web browsing stuff.
Yeah but i dont really use that feature. The one thing i can say is I like the search in page feature.
gogol said:
http://www.operamini.com/features/
Anyone tried to upgrade with your Kaiser/Tilt?
Please post here your experience with this new version, especially the upgrade process.
Click to expand...
Click to collapse
Upgraded this morning. Upgrade process was fine...kept bookmarks and settings....I see no problems.
.....and there are differences in 4.1.....most notably, being able to download files without calling upon IE......and it's also supposedly up to 50% faster (which basically just means it could be 1% faster on 99% of the web, but if it happens to be 50% on the other 1%.....then it is "up to" 50% faster in general).
fb401 said:
What's the importance of having a signed one? I've been using the unsigned 4.1 beta since it came out and I've had no problems.
Click to expand...
Click to collapse
unassigned asks you everytime when you want to go online for net access. Plus whenever you want to save something to file system using browser it asks you permission to access file system.
Signed version only asks these questions at install and never after that
Upgraded from 4.0 to 4.1 without any problems, kept all my settings and bookmarks also. Did find it took a little while to upgrade so be patient
famewolf said:
Not installing it until they have a signed version like the http://mini.opera.com/beta ones.
Click to expand...
Click to collapse
They do, they just messed up the links so you might have to click around, unless they fixed that problem.
can it do copy and paste?
I wish you could launch it outside of Java. That extra step is a pain...
jtantley said:
I wish you could launch it outside of Java. That extra step is a pain...
Click to expand...
Click to collapse
The startoperamini thread includes a mortscript which launches opera for you in one step..no need to open java manually first. You can however create a shorcut that calls the java exe and tells it what midlet to launch...should be more info available via search.
The script is alot easier.
Which version of opera 4.1 is better for the Tilt?
I looked at the available HTC models, the Tilt doesn't appear there.
Thank you.
wisniak said:
I looked at the available HTC models, the Tilt doesn't appear there.
Thank you.
Click to expand...
Click to collapse
Whats your point? Did you try it? Hell half of us have indicated we are running it and our signature shows a tilt.
jtantley said:
I wish you could launch it outside of Java. That extra step is a pain...
Click to expand...
Click to collapse
You cannot start it outside of Java but at least you can start it with one click. Just create a link file and put:
28#"\windows\jbed.exe" -run s0_
in it (where 28 is the number of characters and 0 the number of the installed java app.... so they may vary)
put this file in \Windows\Start Menu\Programs and there you go.
No need for an extra step.
greetz
I tried the previous(generic) version
And it didn't work.
I asked the question because supposedly there're 2 versions, one is a signed version, the other unsigned.
Further, when I had my HW6910, there were a high-memory version and a "regular" version, and the "regular" version didn't work.
Here is the procedure that I followed for my 4.0 (I also upgraded to 4.1 last evening, everthing is OK). The procedure below works fine, no need to have MortScript and such.
Then you can replace the IE button with that shortcut!
However, I have not tried the selector.utf trick yet (again, it works with the 4.0). I use the "Fix.exe" (attached) to remove that security prompts. Just copy the selector.utf in the same folder, and run that Fix.exe (Make a backup of the utf file first!).
Here is the reference:
http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html
Making a direct shortcut to Opera Mini (or any other Java Midlet)
Since Opera Mini is a Java Midlet application, one annoying aspect is that to run Opera Mini, you must first run the Java Midlet, tap on the "Applications" list item, then tap on the "Opera Mini 4 beta" item. Luckily, some industrious users out there have figured out how to create a shortcut that launches Opera Mini (or any other Java app) directly. Assuming you haven't installed any other Java apps, you need to create a shortcut file (e.g., opera.lnk) pointing to ("\windows\jeodek.exe" -run s1_), or ("\windows\jbed.exe -run s1_"), if using Jbed instead.
The magic portion is the number after the the letter "s" in the shortcut target. This is the list position of the Java Midlet in the Jeodek/Jbed application list. If you install Jeodek/Jbed as a fresh install (non Mogul users), and then directly install Opera Mini, just use the number "0" to refer to Opera Mini ("\windows\jbed.exe -run s0_"). If you install another MIDlet (after Opera Mini), its index will become 1, then the next installed Midlet will have an index of 2, and so on.
Locating the number that corresponds to a Java Midlet
To find which number corresponds to an installed Java Midlet, navigate to the (windows\appdb) folder. There should be some .jar files in there, with one of them being the Opera Mini jar file (or other Java Midlet you wish to target). Whatever the number is after the letter "s", is the number needed in your shortcut link. Only the first part of the file name of the midlet is needed, so lets say, in the appdb folder, you have "s0_suite.jar", for your shortcut target, leave out the suite.jar, and only put "s0_", so your shortcut should point to ("\windows\jbed.exe" -run s0_), NOT ("\windows\jbed.exe" -run s0_suite.jar). A pre-made shortcut file can be found here.
Creating/Modifying Shortcuts on Your Mobile Device
The following lists a couple of ways to create edit/create shortcuts with parameters on a mobile device.
1.) Use the excellent shareware application, Resco Explorer (the method I personally use, and find the easiest).
2.) Create the shortcut manually using any text editor. Shortcuts have the file extension ".lnk". So, for example, lets create a file in a text editor, and save it with the file name OperaMini.lnk, the contents of the file should look similar to this :
Code:
28#"\windows\jbed.exe" -run s0_
28# means that the shortcut target, including the parameter (-run s0_) is 28 characters.
Note: A forum user has reported that the freeware application, Total Commander does NOT create the shortcut properly.
After you have created/named the shortcut, all that is left to do is to place the shortcut file in your start menu (\windows\start menu\programs) folder.
Skipping the Connection Permission Prompt (Only applies to JBed)
One of the only negatives of using Jbed, over Jeodek, used to be that any time an application wanted to access to the Internet, Jbed would ask twice if you want to allow the action. It will also forget this permission next time you ran the application, so you would have to give permission every time you ran a Midlet that tried to access the Internet. Thanks to forum user g-funkster, a work around for this annoyance has been found!
1.) Copy the file \windows\appdb\selector.utf to your PC (make sure backup this file first in case something goes wrong!)
2.) Remove read-only attribute
3.) Open the file with a hex editor, and find the line
Code:
domain=untrusted, \
Replace the text untrusted with the text tckmax. Add space characters between the x (in tckmax) and the comma (otherwise connection warnings or a nullpointerexception error may occur). The above line may appear multiple times in the "selector.utf" file, each corresponds to a different Java Midlet you have installed in JBed.
If hex editing is too blackhat for you, g-funkster has created a desktop application that can do this for you automatically! You can find it here.
jtantley said:
I wish you could launch it outside of Java. That extra step is a pain...
Click to expand...
Click to collapse
Just had a look at the Opera Mini website linked above. Does anyone know if the Esmertec Jbed Midlet manager supports this JSR-75 protocol? At the moment, I am using the Mortscript method to allow opening of links in emails etc in Opera, but direct downloads through Opera sounds very good!
Yes, it does.
fisha21 said:
Just had a look at the Opera Mini website linked above. Does anyone know if the Esmertec Jbed Midlet manager supports this JSR-75 protocol? At the moment, I am using the Mortscript method to allow opening of links in emails etc in Opera, but direct downloads through Opera sounds very good!
Click to expand...
Click to collapse
Updated development posted at this thread...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notepad Mobile
This is a "text editor" for Windows Mobile. It allows you to open text (.txt) files and other text based files (.xml, .bat, .log, etc.)
Updated v1.1: (28/10/2008)
Added Zoom Functionality
Reduced Executable Size!
Features:
Open/Create/Save text files
Supports cut/copy/paste by right click
Text input area resize as-per SIP (virtual keyboard) space
It is a standalone executable (no installation required)
Extremely light-weight and with minimum memory consumption
How to install:
Extract and copy Notepad.exe on your device and run it from there!
See: http://shamasis.net/projects/mobile/notepad/
Notepad for Windows Mobile - My First App!
Hello everybody,
It is really wonderful to see such a group of talented developers here. I am really amazed to see everyone's dedication. So much so that I felt like contributing. But there is a roadblock ahead of me.
I am a proficient developer. My domain is JavaScripting, PHP, ASP, C# .NET. I am very new to the world of Windows Mobile.
In fact, I found that I am wasting too much of time Googling even simplest of things! In fact, I am still stuck at how to work have transparent controls for Windows Mobile .NET Compact Framework!
What I would request is if someone could give me a headstart with links/tips upon simplest things for transition of C# Desktop development to C# Smartphone development (especially for Diamond as I own one!)
If I am reposting anything without searching or if I am repeating, kindly excuse me for this time and point me to proper threads!
Thanking you again!
Windows Mobile SDK
Install the Windows Mobile 6 SDK and use Visual Studio.
Already done.
cmilian said:
Install the Windows Mobile 6 SDK and use Visual Studio.
Click to expand...
Click to collapse
Did that! And that is how I made my first app. And just as a note, I do develop C# apps for desktop and as you can see, have developed simple WM apps too!
I just found no good resource as to solve very specific issues like: Control's image background and transparency, etc!
I need to know few things... please help:
1. How do I create transparent controls or have background images of textboxes, labels, etc!
2. If I apply an icon to the application (in solution properties), I get a build error "CVTRES fatal error : cannot read file.", though the same icon file is loaded when I assign it to the main Form's Icon property!!
have you checked out:
www.msdn.microsoft.com
MSDN has some solutions.
idrisito said:
have you checked out:
www.msdn.microsoft.com
Click to expand...
Click to collapse
MSDN has some solutions (regarding the transparency issues), but did not find anything concrete!
shamasis said:
MSDN has some solutions (regarding the transparency issues), but did not find anything concrete!
Click to expand...
Click to collapse
Technically the CF does not support transparent controls, but as with anything, there are some tricks to simulate it. You might try searching Google Groups in the microsoft.public.dotnet.framework.compactframework group for some pointers. As for myself, although I did get some workable controls using those tips, I found it was more trouble than it was worth. "Roll your own" is my motto now. I hardly even use the standard label control anymore.
As for your icon issue, remove the 256x256 version from the ico file. That should do the trick.
Windows Mobile Icon Issue solved!
GeckoDev said:
... As for your icon issue, remove the 256x256 version from the ico file. That should do the trick.
Click to expand...
Click to collapse
Yes right!!! It was stupid of me not to have verified the icon support for this platform.
With a lot of searching, I realized packing: 64x64, 43x43, 32x32, 21x21, 16x16 in 256 colours would be the best idea.
I used IconFX... Great tool See: http://icofx.ro/
The update exe is now way smaller. Do have a look.
BTW: Thanks a ton.
shamasis said:
I used IconFX... Great tool See: http://icofx.ro/
Click to expand...
Click to collapse
I was going to suggest that to you as well ... best free icon editor I've found.
shamasis said:
With a lot of searching, I realized packing: 64x64, 43x43, 32x32, 21x21, 16x16 in 256 colours would be the best idea.
Click to expand...
Click to collapse
You probably don't need all of them. From what I've been able to tell, the OS only uses the 16x16, 32x32, and 64x64 versions. I think I read that on MSDN somewhere, but I don't have a reference. Either way, those have worked fine for me. Remember that you need to take steps to reduce your footprint on mobile devices.
Useless Icon Sizes!
GeckoDev said:
... the OS only uses the 16x16, 32x32, and 64x64 versions...
Click to expand...
Click to collapse
Is it so?? I mean... I read some MSDN blog that said for square devices you need 21x21 and 43x43! If you say that its pointless to include them, I will be more than happy to scrap those non-standard sizes!
From: http://blogs.msdn.com/windowsmobile/archive/2007/03/02/320x320-revisited.aspx
Heh ... I was wondering where those weird sizes came from. OK, so if you're developing for square too, then maybe you do need them. I've only concerned myself with VGA/QVGA so far, so I probably misspoke.
As bloated as ico files are, I'm surprised they decided on two additional sizes for squares. I have an app with all kinds of cool graphics that are only 3-5 kb, but the icon with only a few sizes is 90-100kb, which is about 1/3 of the total exe size ... just for an icon!!! That might be why some apps have different installers for square screens, so the footprint for each stays lower.
Hi, i was testing ur notepad.exe on my HTC Touch found this problem the screen seen freeze at 1/3 of the file w/o wordwarp or with wordwarp same only little further. But when i scroll up to top no problem.
using file "HH_0409_WeatherCities.xml" size is 225kb
small problem with switching portrait to landscape while notepad running
(i did this before runnin notepad switch portrait to landscape or versa)
HOPING FEATURES
FIND option <--- this 1 most wanter
Replace option
Hi , if you are still looking for transparent control look at this :
The ability to draw bitmaps transparently though the usage of the ImageAttributes parameter still exists in the .NET Compact Framework, but it's a little bit more work than on the desktop.
ImageAttributes imageAttr = new ImageAttributes();
// Make a transparent key
imageAttr.SetColorKey(Color.White, Color.White);
//Use the key when drawing
gxOff.DrawImage(m_bmp, imgRect, 0, 0, img.Width, img.Height,
GraphicsUnit.Pixel, imageAttr);
source : http://msdn.microsoft.com/en-us/library/aa446518.aspx
Screen Mode Bug Fixed.
OceanSpray said:
...small problem with switching portrait to landscape while notepad running
(i did this before runnin notepad switch portrait to landscape or versa)...
Click to expand...
Click to collapse
I have solved this issue. Now you should have no problem while changing from portrait to landscape and vice versa. Do check out and let me know. Download updated file
Regarding the other bug: I have seen this issue on many devices. In my opinion, it is a problem (limitation) of DOTNET Framework. Try upgrading to latest DOTNET CF and do the testing.
Also, if this problem persists, I presume there will be a workaround for this. But the workaround may be at the cost of loading time and memory usage. Should I proceed in that direction?
PS:
I am planning all the existing Notepad features for this application. That Includes Find and Replace and Zoom.
Icon issue!
GeckoDev said:
...OK, so if you're developing for square too, then maybe you do need them. I've only concerned myself with VGA/QVGA so far, so I probably misspoke.
Click to expand...
Click to collapse
Hey... I have removed the odd sizes as well! Lets dump Square devices as of now!!
Moderators: Well... ummmmm.... this software seems to be working on most ppc-s without breaking them!!! can/should this be copied/moved to the "softwares" section??
Development shifted to another thread.
Find updated information at:
http://forum.xda-developers.com/showthread.php?p=2853166#post2853166
I intend to follow-up this thread for a diamond specific notepad that I will make. Provided I can find a way to make good transparent controls!!
Thanks for this nifty app!
There's a bug however : I'm unable to externaly launch a non-known filetype with Notepad. I get : "The specified file cannot be opened. Path or format incorrect" I get the error with or without launching the file (a .ini file, just for the record) in double-quotes. However, I'm able to open the file just file from within notepad.
And do take a look at Notepad2 (Desktop). It's a great Notepad replacement but maintains the speed and style. Would be nice if you could implement some of its features like line numbers and syntax highlighting.
[deXter] said:
Thanks for this nifty app!
There's a bug however : I'm unable to externaly launch a non-known filetype with Notepad. I get : "The specified file cannot be opened. Path or format incorrect"...
Click to expand...
Click to collapse
hello dexter. kindly check out the newer version of this app with many new features at this thread: http://forum.xda-developers.com/showthread.php?p=2853166
shamasis said:
Notepad Mobile
This is a "text editor" for Windows Mobile. It allows you to open text (.txt) files and other text based files (.xml, .bat, .log, etc.)
Click to expand...
Click to collapse
Hi Shamasis,
I was looking for a Windows Mobile Notepad to edit .reg and .ini files on my PDA without having to copy the files to PC and back again. Your Notepad is a very cool start but has one problem for me: it only saves in ANSI format and not in UNICODE format.
I can use your Notepad to view the files but not edit them unfortunately. The *.ini for many of my applications needs to be in UNICODE and doesn't accept ANSI after opening and saving in Notepad.
Can I make a feature request for Save As... UNICODE? Or perhaps you can automatically resave in the same format the opened file was?
Great tool Shamasis - keep up the good work!
Mathew
hello, i have a small problem, after trying various registry changes etc for changing the default browser to Opera 9.5 (i have the first firmware release of x1 at moment, will change it to r3 when i have some time) i succeded to change the default browser when i click links around using XperiaTweak2...
I use my x1 a LOT with the gmail java application, is way more confortable that any other way for using my gmail account and i use it as only email, well, the problem is that even if the default browser is set to opera and works if i click links around it does not work when i click a link in the Java app for Gmail... i have tryed to use gmail from opera but with this java app is way faster and more confortable...
any idea on how i can manage to force this damn thing to open the links i click in the Gmail Java app with Opera and not with IE?
I attach here the java installer since for the x1 installing from website don't work for some reasons...
I am glad that someone thought to post this. I have been fighting this issue with my java gmail app on windows mobile for nearly a year. I had to go back to version 1.5.0.1193 instead of using the updated 2.0.6 version because in the newer version when I click on a link it locks up my entire phone and I have to do a soft reset to get the phone back to normal. In version 1.5.0.1193 I get this message immediately after I click on a link "http://www.google.com/gwt/n?u=http%3A%2F%www.ebay.com" with a question asking me if I want to open this URL with a yes or no option. In this case I was just clicking on a link to take me to ebay's main website page. If I click "Yes" then IE Mobile opens (BLAH!) and it inserts "http://www.google.com/gwt/n?u=http%3A%2F%www.ebay.com" in the address bar in IE Mobile and all I get is the general "The page cannot be found" error message. There are no options under "Settings" to change the default browser or how it inserts the links in the address bar. So, I have been puzzled about this for a really long time and I thought I was the only one that was bothered by this. If there are any good programmers out there that understand Java please help us with this.
just install R3A, i found out that it makes Opera the default browser for everything
EDIT: You may also find the new beta Opera Browser 9.7 useful as it has a "Set Opera as default browser" option