Adds app name to open with dialog
This commit is contained in:
parent
56a420bb7a
commit
5ab4301aca
2 changed files with 2 additions and 4 deletions
|
|
@ -30,15 +30,13 @@
|
|||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".MainActivity" />
|
||||
<intent-filter android:label="">
|
||||
<intent-filter android:label="@string/action_open_with">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
|
||||
<data android:scheme="http"
|
||||
android:host="nxtb.it"
|
||||
android:pathPrefix="/" />
|
||||
<!-- note that the leading "/" is required for pathPrefix-->
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ReturnActivity"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public class RentActivity extends AppCompatActivity implements AsyncTaskCallback
|
|||
if (data != null) {
|
||||
String bikeID = data.toString().substring(15);
|
||||
((TextView) findViewById(R.id.bike_id)).setText(bikeID);
|
||||
rentRequest();
|
||||
// rentRequest();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue