BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-09-2005, 05:24 AM   #1
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default WANTED: Sparrow-like Email frontend for J2ME BlackBerry

Please Login to Remove!

Quote:
On Tuesday 08 February 2005 18:25, Mark Rejhon wrote:

>> I am asking you for permission to link to, or post the source code zip
>> file at BlackBerryForums, to see if someone else wants to "port" the
>> source code to J2ME.

Please do. I have gotten several requests for a Java version to run on the newer BlackBerry devices. I don't use Java in my work so I haven't figured any of it out.

I use a Series 60 Symbian device nowadays. I started a Sparrow-like application for it but only have a small skeleton done so far. Busy at my job for a while.

The Sparrow application is pretty simple. The main thing it does differently than the typical mail client, is that it dynamically filters. Each folder has criterion and whenever a message meets it, it shows up whenever the folder is viewed. You can tweak the criterion for a folder, and it reflects.

The downside to dynamic filtering is that you can't easily move messages amongst folders. What you'd want is a combination I suppose. Use the folder indication field and let that be added as a criterion.

-- /* Chris Faherty <cfaherty[at]mailworks.org> */
__________________
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-09-2005, 05:24 AM   #2
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default

Quote:
Originally Posted by From [url
http://rallypilot.sourceforge.net/bb/][/url]Sparrow

GPL licensed free software.

(Old RIM950 version)

Source & Binaries (v1.9.24): sparrow.zip FAQ

Sparrow is a message application that is similar to the built-in messaging software. There is nothing particularly wrong with the built-in RIM message application, it just doesn't work very well for me. I find the header listing to be confusing since it interleaves day markers in the list, and it wastes too much screen just to show an envelope icon. I wanted something that was more pleasant such as my xfmail software which I run on my desktop; i.e. folders and colorizing.

Folders; I receive lots of mail so I need folders to separate the entertainment and fluff from the really important stuff. That's what folders do, you configure a header field string rule (or several) and it lets you view a list of matching records. In addition you can set a different tone/vibrate notification for each folder. So far so good, the main screen shows the folders and their total and unread message counts.

I've been using this long enough and it seems okay.. so I'm now building binaries into the distribution. There are bound to still be issues, one in particular which I run into every now and again whereby the message counts are incorrect. I intend to put work-arounds (i.e. the Recalculate counts menu option) in place until such time that these bugs can be corrected.

Development on Sparrow is slowing down a bit since I don't find that I need much more to get my work done. In fact if I had one thing that I would spend some time on it would be to make a new screen saver that showed the specific information that I always manually request on the pager. Something like a mixture of Nasdaq, Dow, portfolio, and perhaps news headlines and slashdot headlines. I figure an easy way would be to first mock up a replacement screen saver, and then add a list of items which can be programmed via a special email. Furthermore, I would like to get somewhere in hacking the go.web browser so that I can force it to view a particular URL.

A further note. There really is no documentation on this project other than this page and the FAQ link on the right. Of course you can look through the source code and find my comments if you have any questions about how this works. Please realize that this software was written out of neccessity and not intended to spawn any particular commercial interest. As such I have no plans to make it anything other than a stable and useful piece of software.. so don't be surprised if my interests fade a bit and I move on to other things once Sparrow works how *I* want. ABSOLUTELY NO WARRANTY.

Updates:

v1.9.6 - Added support for the latest Service Pack 3, which uses BB 2.0.22 and message.dll 2.0.004. Note: I also tried to move the icon closer to the left on the ribbon, but RibbonRegisterApplication() ignores positions < 21. Oh well, can't fault it for that -- it's the way it's supposed to work.
v1.9.7 - RIM 962 fixup. AutoText fixup for 850 - fixes compose mail and draft.
v1.9.8 - Use 't' and 'b' in message list for top and bottom. Changed 'n' and 'p' behavior in channel view so that it cycles folders. Added a RIM 950 1.7 build.
v1.9.9 - Avi Freedman's super delete functionality added, though not quite complete yet. I have reports of Sparrow sometimes hanging during sends. This is on Blackberry 2.0 devices so I have no way to test it. I would appreciate if a developer with a BB 2.0 device could install sdkradio.dll on their device and step through the send_the_draft() function and determine where it hangs so that I can implement a work-around. Thanks.
v1.9.10 - There was a bug in my send_the_draft() which always made the recipient type be zero. This may have been the cause of intermittent send failures.
v1.9.11 - Bug fix for the folder listing. The DatabaseSortedListView on my old 950 OS had a bug in the ::update function. Well, it turns out that in the BB OS they fixed the bug.. and therefore my work-around is not needed. Thanks to David James for finding it. Also from now on I am using the /opt:nowin98 link optimization which reduces the size of binaries.
v1.9.12 - I used my pager while on vacation going up the east coast. I was out of coverage nearly the entire time, and at my destination I had a flaky 1 bar signal. I must admit that the email portion of the pager was pretty resilient; messages would trickle in, and I could compose and send messages without having reception which was great. But the Go.Web part, or rather my applications based on GwRimLib were really flaky. This was because I had to be in coverage during the whole request/receive session, unlike the way the email works. This means I will probably switch over to using email based services for that stuff. Anyways, this version is a few fixes which were brought to my attention while I was gone; thanks to David James for the page fault fix, and Kevin Loukinen for the draft sending issue. The page fault issue involved the OS' ability to invalidate record pointers on occasion when it moves stuff around. I had always assumed it would soft-reset before doing this, but I was wrong as indicated by the documentation on page 47 of the OS2 manual. This version should fix the BB2.0 simulator's page fault as well as intermittent message problems on the device while it is busy. The draft sending issue was the same bug as in 1.9.10 but I didn't fix it for the draft section. And last but not least since I was working on a bunch of XML stuff for this release, this version has a HEADLINES folder which you may or may not want.. I plan to make it optional in the future. It is functional except that on the Blackberry series it may not be very useful since RSS/RDF messages will be limited to 2K due to the crippled transport. It's kindof a cool feature, basically try sending your pager an RSS/RDF formatted message and it will bring it into the HEADLINES folder and let you follow links with Go.Web.
v1.9.13 - More bug fixes from David James and me. Just trying to get all of the flash pointers to stay correct when the flash has been moved around, which the OS will do during garbage collections. This version will still page fault on the simulator with the release mode but don't worry this is only because the simulator doesn't update the database edition properly, which is our indicator to refresh our flash pointers. We do have a _DEBUG test so that it updates our flash pointers each time we yield, so the debug build will run without problems on the current simulator. In the future we will either come up with a runtime test for whether we are running on the simulator, or hopefully the simulator will be fixed to increment the database edition when it does its agressive flash movements.
v1.9.14 - There is an apparent problem with the select_method function in 850 OS 1.4.78 (1.6 SDK). It gives a strange "Invalid???" error when you try to pick an address in the composer. I found that the regular mail was using a select_method_using function instead, so I've switched over to using that function on systems which have it; >=1.6SDK.
v1.9.15 - Launch URLs from message body, press 'l' or pick the "Browse the link" menu option. Also added BB OS 2.0.20 Message.dll 2.0.005 support.
v1.9.16 - Alex Schmelkin found that Blackberry OS flavors don't calculate get_num_records() properly when records are added, so I do a brute force count for the draft folder. I didn't recognize the bug since it actually works on the older RIM950 OS which is what I use. Pressing 'c' from the main screen now jumps right into the compose mail for convenience.
v1.9.17 - Bug fix! Alex and I finally found the most annoying bug of them all, which was an intermittent crash during composing mail. It turned out to be an incredible 1 character change.. I had accidentally left out the & reference for the database object in the ComposeScreen class and therefore it was constructing a new database object each time the composer was called. The only other change in this version is another little fixup in the ComposeScreen destructor, and also the addition of the W hotkey for the icon.
v1.9.18 - A bug fix for Error 264 while deleting messages from the regular message application. Also various stuff; like cap+d for deleting messages, 't' and 'b' for the folder screen, 'l' on the folder screen for opening a Go.Web launch, changed the 'b' for toggle alert bell to 'a' so it doesn't conflict with the normal 't' and 'b' usage.
v1.9.19 - Sorry this release took so long. It has a little different method for auto-deleting the XML messages which so far works better. Also it has a sent mail folder, and I've put it towards the bottom since the folder list was getting unwieldy on my pager-sized device. Not many options in sent mail, soon to have a resend though.
v1.9.20 - A fantastic addition by John Kirkland which adds support for using Trancell's email-web browsing. You may now select between Go.Web and Trancell in the Options. To summarize, we've had link browsing for the last few releases; either 'l' or select the menu option "Browse the link." Using the Trancell option causes the web request to be recieved as an email. It's actually very convenient even if you have Go.Web since you can fire off a bunch of requests and then read them later. Oh, and my excessive use of this feature has caused me to find another "duh" bug. It was in the word-wrapping code, if you tried to send a long line without any spaces it would hang.
v1.9.21 - Find text option 'f' 'F' find again; this is just for within a particular message or channel. Support for OS 2.1 (use sparrow20).
v1.9.22 - About time for another release. Actually I've been sitting on this for a while for no good reason, just me being too lazy to upload. Support for more OS 2.1 versions (keep using sparrow20). Got rid of initialized global variables which I *think* can cause OS 2.1 to error 264, though I've only seen that in another project. This version also has super-charged alerts, where you can pick between; Pulsed and Continuous vibration, Tone repetitions and pauses, you can also control the vibration length from a teeny .1 second to a monster 25 second duration. It also has a repeat interval which you can set to alert more than once. These alert enhancements, overkill for sure, were generously sponsored by Mike Greenberg.
v1.9.23 - 2.1.23 support.
v1.9.24 - 2.1.23/2.1.2.15 support thanks to Doug Marien. Watch puppy RimTaskYield() is now in some places for people with lots of messages.
__________________
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-09-2005, 05:38 AM   #3
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default

Sparrow was a very well-liked program for the old model 85X/95X.

Basically, a J2ME version of Sparrow could simply be an alternative front-end to the existing RIM Messages list, that is much more configurable.

It does not have to be ported from the Sparrow source code, but BlackBerryOS 4.0 contains API's that are detailed enough to write an alternate front-end to the existing RIM Messages List. Some people would very much love to have folders on BlackBerry, too!
__________________
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-10-2005, 09:54 AM   #4
movalys_matt
Knows Where the Search Button Is
 
Join Date: Aug 2004
Posts: 29
Default

yes, that could be fun to develop another mail client for blackberry
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Unifi Talk UVP Touch VOIP IP Phone Unlocked picture

Unifi Talk UVP Touch VOIP IP Phone Unlocked

$139.99



Vtech ErisTerminal VSP861 Touchscreen Color Desktop - Voice-Over-IP VOIP Phone picture

Vtech ErisTerminal VSP861 Touchscreen Color Desktop - Voice-Over-IP VOIP Phone

$14.99



"NEW" RingCentral Polycom VVX 311 6-Line VoIP IP SIP Business Media Phone

$12.95



Cisco CP-8811-K9 Unified Office IP VoIP PoE Business Phone w/ Stand & Handset picture

Cisco CP-8811-K9 Unified Office IP VoIP PoE Business Phone w/ Stand & Handset

$14.99



Polycom CX300 USB Desktop VoIP Phone For Microsoft Teams / Office Communicator picture

Polycom CX300 USB Desktop VoIP Phone For Microsoft Teams / Office Communicator

$18.95



Allworx Verge 9312 Voip IP Color Display Phone 8113120 Gigabit & Backlit picture

Allworx Verge 9312 Voip IP Color Display Phone 8113120 Gigabit & Backlit

$199.00







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