Questions tagged [android-4.2-jelly-bean]
Android 4.2 Jelly Bean (API Level 17) is the version of Android Operating System preceded by Android 4.1.
0
votes
0answers
29 views
React native Flatlist ListHeaderComponent causes error: Exception in native call from JS null
I have a Flatlist that it works fine before upgrade react native version from 0.55 to 0.57
It worked fine on all devices but now it only works on android version >= 5
and on android 4 from the ...
1
vote
0answers
29 views
What are we losing by supporting Jelly Bean (or older Android version) ?
Chrome recently announced ending support for Jelly Bean (API level 16). Some of our developers have a view that we should also drop support for JB and move minimum API level to KitKat (API level 19).
...
0
votes
0answers
50 views
Unfortunately App has stopped on start in API 16(Jelly Bean and KitKat) React Native
Our App stops on start only on android 4(Jelly Bean and Kitkat) and below.
Following is the Logcat.
E/AndroidRuntime( 9579): FATAL EXCEPTION: main
E/AndroidRuntime( 9579): java.lang....
0
votes
0answers
46 views
Firestore cannot reach backend on Android Jellybean
I am retrieving data from Firestore in my app. The minimum sdk version of the app is 16. It works fine in all versions from Lollipop (tested only on 5.0, 7.0, 8.1 and 9.0). However in Jellybean, I am ...
1
vote
1answer
51 views
How to make repeating alarm manager in api level 17?
I've been working on this function for weeks, but i don't know what is wrong with the function. I tested it in the emulator with API level 25 and it work, but when i run it on API level 17, it's not ...
0
votes
0answers
94 views
Android webview - loadUrl to sni server
i'm trying to load url with webview to SNI address but i'm always get "Couldn't establish a secure connection" to onReceivedError (not to onReceivedSslError).
the android version is : 4.2.2 Jelly ...
0
votes
0answers
83 views
WebView with ssl in api 17 (Jelly Bean 4.2)
i have a webview that need access to site with ssl certificate, and my question is if i can access to this site on devices with api 17? i read on the web that we can override the "onReceivedSslError" ...
0
votes
1answer
1k views
java.net.UnknownHostException: Unable to resolve host “<url>”: No address associated with hostname
I am 100% sure that the phone has internet connection. I can browser websites and the connection works. Nonetheless, from my app, I see this error:
java.net.UnknownHostException: Unable to resolve ...
0
votes
1answer
161 views
Facebook login issue in Android 4.2.2 (Jelly Bean)
I have integrated facebook login in my app. And it is working fine in Android OS Oreo, Marshmallow, Lollipop and kitkat. But when I test it in 4.2.2 Jelly Bean version, it is like stuck in loading ...
3
votes
1answer
176 views
Resource not found exception in android 4.2.2
I have created a theme for splash screen on style.xml file.
<style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/...
0
votes
1answer
66 views
basic authentication server not working on jellybeans and kitkat
I am using basic authentic for http connection in app. App is working finr correctly on devices with higher versions. I have also searched for solution and It did not worked for me.
Here is my code ...
0
votes
0answers
49 views
Android - different rendering behavior between string from list vs new string
In my Android program I have many arrays and lists storing a few hundred strings each. I will sometimes get a string from one of these structures and use it to draw text to the screen programmatically ...
0
votes
1answer
930 views
How to display Unicode Characters in Android TextView?
My app works before with translation from English to Korean.
See screenshot below.
I don't have to configure things like right fonts among other things.
Now it won't work and would only show Latin ...
0
votes
0answers
183 views
Error inflating TabLayout on Jelly Bean and KitKat
I have the following TabLayout in my activity which works fine on Nougat, Marshmallow, and Lollipop, but throws an exception on Jelly Bean and KitKat. Any ideas? This has become beyond frustrating.
&...
0
votes
1answer
110 views
SQLite exception in Jelly bean but not in marshmallow
I upgraded my app to marshmallow and getting sqlite database full exception.
The db code is,
package com.app;
import java.io.File;
import android.content.ContentValues;
import android.content....
1
vote
1answer
645 views
Ads Admob Interstitial + Loading Page Activity After Open App | in Android Studio 4.2.2 Jelly Bean
How to add interstitial admob to my project (Version 4.2.2 Jelly Bean)?
Admob appears when the app is run and when the app is closed.
I want the interstitial admob logic like in the picture above or ...
0
votes
1answer
165 views
Chose File In Webview 4.2.2 (Android Studio)
I try to input the image file in my html page in webview 4.2.2
But the input file does not work. Do you have the solution for my problem ?
please help me
This is my code (Tambah.java) :
public ...
0
votes
2answers
384 views
Android - Xamarine UnauthorizedAccessException: Access to the path "/storage/sdcard0/ denied
I am trying to access one file from the device memory. below was the code
string directory = Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath);
string Mp3 = Path.Combine(...
3
votes
2answers
841 views
super.onCreate(savedInstanceState) crashes in first run
Exception that caught by Firebase Crash Reporting:
Exception java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.talmir.mickinet/com.talmir.mickinet.activities.HomeActivity}:
...
0
votes
2answers
112 views
notification does not appear
The code bellow is supposed to show a heads up notification, but it is not appearing. However, the MessageActivity is starting without the notification shows up. This activity was supposed to start ...
0
votes
1answer
340 views
Alternative for AlarmManager.setExact android api 18 and less
I am developing an android app that uses AlarmManager.
The app has to be very accurate, but AlarmManager.setExact is available only from API 19 (Android Kitkat), and I have an old phone that its ...
0
votes
0answers
242 views
Android App not working on API level >17
I am developing an Android application that takes in a message and changes the profile. The app has one Activity and one Broadcast Receiver. The problem is that the app works perfectly fine for API ...
0
votes
0answers
296 views
Video is not playing on Android 4.2 Webview
I want to play a video on android 4.2 webview but I can not play video. Video is in url.
Here is my code:
public WebView webView;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
2
votes
1answer
2k views
Firebase cloud messaging(FCM) not working on android version below kitkat (4.4)
I have implemented FCM as per documentation and it is working perfectly on android versions 4.4(Kitkat) and above and not working on 4.3(Jelly Bean) and below versions. As per FCM documentation it ...
0
votes
0answers
14 views
Android screen disabeling on activity launch
there's a small annoying bug that I cant get rid off.
After every activity that I launch in my app, the screen disables itself (goes darker) I have to tap the screen twice and on jellybean I have to ...
0
votes
1answer
248 views
Android Jelly bean 4.2.2 - webview XMLHttpRequest cannot load
In my app I'm using WebView. I'm trying to call POST method that cannot proceed my request.I get this error:
XMLHttpRequest cannot load https://*****/support/create_ticket.
Request header field ...
-1
votes
1answer
353 views
Android app Cannot Open at Api 19
i have android app and its working done on android marshmallow and above , my problem now is when i tried to run app at android Kitkat , the app crash and i got this error
W/System.err: java....
-2
votes
1answer
177 views
android Navigation view is not working fine for 4.2.1 jelly bean
android navigation view is not working fine when language is arabic. This issue is only happened on 4.2.1 jelly bean. there is a alignment issue of icons.please take a look on screen shot
0
votes
1answer
551 views
Application running on Marshmallow, but not on Jellybean
I am new to android development. I developing an application in android and have set my minSdkVersion 16 and targetSdkVersion 16 but still its not running on jellybean but working fine on marshmallow.
...
0
votes
1answer
109 views
Issues getting dual sim network info in Jelly Bean (Android 4.2)
I am new to Android Development. I am trying to create an application that needs to display network information. Its aim it get dual sim network info for my Android 6.0 device, but I can't get dual ...
0
votes
1answer
418 views
android layout support for all screen sizes with support to pre lollipop and above lollipop devices
This is my first android app, I am stuck on how to group layouts for small, medium and large screen sizes and also how to support pre lollipop devices and above lollipop devices?
layout-small
layout-...
0
votes
1answer
330 views
Turning mobiledata on/off in android API 17
Using android adb shell in API level 17 i can enable and disable mobile data using svc data enable/disable but if i tried to do it pragmatically it does work and pass with out any exception here is my ...
0
votes
1answer
299 views
Android HDMI dual display using allwinner A20
we developed out custom android for our own board developed by our company. Initially I am having issues in displaying similar content on hdmi but i solved that issue . Now we are trying to display ...
-1
votes
4answers
857 views
Camera.open works on Android 4.2.2, but fails on 6.0.1
I have 2 devices to test my app : an Acer v370 running Android 4.2.2, and a Samsung Galaxy S6 on 6.0.1
The app works fine on the Acer, but crashes instantly on the S6. I'm using
_camera = Camera....
2
votes
0answers
349 views
Android: Drawable <android:tint> alternative API < 21
Having to support night and day mode for API < 21 is a bit exhausting.
Android API >= 21 has allowed the use of android:tint like the following:
<?xml version="1.0" encoding="utf-8"?>
<...
1
vote
0answers
33 views
Iron-router version 1.0.12 is not supported on Jellybean version of Android
Iron-router version 1.0.12 is not supported on Jellybean version of Android. The latest version (1.0.12) is working fine in the latest version of Android, but in Jellybean it couldn't find the routes ...
0
votes
1answer
280 views
Android GCM push notifications not working on devices with Jellybean
I tested the app on Android Marshmallow, Lollipop and Kitkat, push works correctly on all of them except the device with Jellybean 4.2.2.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?&...
0
votes
0answers
768 views
android.view.InflateException:Error inflating class android.support.design.widget.NavigationView,InvocationTargetException
while I'm trying to login my app on samsung galaxy s3 mini(4.2.2) i got crash, except this device it's working on all other devices, could any one please help me out in detail how to tackle this ...
2
votes
0answers
46 views
Recognizer Intent is behaving differently on jellybeans and lollipop
Here is my code.
speakButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(...
1
vote
1answer
463 views
In Jellybean, camera intent returns RESULT.CANCELLED when using FileProvider
I followed the official docs to execute camera intent in my app.
It works in 5.0+ devices but not in Jellybean.
In 4.1(JB) to 4.4 (KK), native camera app shows "Unfortunately, camera has stopped ...
0
votes
1answer
336 views
FindViewById / Butterknife.findById throwing NullPointerException only on API < 23
I am getting an NPE when I attempt to assign a LinearLayout variable during onCreate in a fragment. This error only happens in API versions < 23 (I have not tried them all, but have tried 19 and ...
2
votes
0answers
163 views
|Android 17| AlarmManager doesn´t start BroadcastReceiver
I am currently trying to call a BroadCastReceiver with an AlarmManager to ouput a notification on a certain time! On Android SDK Level 19+ my method works, but on Android 17 my approach leads into ...
0
votes
1answer
232 views
Android App crashes on pre Android 5 devices
I've updated my sdks, play services and so on, recently. When I run my app on devices/emulators with pre-Lollipop Android, it instantly with the following error:
java.lang.NoClassDefFoundError: com....
3
votes
3answers
3k views
java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
In simulator I can run my app, but on device with Jelly Bean OS I get a crash. Any idea why?
07-04 12:51:57.576 18243-18279/com.j4nos.moviebuffs6 E/AndroidRuntime: FATAL EXCEPTION: Thread-7940
...
0
votes
2answers
82 views
Disable Home Button in Android (NEC UT880 device) running on Android 4.2.2 version
I am making one lock application and for that I need to disable home button. I already tried all the common solutions available and it works for other android versions but for this device which is ...
0
votes
1answer
47 views
Return previous screen not working
I have two screens in my app, let's say screen A and screen B. Please see my code below.
screen A -> screen B:
EditProfileFragment contactFragment = new EditProfileFragment();
android....
0
votes
0answers
407 views
Android Alarm Manager and receiver is not working in API 17 emulator
Well, this is interesting. My alarm does work properly in other android versions such as API 19, 20, 23 but doesn't work in API 17. I tried many different ways but it is not working on any emulator ...
2
votes
3answers
3k views
Android 4.2.2, How to enable TLS 1.2 for HttpsURLConnection?
I am developing an Android app for API level 16+ and from what i have seen by default TLS v1.1 and TLS v1.2 are supported but not enabled on Android 4.1+
I have used the SSLSocketFacory from here:
...
1
vote
0answers
118 views
Is it possible to run an Android service under a different UID than the sharedUserId in the manifest?
I'm writing a remote management app for an android based device. The app currently runs under sharedUserId android.uid.system to enable access to restricted parts of the file system.
As a side effect ...
5
votes
4answers
3k views
ScrollView inside ViewPager does not scroll on Android 4.x
I have a problem that seems to only impact Android 4.x versions and may be also device specific (i.e. it does not exist on my Huawei G630@4.3, but do exists on a Samsung Ace2@4.4.4).
I have a ...