Can't use Monaca barcode scanner plugin on Android 7 - android-permissions

I use barcode scanner plugin on my Monaca app. It works nicely without Android 7 devices. I got this error at Android 7 phones:
In Enlish: Sorry, the android camera faced a problem. You may need to restart the device.

Monaca BarcodeScanner Plugin can’t be used with Android version 6 or higher and it may also not work with Cordova 6.5 projects for iOS platform.
However, you can import phonegap-plugin-barcodescanner into your Monaca project. This plugin will work on Android version 6 or higher without any issues. Please test it on custom Debugger or built app.

Related

Minimum Android version with flutter

Which minimum android version is supported by flutter?
Do some plugins have any effect on which version is not supported?
I tried to run my flutter app on an android emulator, but with the version android 16 it doesn't work and the app crashes. Do I have to change the compile version in some config files or why doesn't it work?
Flutter support 16. But to run app on Android emulator, use over 19.
https://github.com/flutter/flutter/issues/11094
https://github.com/flutter/flutter/issues/9108
https://github.com/flutter/flutter/issues/8610
From Flutters FAQ
flutter.dev/docs/resources/faq#what-devices-and-os-versions-does-flutter-run-on
Mobile operating systems: Android Jelly Bean, v16, 4.1.x or newer, and
iOS 8 or newer.
Mobile hardware: iOS devices (iPhone 4S or newer) and ARM Android
devices.
Note Flutter currently does not support building for x86 Android
(issue #9253) directly, however apps built for ARMv7 or ARM64 run fine
(via ARM emulation) on many x86 Android devices.
We support developing Flutter apps with Android and iOS devices, as
well as with Android emulators and the iOS simulator.
We test on a variety of low-end to high-end phones but we don’t yet
have an official device compatibility guarantee.
We believe Flutter works well on tablets. We do not currently
implement all of the tablet-specific adaptations recommended by
Material Design, though we are planning further investment in this
area
The answer to this question also, partly, needs to take into consideration what parts of Android you want to take advantage of in your application. The question of what min version Flutter supports has been answered here a couple of times so I won't answer that, but the Android support libraries will also need specific min versions.
If you plan to use plugins of any kind then you will probably hit multiple issues if your min version is too low. Do you need Firebase? Do you need specific camera functions?
Google also just announced required bumps for min versions with regards to Google Play that you should review.
My advice is to follow documentation, analytics and best practices to determine what you "true" min version should be.
The Flutter documentation has this answer to Android and iOS. Now it says that support: Android Jelly Bean, v16, 4.1.x or newer, and iOS 8 or newer. However, this information can change according to the new Flutter version. By this reason, it is better that you review the next link:
https://flutter.dev/docs/resources/faq#what-devices-and-os-versions-does-flutter-run-on
Furthermore, it would be best if you analyzed the plugins because they could need higher versions of Android and iOS.
This answer can be useful :
Devices and OS versions on which Flutter runs
Mobile operating systems: Android Jelly Bean, v16, 4.1.x or newer, and iOS 8 or newer.
Mobile hardware: iOS devices (iPhone 4S or newer) and ARM Android devices.
You can learn more here

How to get debug output on eclipse console screen for cordova app

I am using cordova plugin (THym) with eclipse Mars to make applications for android platform and I have an Android device with Android 4.3 due to which, chrome remote debugging is not working in my case.
Also I have tried android virtual device but even that didn't worked.
Only thing I am able to do is to run apk on my android device.
How can I debug the cordova app using eclipse?
Weinre is your friend for older Android Versions:
http://people.apache.org/%7Epmuellr/weinre/docs/latest/
And you should use Android Studio for developing Cordova Apps. Eclipse is no more supported.

Blackberry plugin for eclipse compatible with Blackberry 10

This may be an incredibly stupid question, but I have not gotten a clear answer through google. Will the eclipse Blackberry plugin work for the new Blackberry as well as older versions? I am actually an android developer so this is quite a change for me. Any hint will be appreciated. Thanx
EDIT You can use the BlackBerry Runtime for Android apps to run Android Jelly Bean 4.2.2 (10.2) platform applications on the BlackBerry 10 OS. If you are developing for a previous version of BlackBerry 10 OS, use Android Gingerbread 2.3.3. To use the runtime, you must first repackage your Android applications to BAR file format, which is the compatible file format required for an application to run on the BlackBerry 10 OS.
Got this from here. Does this mean that I should write two apps? One for the old blackberry devices and one for the new one?
I'm not sure that the above is clear, so thought I would restate the position as I understand it:
Android applications, repackaged to run on BlackBerry devices, can be used on BB10 and PlayBook devices only. These can not be run on BBOS devices, i.e. BB 5/6/7.
The later releases of BB10, specifically 10.2+, supports Android applications developed using Jelly Bean 4.2.2.
PlayBook and previous levels of BB10, support Gingerbread 2.3.3.
So for example, my Z10, which is running BB10.1, would only be able to load repackaged Android applications developed using Gingerbread. My Curve, running OS 7.0, can't run any Android applications.

Emulator with API 15 and Android 4.0.3 shows in settings 4.0.4

I need to emulate Android device (Samsung Tab 2) with version 4.0.3, but after choosing it in Android Virtual Device Manager and running it I get info in settings that it is a 4.0.4 version.
I need to run my web app written in html5 to reproduce some bugs.
Any idea about it?
The problem is that the emulator Android versions only correspond with specific versions from each API level. 4.0.3 and 4.0.4 are both in API level 15, so the emulator is only made available for Android 4.0.4. There is no Android 4.0.3 emulator; you'd have to find the system image for that or build it yourself.

Appcelerator Titanium: Android SDK doesn't load

I started developing with Titanium and now I really stuck on one part.
I downloaded the Adroid SDK and added the path to Titanium:
/Users/michael/Downloads/android-sdk-mac_86/
I can open e.g. Kitchen Sink in the iPhone Simulator without problems, but when I want to open it in Android then my screen looks like this: Screenshot
Why is down there all the time, even after 2 hours of waiting, the label "loading..." ?
some great advice given here - helped me out.
Switching to TRACE will probably show that Android SDK Platform 1.6 and API 4 is missing.
More info here
1) You can install Android SDK 1.6 (run tools/android from your Android SDK folder and download the older SDK 1.6 from the Google Repository),
and Titanium will detect Android SDK
2) As for Android SDK 2.2, adb moved to platform-tools folder, so you will have to create a link in [your-android-sdk-folder]/tools e.g. :
ln -s ../platform-tools/adb
(full instructions for non-linux here : http://guides.appcelerator.com/en/getting_started.html)
Finally, in the Titanium Test&Package/Run emulator window, you will have the choice between Android SDK 1.6 and 2.2
Try to open your Android_SDK_Dir/tools, run file android to create a new Android Virtual Device. After that, open your Titanium again. Maybe this will solve your issue.
Take a look at your image. Value of SDK listbox is "...loading...". This means you Titanium cannot determine which Android Virtual Device is. So, as I said, try to create new Android Virtual Device first.
having the same issue - have you found a workaround?
found out that after downloading the android sdk - there are other components to be downloaded, which is different from previous versions. Also found some implication that loading the android emulator prior to launching the app from titanium may yield better results.
check the android docs for updating the sdk via the avd manager
load the emulator first video:
http://vimeo.com/10866226
Try setting the Filter from "Info" to "Trace" that may illuminate things.
Most commonly, you may not have the right platforms installed. Just install all of them if that's the case.
add a blank folder android-7 in android/platforms ..n restart titanium ..it worked for me on ubuntu