is there a way to view via code the iphone sms archive? - iphone

is there a way to view via code the iphone sms archive and sort them in an app?

I would imagine that on a jailbroken phone you could read the DB, but using the normal SDK this is impossible. Each app is sandboxed to prevent it from reading data from other apps. Also, there is no API for it.

In short - no, SDK does not provide access to this information.

If it's jailbroken most certainly, you can even edit it by hand!

Related

iPhone: Programmatically store audio as ring tone

I am working on an iPhone application, where i need to store an audio file(which i get from my server) as a ringtone on the iPhone device programmatically. Is it possible to do that? What are the APIs supported for it. And, Does the Appstore allow such apps to be released?
Thanks.
Most probably the user will have to do it himself. You can ease-up a bit this process
for him using iTunes file sharing. See:
How to add a ringtone from an application to ringtones of iphone?
You could also check the code of ringtonesapp.
No, you can't do this. There's no public API for this.
If you're doing this on a jailbroken device, you can just replace one of the default Apple ringtones with your ringtone.

Is there a way to directly download an iOS app (without using the app store)

I would like to have users be directed to a link which will immediately start downloading an app on an iOS device. I know you can register for Enterprise application or do limited ad-hoc distribution, but this is not the case here. The app I would like to link to is already on the app store. I would like to know if users can download the app directly without going through the app store.
Thanks in advance.
As mentioned above, you cannot provide a direct link to the application. There are ways of circumventing the app store, such as ad-hoc distribution and ADC's enterprise program. However, neither of these would provide the convenience you seek as potential users would have to install certificates generated by you before installing your application. Your best option would be to use the app store or possibly a web app.As David V mentioned, you can provide a direct link to your app in the app store!
Good luck,
-Alex
They will need to go through the App Store. You can provide them a link to your app in the App Store though.
In fact, even in jailbroken devices, you need to use a store. Apple seems not to have a auto-installing url scheme implemented.
Would be nice, though.
No. This is not possible on stock OS iOS devices
You can do that if your app is based on Safari (web app) instead of native (iOS).

Is it possible to change the iPhone microphone input while calling?

I want to change someones voice while calling on the iPhone. Is this possible, and if it is, where do I start?
This is not possible. There is no API for it and thus you cannot submit something like that to the App Store.
It's not possible with non-jailbroken phones.
The iOS app sandbox is completely closed off from everything related to the phone, and really, there's no access to anything that low-level pretty much anywhere.

How to verify that post to website is coming from a specific purchased iPhone application?

I have an iPhone application that posts data to a web application ... and I want to only accept data posted from an iPhone application that was purchased from the iTunes store.
Is there a way to do this? Is there something (or somethings) I can pass from the iPhone app to the web application that I can use to do such verification?
Thanks much
btw, using the asihttprequest library to handle requests/responses.
As far as I know, Apple doesn't provide any information about who purchased your app. That said, there are a few ways to detect if a device is jailbroken, or if your app was cracked. So, your app could detect that and pass that information to your server.
Have you consider using iTunes Store's in-app purchasing to handle the payment?
Thanks.
You could generate some kind of checksum/hash which you thenvalidate on the server, e.g.
http://example.com/something?timestamp=143531&checksum=17
In this example the hash is just the sum of the digits in the timestamp but you'd probably want to use something a bit more secure.

Can iPhone API access Mail/Messages/etc.?

My iPhone App needs to access messages (SMS), email and push events on apps. Is it possible with API?
Important enough - my app does not need to capture them in the background (I know this is impossible), but just when it's launched being able to load/aggregate/analyze them (for specific search/analytical purposes).
Thank you!
It is not possible on the current iPhone OS version (3.1).
This is not possible with the current APIs. Not allowed by Apple.