SMS from JAVA App - Windows Mobile Development and Hacking General

Hi All,
I am trying to develop a Personal Java App for XDA which can read,send SMS and can read CBS. I look through web for help and could find some SMS APIs but not really helpful. Is there a way in JAVA to do that and do I need to have some contract with O2 ( service provider) or some knowledge of internals of XDA like RIL.
Any help is appreciated.
Thanks
Dhiraj

I have implemented a JNI API for SMS: attached is the code for XDA II

Hi Dhiraj
I read yr SMS from Java App
I wonder if u could write a small app which could pick out a phone number contained in an sms. I receive sms from various sources with cell phone numbers in them and i need to respond to them with my postal address. I wonder if i could find an app which could send an sms to the number contained in an sms.
for eg.
new sms from :
shailes<+91-12345-85995>
content as below
"
Dear Al please call dhiraj on +91-98123-47485 and discuss the sms thread and send a quote and yr address"
<end of message>
Action
SEND An sms to DHIRAJ with predefined message
Most application filters can only read and will reply to sender
for eg. MAGICALL will send SHAILES a predefined message or the incoming text message
I need the program to read the phone number inside the text message and reply to it.
Any help

Related

Help Read SMS

Hello,
I would like to use SMS in a new application using XDA. I want my application can read sms in inbox.
Do you know how I could see example of source code using SMS API? Or do you have such example to help me?
I got example to send sms but cannot get sample how to read the sms.
FYI, i am writing program using eVB.
Thanks a lot
You should take a look at PocketPC Network Programming by Steve Makofsky or simply try
http://groups.google.com/groups?q=pocketpc+sms+api&start=0&hl=de&ie=UTF-8&
and
http://msdn.microsoft.com/library/en-us/dnppcgen/html/sms_apps2.asp?frame=true
SMS API is not easy.
Yup, it's not very easy, you need to learn about POOM...
I advise you to look into VB .net, it's been made a hell of a lot easier.
I still do it the Medieval way though! Win32 C++ all the way :shock:
V
I did include some C code on sending/reading SMS in this post
http://forum.xda-developers.com/viewtopic.php?t=10761&highlight=
You are asking about reading messages in the Inbox that is when poom as mentioned by vijay555 comes into play.
I don't know anything about poom, but I have read incoming SMS by making my read thread take control of incoming SMS. This means that the message never goes into the inbox.
vangelderp: interesting code, not seen it before on the board. A very good way to do it. It doesn't need to be installed before pocket outlook etc does it? I don't imagine it does. Good stuff!
V
No it does not need to be installed before PPC Inbox (Outlook), what seems to happen is when a SMS message comes in the Inbox fires up. From that point on my code won't get a handle to SMSRead.
So what you need to do is do a warm reset and then start your user program (including my code sample) before any new incoming SMS messages and then it will get the SMSRead handle first. This then blocks Inbox getting a handle which I am sure it raises a error message on if you then try to go into inbox.
vangelderp: yup, that's what I thought. I never used that technique because of that, I stuck with POOM. But your createevent and thread work is very helpful.
V
SmsReadMessage of SMS.API
Thanks for your all comments.
Do you know how to use SmsReadMessage of SMS.API ?
This function is used to Reads a previously received SMS message. I really hope somebody else out there can help me how to use that function
Regards
You use SmsReadMessage like I do in the code attachment I have mentioned.
This function does not read a SMS message that has already been received by the normal PPC Inbox program. As said for that you need to use POOM.
SmsReadMessage for for your code to get a SMS Read Handle and then wait for the event (The Message) to occur and then use the SmsReadMessage function.
Exactly as I have done in my code snippit.

Sending SMS to all of my contacts

Hello people,
I wish to send a text message (SMS) to all of my contacts. My contact list is about 2000, so I guess I will need a software in order to send a message to all of them, because if I am not mistaken if using the MS software for msgs, will crash the phone as will try to load all msgs to memory.
Any of you who knows how to solve my problem, or knows a software? Please....
Thank you in advance.
Group SMS by t0flus.......
evolish said:
Hello people,
I wish to send a text message (SMS) to all of my contacts. My contact list is about 2000, so I guess I will need a software in order to send a message to all of them, because if I am not mistaken if using the MS software for msgs, will crash the phone as will try to load all msgs to memory.
Any of you who knows how to solve my problem, or knows a software? Please....
Thank you in advance.
Click to expand...
Click to collapse
Another forum member - t0flus - posted an application called "Group SMS" which may do what you're after....I'm presuming you could send the message group by group (if your contacts are in groups?).
The program can be found by searching for "Group SMS" or by clicking >HERE<.
I've not tried t0flus' program myself, but I'm certain that throwing 2000 contacts at the standard MS SMS program will kill it!!
Hope that helps!
Mark.
That is exactly what I was doing using my Nokia 7610, but I thought I would be able to find a software that would "do the grouping" automatically for me.
Thank you anyhow.
You see, I just think that a software can send for example 10 - 10 text messages, until all of it is sent and then display a message say sent to all or something like that.
Maybe try getting a PC program like Jeyo Mobile Commander and using that to send the SMS? It drags a list of contacts and messages over via ActiveSync and you can use the app to send SMSes, backup/restore your SMS inbox, backup/restore your contacts etc... I've sent SMSes from it before when I've been too lazy to pick my phone up
Here's another Group SMS app that allows you to choose one or more Contact Groups to send a text message. Works in a different way to the other app mentioned here and one or the other might suit your application better.
http://forum.xda-developers.com/showthread.php?t=306682
Great! Thank you people... I will try, and I hope that one of those will help me do it by the press of one buttons, because you have no idea how difficult and annoying it is to have to split your contacts to hundreds and send them that way.

how to SMS to Many ?!

Hey people,
since i have a swedish phone, i have no idea how this is done
how can i send an SMS to multiple receipients without selecting them one at a time ?
any way to send symbian-like by marking contacts ?!
thx in advance
Heyz!
I usually use group SMS, a freeware, check at
http://www.freewarepocketpc.net/ppc-download-group-sms.html
or google for "windows mobile group sms" for more results
cheers

FAX & SMS Without The Text

Hi
I have two important questions:
1 - Does the android operating system the ability to send or receive faxes is?
2 - Does the android operating system the ability to send SMS without the text is?
See the top sticky post -- no questions on this subforum, please.
Don't know about faxes but cannot send empty sms
Theres a few fax apps on the market...
Sent from my Nexus One using XDA App
Handcent use to let you send a blank sms but now it doesn't anymore

[Q] Convert SMS to MMS at Will?

For host alerts at my place of work we use Nagios to send email alerts to the email associated with our phone number by the carrier so if your phone number was 555-555-1234 you could send an email to your phone with:
SMTP:[email protected]
These come through as an email address and with I believe the stock app and Handcent I can reply to these the four digit code associated with an alert to acknowledge them and sort of take responsibility for fixing the issue. I was kind of wondering why only some apps support this and how some of them just fail to send. I was also kind of hoping there was a way to make all sms applications support this. I believe the apps that support it are converting from sms to mms because the target is an email. Which brings me to my apology if this is already a thread somewhere. It's incredibly difficult to search using the same keywords someone would use to do the opposite of what you're looking for. If a solution for this exists I'm sorry. Anytime I search for a solution to this I get "how to stop sms converting to mms" and many other similarly titled threads. Any ideas?

Categories

Resources