Category "android"

Android studio mouse sometime not working?

I am using Android studio 2.1.1 Build #AI-143.2821654 build on April 28, 2016. JRE: 1.8.0_77-b03 x86_64 OS X El Capitan 10.11.3 I have met Android studio mou

Error when setting compileSdkVersion to Sv2 (Android 12L) - Unsupported value: Sv2. Format must be one of

I am trying to follow the setup guide for Android 12L here. But I get the following error when I sync gradle on the project: Unsupported value: Sv2. Format must

Is it possible to make Vpn app using flutter and dart

I tried using this package to make VPN connection app but it dose not support the connection type like (L2TP or PPTP) https://pub.dev/packages/flutter_vpn

Deep link routing to Android/IOS app in vue js

When the user visits the mobile website via android/ios iphone, it should be redirected respective apps in their phone. If they still didn't install the respect

Build gradle : Could not find method packagingOptions() for arguments root Project "fasterDev"

I am using single build.gradle file in application. Regarding version 1.6 it's working properly. but I want to use this for location update with module. apply

How can I get data from PHP to Android TextView?

How can I get data from PHP to Android? can you help me?, how can I display result of PHP to android textview this is my PHP code I should use JSON on this...

How to exclude all files under a directory in Gradle?

packagingOptions { exclude 'org/apache/commons/codec/language/bm/gen_approx_portuguese.txt' } For example, this one will exclude 1 file. But how to exclude a

Httpclient redirect handler

I'm trying to call a web server that is using relative URL redirects for some of the calls. This of course isn't working with DefaultHttpClient as it isn't trea

How to disable night mode in my application even if night mode is enable in android 9.0 (pie)?

I created my application before the android pie has been released, in every layout I put android: background = "white" it works fine in every device, but when m

Android WebView, how to handle redirects in app instead of opening a browser

So right now in my app the URL I'm accessing has a redirect, and when this happens the WebView will open a new browser, instead of staying in my app. Is there a

onTouchListener ACTION_MOVE not working with more than 1 finger

I'm building an OpenGL ES app and I use an onTouchListener to detect touch events, as suggested by the android development website (https://developer.android.co

Android - Programmatically check internet connection and display dialog if notConnected

I am working on a live project. and when user click on the app. the welcome screen appears(there is a webview on that screen). and if the internet is not connec

How to see the type of variable within Android Studio IDE

How to see the type of variable in Android Studio when using Kotlin without type annotations. Currently I'm trying to see it by giving the variable a type I kn

Resources$NotFoundException - Failed to open file '...fragment_list.xml': No such file or directory

I am learning MVVM and have run into an issue, and I am getting the following errors: Resources$NotFoundException: File res/layout/fragment_list.xml from xml ty

Set android shape color programmatically

I am editing to make the question simpler, hoping that helps towards an accurate answer. Say I have the following oval shape: <?xml version="1.0" encoding=

Android-android.database.sqlite.SQLiteException: unknown error (code 0): INTEGER data in nativeGetBlob

I am working on database and exporting data from database to xml file but i faced this error in this line byte[] s = cur.getBlob(idx);. before I was using this

Get application Id in XML dynamically

I'm using shortcuts in my application and I have multiple product flavors. I want to get the application Id dynamically for target package. I've given ${applic

Get application Id in XML dynamically

I'm using shortcuts in my application and I have multiple product flavors. I want to get the application Id dynamically for target package. I've given ${applic

How to check for esim eligibility in react-native app?

I need to make a react-native app that checks if the device is suitable for esim or not. I obtain this information https://source.android.com/devices/tech/conn

How to check for esim eligibility in react-native app?

I need to make a react-native app that checks if the device is suitable for esim or not. I obtain this information https://source.android.com/devices/tech/conn