Book a Table
com.opentable.action.RESERVE
Reserve a table at a known location of opentable.com, partysize and refId are optional query parameters of the url.
Read more at 7 Touch Group’s blog.
Use
public void startBookATable() { Intent intent = new Intent("com.opentable.action.RESERVE"); intent.setData(dataUri); // restaurant and party size in the format reserve://opentable.com/?partySize= if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } }
Example intent filter
<activity ...> <intent-filter> <action android:name="com.opentable.action.RESERVE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)