Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Trusted Contributor
bh1r1th
Posts: 226
Registered: 11-23-2010
My Carrier: Software Programmer
Accepted Solution

How to send sms throught programmetically

Hi Friends,

here i want to open the Compose Textmessage field in that i want to set some default text and user can choose the numbers whom he wants to send how to do this using bb api.

 

please help me friends.

 

 

Thanks

Please use plain text.
Developer
kanaksony
Posts: 373
Registered: 04-11-2009

Re: How to send sms throught programmetically

Hi,

Check "net.rim.blackberry.api.invoke.Invoke" BB API, you can use "Invoke.invokeApplication(APP_TYPE_MESSAGES ,null);"

Regards,
Kanak Sony
---------------------------------------------------------------------------------
Please use plain text.
Trusted Contributor
bh1r1th
Posts: 226
Registered: 11-23-2010
My Carrier: Software Programmer

Re: How to send sms throught programmetically

Hi Thanks for the replay how to open composetext message box in that i hav to set the text how to do this please tell me.

Please use plain text.
Developer
kanaksony
Posts: 373
Registered: 04-11-2009

Re: How to send sms throught programmetically

Check this

http://docs.blackberry.com/en/developers/deliverables/11935/Create_new_populated_text_msg_565424_11....

 

 

Regards,
Kanak Sony
---------------------------------------------------------------------------------
Please use plain text.
Trusted Contributor
bh1r1th
Posts: 226
Registered: 11-23-2010
My Carrier: Software Programmer

Re: How to send sms throught programmetically

Hi Once agin Thanks.

Please use plain text.
Trusted Contributor
bh1r1th
Posts: 226
Registered: 11-23-2010
My Carrier: Software Programmer

Re: How to send sms throught programmetically

and i have a small doubt how to send multiple contacts to a same message using this.

Please use plain text.
Developer
jitendrasharma
Posts: 205
Registered: 08-04-2009

Re: How to send sms throught programmetically

you can not invoke compose sms application programmatically in blackberry, you would need to create your sms composer by yourself to integrate this compose functionality.

Please use plain text.
Developer
jitendrasharma
Posts: 205
Registered: 08-04-2009

Re: How to send sms throught programmetically

Thanks Kanak Ma'am, I have faced this problem earlier and didnt get solution.

Please use plain text.
Developer
kanaksony
Posts: 373
Registered: 04-11-2009

Re: How to send sms throught programmetically

[ Edited ]

Yes, Jitendra u r right, above 2 are solutions for 2 diff scenarios..!!

Regards,
Kanak Sony
---------------------------------------------------------------------------------
Please use plain text.
Trusted Contributor
bh1r1th
Posts: 226
Registered: 11-23-2010
My Carrier: Software Programmer

Re: How to send sms throught programmetically

yes it's working but i can't send the sms to multiple persons.

Please use plain text.