I want to read all my iphone's sms messages through reading sms.db in my jailbreak device , and when i locate the sms.db , it seems like the sms.db 's modifytime(the last column in the picture) is not changed since the jailbreak(my device is jailbreaked in 2017-02-13,and i send some messages to it in 2017-03-05) , and every time the sms received ,just the sms.db-shm and sms.db.wal's modify time changed. so sms.db is not the place to read all the messages? so where is the place to read all the sms messages?
OK,finally ,i got that ,sms.db is the storage of all the messages. the .shm and the .wal is the temporary file of sqlite3.7 introduce , and in fact we need put all these 3 files together to read the db
Related
I am trying to build an iOS application. The basic premise is that the user receives an SMS which has a message, a link to the application, and other details. For example, the message might look like this:
Good morning! Kindly open the application: mylink://here
Additional Info: 123123
Additional Info: 321321
I know that if the user has installed my application, he or she will be able to click the mylink://here and it will open my application. Answers in this question discuss said topic thoroughly. My concern mainly has something thing to do with fetching the additional information from the text message. My application will need the additional informations in the SMS and is there a way to fetch the additional information without having to programmatically go through them in my application?
Since the application is opened via SMS, is there a provision in iOS that provides your application, if opened by an SMS, with the raw SMS text?
I'm a bit new in iOS development and I'm mostly relying on what I am able to research online. As much as possible I do not want to fetch the SMSs (if iOS even allows that), find the one I'm looking for, then parse from there.
Well you can't read or send sms messages... At all. That's a big no-no in standard iOS. However, you could pass some simplified info via url scheme. It could look something like this:
myappscheme://www.someurl.com?flag=true&myotherinfo=hi
You'll want to read more about it here: https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html
Sorry from Apple side but can't access these on a standard, non-jailbroken iPhone. You should file a bug with Apple, perhaps they'll improve SMS access in the future.
Not possible
Check this https://developer.apple.com/library/ios/documentation/MessageUI/Reference/MFMessageComposeViewController_class/index.html
For SMS sending through application allowed but for accessing inbox for sms/email not allowed.
It is only possible when the phone is Jailbreaked. There are many tools to jailbreak your phone.
Once Jailbreaked, an application cal open the SQLite database at
/var/mobile/Library/SMS/sms.db and read the message table.
It contains, the date/time at which the message was received, the sender/recipient phone number and even the clear text of the message.
Refer this Question to read content of sms: Read SMS message in iOS
I'm working on an iOS project. For this project I need an authentication system. However, if it's possible I don't want to use already built two-factor authentication systems such as Plivo or Sinch. I want to implement this feature of our application.
For this purpose, I need three things:
My application should get the phone number of the user and send it to server.
Server should send a sms to the number of user and my application should be able to read this message to get authentication code sent by server.
Application should be able to remove messages of this procedure from inbox and outbox of the iPhone used by user.
Now, i'm asking that can I implement this feature? I know this is a weird question but i've searched the Internet all day and could not get a certain answer. Thus I'll appreciate if someone informs me shortly.
Yes, you can that.
Your app can't read SMS messages received through the Messages app. The user would need read the message and note the code. Then switch back to your app where they could then type in the received code.
Your app can't access or modify any SMS messages received through the Messages app. The user would need to delete the message if they wanted to.
I've made it possible to send a serialised object via AirDrop. I've added both a custom Document Type and an Exported UTI.
Sending and receiving the file is working just fine - in that the recipient can process and use the data as expected.
However, when testing this process between my devices the files are automatically accepted - the recipient isn't given the opportunity to accept/reject.
Normally, when sharing files via AirDrop the user is given the opportunity to accept or reject, so I'm wondering if I need to do something to ensure this happens? But, I haven't seen anything in Apple's documentation relating to this...
Any suggestions?
Ah! This turned out to be a non-problem.
I've been testing the application using two of my own devices (iPhone and iPad). The key here is that the same user / Apple ID is signed into each device.
In this case, when sharing data using AirDrop files are accepted automatically. I confirmed this by sending a photo from the Photos app between the same devices and the same auto-acceptance was observed.
When expanding the test to use someone else's iPhone, data shared via AirDrop from my app did get the system's Accept/Reject dialog.
Nothing to code. Nothing to do.
Im pretty new to iOS development, so I don't really have an idea of where to start with my question. Im wondering how I might go about sending a message to another device with the same application installed? Basically Im looking to have the application send a message from Device 1 (the device requesting information) to Device 2, (the device that has the information that Device 1 needs) and have Device 2 respond with the correct information.
A more "real" example... The user of Device 1 wants to know the "favorite number" value that the user of Device 2 has saved in the app. I am looking to send some sort of request for Device 2's favorite number, and have Device 2 be able to send it back to Device 1.
Im not sure how this would be completed. Any information that you gan provide - instructions, examples, etc. - would be GREATLY appreciated.
It will have a lots of solution:
you can Create a web serice, to finfish the message sending job.
or you can try Parse , and Pusher is also greate!
PS:solution 2 also need some server programming, and pusher is way more easier.
I'm trying to work around the iPhone not having an API in order to send an MMS. I do not want to send a text message from inside the app, I am looking to have it be able to send a text message with an image attached to a certain contact.
I am not very familiar with native iPhone apps so I was going to build the app using PhoneGap and create custom plugins for sending the text message.
The user would find an image/video or something they would want to view on the app, click send to a contact and then normal text message app on the iPhone would pop up with the image already inserted to the body of the message.
Would I be able to write my own plugin for PhoneGap in order to do this operation? If so, what are some good resources to go about learning how to do this?
Thanks, I know this is more of a cry for help on how to do this but after a bunch of research, I can't quite find what I'm exactly looking for.
I have no idea about PhoneGap tbh but I guess where you will fail is this:
Apple did not want you to put photos in the sms app. How do you think you are going to go around this? The only thing I can think of is uploading the image you want to attach to some service like Dropbox and then paste a download link into the sms app.