I need to get the sms details from iPhone, that is count of sent and received messages and all messages that are stored in iPhone device. How can I implement them programmatically?
I am not sure if the current SDK supports functions to access SMS information as there is currently no API to get access to the user's SMS/MMS library.. I guess you can only do it for Jailbroken devices
Related
I found SMS notifications are not supported in iPhone,but I found a video on Pebble Smart watch which sends SMS notification and iMessage notification. Here are the video and the application links.
http://www.razorianfly.com/2012/12/07/pebble-officially-announces-sms-and-imessage-support-for-iphone-video/
http://www.iphoneincanada.ca/iphone-news/pebble-watch-now-supports-iphone-sms-and-imessage-video/
https://itunes.apple.com/us/app/pebble-smartwatch/id592012721?mt=8
I also found on the web SMS notifications are supported only in iOS6 but not iOS5
Previous stackoverflow and other links on SMS notifications.
Registering SMS notification on iPhone
How to send email,sms notification from iPhone to Bluetooth LE device?
Receive Notification for SMS using iPhone
sms notification
http://lists.apple.com/archives/bluetooth-dev/2012/Nov/msg00088.html
What needs to be done to get notified? Implementing MAP Profile on the bluetooth device is suffcient ?
I believe that iOS 6 adds message (SMS and iMessage) notification support in the form of the Bluetooth MAP (Message Access Profile).
So unless your intended usage involves you being connected via Bluetooth then you cannot use this feature of iOS6.
I do not think that it is possible to monitor the reception of incoming message with the Apple's Official iOS SDK since you would need to utilize a private framework, so you would need to make it a jail-broken app.
How can we read our device inbox message in our app? I have to read all messages which i have in my device message inbox.
Thanks
Are you asking how to access emails or SMS messages? If so, there's no way to do that. You don't have access to that kind of personal user data using the iOS SDK. Just think about the controversy that UDID's are causing right now, and consider what would happen if a third party app had that kind of access.
You can access messages only on jailbroken device.
Your app will most definetly not be approved for App Store.
If you're still interested, see the accepted answer on How to Make Application which Store Sent and Received Messages in iPhone
me if possible way is there menas.
There is currently no API to get access to the user's SMS/MMS library.
I know there's the app called Ping! for iPhone that allows the sending of SMS messages over your 3G connection, therefore it doesn't count as a text message and it acts pretty much the same as the regular iPhone texting software. Is there any app like this that's available for both iPhones and Blackberrries?
Google Voice allows you to send and receive messages through a web frontend. Because it is just a web page, it should work on any phone with a data plan. More info here: http://www.google.com/googlevoice/about.html
After a review of the iPhone SDK documentation, I have not yet found a way for an application to be written such that it can programmatically process the content of an incoming SMS message within the iPhone platform. The idea would be for such an application to be running in the background and based on specifically formatted SMS messages would be able to take specific actions.
Does anybody know if this is possible with an iPhone SDK application and if so, provide a pointer to information about how this can be done?
Unfortunately, you cannot intercept - or be notified of - incoming SMS messages with the iPhone SDK.
One possible alternative, is to register a custom URL scheme that launches your application when a url with that scheme is embedded in the sms message and the user cicks on it.
to set a custom url scheme, you must implement both the CFBundleURLSchemes and CFBundleURLName keys in your application's info.plist.
In your Application's delegate, you can then implement the application:handleOpenURL: method to get any paramaters that were passed to your App from the url in the SMS message.
I believe that currently the SDK doesn't allow for background apps (except for apple ones).
BREW and J2ME had (and probably still have) ways to launch your app via specially formatted SMS, which may be what the Jeff is referring to.
Apple does have the upcoming Push Server which will allow you to send the user an alert which will give them the option of launching your app, but you cannot launch your app for them.
Unfortunately just registering an URL scheme dosn't help you at all, because the SMS app makes "http://" urls clickable only...
You can use CoreTelephony framework.But you must user some private api.And I have some demo code for this. https://github.com/edison0951/AppNotifyBySMSDemo