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
Related
I've deployed a Google Assistant action using Node.js and DialogFlow, which tells the user his current location using Google maps API but it doesn't seem to work on iPhone as iPhone doesn't provide GPS location to the action. Can I make it work on iPhone or restrict it from being used on iPhone.Here is the link to the action directory page-Find my Location
There's no specific way to restrict access to a specific type of phone. Although you can check the surface capabilities, you cannot disambiguate between Android and iPhones.
Does the Google Assistant app on the iPhone have any location access? If you ask 'Where am I?' will it give the answer?
What are you getting after you make the location permission request? Do you get a permission denied response, or an undefined location?
I had a requirement to redirect a user to the iOS Settings application from within my application. I know that in iOS 5, we could use the following URL scheme to achieve this: prefs:root=General.
And I could use the following line of code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"prefs:root=General"]]
But Apple no longer supports this open URL scheme since the iOS 5.1 update.
But recently I have noticed that, in the Appstore app and Safari browser etc, Apple let this happen.Please refer to the attached image where Apple shows the alert. And on clicking the Settings button, user is taken to the Settings app. Any idea, how this is done. I believe if this can be done in App Store application, there should be some way that I can do it in my application also. Please comment if someone has a fix, or more idea on how this can be done.
I'm building an app that needs to start a video conference from an iPhone.
They way i've implemented it is to first check if Skype is installed, if it is, i start video conferencing with skype.
If not, im checking if the Google+ app installed. And if it is i want to open that app with a Google+ username to start a hangout with the user.
an example would be:
[[UIApplication sharedApplication] openURL:"googleplus://username#gmail.com"]
Do you know if this is possible, and whats the correct identifier to call?
Currently, there is no way to start a Google+ Hangout with only an API call. However, there is a Google+ Hangouts Button that will start one.
https://developers.google.com/+/hangouts/button
I have rediATM app installed on my iphone. rediATM app is free on itunes.
I want to open that app from my iphone app.
I am not able to find out the way to open it.
i am using the following code to open it but it takes me to the website.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"http://itunes.apple.com/au/app/rediatm-finder/id358936470?mt=8"]];
Please help.
It does not work because you are opening the download link for itunes.
If you want to open another app on your iPhone with your own app, you must find out if this app provides a custom URL scheme. If they do, you could open the app using that custom URL, but otherwise not.
Here is an example how to create a custom URL scheme for your own app Launching Your iPhone App Via Custom URL Scheme and Apple's documentation: Communicating with Other Apps
Is there any way that a webpage can make a request for the users location from the android / iphone device ?
Since all I need is the users location, I am trying to figure out if there is anyway I can bypass developing a native app and use some nifty html5 call to just get the users location so all a user would need to do is visit my webpage and provide permission to access his/her location?
Yes. Webkit browsers on Android and Iphone support geolocation. The Google maps api has some great info on it.
Have a look at the Google Maps API (http://code.google.com/apis/maps/documentation/javascript/introduction.html), particularly the sensor parameter...may give you want you need.