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
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.
Is there any other MMS program than the one pre installed?
I have some issues with it.
1. To reply a MMS, I cant reply with a SMS. Quite stupid.
2. The contact list, is first of all not the same as the one as in Contacts. The list in the MMS program is missing quite some.
3. The MMS program isn't sonnection to my contact list, and therefor not presenting who's MMSing me. Just his/her number.
Is there any ways around this? Is there any other MMS-Software that's usable?
Thanx in advance
//niklas
Am I the only one not satisfied with the MMS-software?
//n
Hi guys im fairly new to this site but was hoping somebody could help me out. I actually work in the wireless industry and I constantly need to send text messages to multiple people at the same time. Is there an app or plugin that would allow me to make sms groups instead of having to add recepients one by one? thanks in advance , sheemy
i would like to also
i have searched in this issue many times but i did not find any solution, i come over this issue by using jeyo mobile extendor, that enables me to send and receive sms from my pc using outlook, so i view the contacts by group and select all contancts in the group and from outlook i press the buttom of send sms.
but i do not think this will help you cause you are working in a wirless enviroment as you mentioned. i will be happy if we find another solution.
hi all
i am one of them sms junkies and it is costing me a fortune because i am in oz. could you please help on how to hack sms settings for free sms's. i need it urgently i am using vodafone network.thanks in advance.please email me all suggestions to [email protected].
never heard of a hack which give free sms's for any phone
apart sending them from a free sms internetsite