Mobile Web Button Documentation on Uber [closed] - uber-api

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I notice that there is docuemntation for iOS and Android on how to set ride parameters on uber but not for mobile web. How would one set the ride parameters in this case?

Buttons in a webpage on mobile would just be a link actually. So you would do something like this:
<a href="uber://?client_id=YOUR_CLIENT_ID&action=setPickup&pickup[latitude]=37.775818&pickup[longitude]=-122.418028&pickup[nickname]=UberHQ&pickup[formatted_address]=1455%20Market%20St%2C%20San%20Francisco%2C%20CA%2094103&dropoff[latitude]=37.802374&dropoff[longitude]=-122.405818&dropoff[nickname]=Coit%20Tower&dropoff[formatted_address]=1%20Telegraph%20Hill%20Blvd%2C%20San%20Francisco%2C%20CA%2094133&product_id=a1111c8c-c720-46c3-8534-2fcdd730040d">
Get an Uber!
</a>
In that example, it's using a standard deep link so it won't work if the app is not installed on your user's device. If you are concerned about that, you can use a universal link instead:
<a href="https://m.uber.com/ul/?client_id=YOUR_CLIENT_ID&action=setPickup&pickup[latitude]=37.775818&pickup[longitude]=-122.418028&pickup[nickname]=UberHQ&pickup[formatted_address]=1455%20Market%20St%2C%20San%20Francisco%2C%20CA%2094103&dropoff[latitude]=37.802374&dropoff[longitude]=-122.405818&dropoff[nickname]=Coit%20Tower&dropoff[formatted_address]=1%20Telegraph%20Hill%20Blvd%2C%20San%20Francisco%2C%20CA%2094133&product_id=a1111c8c-c720-46c3-8534-2fcdd730040d">
Get an Uber!
</a>
You can also use a <button> tag if you wish. Here's the documentation for this: https://developer.uber.com/docs/rides/deep-linking-action-setpickup
You can copy paste this into your mobile browser directly to see it in action!
uber://?client_id=YOUR_CLIENT_ID&action=setPickup&pickup[latitude]=37.775818&pickup[longitude]=-122.418028&pickup[nickname]=AwesomePickup&pickup[formatted_address]=1455%20Market%20St%2C%20San%20Francisco%2C%20CA%2094103&dropoff[latitude]=37.802374&dropoff[longitude]=-122.405818&dropoff[nickname]=AwesomeDropoff&dropoff[formatted_address]=1%20Telegraph%20Hill%20Blvd%2C%20San%20Francisco%2C%20CA%2094133&product_id=a1111c8c-c720-46c3-8534-2fcdd730040d

Related

Google smart home Actions on Google Simulator not working [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I create a smart home action regarding to https://developers.google.com/actions/smarthome/create
but when I want to test it in simulater, go below error
Sorry, this action is not available for your app. In the simulator,
you are only able to invoke actions that you have added to your app.
For more information on how to invoke your app, click here
https://developers.google.com/actions/discovery/explicit
Error screenshot
As stated in the Testing and Publishing section of the documentation, you need to first do account linking through the Google Assistant application on your phone. That associates your Google account, and your Google Assistant, with an account on your smart home server. Once that happens, you should be able to use the simulator to make authenticated requests. Before that happens, there's no association and so a request cannot be made.
It should also be mentioned that the way to invoke and use smart home actions is different from a standard conversational action. With a conversational action, you may enter into the simulator "Talk to Number Genie" to invoke your action. With smart home actions, commands are given as one-off queries. There is no "talk to my smart light". You instead will be able to directly enter "turn on my light".

Apple rejected my app as my app doesn't have FB login via Apple SDK [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I'm building a simple iPhone app with my developer. The main purpose of the app is to simply open my site on its mobile browser. In my site there are two log in options:1. Login via Google and 2. log in via Facebook.
But when my developer went to register this on istore the app has been rejected.
Here is what I received from my developer:
"As per Apple’s guidelines the app should offer features which should provide some interaction with the iOS device like your website offer login using Facebook which should actually be using iOS’s own FB login. Further the website offers searching for contacts, so we can have something like saving those contacts on device memory.
However, all these changes will involve efforts which need planning and are also not small tweak which can be made today and resubmit the app. "
So he is asking me to include log in via FB using APPle SDK otherwise my app can not be submitted.
Can anybody help me to solve this issue?
Thanks
Apple's AppStore Review Guidelines include the following:
Apps that are not very useful, unique, are simply web sites bundled as
Apps, or do not provide any lasting entertainment value may be
rejected
As I understand it from your description, your app simply shows your website. You should think about some additional features that could be integrated. One that apple seems to have included in your rejection might be a "native login" using the Facebook SDK for iOS.

How can I share my iPhone app for translators? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Creating Localization Files for iOS
i have my iPhone company app in English language and we are international company, so how can I share my App for all translators f.e. by simulator or something else ?
f.e. translator translate the text and need view effect on iPhone, how can I do this?
It looks like you are searching for localization for your application.
Please follow this link:
Localization example link 1
Localization example Link 2
Link 3
Best link: Best Link...
Hope it works for you.
You can look at incorporating the Greenwich framework into your app. I've not used it myself, but saw it demo'd at a conference recently. It will let the translators make the changes to the app that you distribute to them as an ad-hoc build and then see them running in your app.

Does Apple allow to download OpenGL shaders in iOS game at runtime? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I am planning to implement iOS game where certains assets - textures, shaders, etc. are downloaded at runtime when user buys specific in-app purchases .
Its well known fact about Apple prohibiting downloading & emitting iOS app code at runtime:
3.3.2 An Application may not download or install executable code. Interpreted code may only
be used in an Application if all scripts, code and interpreters are packaged in the Application and
not downloaded. The only exception to the foregoing is scripts and code downloaded and run by
Apple's built-in WebKit framework.
Does this restriction also include Open GL shaders, i.e. can shaders code be downloaded at runtime?
Alex and co are correct. Section 2.4 of the agreement states that you may not use the In-App Purchase API to "add any additional executable code" to the app - only data is permitted. They explicitly state that the functionality must be embedded within the app and unlocked by the purchase.
I can see why it would be desirable to add shaders as part of new content though; maybe you should contact Apple directly for a ruling to be certain?

Where can I find a good iPhone/GWT/AppEngine example? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
These seem like a great combination--I'd expect to see more on at least GWT/iPhone integration, but there isn't much.
I've looked through the reader example that Google made, but it doesn't seem to take advantage of many of the iPhone features.
I was wondering if anyone knew of a tutorial/resource that showed how to use things like location, orientation, stretch/squeeze and various iPhone-specific controls--as well as integration with services like Google maps.
It would be nice if it also used AppEngine, but that is pretty easy to integrate later if not.
Perhaps I'm asking for too much, but I'd even settle for a very technical blog that focused on these platforms...
We have developed a GPS App for iPhone/Android with GWT and AppEngine (m.geotako.com):
Technical Info:
Back-end using Google AppEngine cloud infrastructure
Front-end using Google Web Toolkit which can run on both iPhone
Safari and Android Chrome (also other desktop browsers)
GWT based internationalization
Integrated with Facebook Connect for wall posting
Using Google Maps API for reverse geocoding (retrieve your address
automatically when you add a new
location)
HTML5 based Geolocation for tracking your location with GPS
HTML5 based Web Database for storing local information in the browser
Features:
Discover interesting locations around you with beautiful photos
Share your journey with friends by checking-in to locations around you
Grabbing mayorship of a location when you checkin frequently
Post to Facebook wall when you checkin
Locate where your friends have been to
Add new locations with photos
A ranking showing the top travelers with the highest number of mayorships
Support English, Traditional Chinese and Simplified Chinese
You may try it here: m.geotako.com
The app can also be found in Google App Engine Applications Gallery
GWT doesn't actually support most mobile browser features (touch events, geolocation, orientation, etc.) out of the box, but the gwt-mobile-webkit project aims to add those features, specifically for the iPhone browser. They even have some demos and example code on their project home page.
Have you looked through the Apple sample code? They wrote example programs for most of the iPhone specific features.
http://developer.apple.com/iphone/