Stub app: stub application is a tiny app that direct the user to download the full version on Google Play once the application is launched.
存根应用程序:存根应用程序是一个小应用程序,可以指示用户在启动应用程序后在Google Play上下载完整版本。
Only have this code in main activity:
仅在主要活动中包含此代码:
final String appName = "com.example";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id="+appName)));
stub apk will have the same package name, signed with the same certificate but have a lower version code. All while only pointing to the Google Play product page. Is that all that's needed.
stub apk将具有相同的包名称,使用相同的证书签名但具有较低的版本代码。仅指向Google Play产品页面。这就是所有需要的。
After Updaing to latest version the shortcut icon is disappearing. **Launcher activity is same as in the latest version.
更新到最新版本后,快捷方式图标正在消失。 **启动器活动与最新版本相同。
1 个解决方案
#1
0
The icon disappears when the Activity with the launch intent changes. Giving the activity targeted by the launch intent the same name for both apps might solve the problem.
具有启动意图的活动更改时,图标将消失。为两个应用程序提供相同名称的启动意图所针对的活动可能会解决问题。
#1
0
The icon disappears when the Activity with the launch intent changes. Giving the activity targeted by the launch intent the same name for both apps might solve the problem.
具有启动意图的活动更改时,图标将消失。为两个应用程序提供相同名称的启动意图所针对的活动可能会解决问题。