Feature APK's and Android Instant Apps - android

According to this doc : https://developer.android.com/topic/instant-apps/overview.html#features
In case I want to make a modular app with installable feature, can I use instant app to imitate the behavior of a module ? I want a base app with very basic features and installable modules to fit perfectly the needs of users. It could be a plus if modules can be found on the play store too.
Thanks if you have more info about it or if Google have another way to archieve this :)

As per my understanding, Instant Apps is basically the main installable-app broken down to lite-modularized apps that are accessed via URLs and loaded automatically without the need to go to the Play Store to install the entire app. For more understanding please also have a look at
Overview of Android Instant Apps and Introduction to Android Instant Apps (Google I/O '17)

Related

How to prevent such websites like apkpure?

I published many versions so far. And, the users should use the most recent app. However, apkpure shows all the app list that I released.
How come this website take all the apk or abb? I don't want the website takes my applications and block the users in the app. Is there any way to do that?
Actually it's possible to do, using one of the Android features like app bundles. This could help you to verify non Google Play installation. Or even create behavior to crash/exit in such cases.
The whole idea of the approach, it's separation application features to different bundles which could installed be installed within Google play package manager. So you can check it's documentation.
Lots of android users can not access play store when removing the google restrictions, because they want apk file for install. Third party websites publish for that kind users, As well as some desktop users want APk file specially GAME APPs. I think they not Change original APK file.

Is there any Android app in Play Store that supports the dynamic delivery feature?

I want to develop an android app that supports dynamic delivery feature. Although this feature was announced last year, it's still on beta and I couldn't find any real app that uses this technology. Does anybody know any real android app on Play Store that has an on-demand module?
There are lots of news about app bundle, but it's limited to CPU architecture, the display density, and the languages.
Previously developers used to to build multiple APKs to target different API versions & device types.
But with Android App Bundle I just upload the single artifact with all of our application resources and the tooling takes care of what needs to be built and delivered to the app user base. I was able to reduce app size by nearly between 60% to 70%.
Nowadays many famous apps like Airbnb , LinkedIn, Twitter use dynamic app delivery for its users.
Have a look at this amazing post on Dynamic App Delivery by Joe Birch
Android developer guide on Dynamic App Delivery
How to use App Bundles to reduce the size of the app
Google Samples Android Dynamic Feature Modules
There are some apps using dynamic features, including some big names you'd recognize, but I'm not sure they have been publicly announced yet. I'd keep an eye on the press around Google I/O 2019 if you are curious, it's only a month away.
It seems Netflix app has a dynamic-feature module. Its customer service feature is a dynamic module that is not installed by default. By clicking on the "Help" button, it will download and install the customer service module.
I've heard that Facebook has a dynamic module but I didn't check that myself. I will update this answer if I found any other apps that have dynamic modules.
Adobe Acrobat also supports that: https://developer.android.com/stories/apps/adobe-app-bundle

Multiplayer app design using instant apps

I have an app where users can send other users multiple choice questions. I want to know if the following is reasonable and what steps should i follow:
User A has downloaded the installable app and created a question for B. App will produce a sharable link.
B will open the link, answer the question without downloading the app.
In a scenario like this, can i use android instant apps? If not whats the best way i can do this?
I have read and tried tutorials on instant apps but couldnt find a match
Yes you can!
Instant Apps can be accessed many different ways, but primarily known through either the Try Now from your Play Store's listing and from opening associated URLs (from browser, other apps, etc.).
You want to do the former, URLs, so you'll need to setup your Instant App to handle those URLs. Handling Android App Links will guide you on how to do that, with a specific section, Create App Links for Instant Apps for Instant Apps.
Enabling this can actually let both your installable and instant app handle those URLs that your app shares.
What you can expect to happen is:
User B taps on the link shared by A
Your instant app opens and loads the correct activity/contents based on the intent-filter that's setup to handle the link
User B can then answer the question inside your instant app
Handle the results from within your instant app
You can find some samples to help you get started and become familiar with it. Though, recently, Instant Apps has been moving towards App Bundle integration (also see this) (with Android Studio 3.2, more prominently with 3.3), so this android-dynamic-features sample and its project structure/setup might be a bit more relevant (if you'll notice the instant modules).
Note: the App Bundle part is actually optional, it's the move to Dynamic Delivery and its the newer plugin: com.android.dynamic-feature vs com.android.feature.

Android app without instalation?

Last time I've heard about running android app without installing it.
Like "demo app" or something like that.
What doest it mean?
Generally you have to go to Google Play in order to install the app and run it.
It isn't via a browser, because you can supposedly use the android app functions
Instant Apps are the next step in app evolution, a universal Android solution that brings the speed and power of a native app with the ease and immediacy of a web app. They look and operate just like one of the apps that are installed on your phone, but you don’t need to download anything.
Android Instant Apps allow you to use native Android apps in a form that doesn’t even require installing. Which means the users get to experience interactive and smooth interfaces with the tap of a finger.
Note: Android Instant Apps only work on Android devices running on Android 5.0 (API level 21) or higher.
For further info about instant apps you can refer to following link
https://developer.android.com/topic/instant-apps/overview.html#apps-features
An instant app is a portion of your app that will be executed in response to an Url. This was introduced by Google year.
Google play store will download the code necessary to execute the task it is supposed to and it will dispose of the code after the user is done.
You would create an Instant apps if you mean to provide specific feature of your app that does not require the user to download the full app. Ex: watch a video on vimeo by clicking a link on social media
This apps are built using the same process you would use to develop a regular android app but instead of developing all of the features in the same module you divide the features in different modules.
This modules should be very small and have a size limit of 4MB.
Instant apps are currently limited to a few countries, so if you are thinking of developing one and putting in production check the link below for this information and others documents on how to get started.
https://developer.android.com/topic/instant-apps/overview.html
It's Instant App.
Here you have Google documentation

Android Instant App

As shown in Google IO 2016 about Instant App, how to enable it in our application? And at which place or how to identify the screen for which Instant app should be enabled?
On top of this how difficult it would be for an application without deep links to convert it to one?
Android Instant Apps is now open to all developers and the documentation is here
For App Links and enabling Instant Apps, watch this video from Google I/O (disclosure: I am co-presenting).
Basically, an Instant App takes your installable app and divide it into feature modules, each one has their own APKs and are accessible by URLs . To do that you'll have to make them addressable by using the Android App Links.
As of today (2016 / 05 / 19), the instant app feature is not publicably available.
You can visit an explanation page, click the "I am interested" link, and fill in the form. If your product is selected, they will help add the feature.
So far, the alternative is wait until its "polished" enough for market uses, and added to Android Studio, or Maven or any other repository, along with its documentation.
In terms of implementation it will depend on how modular your code is. Each instant app module has a limit of 4mb in size. You'll have to build some server side infrastructure if you want to persist the instant app session when the user downloads the full app.

Categories

Resources