|
Hi all,
i m sending SMS by using
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phoneNumber, null, message, sentPI, deliveredPI);
its working fine and successfully send a standard sms that is automatically saved in recipient mobile inbox.
i want send the sms as flash(notification) sms by this,that message should be displayed immediately on recipient mobile screen but not stored.
please tell me how can i do this.
thanks in advance.
|
|
|
|
|
Perhaps you can create a class 0 (don't store) SMS message (to be sent) whose isMwiDontStore() [^] method returns false ?
/ravi
|
|
|
|
|
please tell me how can i use it with
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phoneNumber, null, message, sentPI, deliveredPI);
|
|
|
|
|
The trick is to be able to specify class 0 mode ("flash" SMS) using the MessageClass.CLASS_0 [^] value. I'm still trying to figure out how/where to specify this. Not sure if this is done by creating an SmsMessage instance using createFromPdu() [^].
/ravi
|
|
|
|
|
I am wondering how to get stream from this link click. I am searching for video link that would end with *.mp4 or something, but can't find it from url source. Can someone explain me how to get this stream on my Android app?
|
|
|
|
|
Hi! Pls where can I get a free exam guide ebook on SCMAD,that is now called Oracle Certified Pro Mobile App Developer? Pls help.
|
|
|
|
|
HI,
I am using nokia 663o. The problem with my mobile is that whenever a new message is received it is stored in phone memory rather than sim as there is lot of space in sim. I want new sms to be received in sim. I dont know how to solve this.
Thanks in advance.
Regards,
Aeman
modified on Sunday, April 3, 2011 3:58 AM
|
|
|
|
|
HI,
I want to know that how to count the number of messages in sim memory and how to get the index of last message stored in memory using c#.I dont have any idea how to do this. I am using At command for "AT+CMGR=index" for reading sms. But i dont know how to get the index number of last message stored in memory.
Thanks in advance.
Regards,
Aeman
|
|
|
|
|
|
|
Thanks a lot for ur help.I can get the index now. But i have one problem in reading sms from mobile to pc whenever a new message is received using AT command AT+CMGL. It reads sms that are already stored in inbox but does not give new message notification. I want to get new message notification in c# by using AT+CMGL or AT+CMGR instead of AT+CNMI as my mobile does not support this command.
If u have sample code it would be appreciated.
Regards,
Aeman
|
|
|
|
|
Sorry, i have never done any SMS coding.
However, thinking logically at the problem, if your phone/modem does not support the CNMI notification command, then you should be looking at using the message store message sizes and store that locally in a set of registers.
After any operation you perform send/delete/create etc, update the registers with the message store size you obtained from your original question.
The periodically while your software is idle (i.e. you are not sending/reading/deleting etc) repeat the message store size retrieval and compare to the registers. If they have increased you can say a new message has arrived.
Seams like a reasonable way to do things, and looking at the available commands on the website i gave you earlier, all the information to do this is within.
As i said, i haven't done any of this SMS stuff before, so don't have any source code to share.
|
|
|
|
|
|
I m working on android application to send sms and create a android project by eclipse but when i run it on device or test avd device it gives this error.
The application test(process com.test) has stopped unexpectedly.Please try agaon Force close.
please help me how can i resolve this.
thanks in advance.
|
|
|
|
|
i am new to mobile application development. i am C# developer and need a help. can we develop mobile applications in C#. one of my friends is using objective C. which one is better for development of mobile applications C# or objective C.
I C# is good for development of mobile applications then please provide some links where from i can learn development of mobile applications in C#.
|
|
|
|
|
It depends on which platform you are developing for. Take a look at some of the articles here on CodeProject or Google for "mobile development" and you will find lots of samples.
|
|
|
|
|
If your target platform if windows mobile, then yes.
|
|
|
|
|
Hi S_Aijaz1,
Its depend on your personal interest, which platform you are targeting like i-Phone, Windows Mobile/Phone7, Android and so on.
Objective C basically used to developed i-Phone based application.
C#, VB and C++ are used to developed windows mobile based application.
C#, VB (Beta) with Silverlight are used to developed for windows Phone7 based application.
Getting Started with Windows Mobile Development.[^]
Getting Started with Windows Phone Development[^]
Hope it helps
Pavan Pareta
|
|
|
|
|
A new option for developing mobile applications using c# is mono. For example, http://mono-android.net/ for developing Android applications using c# and http://monotouch.net/ for developing iPhone and iPad applications using C#.
It should be possible to develop with a largely single code base for your mobile application on both iOs and Android using mono. The ui part will be specific for each platform.
Note that both application frameworks are not free.
|
|
|
|
|
• First analyze and observe the audience, and determine why your visitors are visiting your site and make the steps relevant to your visitor's needs.
• Another tip while considering about mobile website optimization is to keep your mobile site clean and simple.
• Keep in mind mobile users mainly come to browse text based information not for images so avoid images. Also they won’t wait to see images in low band width.
• Do not use Flash, java script or frames, pop ups, iframes.
• Place main contents at the top of the first page and follow with navigation.
• Keep the website navigation very simple using large text links. And other contents should be 1-3 clicks away from the homepage.
• Use sitemaps and robots.txt file so that spiders can quickly index your mobile website.
• Another important thing is, users have come to visit and get information from your site. Your users should not be used as your website testers; you will have to test your mobile website with mobile devices and emulators.
For more info about mobile advertising services visit: http://www.ferociousmedia.com/
|
|
|
|
|
Hi all,
i m first time working on android mobiles,my application purpose is first to connect with android phone that is connected by the usb cable to the PC.than send sms by android phone using desktop VC++ MFC application.
please help me from where i can start?
and also tell me any example or links if possible.
thanks in advance.
|
|
|
|
|
How many times do people have to suggest to you to try a little research for yourself before the message gets through? Type "android sms" into Google.
|
|
|
|
|
i am unable to find rite help and guidance thats why y i m posting this quesetion here.
i know there is so many genuies people and ready to help others like me.
please help me for this.
thanks in advance.
|
|
|
|
|
Did you try what I suggested? Obviously not or you would have a working sample by now.
|
|
|
|
|
hi
how to install sqlCE 3.5 on Windows-CE Behind the scenes ?
that the user don't see the installation
thanks in advance
|
|
|
|