我有一个使用Apache Cordova开发的混合应用程序,在该应用程序中,我使用的是“ inappbrowser”。现在的要求是从浏览器中打开“相机”或“图库”,我不知道如何实现。
为了开发该应用程序,我使用了bone.js,JQuery,bootstrap.js。
这是Backbone的View的代码片段:
var mainScreenView = Backbone.View.extend({
el: $('.panel'),
templateMainScreen: _.template($('#templateOne').html()),
events: {
"click #inputBtnSubmit": "openWebView",
"click #clickSettings": "openSettings"
},
initialize: function(){
this.render();
},
render: function () {
alert($(this.el).find('.panel-body'));
var bindElement = $(this.el).find('.panel-body');
bindElement.html(this.templateMainScreen());
return this;
},
openWebView: function () {
var textValue = $('#inputValue').val();
cordova.InAppBrowser.open('**Link to an external webpage which asks for Camera or Gallery control** ', '_blank', 'location=no');
// After inappbrowser is called to load a external webpage (On a button click Camera Intent or Gallery …Run Code Online (Sandbox Code Playgroud) camera cordova inappbrowser hybrid-mobile-app cordova-plugins
在最近尝试将现有应用程序的新版本 apk 上传到 PlayStore 时,抛出了一条警告消息,如下所述
那么问题是,是否必须只上传 aab 文件到 PlayStore,还是普通的 apk 文件也可以更新。
如果需要上传aab文件,那么上传前如何对aab文件进行签名。
我引用了此链接用于Google 应用程序签名。这也需要吗?
笔记:
开发的应用程序是cordova 应用程序。那么,如果上述事情是强制性的,那么为 cordova 应用程序构建的过程是否有所不同?
提前致谢 !
android cordova google-play-services cordova-android android-app-bundle