id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
71,195,123
set alarms from sqlite db in java android
<p>I'm trying to make alarms using the times provided in the sqlite database for the reminders. however I can't seem to be getting it right. the code I have so far is: (in my mainactivity oncreate)</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-c...
I'm trying to make alarms using the times provided in the sqlite database for the reminders. however I can't seem to be getting it right. the code I have so far is: (in my mainactivity oncreate) [CODE] and my alarm receiver class is [CODE] i want to be able to set reminders for the specific time for the reminders in th...
java|android|android-studio|alarmmanager|mobile-development
0
2022-02-20T13:57:36.797Z
2,022
2
13
6
35
0
330
41
5
2
true
true
false
false
false
false
zero
71,230,041
How do I add a user (beta tester) to Google Developers Console via API
<p>Is there any way to add a beta tester user from the api provided by the google play store?</p>
Is there any way to add a beta tester user from the api provided by the google play store?
android|google-play
0
2022-02-23T00:41:09.913Z
2,022
2
0
2
35
0
90
70
2
0
false
true
false
false
false
false
zero
71,261,306
How can I draw a view which is excluded from media projection?
<p>I want to draw a view and exclude it from media projection.</p> <p>I found some apps already have this behavior, so I think it is possible. For example, when I share screen of android mobile phone to Samsung TV, floating button and control pannel is only drawn on mobile phone, not on TV.</p> <p>I want to use media p...
I want to draw a view and exclude it from media projection. I found some apps already have this behavior, so I think it is possible. For example, when I share screen of android mobile phone to Samsung TV, floating button and control pannel is only drawn on mobile phone, not on TV. I want to use media projection to capt...
java|android|user-interface|android-mediaprojection
1
2022-02-25T05:09:06.587Z
2,022
2
5
4
35
0
467
62
4
0
false
true
false
false
false
false
low
71,295,457
App aproval with partner created enterprise
<p>i'm creating EMM-managed enterprise. This is the recommended method (no signup page nor google account required) <a href="https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises" rel="nofollow noreferrer">https://developers.google.com/android/management/create-enterprise#emm-manage...
i'm creating EMM-managed enterprise. This is the recommended method (no signup page nor google account required) https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises but, with this enterprise, end user have no IT admin account to connect to managed google play on https://play.googl...
android-management-api
0
2022-02-28T13:05:57.357Z
2,022
2
13
0
35
0
409
43
1
0
false
true
false
false
false
false
zero
71,301,043
Java: No implementation found for void com.critei.vips.Vips.init() error in JVips
<p>I am trying to add <a href="https://github.com/criteo/JVips" rel="nofollow noreferrer">JVips</a> to my android project There is no error while importing the classes. I have kept the jar in libs folder and linked in gradle.build:</p> <pre><code>... dependencies { implementation fileTree(dir: 'libs', include: ['*....
I am trying to add JVips to my android project There is no error while importing the classes. I have kept the jar in libs folder and linked in gradle.build: [CODE] I used the sample code in the method as [CODE] But when I invoke the method it shows below error Error: [CODE]
android|android-ndk|java-native-interface|shared-libraries|static-libraries
0
2022-02-28T21:05:41.257Z
2,022
2
21
0
35
0
274
81
5
3
true
true
false
false
false
false
zero
71,331,418
Android Autofill: Why does the client state return null?
<p>I am attempting to build an autofill service that will handle split login pages, and I am hit with a confusing error. The first part of the code executes just fine, so the client state should be set, but then I am hit with a &quot;request.getClientState() must not be null&quot; error. Since it is an autofill service...
I am attempting to build an autofill service that will handle split login pages, and I am hit with a confusing error. The first part of the code executes just fine, so the client state should be set, but then I am hit with a &quot;request.getClientState() must not be null&quot; error. Since it is an autofill service it...
android|passwords|autofill|android-autofill-manager|password-autofill
0
2022-03-03T02:23:11.150Z
2,022
3
2
3
35
0
773
56
5
3
true
true
false
false
false
false
zero
71,376,163
Google Maps Android's overlays like polygons do not hide terrain(landscape) labels. Is this normal behavior?
<p>I've been using quite an old Google Maps Android SDK (version 11.0.2) and opaque polygon overlays were able to hide landscape labels below them. Recently, I got a notification that new sdk (version 18.0.x) will be the default renderer for Android devices through a progressive rollout. It seems my game is force-updat...
I've been using quite an old Google Maps Android SDK (version 11.0.2) and opaque polygon overlays were able to hide landscape labels below them. Recently, I got a notification that new sdk (version 18.0.x) will be the default renderer for Android devices through a progressive rollout. It seems my game is force-updated ...
android|google-maps
0
2022-03-07T03:34:34.630Z
2,022
3
3
0
35
0
667
108
2
0
false
true
false
false
false
false
zero
71,394,434
NullPointerException on createNotification flutter_local_notification package
<p>So in my live application this error is coming from a long period of time and I am still not able to find anything, initially I thought this is because of the <code>app_icon</code> I am using for the notifications, but nothing changed after replacing the icon. RN the occurrence for this error is 1.7K and I have no i...
So in my live application this error is coming from a long period of time and I am still not able to find anything, initially I thought this is because of the app_icon I am using for the notifications, but nothing changed after replacing the icon. RN the occurrence for this error is 1.7K and I have no idea what should ...
android|flutter|flutter-local-notification
0
2022-03-08T11:39:19.083Z
2,022
3
11
1
35
0
354
77
3
1
true
true
false
false
false
false
zero
71,419,331
How to link android SDK in ReactNative?
<p>I have a custom SDK that I have to link in my react native project so How do I link my android SDK in ReactNative?</p>
I have a custom SDK that I have to link in my react native project so How do I link my android SDK in ReactNative?
java|android|react-native|android-studio|sdk
0
2022-03-10T05:41:15.487Z
2,022
3
5
3
35
0
114
39
5
0
false
true
false
false
false
false
zero
71,425,372
Scrolling Issues with mobile webpage
<p>I'm having Issue with Mobile scrolling. I can only scroll like 70% and then the webpage gets stuck. But on PC I can scroll all the way. Any Idea what might be causing this issue?</p> <p><a href="https://www.lovrirealestate.com/webbsida2/HTML/Projects.html" rel="nofollow noreferrer">https://www.lovrirealestate.com/we...
I'm having Issue with Mobile scrolling. I can only scroll like 70% and then the webpage gets stuck. But on PC I can scroll all the way. Any Idea what might be causing this issue? https://www.lovrirealestate.com/webbsida2/HTML/Projects.html
android|html|css|ios|mobile
1
2022-03-10T13:59:17.027Z
2,022
3
13
3
35
0
239
36
5
0
false
true
false
false
false
false
low
71,439,615
DataBinding throws missing return statement error
<p>In my model:</p> <pre><code>val onFocusAction: () -&gt; Unit = empty() </code></pre> <p>In layout:</p> <pre><code> app:onFocusAction=&quot;@{() -&gt; model.onFocusAction.invoke() }&quot; </code></pre> <p>In binding adapter:</p> <pre><code>@JvmStatic @BindingAdapter(&quot;onFocusAction&quot;) fun onFocusActio...
In my model: [CODE] In layout: [CODE] In binding adapter: [CODE] Evry time when I try to build the project I can see error: missing return statement I tried to change syntax, I've seen every thread releated to that problem and nothing works. I've clean gradle cache, android studio cache
android|kotlin|android-layout|binding|android-databinding
0
2022-03-11T13:54:23.813Z
2,022
3
13
4
35
0
287
49
5
3
true
true
false
false
false
false
zero
71,270,874
Darkmode automatically enabled on Android in Ionic-Vue App
<p>We are developing an Ionic-Vue App for both Android and iOS. In Chrome dev tools the app is behaving as expected: Darkmode is disabled by default and enabled when switching to &quot;prefers-color-scheme: dark&quot;. However, when testing the app on real android devices, darkmode is sometimes enabled even though the ...
We are developing an Ionic-Vue App for both Android and iOS. In Chrome dev tools the app is behaving as expected: Darkmode is disabled by default and enabled when switching to &quot;prefers-color-scheme: dark&quot;. However, when testing the app on real android devices, darkmode is sometimes enabled even though the use...
android|vue.js|ionic-framework|darkmode|ionic-vue
2
2022-02-25T19:30:20.360Z
2,022
2
19
4
291
0
635
58
5
2
true
true
false
false
false
false
low
71,414,900
Connect openvpn on android via am command
<p>I have android 6.0.1 with OpenVPN Connect 3.2.5.(7182) installed on it and trying to figure out how to connect to vpn with specified profile using <code>adb</code> and android <code>am</code> command. I found some &quot;<a href="https://openvpn.net/faq/how-do-i-use-tasker-with-openvpn-connect-for-android/" rel="nofo...
I have android 6.0.1 with OpenVPN Connect 3.2.5.(7182) installed on it and trying to figure out how to connect to vpn with specified profile using adb and android am command. I found some &quot; Tasker instructions &quot; (don't even know what is it exactly) on OpenVPN website and it looks like this: [CODE] How can I t...
android|adb|openvpn|openvpn-connect
3
2022-03-09T19:16:56.480Z
2,022
3
19
2
291
0
464
41
4
2
true
true
false
false
false
false
low
71,104,834
Transparent Toolbar background in android
<blockquote> <p>Transparent toolbar background but show title and back button</p> </blockquote> <p>I have implemented navigation <strong>Component</strong> along with <code>toolbar</code>. I have two fragment <code>PhoneAuthFragment</code> and <code>OTPFragment</code>.</p> <p>Below are the two fragment respectively. I ...
Transparent toolbar background but show title and back button I have implemented navigation Component along with toolbar . I have two fragment PhoneAuthFragment and OTPFragment . Below are the two fragment respectively. I want to achieve below effect. I have tried changing theme to [CODE] Also tried background color to...
android|themes|android-toolbar|transparent
0
2022-02-13T21:05:00.597Z
2,022
2
21
6
36
0
409
41
4
3
true
true
false
false
false
false
zero
71,107,981
After signing into google account in playstore of virtual device android studio can no longer launch apps
<p>I am using Android Studio BumbleBee 2021.1.1 Patch 1</p> <p>I am using the virtual device -</p> <p>Pixel 2 API 30</p> <p>Everything was working fine until I signed into my google account in the playstore. Now my apps won't launch on the device.</p> <p>However, the same apps still launch on other devices in which I h...
I am using Android Studio BumbleBee 2021.1.1 Patch 1 I am using the virtual device - Pixel 2 API 30 Everything was working fine until I signed into my google account in the playstore. Now my apps won't launch on the device. However, the same apps still launch on other devices in which I have not signed into my google a...
android|android-studio
0
2022-02-14T06:35:28.417Z
2,022
2
6
0
36
0
438
105
2
0
false
true
false
false
false
false
zero
71,129,620
Is there some package in flutter, that can give a list of saved Wifi networks on both iOS and Android?
<p>For a project, I need such a functionality, so to say - show list of all saved on the device wifi's. Is there package that can help me with that, or maybe some considerations on how to properly implement that? Thanks in advance.</p>
For a project, I need such a functionality, so to say - show list of all saved on the device wifi's. Is there package that can help me with that, or maybe some considerations on how to properly implement that? Thanks in advance.
flutter|dart|wifi|android-wifi
0
2022-02-15T16:03:03.207Z
2,022
2
16
1
36
0
228
102
4
0
false
true
false
false
false
false
zero
71,155,435
Integrate a maven library into an android gradle project
<p>We have an internal java maven library which I would like to add to the android gradle project.</p> <p>I added the dependency: <code>androidTestImplementation(&quot;com.internal:library:1.0.0&quot;)</code></p> <p>When I try to run an instrumentation test the build fails with all sort of <code>Duplicate class found</...
We have an internal java maven library which I would like to add to the android gradle project. I added the dependency: androidTestImplementation(&quot;com.internal:library:1.0.0&quot;) When I try to run an instrumentation test the build fails with all sort of Duplicate class found errors. An example: [CODE] The intern...
android|maven|gradle|dependencies
0
2022-02-17T09:26:44.617Z
2,022
2
9
3
36
0
696
56
4
1
true
true
false
false
false
false
zero
71,171,783
Background multiple record videos service with MediaRecorder
<p>I've used MediaRecorder in a background record video application. When record file is full, I change output file. When changing output file, I must stop MediaRecorder to prepare and start it again. But this make my preview Surface blink in a short of time. Is there any solution for this ?</p> <p>Start</p> <pre><code...
I've used MediaRecorder in a background record video application. When record file is full, I change output file. When changing output file, I must stop MediaRecorder to prepare and start it again. But this make my preview Surface blink in a short of time. Is there any solution for this ? Start [CODE] On Info [CODE] St...
android|android-service|mediarecorder|android-mediarecorder
1
2022-02-18T10:16:06.520Z
2,022
2
10
4
36
0
518
60
4
3
true
true
false
false
false
false
low
71,243,714
Firebase: AB testing of content within webview
<p>I have two quick questions to check here on use of Firebase for mobile app content (in webview)</p> <ol> <li>Have anyone done ab testing of content within WebView using Firebase?</li> <li>How does Firebase remember visitors of WebView pages? Does it use a Mobile advertising id? Is it possible to use any other id as ...
I have two quick questions to check here on use of Firebase for mobile app content (in webview) Have anyone done ab testing of content within WebView using Firebase? How does Firebase remember visitors of WebView pages? Does it use a Mobile advertising id? Is it possible to use any other id as a visitor id in Firebase ...
android|ios|webview|firebase-ab-testing
1
2022-02-23T20:34:06.847Z
2,022
2
20
2
36
0
467
46
4
0
false
true
false
false
false
false
low
71,247,441
textchangelistener in recycler view works on debug mode, but not while run, What can be the reason?
<p>Can someone please check this and help me? I have a textchange listener in the adapter, and api call in fragment. whenever there is text change, data is fetched from API, and item is replaced. Now the item is being carry forward in run mode, for example. When i change item b from item a, item a is only shown, when i...
Can someone please check this and help me? I have a textchange listener in the adapter, and api call in fragment. whenever there is text change, data is fetched from API, and item is replaced. Now the item is being carry forward in run mode, for example. When i change item b from item a, item a is only shown, when i ch...
android|kotlin|android-recyclerview|android-adapter
1
2022-02-24T05:16:09.233Z
2,022
2
5
3
36
0
527
99
4
2
true
true
false
false
false
false
low
71,247,834
Padding with space within the string before bitmap conversion
<p>We are using 2inch thermal printer to print receipts in android and using the below method to print the lines.</p> <ol> <li>Printing via normal i/o stream as, <code>mOutputStream.write(text.getBytes(&quot;UTF-8&quot;));</code></li> <li>Printing as <code>Bitmap</code> as <code>mOutputStream.write(data);</code> where...
We are using 2inch thermal printer to print receipts in android and using the below method to print the lines. Printing via normal i/o stream as, mOutputStream.write(text.getBytes(&quot;UTF-8&quot;)); Printing as Bitmap as mOutputStream.write(data); where data is the bitmap created from text using bitmap conversion. As...
android|bitmap
0
2022-02-24T06:10:49.910Z
2,022
2
6
3
36
0
997
61
2
0
false
true
false
false
false
false
zero
71,248,420
I want to share installed apps with their original name but the all apps name is similar base.apk when the is get from file
<p>I have try to change name from it's absolute path but when i again get the list of apps list is not updated. I want to share apps using udp and tcp socket</p> <pre><code> list = AppUtils.getAppList(context); for (int i = 0; i &lt; list.size(); i++) { AppEntity appEntity = list.get(i); ...
I have try to change name from it's absolute path but when i again get the list of apps list is not updated. I want to share apps using udp and tcp socket [CODE] Log cat [CODE] Help please how to share installed apps with their original names
java|android|file|apk|share
0
2022-02-24T07:21:42.077Z
2,022
2
7
3
36
0
242
123
5
2
true
true
false
false
false
false
zero
71,251,327
Testing Google Play Subscriptions
<p>I'm trying to test google play subscriptions for my app. Where I wanna test the payment and verify it on the backend.</p> <p>Although I'm getting <code>Response Code : OK</code>, but the skudetails I'm getting is zero.</p> <p>I added licensed testers in google play console and even added my apk for internal testing....
I'm trying to test google play subscriptions for my app. Where I wanna test the payment and verify it on the backend. Although I'm getting Response Code : OK , but the skudetails I'm getting is zero. I added licensed testers in google play console and even added my apk for internal testing. But still no success. I trie...
android|google-play|in-app-purchase
0
2022-02-24T11:35:52.657Z
2,022
2
11
3
36
0
701
33
3
0
false
true
false
false
false
false
zero
71,256,207
How to support uncommon languages on Android without localized resources?
<p>In the language preferences of Android, many languages show the remark &quot;May not be available in some apps&quot; (I assume these are languages for which Android itself is not localized). Norwegian Nynorsk is an example:</p> <p><a href="https://i.stack.imgur.com/w512Xm.png" rel="nofollow noreferrer"><img src="htt...
In the language preferences of Android, many languages show the remark &quot;May not be available in some apps&quot; (I assume these are languages for which Android itself is not localized). Norwegian Nynorsk is an example: In an Android App, when accessing the list of preferred languages via [CODE] these languages see...
android|localization|android-resources
0
2022-02-24T17:51:56.510Z
2,022
2
17
3
36
0
1,729
73
3
1
true
true
false
false
false
false
zero
71,266,994
Share and persist an ID/string between Android apps
<p>I'm working on an app for a customer that already have a couple of apps. Request is to find a way to have an ID/string that could be generated (using a GUID) and shared between that set of apps. A sort of &quot;CustomerDeviceID&quot;. i.e. When user installs the first app from that publisher an ID is generated and s...
I'm working on an app for a customer that already have a couple of apps. Request is to find a way to have an ID/string that could be generated (using a GUID) and shared between that set of apps. A sort of &quot;CustomerDeviceID&quot;. i.e. When user installs the first app from that publisher an ID is generated and stor...
android|sharedpreferences|keychain
0
2022-02-25T14:01:45.150Z
2,022
2
14
4
36
0
788
51
3
0
false
true
false
false
false
false
zero
71,285,205
React Native bundler stuck at 50%
<p>I have an android project which used to work just fine ,without me changing anything , I stopped being able to run it ,whenever I do the devices screen goes white and the bundling gets stuck on 50% meanwhile in metro it gets stuck in Bundle ./index.js like shown on the screen</p> <p><a href="https://i.stack.imgur.co...
I have an android project which used to work just fine ,without me changing anything , I stopped being able to run it ,whenever I do the devices screen goes white and the bundling gets stuck on 50% meanwhile in metro it gets stuck in Bundle ./index.js like shown on the screen
android|node.js|react-native
0
2022-02-27T13:38:02.387Z
2,022
2
13
6
36
0
276
33
3
0
false
true
false
false
false
false
zero
71,320,051
I generate temp RTC token from the i need to renew token by code how could I do that
<p>Here is my code ................................................................................................</p> <pre><code> public RtcEngine initializeAndJoinChannel(String appId, String token, String channelName,int view) { Log.d(TAG, &quot;initializeAndJoinChannel: &quot;); try { mRtcEn...
Here is my code ................................................................................................ [CODE]
android|dependency-injection|token|agora.io
0
2022-03-02T09:09:25.390Z
2,022
3
9
2
36
0
119
84
4
1
true
true
false
false
false
false
zero
71,322,347
Flutter - Launching flutter from native android in/out animation
<p>I have a native android app with a new flutter module. I want to have slide-in animation when I am entering the flutter part of the app (FlutterActivity) and slide-out when I am going back to the native part of the app.</p> <p>I know that slide-in on entering I can achieve by overridePendingTransition after starting...
I have a native android app with a new flutter module. I want to have slide-in animation when I am entering the flutter part of the app (FlutterActivity) and slide-out when I am going back to the native part of the app. I know that slide-in on entering I can achieve by overridePendingTransition after starting FlutterAc...
android|flutter|flutter-navigation
0
2022-03-02T12:00:50.513Z
2,022
3
12
2
36
0
470
64
3
0
false
true
false
false
false
false
zero
71,370,657
importing library in android studio fails
<p>I have problems importing since when I installed the new version of android studio bumblebee.</p> <p>Failed to resolve: com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.1.7 Show in Project Structure dialog Affected Modules: app</p> <pre><code>plugins { id 'com.android.application' id 'org.jetbr...
I have problems importing since when I installed the new version of android studio bumblebee. Failed to resolve: com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.1.7 Show in Project Structure dialog Affected Modules: app [CODE]
android-studio
0
2022-03-06T13:23:39.843Z
2,022
3
13
6
36
0
241
41
1
1
true
true
false
false
false
false
zero
71,388,418
Android Studio: SMS Receiver class not called?
<p>im using this code in android studio. its supposed to send SMS message, but its doing that in the main activity. the problem is that the SMSReceiver class is not being called. it has a Toast but no toast is showing up on screen.</p> <p><strong>Main Activity:</strong></p> <pre><code> import androidx.appcompat.app.Ap...
im using this code in android studio. its supposed to send SMS message, but its doing that in the main activity. the problem is that the SMSReceiver class is not being called. it has a Toast but no toast is showing up on screen. Main Activity: [CODE] SMSReceiver class: [CODE] AndroidManifest.xml: [CODE] so again the SM...
java|android-studio|sms
0
2022-03-07T23:34:23.307Z
2,022
3
23
0
36
0
435
46
3
3
true
true
false
false
false
false
zero
71,404,338
Content rating is incorrect
<p>My application has been rejected due to the following issues Issue with your app Your app’s content rating is incorrect.</p> <p>Issue details We found an issue in the following area(s):</p> <pre><code>Application Ratings: Please see attached screenshot com.mchat.random-AppRatings-405.png </code></pre> <p><a href="ht...
My application has been rejected due to the following issues Issue with your app Your app’s content rating is incorrect. Issue details We found an issue in the following area(s): [CODE] attached screenshot My application has a target audience above 18+ And I do not understand how to set the content rating. My applicati...
android-contentprovider
0
2022-03-09T04:33:17.553Z
2,022
3
4
2
36
0
436
27
1
1
true
true
false
false
false
false
zero
71,419,823
How can I download JAR file for Com.salesforce.service
<p>I want to download <code>.jar</code> file for below configuration</p> <pre><code>allprojects { repositories { google() jcenter() maven { url 'https://s3.amazonaws.com/salesforcesos.com/android/maven/release' } } } implementation 'com.salesforce.service:chat-ui:4.3...
I want to download .jar file for below configuration [CODE] I am going through this thread https://developer.salesforce.com/docs/atlas.en-us.bot_cookbook.meta/bot_cookbook/bot_cookbook_android_app.htm I tried it here from https://github.com/forcedotcom/ServiceSDK-Android/releases but Android project is getting download...
android|jar|salesforce|salesforce-chatter
0
2022-03-10T06:41:18.320Z
2,022
3
6
3
36
0
378
54
4
1
true
true
false
false
false
false
zero
71,427,479
React native maps is sluggish on Android when using goBack() from react stack navigator
<p>I currently have two screens: one is a <code>MapView</code> from <code>react-native-maps</code> and the other is a simple dummy screen. Upon initial loading of the app, the <code>MapView</code> works fine. However, when I transition from the MapView and back using <code>navigator.goBack()</code>, the <code>MapView</...
I currently have two screens: one is a MapView from react-native-maps and the other is a simple dummy screen. Upon initial loading of the app, the MapView works fine. However, when I transition from the MapView and back using navigator.goBack() , the MapView becomes extremely sluggish on Android. Suprisingly, this can ...
android|react-native|react-navigation
0
2022-03-10T16:22:15.733Z
2,022
3
16
3
36
0
683
87
3
0
false
true
false
false
false
false
zero
71,364,228
Creating Gesture Lock Screen App in Flutter
<p>I am trying to make a gesture lock screen app using flutter. The user can draw any shape(round, square, star etc) in the screen and it will be saved. when the user wants to unlock a particular particular app or may be to unlock the screen the user has to draw the particular shape which he had drawn earlier. Similar ...
I am trying to make a gesture lock screen app using flutter. The user can draw any shape(round, square, star etc) in the screen and it will be saved. when the user wants to unlock a particular particular app or may be to unlock the screen the user has to draw the particular shape which he had drawn earlier. Similar app...
android|flutter|locking|gesture
0
2022-03-05T17:09:46.520Z
2,022
3
17
5
292
0
1,009
43
4
1
true
true
false
false
false
false
zero
71,137,028
why in android studio of material ui of the regular or outlined text field is not showing like it suppose to?
<p><a href="https://i.stack.imgur.com/DFIrw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DFIrw.jpg" alt="enter image description here" /></a></p> <p>In this i didn't get the preview of that outlined text field the code is same everything is same just to need only this difference it is on different...
In this i didn't get the preview of that outlined text field the code is same everything is same just to need only this difference it is on different project , or mean to say is the difference between both projects are different . This is the non preview which i have the problem cause i have made almost my 70 %project ...
android|android-studio|material-design
0
2022-02-16T05:59:35.787Z
2,022
2
5
2
37
0
592
109
3
0
false
true
false
false
false
false
zero
71,141,092
Flutter multi webview at the same screen with scroll
<p>I have a problem when I am trying to fit a web view in containers with scroll and I need to make the height of the container fits the whole HTML page as will the other containers where the real problem is I should give every single container a height to make the scroll action works fine and I don't really know how m...
I have a problem when I am trying to fit a web view in containers with scroll and I need to make the height of the container fits the whole HTML page as will the other containers where the real problem is I should give every single container a height to make the scroll action works fine and I don't really know how much...
android|ios|flutter|dart|webview
1
2022-02-16T11:34:49.200Z
2,022
2
11
2
37
0
453
52
5
1
true
true
false
false
false
false
low
71,152,185
Android SDK Over 21 Java WebView doesn't the store cookie
<p>My application is using SDK over 21. It doesn't store the cookie for request next api.</p> <pre><code> wvMain.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); wvMain.getSettings().setSupportMultipleWindows(false); wvMain.getSettings().setJavaScriptEnabled(true); wvMain.getSettings().setDomStorageE...
My application is using SDK over 21. It doesn't store the cookie for request next api. [CODE]
java|android|cookies|webview
0
2022-02-17T03:33:49.520Z
2,022
2
3
3
37
0
93
57
4
1
true
true
false
false
false
false
zero
71,169,500
android rounded bottom sheet style causes laggy animation
<p>I have a bottom sheet, in which i should make top left and right borders rounded. I tried to use below style for <code>BottomSheetFragment</code> but it makes bottom sheet non-smooth, and it is very like laggy. It seems like style given to bottomsheet fragment removes all default animation that is given to it before...
I have a bottom sheet, in which i should make top left and right borders rounded. I tried to use below style for BottomSheetFragment but it makes bottom sheet non-smooth, and it is very like laggy. It seems like style given to bottomsheet fragment removes all default animation that is given to it before. [CODE] Below i...
android|android-animation|android-styles|bottom-sheet
0
2022-02-18T07:00:59.793Z
2,022
2
7
4
37
0
621
57
4
3
true
true
false
false
false
false
zero
71,209,295
Flutter integration with Unitech barcode terminal
<p>I have a question how to use scanner on Unitech Android barcode terminal (HT730). I don't want to use keyboard emulation but listen to barcode on selected screens - I need detect barcode type and value. Any help?</p>
I have a question how to use scanner on Unitech Android barcode terminal (HT730). I don't want to use keyboard emulation but listen to barcode on selected screens - I need detect barcode type and value. Any help?
android|flutter|barcode
0
2022-02-21T15:52:50.380Z
2,022
2
15
0
37
0
212
49
3
0
false
true
false
false
false
false
zero
71,213,371
How to improve latency from Firebase Storage using Glide on Android
<p>I have a social media app that shows user comments in a RecyclerView. Each comment has a user profile picture that gets loaded with Glide.</p> <p>Images are stored in Firebase Storage (US location). I have noticed that the loading time from EU is very long and not in the way I imagined (Example: YouTube, Twitter com...
I have a social media app that shows user comments in a RecyclerView. Each comment has a user profile picture that gets loaded with Glide. Images are stored in Firebase Storage (US location). I have noticed that the loading time from EU is very long and not in the way I imagined (Example: YouTube, Twitter comments load...
java|android|firebase-storage|android-glide
0
2022-02-21T21:43:14.133Z
2,022
2
21
0
37
0
734
67
4
1
true
true
false
false
false
false
zero
71,218,877
CoordinatorLayout inside BottomSheetDialog
<p><a href="https://i.stack.imgur.com/TDJP6.gif" rel="nofollow noreferrer">enter image description here</a></p> <p>BottomSheetDialog layout:</p> <pre><code>&lt;CoordinatorLayout&gt; &lt;Toolbar&gt; &lt;RecyclerView&gt; </code></pre> <p>How to change the behavior in the demo screen record to scrolling at the Recycle...
enter image description here BottomSheetDialog layout: [CODE] How to change the behavior in the demo screen record to scrolling at the RecyclerView areas, BottomSheetDialog peek height up first until at top, and then RecyclerView list begin scrolling after
android|android-coordinatorlayout|android-bottomsheetdialog
1
2022-02-22T09:35:30.047Z
2,022
2
9
1
37
0
256
42
3
1
true
true
false
false
false
false
low
71,249,117
Android Studio Bumbleblee "Loading Devices" stuck
<p>I have just updated Android Studio to Bumblebee and several days later, couldn't open any Virtual Devices because it got stuck in &quot;Loading Devices&quot;. I've tried Invalidate Caches and Restart, Restore all to Default Settings, and ever reInstall AS Bumblebee.</p> <p>Any advice ?</p>
I have just updated Android Studio to Bumblebee and several days later, couldn't open any Virtual Devices because it got stuck in &quot;Loading Devices&quot;. I've tried Invalidate Caches and Restart, Restore all to Default Settings, and ever reInstall AS Bumblebee. Any advice ?
android|android-studio|virtual-machine
0
2022-02-24T08:31:28.740Z
2,022
2
8
3
37
0
279
49
3
0
false
true
false
false
false
false
zero
71,250,330
How to pass correctly a type to findAncestorStateOfType in another file?
<p>I moved a widget to a separate file and this line now shows the error</p> <pre><code>_order = context.findAncestorStateOfType&lt;_OrderPageState&gt;()!.order; </code></pre> <blockquote> <p>&quot;The name '_OrderPageState' isn't a type. So it can't be used as a type argument.&quot;</p> </blockquote> <p>How to fix it?...
I moved a widget to a separate file and this line now shows the error [CODE] &quot;The name '_OrderPageState' isn't a type. So it can't be used as a type argument.&quot; How to fix it? And why it's happening? [UPD]. So it turned out the problem was that class _OrderPageState was private.
android|ios|flutter|file
0
2022-02-24T10:11:45.490Z
2,022
2
10
3
37
0
288
72
4
1
true
true
false
false
false
false
zero
71,265,322
WebView: Get response from Web using JavascriptInterface vs Intent with onActivityResult
<p>Login SDK from platforms like Facebook allows you to login using <code>WebView</code> when Facebook app is not available. After a success login from their implementation of <code>WebView</code>, it will send back an Intent data which then can be use to get some data like token. (I could be wrong but as far as I reme...
Login SDK from platforms like Facebook allows you to login using WebView when Facebook app is not available. After a success login from their implementation of WebView , it will send back an Intent data which then can be use to get some data like token. (I could be wrong but as far as I remember this is what is happeni...
android|ios|android-intent|webview|wkwebview
0
2022-02-25T11:40:14.500Z
2,022
2
11
4
37
0
1,253
88
5
2
true
true
false
false
false
false
zero
71,278,905
Missing.method.exception : android() error in gradle app module file
<p>I am received like this problem in android studio canary. I just installed android studio canary in my laptop on that i opened my project from old android studio to canary. I noticed that my app module gradle file is changed. When I try to run my app Or clean project it shows error like this groovy.Lang.missing.meth...
I am received like this problem in android studio canary. I just installed android studio canary in my laptop on that i opened my project from old android studio to canary. I noticed that my app module gradle file is changed. When I try to run my app Or clean project it shows error like this groovy.Lang.missing.method....
android|gradle|error-handling
0
2022-02-26T17:35:19.190Z
2,022
2
17
5
37
0
649
68
3
0
false
true
false
false
false
false
zero
71,287,320
What is the right way to setup navigation drawer in react native
<p>Hello guys im a react native beginner and i created some small projects but in everyone of them my navigation is wrong ( works but not as i wanted ) exactly on the drawer look at my code and as you can see the MainStack , Login and StartUpScreen are showing on the drawer when open it in the app and i don't want tha...
Hello guys im a react native beginner and i created some small projects but in everyone of them my navigation is wrong ( works but not as i wanted ) exactly on the drawer look at my code and as you can see the MainStack , Login and StartUpScreen are showing on the drawer when open it in the app and i don't want that ! ...
android|react-native|navigation|react-navigation
1
2022-02-27T18:10:27.723Z
2,022
2
18
6
37
0
453
64
4
1
true
true
false
false
false
false
low
71,303,001
Android Shell root rm folder failed
<p>I created a folder hdr in <code>/sdcard/DCIM/Camera/</code> by linux c function: <code>mkdir()</code>, but when I set permission, I used <code>'777'</code> but not <code>'0777'</code> uncarefully, and the folder permission like this:</p> <pre class="lang-sh prettyprint-override"><code>xxx:/sdcard/DCIM/Camera # ll to...
I created a folder hdr in /sdcard/DCIM/Camera/ by linux c function: mkdir() , but when I set permission, I used '777' but not '0777' uncarefully, and the folder permission like this: [CODE] [CODE] [CODE] then , I wanna delete this hdrd folder so I used rm -r hdrd , there is an error: [CODE] I don't know why delete fail...
android|linux|shell|delete-file|rm
0
2022-03-01T02:09:11.313Z
2,022
3
2
1
37
0
394
35
5
5
true
true
false
false
false
false
zero
71,385,788
How can I close a JitsiMeet room using code?
<p>I'm doing some tests to close the JitsiMeet call via code, I tried a few things but it gave an error.</p> <p>tried</p> <pre><code>jitsiMeetActivity.finish(); </code></pre> <p>I also tried</p> <pre><code>jitsiMeetActivity.leave(); </code></pre> <p>In both cases the error</p> <pre><code>java.lang.NullPointerException:...
I'm doing some tests to close the JitsiMeet call via code, I tried a few things but it gave an error. tried [CODE] I also tried [CODE] In both cases the error [CODE] My code [CODE] The intention is for the code to go back to the fragment that calls JitsiMeet.
java|android|jitsi
0
2022-03-07T18:39:54.480Z
2,022
3
18
0
37
0
259
44
3
4
true
true
false
false
false
false
zero
71,401,478
App unable to receive Beam NDEF messages when it is resumed (on the foreground)
<p>Something is preventing my app from receiving P2P NDEF messages (from PN532 module and arduino) when it is currently displayed on the screen. As soon as the app is paused (i.e. I press the home button and am now on the homescreen), the transfer is successful and the app resumes automatically and displays the message...
Something is preventing my app from receiving P2P NDEF messages (from PN532 module and arduino) when it is currently displayed on the screen. As soon as the app is paused (i.e. I press the home button and am now on the homescreen), the transfer is successful and the app resumes automatically and displays the message. H...
android|kotlin|nfc|nfc-p2p|android-beam
0
2022-03-08T21:10:56.097Z
2,022
3
21
1
37
0
520
79
5
4
true
true
false
false
false
false
zero
71,405,341
Is there any way to open "Notifications and status bar" settings in Android?
<p>I want to open the general Notification and status bar settings (not for my app) programmatically in Android, is there any way to achieve this?<a href="https://i.stack.imgur.com/4pbL9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4pbL9.jpg" alt="enter image description here" /></a></p>
I want to open the general Notification and status bar settings (not for my app) programmatically in Android, is there any way to achieve this?
java|android|kotlin|android-intent
0
2022-03-09T06:49:20.903Z
2,022
3
6
2
37
0
143
76
4
0
false
true
false
false
false
false
zero
71,405,934
Android studio parcel size error then java.lang.IllegalStateException: Could not execute method for android:onClick
<pre><code> public class MainActivity extends AppCompatActivity { /* access modifiers changed from: private */ public int choosingUriFor; private int playTime; /* access modifiers changed from: private */ public Uri playerURI1; /* access modifiers changed from: private */...
[CODE] Above is the MainActivity in AndroidStudio. I got parcel size error first now I got On click error while trying to debug. I'm so lost. I assume the error is in the TicTacTocPLay class especially in the runnable and run method. But i still havent been able to pinpoint the error. So, in the main method there is a ...
java|android-studio
1
2022-03-09T07:47:21.953Z
2,022
3
7
2
37
0
466
115
2
2
true
true
false
false
false
false
low
71,433,007
Where can I find the list of all available Androids SDK platforms, SDK tools, and SDK update sites?
<ol> <li>Where or how can I find the list of all available Androids SDK platforms, SDK tools, and SDK update sites which we can see on Android Studio (see images attached)? Are there any REST apis or website for them?</li> </ol> <p><a href="https://i.stack.imgur.com/l2FnW.png" rel="nofollow noreferrer"><img src="https:...
Where or how can I find the list of all available Androids SDK platforms, SDK tools, and SDK update sites which we can see on Android Studio (see images attached)? Are there any REST apis or website for them?
android|android-studio
0
2022-03-11T02:29:55.667Z
2,022
3
2
4
37
0
208
99
2
0
false
true
false
false
false
false
zero
71,256,820
Appium: Super slow Robot Framework automated tests (Xiaomi)
<p>I have a <strong>simple test app</strong> (react-native) with a few buttons, that invoke a toast message. I wrote simple test cases in <strong>Robot Framework</strong> to click on the individual buttons and then wait for the toast to show up.</p> <p>Everything was running well until last week. The tests became <stro...
I have a simple test app (react-native) with a few buttons, that invoke a toast message. I wrote simple test cases in Robot Framework to click on the individual buttons and then wait for the toast to show up. Everything was running well until last week. The tests became unusably slow (every interaction takes too much t...
android|performance|appium|robotframework
2
2022-02-24T18:46:37.057Z
2,022
2
18
3
293
0
1,116
59
4
3
true
true
false
false
false
false
low
71,285,490
FirebaseApp not found in Unity Android release
<p>I am working on a Unity (version 2020.3.3f1) application that is being released for desktop and Android, everything was working fine until I had to release on Google Play in which I had to change some settings and update Firebase SDK (to 8.8.0) and java (to java8/jdk1.8.0_321) and Play services resolver (now externa...
I am working on a Unity (version 2020.3.3f1) application that is being released for desktop and Android, everything was working fine until I had to release on Google Play in which I had to change some settings and update Firebase SDK (to 8.8.0) and java (to java8/jdk1.8.0_321) and Play services resolver (now external d...
android|firebase|unity3d
1
2022-02-27T14:18:49.570Z
2,022
2
14
6
293
0
1,076
46
3
7
true
true
false
false
false
false
low
71,144,862
Do Android apps need to add any dependency in order to support CUPS (Common Unix Printing System/Server)
<p>I have an Android app having support for PDF printing. I have used PrintManager class to implement printing behaviour for the app and for Chromebook we were using Cloud Print. Now as google have deprecated cloud print in January of 2021 and is no longer supported, and have mentioned &quot;Printing (CUPS - Common Uni...
I have an Android app having support for PDF printing. I have used PrintManager class to implement printing behaviour for the app and for Chromebook we were using Cloud Print. Now as google have deprecated cloud print in January of 2021 and is no longer supported, and have mentioned &quot;Printing (CUPS - Common Unix P...
android|printing|cups|android-print-framework|android-print-manager
1
2022-02-16T15:41:10.053Z
2,022
2
15
2
38
0
714
104
5
0
false
true
false
false
false
false
low
71,208,286
Drag Select Checkboxes in Kotlin
<p>Is there a way of creating a drag select with checkboxes in Android Studio using Kotlin? If you know the game Rainbow Six Siege, there is a character that hacks phones and in that animation you see her drag select multiple checkboxes while swiping. Anyone have a clue how I can implement that?</p> <p>See the first 3 ...
Is there a way of creating a drag select with checkboxes in Android Studio using Kotlin? If you know the game Rainbow Six Siege, there is a character that hacks phones and in that animation you see her drag select multiple checkboxes while swiping. Anyone have a clue how I can implement that? See the first 3 seconds of...
android|kotlin|checkbox
1
2022-02-21T14:48:16.617Z
2,022
2
14
0
38
0
416
32
3
0
false
true
false
false
false
false
low
71,308,143
how to make custom email adress verification in android app with firebase?
<p>I'm designing an app in android studio using Firebase Realtime. There is a problem that has been bugging me for some time.</p> <p>Indeed, the firebase authentication function allows you to send a link to validate your email address. However, firebase does not allow you to customize the template of the email sent for...
I'm designing an app in android studio using Firebase Realtime. There is a problem that has been bugging me for some time. Indeed, the firebase authentication function allows you to send a link to validate your email address. However, firebase does not allow you to customize the template of the email sent for spam prev...
java|android|email|firebase-authentication
0
2022-03-01T11:58:08.383Z
2,022
3
11
1
38
0
646
74
4
0
false
true
false
false
false
false
zero
71,315,799
Glide won't load same url twice in a row with Volley integration while app is in foreground
<p>I'm encountering a specific behavior I can't explain. I'm using Glide and Volley (for retries).</p> <ol> <li>I upload a profile picture and my server responds when the upload is complete.</li> <li>In the navigation bar, I use Glide to load the new profile picture successfully.</li> <li>I have an adapter which popula...
I'm encountering a specific behavior I can't explain. I'm using Glide and Volley (for retries). I upload a profile picture and my server responds when the upload is complete. In the navigation bar, I use Glide to load the new profile picture successfully. I have an adapter which populates the UI for a bunch of posts co...
android|android-volley|android-glide
0
2022-03-01T23:30:25.620Z
2,022
3
23
1
38
0
1,995
91
3
4
true
true
false
false
false
false
zero
71,332,039
Prevent android wifi network auto switching while debugging
<p>I'm developing an app that uses the server in the wifi network (A), which has no internet connection. I use another wifi connection (B) with the internet for normal use. When I debug my app, I switch my android phone to the wifi connection A.</p> <p>but the wifi network automatically changes to B, while I'm still de...
I'm developing an app that uses the server in the wifi network (A), which has no internet connection. I use another wifi connection (B) with the internet for normal use. When I debug my app, I switch my android phone to the wifi connection A. but the wifi network automatically changes to B, while I'm still debugging my...
android|android-studio|wifi
0
2022-03-03T04:08:04.300Z
2,022
3
4
3
38
0
1,255
59
3
0
false
true
false
false
false
false
zero
71,355,602
How to set different size in Glide PreloadSizeProvider?
<p>I am using Glide to show images fetch from Firebase to show in RecyclerView in my Android App with the help of Glide PreloadSizeProvider as given in the documentation -</p> <pre><code>https://muyangmin.github.io/glide/int/recyclerview.html </code></pre> <p>But my image size is not fixed. The size is stored in a real...
I am using Glide to show images fetch from Firebase to show in RecyclerView in my Android App with the help of Glide PreloadSizeProvider as given in the documentation - [CODE] But my image size is not fixed. The size is stored in a real-time database. So I need to change the PreloadSizeProvider size. But I am unable to...
android-glide
0
2022-03-04T18:11:34.653Z
2,022
3
18
4
38
0
522
55
1
2
true
true
false
false
false
false
zero
71,359,675
React JS : how to fix page jump in android mobile device
<p>I am learning reactJS and encountered a weird issue in my web application. When I click a textarea/textfields, the page just randomly scrolls up. But this behavior only happens in android browsers and in android webView. It looks okay in iOS devices.</p> <p>Anyone knows why this happens? I have followed a number of ...
I am learning reactJS and encountered a weird issue in my web application. When I click a textarea/textfields, the page just randomly scrolls up. But this behavior only happens in android browsers and in android webView. It looks okay in iOS devices. Anyone knows why this happens? I have followed a number of suggestion...
android|reactjs
0
2022-03-05T05:08:28.230Z
2,022
3
5
5
38
0
557
56
2
0
false
true
false
false
false
false
zero
71,382,285
DropdownMenu is not positioning correctly
<p>When parent of DropdownMenu is align bottom of the screen then DropdownMenu has a vertical gap between parent and DropdownMenu.</p> <p>I have tried offset but only x offset is working not y. This the code</p> <pre><code>Box( modifier = Modifier .fillMaxSize(), ) { var expanded by remember { mutableSt...
When parent of DropdownMenu is align bottom of the screen then DropdownMenu has a vertical gap between parent and DropdownMenu. I have tried offset but only x offset is working not y. This the code [CODE] This is the result image
android|kotlin|android-jetpack-compose
1
2022-03-07T14:04:09.887Z
2,022
3
14
0
38
0
229
41
3
1
true
true
false
false
false
false
low
71,383,376
Apk + obb modify
<p>The first thing I want to make clear is that I don't want to earn any points in the game because you can't. It is also a game without Internet and very old. I want to modify a text that appears in an app. I have a game (f1 2016 on android) which works with 2 obb files (main, patch). The apk of the game has updated t...
The first thing I want to make clear is that I don't want to earn any points in the game because you can't. It is also a game without Internet and very old. I want to modify a text that appears in an app. I have a game (f1 2016 on android) which works with 2 obb files (main, patch). The apk of the game has updated the ...
android|xsd|apk|mod
0
2022-03-07T15:25:50.117Z
2,022
3
15
0
38
0
605
16
4
0
false
true
false
false
false
false
zero
71,391,620
"Fixed" Emulator Cloud for Appium Testing
<p>Is it possible to have a &quot;reserved&quot; emualtor in the cloud where I can save the emulator state and re-access it? I tried Browserstack however at each test run, the emulator that I use is brand new. The problem with that is that each time I need to log in to the app which requires a 2 step verification with ...
Is it possible to have a &quot;reserved&quot; emualtor in the cloud where I can save the emulator state and re-access it? I tried Browserstack however at each test run, the emulator that I use is brand new. The problem with that is that each time I need to log in to the app which requires a 2 step verification with SMS...
android-emulator|appium|browserstack
0
2022-03-08T07:52:34.463Z
2,022
3
7
1
38
0
564
41
3
0
false
true
false
false
false
false
zero
71,414,242
Android and RetroFit with multiple requets in a loop
<p>I need to call multiple retrofit requests ( 3 requests ) in a loop : the first request (Req1) return an array of objects , i need to loop through that array and update each item according to 2 others requests (Req2 and Req3).</p> <p>i searched that Using RxJava Zip operator can do the trick</p> <pre><code>Observabl...
I need to call multiple retrofit requests ( 3 requests ) in a loop : the first request (Req1) return an array of objects , i need to loop through that array and update each item according to 2 others requests (Req2 and Req3). i searched that Using RxJava Zip operator can do the trick [CODE] the problem is that i have t...
android|asynchronous|retrofit2|rx-java2
0
2022-03-09T18:22:09.897Z
2,022
3
18
2
38
0
468
52
4
1
true
true
false
false
false
false
zero
71,423,133
Custom Listview whole row is not selected in Dialog Fragment in kotlin using viewbinding
<p>Data Set custom listview in Dialog Fragment using BaseAdapter. when select list item then only text item selected, whole row is not selected.</p> <p>CustomDialog.kt</p> <pre><code>class CustomDialog(val servList: ArrayList&lt;Serve&gt;) : DialogFragment() { override fun onCreateView(inflater: LayoutInflate...
Data Set custom listview in Dialog Fragment using BaseAdapter. when select list item then only text item selected, whole row is not selected. CustomDialog.kt [CODE] DialogListAdapter.kt [CODE] dialog_list_view.xml [CODE] dialog_list_item.xml [CODE] Above Image Listview item selected second item only text item part sele...
kotlin|listview|android-dialogfragment|baseadapter
0
2022-03-10T11:11:11.793Z
2,022
3
11
3
38
0
438
88
4
4
true
true
false
false
false
false
zero
71,431,127
How to Access Code From Included Build Within Composite Project
<p>I have an Android project where I define dependencies on aar files hosted in maven. In my settings.gradle file I use dependency substitution to replace the aar with an includeBuild since I have the modules it relies on in the same project. However, when I make a change to one of these modules it is dependent on, the...
I have an Android project where I define dependencies on aar files hosted in maven. In my settings.gradle file I use dependency substitution to replace the aar with an includeBuild since I have the modules it relies on in the same project. However, when I make a change to one of these modules it is dependent on, the co...
android|gradle
0
2022-03-10T21:40:27.083Z
2,022
3
21
3
38
0
1,370
63
2
2
true
true
false
false
false
false
zero
71,361,222
Customising clipboard copy behaviour for Compose Text components
<p>If I have an app like this:</p> <pre class="lang-kotlin prettyprint-override"><code>@Composable fun App() { SelectionContainer { Column { Text(&quot;Line 1&quot;) Text(&quot;Line 2&quot;) } } } </code></pre> <p>The text elements display <em>as if</em> there is a newl...
If I have an app like this: [CODE] The text elements display as if there is a newline between them, but when I select the text to copy it, I get the concatenated raw text, &quot;Line 1Line 2&quot;, without newlines. This seems reasonable because had the code used Row instead, and newlines had been included, you'd have ...
android-jetpack-compose|clipboard|copy-paste|compose-desktop
0
2022-03-05T10:02:53.997Z
2,022
3
10
5
294
0
786
64
4
1
true
true
false
false
false
false
zero
71,179,242
android studio gauge creating
<p>I need some help in creating a gauge for temperature I read a lot about it and found some pre made libraries but when I add the xml code it wont work and shows an error , I add the to the Gradle files but still wont work thanks for your help</p>
I need some help in creating a gauge for temperature I read a lot about it and found some pre made libraries but when I add the xml code it wont work and shows an error , I add the to the Gradle files but still wont work thanks for your help
android|gauge
0
2022-02-18T20:00:40.037Z
2,022
2
20
4
39
0
241
29
2
0
false
true
false
false
false
false
zero
71,241,145
how to save files using fetch?
<p>So I use fecht to manage my app downloads, I have this code that I use in my download btn</p> <pre><code>private void createDirectoryAndSaveFile() { File direct = new File(Environment.getExternalStorageDirectory() + &quot;/Download/Audio&quot;); if (!direct.exists()) { File audioDirs = new File(...
So I use fecht to manage my app downloads, I have this code that I use in my download btn [CODE] This is suppose to create a folder in downloads directory [CODE] and this is the code for donwload... when i click the btn to download the file, it just srtarts to load and never ends... does anyone know how i can fix this?
kotlin|fetch|android-download-manager
0
2022-02-23T17:00:56.690Z
2,022
2
17
2
39
0
320
30
3
2
true
true
false
false
false
false
zero
71,243,099
Android Studio code style put a space before comment text in a multiline comment
<p>I need help in configuring my coding style settings in Android Studio.</p> <p>I am sharing with you the screenshot of a git diff view in Android Studio; the left side is what is expected in our codebase. And the right side is what I get after applying code reformat ( cmd + opt + l ).</p> <p><a href="https://i.stack....
I need help in configuring my coding style settings in Android Studio. I am sharing with you the screenshot of a git diff view in Android Studio; the left side is what is expected in our codebase. And the right side is what I get after applying code reformat ( cmd + opt + l ). I have searched in the Android Studio pref...
android-studio|comments
0
2022-02-23T19:40:33.790Z
2,022
2
19
2
39
0
361
80
2
0
false
true
false
false
false
false
zero
71,276,688
Remove Header and Footer in WebView Amdroid
<p>I want to remove the header and footer before loading the content to the web view. This code isn't working. I have boutique website. My code remove header and footer when load url in webview. When i click any boutique,<strong>it load details page with header and footer, it does not remove from inner pages</strong><...
I want to remove the header and footer before loading the content to the web view. This code isn't working. I have boutique website. My code remove header and footer when load url in webview. When i click any boutique, it load details page with header and footer, it does not remove from inner pages [CODE] Please help m...
android|url|webview|header|footer
0
2022-02-26T12:33:36.787Z
2,022
2
12
5
39
0
359
43
5
1
true
true
false
false
false
false
zero
71,301,226
Android runtime lib change in libs folder
<p>is it possible that application that uses a native library loaded with loadLibrary() updates its own .so file so the next time it starts uses a new downloaded native library version.</p> <p>We prepack the android apk with included .so libs and sometimes only a part can be changed until a full release.</p> <p>Can i d...
is it possible that application that uses a native library loaded with loadLibrary() updates its own .so file so the next time it starts uses a new downloaded native library version. We prepack the android apk with included .so libs and sometimes only a part can be changed until a full release. Can i download a .so lib...
android|android-ndk|android-library
0
2022-02-28T21:26:10.277Z
2,022
2
21
0
39
0
449
41
3
0
false
true
false
false
false
false
zero
71,339,171
Why Debugging Step Into/Over Crashing App?
<p>My app is crashing. Corresponding crash log:</p> <pre><code>2022-03-03 22:32:43.478 12001-12009/com.yyp.mvvmtest A/art: art/runtime/jdwp/jdwp_handler.cc:1214] Check failed: modifier_count &lt; 256 (modifier_count=277, 256=256) 2022-03-03 22:32:43.571 12001-12009/com.yyp.mvvmtest A/art: art/runtime/runtime.cc:422] R...
My app is crashing. Corresponding crash log: [CODE]
android
0
2022-03-03T14:52:38.800Z
2,022
3
14
3
39
0
51
42
1
1
true
true
false
false
false
false
zero
71,356,611
Android talkback buttons issue
<p>When the talk back is ON, I have to tap somewhere around the button to make it work. Tapping on the button doesn't work.</p> <pre><code>&lt;Button android:id=&quot;@+id/btn_next&quot; android:foreground=&quot;?attr/selectableItemBackground&quot; style=&quot;@style/Button.min&quot;...
When the talk back is ON, I have to tap somewhere around the button to make it work. Tapping on the button doesn't work. [CODE]
android|android-view|talkback
0
2022-03-04T19:54:39.460Z
2,022
3
19
4
39
0
127
30
3
1
true
true
false
false
false
false
zero
71,361,558
JUnit - test fail when looping and observing livedata
<pre><code>example 1] @Test fun `validate live data`() = runBlocking { `when`(repository.GetList()).thenReturn(list) val vm = TestViewModel(testUseCase, userManager) idHashMap.keys.forEach { vm.getList(it) vm.listLivedata.observeForeEv...
[CODE] 1st example always fails the test due to asserEquals() but 2nd always passes a test(when I remove assertEqual()); I wonder what is the reason? Is calling operation that update livedata inside loop, somehow causing livedata issue?
android|unit-testing|junit|android-livedata
0
2022-03-05T10:55:07.130Z
2,022
3
10
5
39
0
236
53
4
1
true
true
false
false
false
false
zero
71,370,021
All imageview in grid view shows same image
<p>I am trying to show the captured image in grid view and when the user clicks on add image button camera opens and captures an image and the image should show in grid view's new position. But from below code all image view in the grid view shows the same image and when the user clicks on add image button camera opens...
I am trying to show the captured image in grid view and when the user clicks on add image button camera opens and captures an image and the image should show in grid view's new position. But from below code all image view in the grid view shows the same image and when the user clicks on add image button camera opens an...
android|android-studio|gridview
0
2022-03-06T11:52:02.750Z
2,022
3
11
6
39
0
483
43
3
3
true
true
false
false
false
false
zero
71,406,960
Android CarContext rebuild on click
<p>I have my simple app working and now I want it to support Android Auto. The principle is to send message to webserver which will open my gate or garage door.</p> <p>The app is checking the current state from the webserver overy 2 seconds to check if it's open, opening, closed or closing. For these states I have seve...
I have my simple app working and now I want it to support Android Auto. The principle is to send message to webserver which will open my gate or garage door. The app is checking the current state from the webserver overy 2 seconds to check if it's open, opening, closed or closing. For these states I have several drawab...
android|kotlin|android-auto
0
2022-03-09T09:21:45.173Z
2,022
3
9
2
39
0
651
35
3
1
true
true
false
false
false
false
zero
71,423,837
How to detach the database from the project?
<p>I created many databases in Firebase. Then I remembered that only one can work for free. I deleted everything, but the project still says &quot;connected&quot;. How to connect to a new database on a new one? <a href="https://i.stack.imgur.com/8uJVG.png" rel="nofollow noreferrer">enter image description here</a></p>
I created many databases in Firebase. Then I remembered that only one can work for free. I deleted everything, but the project still says &quot;connected&quot;. How to connect to a new database on a new one? enter image description here
java|android-studio|firebase-realtime-database|firebase-assistant
0
2022-03-10T12:02:27.743Z
2,022
3
12
3
39
0
236
44
4
0
false
true
false
false
false
false
zero
71,120,670
How to filter Gmail messages programmatically in Android?
<p>I am trying to filter emails in Android Gmail app which match a given Subject.</p> <p>I have tried this - <a href="https://stackoverflow.com/a/10895903/14391997">https://stackoverflow.com/a/10895903/14391997</a></p> <pre><code>val mailClient = Intent(Intent.ACTION_SEARCH) mailClient.setClassName( &quot;c...
I am trying to filter emails in Android Gmail app which match a given Subject. I have tried this - https://stackoverflow.com/a/10895903/14391997 [CODE] This above code gives ActivityNotFoundException. Is there any other way to do this? It should filter / open email matching a subject. Thanks in advance!
android|gmail
0
2022-02-15T03:08:10.547Z
2,022
2
3
1
40
0
304
57
2
1
true
true
false
false
false
false
zero
71,163,771
Check if phone is connected to Android Auto system
<p>I am developing an app which should detect if phone is connected to a car. I suppose Android Auto would be the best option. The app is not meant to be compatible with the Android Auto, I just want to check if the phone is connected to the system, that's all.</p> <p>All the help is truly appreciated.</p>
I am developing an app which should detect if phone is connected to a car. I suppose Android Auto would be the best option. The app is not meant to be compatible with the Android Auto, I just want to check if the phone is connected to the system, that's all. All the help is truly appreciated.
android|bluetooth|auto
0
2022-02-17T18:46:06.963Z
2,022
2
18
3
40
0
293
50
3
0
false
true
false
false
false
false
zero
71,186,078
andriod studio error :could not find class com/intellij/idea /main
<p>i am getting error while launching my Android studio for 32 bit window 10 getting error as <code>class com/intellij/idea/main</code></p> <p>my path are set as <code>Java Home C:\Program Files\Java\jdk1.8.0_321</code></p> <pre><code>system variable path C:\Program Files\Java\jdk1.8.0_321 </code></pre>
i am getting error while launching my Android studio for 32 bit window 10 getting error as class com/intellij/idea/main my path are set as Java Home C:\Program Files\Java\jdk1.8.0_321 [CODE]
android
0
2022-02-19T14:51:12.257Z
2,022
2
14
5
40
0
190
66
1
1
true
true
false
false
false
false
zero
71,209,331
Flutter : Build failed with an exception
<p>My project ran well and after few day this happened. I can't build the project now.</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Could not determine the dependencies of task ':app:preDebugBuild'.</li> </ul> <blockquote> <p>Could not resolve all task dependencies for configuration ':a...
My project ran well and after few day this happened. I can't build the project now. FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ':app:preDebugBuild'. Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve com.g...
android|flutter|gradle
0
2022-02-21T15:55:33.587Z
2,022
2
15
0
40
0
1,184
40
3
0
false
true
false
false
false
false
zero
71,234,622
I'm having problem while scraping data from this website. My code is below:
<p><a href="https://i.stack.imgur.com/g2YPP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g2YPP.png" alt="enter image description here" /></a> I want to fecth the data(Marked in the picture)from this URL using Jsoup that I used in my code below. But I'm having error while doing this. I don't get an...
I want to fecth the data(Marked in the picture)from this URL using Jsoup that I used in my code below. But I'm having error while doing this. I don't get any value in my String description. In the MainActivity I declared and intialized the class's object, [CODE] Here's my code of another class. [CODE]
java|android|android-studio|web-scraping|jsoup
0
2022-02-23T09:46:04.867Z
2,022
2
9
2
40
0
302
75
5
2
true
true
false
false
false
false
zero
71,253,884
Save a database (from Android App) into a cvs file
<p>I want to save my database to a CSV file. The whole thing runs via an Android app with the API 23. I would like to have created a folder where the files are stored. I would like to be able to access the files without another app.</p> <p>It´s going to be an attendance list. Childmemo is an Object for a child. (firstn...
I want to save my database to a CSV file. The whole thing runs via an Android app with the API 23. I would like to have created a folder where the files are stored. I would like to be able to access the files without another app. It´s going to be an attendance list. Childmemo is an Object for a child. (firstname and la...
java|android|database|filewriter
0
2022-02-24T14:53:53.663Z
2,022
2
14
3
40
0
982
50
4
2
true
true
false
false
false
false
zero
71,263,685
how to change the text color of preference in android?
<p>I'm trying to change color of the preference text.</p> <pre><code> &lt;Preference app:title=&quot;회원 탈퇴&quot; app:key=&quot;withdrawal&quot;/&gt; </code></pre> <p>in that code, I want to change the color of the title text. because the text is in the Preference, I couldn't made it with the code like</p> <pre>...
I'm trying to change color of the preference text. [CODE] in that code, I want to change the color of the title text. because the text is in the Preference, I couldn't made it with the code like [CODE] can somebody help me?
android|android-preferences
0
2022-02-25T09:26:05.323Z
2,022
2
9
4
40
0
223
54
2
2
true
true
false
false
false
false
zero
71,268,852
Any type of Android RecyclerView interleave from multiple adapters like ConcatAdapter does it sequentially
<p>Is there any type of adapter or can we adopt ConcatAdapter to interleave items from multiple adapters. Like, there is a Product adapter and an Ads Adapter. After every 3 product entries there should be one item pulled from Ads adapter.</p> <pre><code>Product 1 Product 2 Product 3 Ad 1 Product 4 Product 5 Product 6 A...
Is there any type of adapter or can we adopt ConcatAdapter to interleave items from multiple adapters. Like, there is a Product adapter and an Ads Adapter. After every 3 product entries there should be one item pulled from Ads adapter. [CODE]
android|android-recyclerview|android-adapter
0
2022-02-25T16:29:09.590Z
2,022
2
16
4
40
0
242
106
3
1
true
true
false
false
false
false
zero
71,322,336
Unable to integrate Flutter Module in Native Android and iOS application
<p>I want to develop a flutter module which will act as inter mediator between Web API and Native Apps.</p> <p><a href="https://i.stack.imgur.com/hjv5w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hjv5w.png" alt="enter image description here" /></a></p> <p>I followed <a href="https://github.com/fl...
I want to develop a flutter module which will act as inter mediator between Web API and Native Apps. I followed Official Github page and tried to replicate the code but unable to add FlutterActivity / FlutterEngine / MethodChannel since they are not getting imported in native code. I also found another tutorial for sam...
android|flutter
0
2022-03-02T12:00:12.277Z
2,022
3
12
2
40
0
436
72
2
0
false
true
false
false
false
false
zero
71,372,728
dynamic Size units not working in android studio and new gradle structure in android bumblebee
<p>I was trying to make a circlulerImageView and use dynamic size in it...so i used this dependency-</p> <p><code>implementation 'com.github.MrNouri:DynamicSizes:1.0'</code> in app build.gradle</p> <p>and</p> <p><code>maven { url 'https://jitpack.io' }</code> in project build.gradle</p> <p>but there is not buildScript...
I was trying to make a circlulerImageView and use dynamic size in it...so i used this dependency- implementation 'com.github.MrNouri:DynamicSizes:1.0' in app build.gradle and maven { url 'https://jitpack.io' } in project build.gradle but there is not buildScript/reprository in project build, but found a way on here(sta...
android|android-studio|android-layout|android-gradle-plugin|build.gradle
0
2022-03-06T17:38:41.987Z
2,022
3
17
6
40
0
598
94
5
0
false
true
false
false
false
false
zero
71,381,112
Is it possible to detect scroll in a view and scroll a bottomsheet accordingly?
<p>My activity is something like</p> <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;m...
My activity is something like [CODE] And the bottom sheet is as bottom_sheet_persistent.xml [CODE] The screenshot is As you can understand from the xml that, the red part is just a static view and blue is the bottomsheet. The bottomsheet also works as expected. What I wanted to achieve is, when the user start scrolls f...
android|bottom-sheet|android-gesture
0
2022-03-07T12:30:15.163Z
2,022
3
12
0
40
0
413
79
3
2
true
true
false
false
false
false
zero
71,408,487
TileOverlay requests tiles after it was made invisible [maps 18.0.2]
<p>Note: problem appears when using MapsInitializer.Renderer.LATEST</p> <p>Goal: I am using several tile overlays in order to switch the data user sees above the map. Several overlays needed to avoid flickering that user sees when we clear the overlay tile cache if using single overlay. For example: showing different w...
Note: problem appears when using MapsInitializer.Renderer.LATEST Goal: I am using several tile overlays in order to switch the data user sees above the map. Several overlays needed to avoid flickering that user sees when we clear the overlay tile cache if using single overlay. For example: showing different weather dat...
google-maps-android-api-2
0
2022-03-09T11:17:38.203Z
2,022
3
11
2
40
0
1,184
68
1
0
false
true
false
false
false
false
zero
71,184,730
Moshi: When is Reflection needed?
<p>Currently using Moshi with Retrofit but need to look back as I noticed I am not implementing it right and confused when to add <code>kotlin-reflect</code> in the dependencies.</p> <p>According to README</p> <blockquote> <p>The reflection adapter requires the following additional dependency:</p> </blockquote> <pre><c...
Currently using Moshi with Retrofit but need to look back as I noticed I am not implementing it right and confused when to add kotlin-reflect in the dependencies. According to README The reflection adapter requires the following additional dependency: [CODE] I thought the above dependency is the actual Moshi dependency...
android|kotlin|moshi|reflections|kotlin-reflect
4
2022-02-19T11:52:28.273Z
2,022
2
11
5
296
0
682
33
5
3
true
true
false
false
false
false
low
71,121,692
View Pager Behavior Not Proper (ViewPager2 With carousale)
<p><a href="https://i.stack.imgur.com/LS0R3.png" rel="nofollow noreferrer">Here is the orignal View</a></p> <p>This is the orignal View of ViewPager2</p> <pre><code> eventsQuestionsViewPager.setOffscreenPageLimit(2); float currentItemHorizontalMarginPx = getResources().getDimensionPixelOffset(R.dimen.viewpager_cur...
Here is the orignal View This is the orignal View of ViewPager2 [CODE] After NotifyDatachange ViewPager behave Like this.. If i just close dialog ui viewing same of below image After dialog close and after notify View Automatically look like this
android|carousel|android-viewpager2
0
2022-02-15T05:57:24.790Z
2,022
2
5
1
41
0
246
58
3
1
true
true
false
false
false
false
zero
71,131,315
How to Enable annotation processing android studio arctic fox 2020.3.1?
<p>I can't find the following setting:</p> <pre><code>Build, Execution, Deployment -&gt; Compiler -&gt; Annotation Processors -&gt; Enable annotation processing. </code></pre> <p>It seems that it has changed in android studio arctic fox 2020.3.1 patch 3</p>
I can't find the following setting: [CODE] It seems that it has changed in android studio arctic fox 2020.3.1 patch 3
android-studio
5
2022-02-15T18:06:17.357Z
2,022
2
18
1
41
0
117
71
1
1
true
true
false
false
false
false
low
71,208,472
Untrusted certificate warning when checking for Clang-Tidy update
<p>Every time i start Android Studio, it shows me a warning about an untrusted certificate. The task which it is executing is &quot;Checking for Clang-Tidy&quot; updates.<a href="https://i.stack.imgur.com/7vwup.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7vwup.jpg" alt="Untrusted Server Certifica...
Every time i start Android Studio, it shows me a warning about an untrusted certificate. The task which it is executing is &quot;Checking for Clang-Tidy&quot; updates. I asked in my team, no one receives this prompt, so I assume it is not a bug. How can I fix this, or at least find the root cause for this behavior?
android-studio
0
2022-02-21T15:00:31.577Z
2,022
2
15
0
41
0
316
65
1
0
false
true
false
false
false
false
zero
71,251,054
How to position a VectorPainter in a Jetpack Compose Canvas
<p>I have a <code>Canvas</code>in Jetpack Compose with a circle. Now I want to draw a <code>Drawable</code>over that circle right into the center. Thanks to the following answer <a href="https://stackoverflow.com/a/70123131/6444853">StackOverflow answer</a> I achieved the pure drawing onto the <code>Canvas</code>:</p> ...
I have a Canvas in Jetpack Compose with a circle. Now I want to draw a Drawable over that circle right into the center. Thanks to the following answer StackOverflow answer I achieved the pure drawing onto the Canvas : [CODE] But now my drawable ist placed at the 0,0 position in the top left corner. How can I set the po...
android|canvas|android-jetpack-compose|android-canvas|android-jetpack
0
2022-02-24T11:10:42.477Z
2,022
2
11
3
41
0
447
59
5
1
true
true
false
false
false
false
zero
71,285,409
How to open a rejected URL in a webView
<p>I have a very simple android app that helps in collecting some useful websites in one place and each website loads in a webview when its button is clicked.</p> <p>One of the websites is <a href="https://hadshon.edu.gov.il/" rel="nofollow noreferrer">https://hadshon.edu.gov.il/</a> used to work fine but suddenly it d...
I have a very simple android app that helps in collecting some useful websites in one place and each website loads in a webview when its button is clicked. One of the websites is https://hadshon.edu.gov.il/ used to work fine but suddenly it doesn't load in my country &quot;Egypt&quot; without VPN and I assume now most ...
java|android|webview|vpn
1
2022-02-27T14:08:29.533Z
2,022
2
14
6
41
0
531
39
4
0
false
true
false
false
false
false
low
71,325,311
Cannot capture image in the second time - Android
<p>im using kevalpatel2106's android hidden camera library.</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.exampleapp, PID: 10608 java.lang.RuntimeException: takePicture failed at android.hardware.Camera.native_takePicture(Native Method) at android.hardware.Camera.ta...
im using kevalpatel2106's android hidden camera library. [CODE] when the application instance taking picture the first time it works fine, but in the second time it throws me this error. I'm using LGE LM-K520 device android 11. this is the code: findViewById(R.id.pic).setOnClickListener((a) -> takePicture()); this is m...
java|android|android-activity|camera|android-camera
0
2022-03-02T15:35:45.723Z
2,022
3
15
2
41
0
349
49
5
2
true
true
false
false
false
false
zero
71,325,666
Is it possible to control how much an image is cropped using Compose
<p>I'm loading an image from an external source. I'd like to crop out a certain amount of the image. Is it possible to do that using Compose?</p>
I'm loading an image from an external source. I'd like to crop out a certain amount of the image. Is it possible to do that using Compose?
android|kotlin|android-jetpack-compose
0
2022-03-02T16:00:11.143Z
2,022
3
16
2
41
0
138
68
3
0
false
true
false
false
false
false
zero
71,368,159
how to use default parameter in retrofit GET Request with method reference expression(double colon expression)
<p>now i refactoring my codes. and i try to use method reference expression to retrofit Get Rquest methods. but it can't be use default parameter. why? somebody has any solutions?</p> <pre><code>// WebServer.kt interface WebServer{ @GET(&quot;info/list/week&quot;) fun getWeekTrendingInfo( @Query(&quot;l...
now i refactoring my codes. and i try to use method reference expression to retrofit Get Rquest methods. but it can't be use default parameter. why? somebody has any solutions? [CODE] [CODE] when i call api( ) in mainActivity's loadTrendingInfos function(not include param. cuz i want use default params), IDE say to me ...
android|kotlin|expression
0
2022-03-06T06:34:58.910Z
2,022
3
6
6
41
0
641
110
3
3
true
true
false
false
false
false
zero