Marcophono
Member
Hello!
I wrote a complex weather app in Cordova. Meanwhile a lot of users asked for a homescreen widget. Unfortunatelly there seems to be no way to add a native homescreen widget to a Cordova app. (there was a project "Microsoft Ace" which wanted to mix cordova and native code but before fixing the last bugs for a working homescreen widget Microsoft stopped that project in dec 2016)
I do not want to rewrite the whole app with 20,000 lines of code in B4A but want to offer a widget for my cordova app anyway. I was thinking about a workaround in B4A and want to ask here if this is possible generally or not. My idea is to write a new Android app in B4A which does offer nothing more than a homescreen widget. But if the user interacts with that widget another app, my cordova app, ist launched. In result the user must install two apps. One for the widget (written in B4A) and the "real" weather app (written in Cordova). Is that possible? Or are there restrictions on Android OS side?
Best regards
Marc
I wrote a complex weather app in Cordova. Meanwhile a lot of users asked for a homescreen widget. Unfortunatelly there seems to be no way to add a native homescreen widget to a Cordova app. (there was a project "Microsoft Ace" which wanted to mix cordova and native code but before fixing the last bugs for a working homescreen widget Microsoft stopped that project in dec 2016)
I do not want to rewrite the whole app with 20,000 lines of code in B4A but want to offer a widget for my cordova app anyway. I was thinking about a workaround in B4A and want to ask here if this is possible generally or not. My idea is to write a new Android app in B4A which does offer nothing more than a homescreen widget. But if the user interacts with that widget another app, my cordova app, ist launched. In result the user must install two apps. One for the widget (written in B4A) and the "real" weather app (written in Cordova). Is that possible? Or are there restrictions on Android OS side?
Best regards
Marc