Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
30 views

Unable to insert new contact from instant app in Android 14

How to save/insert a new contact from instant app? Tried inserting a new contact using intent by following developer docs like so: val intent = Intent(ContactsContract.Intents.Insert.ACTION).apply { ...
ajandroid's user avatar
0 votes
1 answer
160 views

Possible to have different intent filters for installed app and instant app?

I'm currently using the old feature plugin for creating an Instant App. In the base feature module's AndroidManifest file I have Activity B that listens for intents following the pattern "/pets/dogs/...
user1857437's user avatar
1 vote
1 answer
415 views

Instant app upload failed - both http and https as schemes should be

When I try to upload my .aab for instant app I get following error: Upload failed You should use both http and https as schemes for your web intent-filters. I tried multiple versions of declaring my ...
Adam Styrc's user avatar
  • 1,527
0 votes
1 answer
381 views

Java syntax for calling installable app from instant with showInstallPrompt

I'm looking for the Java boilerplate for calling my installable app from my instant app. I found something coded in Kotlin on GitHub here https://github.com/googlesamples/android-instant-apps I'm ...
Androidcoder's user avatar
  • 4,579
12 votes
3 answers
2k views

Navigation component with instant/(dynamic-)feature modules

I'm trying to implement the new navigation component with dynamic features So the structure looks like this: app (has dynamic dynamicFeatures = [] included in gradle) features login home etc. ...
Joaquim Ley's user avatar
  • 4,096
1 vote
1 answer
667 views

Overlay permission on instant app

I am trying to use a "Floating Widget" triggered from an instant app, in order to do so I need get the ACTION_MANAGE_OVERLAY_PERMISSION that I should be able to get this way : intent = new Intent(...
Teddy Colliaux's user avatar
0 votes
0 answers
133 views

Instant App postInstallIntent crashes because Activity Fails resolution

I have an onClickListener() for a Download button in the sole activity in my Instant App package. When clicked, it forms the postInstallIntent: Intent postInstallIntent = new Intent(...
JAW's user avatar
  • 217
1 vote
3 answers
1k views

Instant Apps: "You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter' " when pushing to production

I'm getting the error message when releasing instant-app to production. I've read this post here: You should have at least one active APK that is mapped to site 'sample.com' via a web '...
mco's user avatar
  • 1,829
3 votes
1 answer
4k views

Android Instant App: showInstallPrompt's postInstallIntent does nothing?

The app in the play store currently is configured to handle https://www.example.com/hello/in an intent filter to launch an activity and showInstallPrompt(...) is supposed to launch the activity once ...
mco's user avatar
  • 1,829
0 votes
2 answers
2k views

How to launch instantapp from web pages in Chrome?

I developed my first Android instant app which is now available on Google Play. I want to invoke the app from a web page in Chrome, but it doesn't work. Taking Wish (www.wish.com) as an example, I ...
ttera29's user avatar
5 votes
3 answers
3k views

You must use the http and https protocols for intent filters. Why receive this error message?

When I choosing to upload android Instant App apk-s zip to Google Play Developer Console I receive this error: Upload failed. You must use the http and https protocols for intent filters <manifest ...
Hayk's user avatar
  • 81
0 votes
3 answers
1k views

Download and install apk (without publishing in playstore) from the Instant App

I have uploaded .apk file to the dropbox. I want to download and launch app when user clicks an install button in the Instant App. But the following exception occurs after call to startActivity(): ...
jerry's user avatar
  • 55
2 votes
1 answer
662 views

Not able to launch Gallery from Android Instant app

I created an app which picks up images from images folder in emulator and displays selected image in my layout of application. When I converted my app to instant app, the same code that picks up ...
Android_programmer_office's user avatar