Read IPhone or iPad UUID using web application - iphone

Do you know if is possibile to get the uuid, the result of [[UIDevice currentDevice] uniqueIdentifier], using a web app ?
I need to access from iphone/ipad a web page using safari (and not UIwebview under application control) and I should identify the device using its UUID.
For example I would like to send an email Message to a user containing a link. When the receiver opens the link from its device I should autenticate him/her through UUID ?
Any suggestion ?
Thanks
Dario

No this isn't possible as far as I'm aware.

Related

How to check whether the user has google maps installed in IOS6?

I tried searching hard, but to no avail.
In my app, that runs on an IOS6 device also, i have a MAP module that needs a Google map.
Now in IOS6 there can be devices which have iOS6 maps and not Google Maps.
So my Program has to check whether the device has google maps, application .
If not, it will link the user to the appStore to download the GoogleMaps app.
Please guide.. someone.. :(
Thanks.
"You can use the comgooglemaps URL scheme to launch the Google Maps app for iPhone and perform searches, direction requests, and display map views. When you launch Google Maps your bundle identifier is automatically sent as part of the request."
"Before you present one of these URLs to a user in your app you should first verify that the application is installed. Your app can check that the URL scheme is available with the following code:
[[UIApplication sharedApplication] canOpenURL:
[NSURL URLWithString:#"comgooglemaps://"]];
"
https://developers.google.com/maps/documentation/ios/urlscheme

How to grab the user's device token and attach it to an email as PDF file?

My app has a voting topic and to avoid cheating I'm planing to let the user to vote by email which includes his/her device token so I can find out if the user voted more than one time. Is there any way to grab the user's device token and attach it to this email as a PDF file for example? if so can anyone please provide me with a sample code?
Thanks in advance.
First of all this seems to be a really bad idea, sending an email and attaching a file... just ugly. Better open a URL on your voting server including the ID of the device.
You can get the unique ID of the device like
[[UIDevice currentDevice] identifierForVendor]
or prior to iOS 6 you could use OpenUDID.
Then use NSURLConnection to do the voting.

Tracking an iOS App user

All,
I would like to collect stats on what users are entering into my apps' search box so I created a web service that phones home with the search string they typed in along with the number of results it returned.
How can I relate these search stats to a specific device? I heard that Apple is going to disallow the access of user device ids:
//deprecated
[[UIDevice currentDevice] uniqueIdentifier]
You could use a third party for your analytics, instead of the web service. Try:
Flurry.com
is a good one.
Then you could use an app like Stats for Flurry to view your statistics:
Stats for Flurry
Yes, Apple has deprecated UDID - but they have provided another method to uniquely identify your users per app. You need to use:
CFUUIDCreate
You could try Flurry, Google Analytics and TestFlight. If you choose one of those, it will save your efforts. Also, if you want to track bugs, BugSense will help you a lot.

iphone sms application

How to develop a sms app for iphone?
Are there any api available to develop this kind of app?
Is there any other way to develop this type of app for iphone apart from using api
Please suggest me some ideas..
Thanks
From what I know, SMS can only be sent from the official SMS app.
You can only forward the user to the application. You may specify the phone number of the recipient. Unfortunately, you can't even specify the content of the SMS, so it's not of much use.
If you are interested : How to programmatically send SMS on the iPhone?
If you are interested in how to design an application that looks like the SMS application, please specify this in your question.
Check the documentation for MFMessageComposeViewController. iOS 4.0 or later is required though.
On earlier OSes your best bet is to open an sms: URL. The URL scheme only allows you to specify the destination number, not the content of the message.

iPhone: How to Programmatically Respond to SMS Messages

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