Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KingsMentor committed Oct 30, 2016
1 parent 18682c9 commit c730b2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void onIntentSelected(Object resolveIntent) {
}


private void categorised() {
private void categorised() {
ResolveCategory pixResolveCategory = CategorisedIntent.categorized(this, MediaIntents.newSelectPictureIntent(), "picture", 1);
List<ResolveIntent> merge = new MergeIntent().mergeIntents(this, MediaIntents.newSelectPictureIntent(), GeoIntents.newNavigationIntent(""));
ResolveCategory mergeResolveCategory = CategorisedIntent.categorized(merge, "Geo and Media", 2);
Expand Down Expand Up @@ -132,7 +132,7 @@ public void onIntentSelected(Object resolveIntent) {

private void lookUp() {
List<ResolveIntent> resolveIntentList = mergeIntents(this, MediaIntents.newSelectPictureIntent(), GeoIntents.newNavigationIntent(""));
IntentLookUp.lookUpAppsByAppName(this, resolveIntentList, "Maps");
IntentLookUp.lookUpAppsByAppName(this, resolveIntentList, new ArrayList<String>(Arrays.asList("Maps")));
LaunchIntent.withButtomSheetAsList(this, resolveIntentList, "launch using", new ResolvedIntentListener() {
@Override
public void onIntentSelected(Object resolveIntent) {
Expand All @@ -144,7 +144,7 @@ public void onIntentSelected(Object resolveIntent) {

private void arrangeInPreference() {
List<ResolveIntent> resolveIntentList = mergeIntents(this, MediaIntents.newSelectPictureIntent(), GeoIntents.newNavigationIntent(""));
PreferenceIntent.preferredIntent(this, PreferenceType.CUSTOM_APPNAME, new ArrayList<String>(Arrays.asList(new String[]{"Maps","Photo"})), resolveIntentList);
PreferenceIntent.preferredIntent(this, PreferenceType.CUSTOM_APPNAME, new ArrayList<String>(Arrays.asList(new String[]{"Maps", "Photo"})), resolveIntentList);
LaunchIntent.withButtomSheetAsList(this, resolveIntentList, "launch using", new ResolvedIntentListener() {
@Override
public void onIntentSelected(Object resolveIntent) {
Expand Down

0 comments on commit c730b2e

Please sign in to comment.