Thread: [Barry-devel] Writing sms messages through barry library?
Status: Beta
Brought to you by:
ndprojects
From: thepenguin w. <th3...@gm...> - 2011-11-03 14:01:04
|
Hi all, I wonder if there is yet functionality to send text messages through the Barry library. I checked the "feature list" but couldn't find it. So it probably is not there. I wonder how difficult it would be to write this functionality. I have some C++ knowledge but if it is to much work I probably won't do it. Otherwhise I would give it a shot. It would be great if I could receive/send text messages on my desktop. PS: I am not subscribed so please keep me in the TO list. Kind regards |
From: Chris F. <cd...@fo...> - 2011-11-03 21:23:47
|
On Thu, Nov 03, 2011 at 03:00:54PM +0100, thepenguin whisperer wrote: > I wonder if there is yet functionality to send text messages through the > Barry library. > I checked the "feature list" but couldn't find it. So it probably is not > there. > I wonder how difficult it would be to write this functionality. I have some > C++ knowledge but if it is to much work I probably won't do it. > Otherwhise I would give it a shot. It would be great if I could > receive/send text messages on my desktop. Yes, that would be nice. :-) But it's not currently possible with the current version of Barry. It is possible to view the existing SMS messages, but to send them, I think you'd need an app on the Blackberry side, and talk to it in some manner. I believe the database functionality on the BlackBerry side is done programmatically. So if you wrote an SMS app that recorded and also read its own database, then you could write a record parser/builder in Barry to do the communication. The hard part would be writing the SMS side on the BlackBerry, and trying to tie into the BlackBerry Messenger service. I'm not sure that is possible, but I'm not a BlackBerry app expert. The SMS is probably possible, but I don't know how closely guarded the BlackBerry Messenger api is. Hope that helps, - Chris |
From: Josh K. <jo...@sl...> - 2011-11-03 22:16:08
|
The BlackBerry API is surprisingly open when it comes to messaging. Although I haven't made anything that sends an SMS message (I've made things that listen to SMS, and also send email), it wouldn't surprise me if it's possible. This link suggests it should be possible: http://docs.blackberry.com/en/developers/deliverables/30946/Messaging_category_1716085_11.jsp Barry today has the brawchannel utility. With this you could create your own custom protocol for sending SMS messages through your app on the BB. Here is an example of writing from a BB app to brawchannel running on the desktop: http://git.slashdev.ca/log4bb/tree/src/com/jiggak/log/adapter/UsbAdapter.java ... the reverse, listing in the app for input from brawchannel should be pretty straight forward. On 11-11-03 5:12 PM, Chris Frey wrote: > On Thu, Nov 03, 2011 at 03:00:54PM +0100, thepenguin whisperer wrote: >> I wonder if there is yet functionality to send text messages through the >> Barry library. >> I checked the "feature list" but couldn't find it. So it probably is not >> there. >> I wonder how difficult it would be to write this functionality. I have some >> C++ knowledge but if it is to much work I probably won't do it. >> Otherwhise I would give it a shot. It would be great if I could >> receive/send text messages on my desktop. > Yes, that would be nice. :-) But it's not currently possible with the > current version of Barry. > > It is possible to view the existing SMS messages, but to send them, I think > you'd need an app on the Blackberry side, and talk to it in some manner. > > I believe the database functionality on the BlackBerry side is done > programmatically. So if you wrote an SMS app that recorded and also > read its own database, then you could write a record parser/builder in > Barry to do the communication. > > The hard part would be writing the SMS side on the BlackBerry, and trying > to tie into the BlackBerry Messenger service. I'm not sure that is possible, > but I'm not a BlackBerry app expert. The SMS is probably possible, but > I don't know how closely guarded the BlackBerry Messenger api is. > > Hope that helps, > - Chris > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Barry-devel mailing list > Bar...@li... > https://lists.sourceforge.net/lists/listinfo/barry-devel |
From: Rick S. <rw...@al...> - 2011-11-04 06:34:21
|
On Thu, 2011-11-03 at 17:12 -0400, Chris Frey wrote: > On Thu, Nov 03, 2011 at 03:00:54PM +0100, thepenguin whisperer wrote: > > I wonder if there is yet functionality to send text messages through the > > Barry library. > > I checked the "feature list" but couldn't find it. So it probably is not > > there. > > I wonder how difficult it would be to write this functionality. I have some > > C++ knowledge but if it is to much work I probably won't do it. > > Otherwhise I would give it a shot. It would be great if I could > > receive/send text messages on my desktop. > > Yes, that would be nice. :-) But it's not currently possible with the > current version of Barry. I wouldn't say that, unless you have looked at the AT commands that the modem supports. SMS messages are generally sent using AT commands. I'm not sure if the modem supports the necessary commands .... at OK +CMGF=? +CMGF: (0-1) OK So, it appears that the 9900 can, using the modem. > > It is possible to view the existing SMS messages, but to send them, I think > you'd need an app on the Blackberry side, and talk to it in some manner. > > I believe the database functionality on the BlackBerry side is done > programmatically. So if you wrote an SMS app that recorded and also > read its own database, then you could write a record parser/builder in > Barry to do the communication. > > The hard part would be writing the SMS side on the BlackBerry, and trying > to tie into the BlackBerry Messenger service. I'm not sure that is possible, > but I'm not a BlackBerry app expert. The SMS is probably possible, but > I don't know how closely guarded the BlackBerry Messenger api is. > > Hope that helps, > - Chris > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Barry-devel mailing list > Bar...@li... > https://lists.sourceforge.net/lists/listinfo/barry-devel |
From: Chris F. <cd...@fo...> - 2011-11-04 07:27:13
|
On Fri, Nov 04, 2011 at 02:21:02AM -0400, Rick Scott wrote: > I wouldn't say that, unless you have looked at the AT commands that the > modem supports. SMS messages are generally sent using AT commands. I'm > not sure if the modem supports the necessary commands .... > > at > OK > +CMGF=? > +CMGF: > (0-1) > > OK > > So, it appears that the 9900 can, using the modem. Nice! Thanks! - Chris |