BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-02-2006, 01:17 AM   #1 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default FREE/SOURCE Included: Quick Note Utility, one key access, clipboard editing utility

Please Login to Remove!

BlackBerryForums exclusive -- Free utility with source code.

PURPOSE: BlackBerry Application to permit one keypress access to typing notes. This application is useful for people who want to be able to start creating notes immediately upon one click, without any steps, faster than MemoPad. When this application is closed, the contents of the note is Copied & Pasted to the clipboard for future a Paste operation.
PHP Code:
/*
* QuickNote.java
* This is the Version 1.0 Source Code -- For Version 1.1 Source, download the .zip instead.
* _________________________________________________________________________________________________

* PURPOSE: BlackBerry Application to permit one keypress access to typing notes. This application 
* is useful for people who want to be able to start creating notes immediately upon one click, 
* without any steps, faster than MemoPad. When this application is closed, the contents of 
* the note is Copied & Pasted to the clipboard for future a Paste operation..
* _________________________________________________________________________________________________

* Written February 2006 by Mark Rejhon, on behalf of BlackBerryForums.com users.

* LICENSING:
* This is free software. 
* BINARY and SOURCE released under the GNU GENERAL PUBLIC LICENSE, VERSON 2, www.gnu.org
* If you need an original, proprietary licensed copy, please contact Mark Rejhon.
* If you need Mark Rejhon's resume, please contact Mark Rejhon at www.marky.com for the 
* latest copy of his resume.

*/
import net.rim.device.api.ui.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.system.Clipboard;
import net.rim.device.api.system.Characters;
// _________________________________________________________________________________________________
// Main startup class
public class QuickNote extends UiApplication
{
    
// Program entry point.
    
public static void main(Stringxxx91;xxx93; argv)
    {
        
QuickNote c = new QuickNote();
        try
        {
            
c.enterEventDispatcher();
        }
        catch(
Exception e)
        {
            final 
String msg e.getMessage();
            
net.rim.device.api.ui.component.Dialog.alert("Error Starting Application:\n" msg);
        }
    }
    
// Displays the screen
    
public QuickNote()
    {
        
pushScreen(new QuickNoteScreen());
    }
}
 
// _________________________________________________________________________________________________
// Note textbox class
final class QuickNoteScreen extends MainScreen
{
    
AutoTextEditField     QuickNoteText null;
 
    
// Create Screen
    
public QuickNoteScreen()
    {
        
super(DEFAULT_MENU DEFAULT_CLOSE);
 
        
// Add a title
        
setTitle(new LabelField("Quick Note"LabelField.ELLIPSIS LabelField.USE_ALL_WIDTH));
        
// Add a blank textbox
        
QuickNoteText = new AutoTextEditField();
        
add(QuickNoteText);
    }
    
// Close Handler
    
public boolean onClose()
    {
        
// Upon close, copy text contents into clipboard for Copy and Paste operations
        
Clipboard.getClipboard().put(QuickNoteText.getText());
        
System.exit(0);
        return 
true;
    }

Source code and BlackBerry desktop installable version is below. The hotkey is "Q". Hitting Esc closes QuickNote with the text automatically copied to the Clipboard, for pasting. I've created a custom icon that roughly resembles a post-it note with an exclamation mark on it.

It is also very useful for editing your clipboard too: You can reopen QuickNote, paste, edit the pasted text, and close QuickNote.

This code was created upon a request by a BlackBerryForums user, and also because I have a personal need for this utility. Also, including the QuickCompose email app too as well:



MarkyBerryUtils Wireless Download:

Download Quick Note Via BlackBerry:
www.marky.com/files/bb/QuickNote.jad

PURPOSE: One hotkey access to immediately jotting down notes that is automatically copied to the clipboard. Requires BlackBerryOS 3.6 or later.

Download Quick Compose Via BlackBerry:
www.marky.com/files/bb/QuickCompose.jad
PURPOSE: One hotkey access to immediately composing a blank new email message. Requires BlackBerryOS 4.1 or later. This readds the missing Compose icon from earlier BlackBerryOS software, while using the new convenient New Email interface of OS 4.1.



MarkyBerryUtils Desktop Download + Source:
Attached Files
File Type: zip QuickCompose_v102.zip (2.7 KB, 110 views)
File Type: zip QuickNote_v12.zip (5.0 KB, 91 views)
File Type: zip MarkyBerryUtils-Source_2007-02-03.zip (89.9 KB, 69 views)
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source

Last edited by Mark Rejhon : 02-03-2007 at 09:46 PM.
Offline  
Old 02-02-2006, 01:33 AM   #2 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

This utility was inspired by this thread:
Simple notepad utility for BB?
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-02-2006, 08:28 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2005
Location: Vero Beach, FL.
Model: 9630
Carrier: Sprint
Posts: 68
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mark,

will quick notes work with the 7100i??? (does the shorting keyboard mess with the settings)
__________________
30B8E46F

DO YOU BLACKBERRY?
Offline  
Old 02-02-2006, 05:37 PM   #4 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes, QuickNote works on the 7100i but I don't think you will have the hotkey.
If there is a side 'convenience key' on the 7100i like there is on the 8700, you can use that instead.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-02-2006, 06:32 PM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2005
Location: Vero Beach, FL.
Model: 9630
Carrier: Sprint
Posts: 68
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

that's what i did

Thanks
__________________
30B8E46F

DO YOU BLACKBERRY?
Offline  
Old 02-03-2006, 12:55 PM   #6 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Another method is to use PocketDay (third party software) to allow you to assign phone keypad hotkeys to applications. (If you do, then you'd have to press the phone button before dialing, but this would be another solution to the problem of hotkeys)
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-03-2006, 03:31 PM   #7 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

Just downloaded both utilities...the C & the Q...sweet...works great in fact! Thanks Mark!

Edit: Got one for SMS by chance?
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...

Last edited by stevew : 02-03-2006 at 03:33 PM.
Offline  
Old 02-03-2006, 06:37 PM   #8 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

I couldn't find an API to launch an SMS Message compose interface. HOWEVER, the easiest way is that you can use the existing "A"ddressbook hotkey already on BlackBerry. Select a name, then click "Compose SMS". I don't think there's a way to make this any simpler, unfortunately...
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-03-2006, 08:13 PM   #9 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

I installed both APPS, right away after the install, my BB is locking up to the point where I have to remove/reinstall the battery to get it back. Wondering if one of these apps could be the issue since it has never happened in the 3 months I have had it...
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...
Offline  
Old 02-03-2006, 08:46 PM   #10 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Do you have the old Compose utility installed by chance? I am wondering if having both the Ramble and my version installed at the same time, causes any problems if both are installed at the same time?

Next time your BlackBerry locks up, try this: Hold ALT and hit Esc. Does this allow you switch away from the locked application? Which application is locked? Switch to each application until you find the nonresponding one, and report back -- I'd like to know if it's mine or someone elses'

Anyone else experiencing any problems? I have had no lockup problems on my 8700R (upgraded to OS 4.1.0.206 released December 19th, 2006)
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-03-2006, 08:51 PM   #11 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

No...I uninstalled it 1st...and when it locked up...nothing would work...now I've uninstalled the Quick Note to see if the problem is that app, the combination of the two...or the Quick Compose...I'll keep you posted...BTW...I'm also at the same OS version as you are.
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...
Offline  
Old 02-06-2006, 07:15 AM   #12 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

I uninstalled the Quick Note utility and the device continued to experience the same lock up problems. I then uninstalled the Quick Compose utility and installed Rambler's corrected verison and have not yet had issue...I don't know if anyone else has been having the same problem or not...I don't have other software installed and am running the latest OS from Robbers Wireless...
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...
Offline  
Old 02-06-2006, 08:15 PM   #13 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

I found the problem. I have fixed QuickCompose to Version 1.02

A System.exit(0) needed to be added, which Ramble verison's did not have. So in attempting to fix a bug that Ramble's version had, I added a different bug. Whoops! Now all known bugs have been eliminated.

Edited original message again -- download again.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 02-06-2006, 11:07 PM   #14 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

Was about to do the OTA but noticed the version at 0.0?
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...

Last edited by stevew : 02-06-2006 at 11:08 PM. Reason: typo
Offline  
Old 02-07-2006, 08:27 AM   #15 (permalink)
BlackBerry Extraordinaire
 
stevew's Avatar
 
Join Date: Jan 2005
Location: Montreal
Model: Z10
OS: Latest...
Carrier: Koodo Mobile
Posts: 1,354
Post Thanks: 1
Thanked 52 Times in 48 Posts
Default

I loaded the .ZIP from the desktop...same version (0.0) appears in the app, but now it seems that the problem has gone away! Great and thanks Mark!
__________________
Steve (Besadmin)

Previously owned:
At least 17+ different BB's since 1999 -- too many to list...

Last edited by stevew : 02-07-2006 at 05:25 PM. Reason: Typo
Offline  
Old 02-08-2006, 08:04 AM   #16 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Location: Northeast Pa
Model: 8330
Carrier: Verizon
Posts: 19
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mark... Not sure if you were aware of this, but the QuickCompose on a 7250 running the Telstra 4.1.0.268 spawns a compose for SMS, not e-mail. I've confirmed this with both your and Ramble's OTA code as of 2/8/06

If you would like me to test new code on the 7250, send me a link.

--Dan
Offline  
Old 02-08-2006, 11:53 AM   #17 (permalink)
BlackBerry Extraordinaire
 
KonTiki's Avatar
 
Join Date: Jun 2005
Location: NJ, USA
Model: 9650
OS: 6.0.0.524
PIN: 007
Carrier: Verizon
Posts: 2,762
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by fungusmud
Mark... Not sure if you were aware of this, but the QuickCompose on a 7250 running the Telstra 4.1.0.268 spawns a compose for SMS, not e-mail. I've confirmed this with both your and Ramble's OTA code as of 2/8/06

If you would like me to test new code on the 7250, send me a link.

--Dan
Same thing happened to me, I am only using the Quick Notes at the moment and that is a great app.
__________________
BB Tour 9650


Running OS 6.0.0.524
Offline  
Old 02-08-2006, 04:01 PM   #18 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi,

I have updated QuickNote to Version 1.1 with an "Options" screen. Configurable font sizes (From super small to super size) and automatic paste on startup. Still only about 100 lines including all these new features. Source code download is also updated too. Go and download again.

.

.

__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source

Last edited by Mark Rejhon : 02-08-2006 at 04:14 PM.
Offline  
Old 07-04-2006, 06:05 PM   #19 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2005
Location: Atlanta
Model: 8700g
Carrier: T-Mo
Posts: 154
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mark,

I've tried to utilize the Options to change the font sizes, but to no avail. I've downloaded it via the OTA file twice; should I try it via the Desktop Manager?

Thanks!
Offline  
Old 07-11-2006, 07:35 AM   #20 (permalink)
New Member
 
Join Date: Apr 2006
Model: 7290
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank so muchxxx65281;
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.