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
72,354,892
Trying to delete cache data using Flutter
<p>Is it possible to clear cache data of an app (ex. youtube) using my Flutter app. I'm trying to do something like:</p> <pre><code>var app = await DeviceApps.getApp('com.google.android.youtube'); var dir=Directory(app?.dataDir); dir.deleteSync(recursive: true); </code></pre> <p>But I got: Unhandled Exception: FileSyst...
Is it possible to clear cache data of an app (ex. youtube) using my Flutter app. I'm trying to do something like: [CODE] But I got: Unhandled Exception: FileSystemException: Deletion failed, path = '/data/user/0/com.google.android.youtube' (OS Error: No such file or directory, errno = 2)
android|flutter|dart|caching
0
2022-05-23T21:16:41.500Z
2,022
5
21
0
315
2
288
41
4
1
true
false
false
false
false
false
zero
72,355,036
Why my Android Stduio application crashes from time to time without any LOG Error
<p>My Android Studio application crashes from time to time without any LOG Error. When I run it several times, sometimes the crash doesn't show up. How can I detect the Error as Logcat doesn't show anything.</p>
My Android Studio application crashes from time to time without any LOG Error. When I run it several times, sometimes the crash doesn't show up. How can I detect the Error as Logcat doesn't show anything.
android-studio|logcat
0
2022-05-23T21:36:55.930Z
2,022
5
21
0
23
1
204
81
2
0
false
false
false
false
false
false
zero
72,355,040
React-Native unable to put a video to Amplify storage from local file system
<p>Given the following:</p> <pre class="lang-js prettyprint-override"><code> const path = 'file:///data/user/0/com.thing.place/cache/VisionCamera-20220520_1215171796142274516288565.mp4' const uploadVideo = async () =&gt; { const timestamp = Date.now() const filename = 'blablablah' // tried with and wit...
Given the following: [CODE] This is never erroring out or failing, it just never starts. What is missing here and or how do we upload the file from the local file system cached storage? Permissions granted, check S3 policies in place, check Amplify configured, check file able to be viewed in react-native-video , check ...
android|react-native|aws-amplify
0
2022-05-23T21:37:49.083Z
2,022
5
21
0
54
1
452
76
3
1
true
false
false
false
false
false
zero
72,355,169
Accessing the Room database from ViewModel
<p>I'm about to refactor my app to use a ViewModel. This is the database:</p> <pre><code>@Database(entities = [TimeStamp::class], version = 1, exportSchema = false) abstract class RoomDB : RoomDatabase() { abstract fun timeStampDao(): TimeStampDao companion object { @Volatile private lateinit v...
I'm about to refactor my app to use a ViewModel. This is the database: [CODE] And this is my ViewModel: [CODE] Unfortunately, I don't have the context available in the ViewModel. Several answers to this question say that I should not try access the context in a ViewModel. Do I need to refactor my RoomDB as well? Is the...
kotlin|android-room|android-viewmodel
0
2022-05-23T21:53:16.250Z
2,022
5
21
0
269
0
367
42
3
2
true
true
false
false
false
false
zero
72,355,175
Failed making scrollable a ConstraintLayout in an Android Fragment
<p>Recently I tried to create a fragment and the LinearLayout is bigger than the screen and I need to use the ScrollView. I've tried different ways reading other questions in Stackoverflow and I couldn't resolve the issue.</p> <p>This is my XML Code:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&...
Recently I tried to create a fragment and the LinearLayout is bigger than the screen and I need to use the ScrollView. I've tried different ways reading other questions in Stackoverflow and I couldn't resolve the issue. This is my XML Code: [CODE] Any idea?
android|android-layout|user-interface|android-constraintlayout|android-scrollview
0
2022-05-23T21:54:00.033Z
2,022
5
21
0
20
1
257
66
5
1
true
false
false
false
false
false
zero
72,355,350
Android Project BottomNavBar
<p>I followed some tutorials on how to do a navigation bottom menu on android studio, and I only have this code for it to work.</p> <pre><code>val bottomNavigationView = findViewById&lt;BottomNavigationView&gt;(R.id.bottomNavigationView) val navController = findNavController(R.id.fragmentContainerView2) bottomNa...
I followed some tutorials on how to do a navigation bottom menu on android studio, and I only have this code for it to work. [CODE] and it gives me an error about the findNavController part
android|android-studio|kotlin
0
2022-05-23T22:16:29.317Z
2,022
5
22
0
23
0
189
28
3
1
true
true
false
false
false
false
zero
72,355,417
Xamarin.Forms - Only rendering necessary datagrid rows in scroll view
<p>I have an issue where the devices we need to test on (as these will be used in production) are beginning to have a huge performance hit at around 200 rows.. And we need to get to roughly ~800 rows without any major performance hits...</p> <p>I've got a general idea of what the issue is, as the devices aren't really ...
I have an issue where the devices we need to test on (as these will be used in production) are beginning to have a huge performance hit at around 200 rows.. And we need to get to roughly ~800 rows without any major performance hits... I've got a general idea of what the issue is, as the devices aren't really the fastes...
c#|android|xamarin|xamarin.forms|datagrid
0
2022-05-23T22:26:58.633Z
2,022
5
22
0
34
0
732
69
5
0
false
true
false
false
false
false
zero
72,355,449
Runnable error After Asynchtask replacement
<p>I am getting an error on the last line below after replacing my asynctask with a runnable to upload data to server: Any pointers will be appreciated.</p> <blockquote> <p>Cannot return a value from a method with void result type</p> </blockquote> <p>on this line</p> <pre><code>return *imageProcessClass.ImageHttpReque...
I am getting an error on the last line below after replacing my asynctask with a runnable to upload data to server: Any pointers will be appreciated. Cannot return a value from a method with void result type on this line [CODE] [CODE]
android|android-asynctask|runnable
1
2022-05-23T22:33:00.283Z
2,022
5
22
0
28
1
234
43
3
2
true
false
false
false
false
false
low
72,355,454
Why am i getting this error when trying to communicate with my server?
<p>I am simply trying to implement stripe payments in my app and i am following the their doc here <a href="https://stripe.com/docs/payments/quickstart" rel="nofollow noreferrer">https://stripe.com/docs/payments/quickstart</a> and i keep getting this error ( Failed to connect to localhost/127.0.0.1:4242) , whenever i ...
I am simply trying to implement stripe payments in my app and i am following the their doc here https://stripe.com/docs/payments/quickstart and i keep getting this error ( Failed to connect to localhost/127.0.0.1:4242) , whenever i launch my app. I am not sure why this is happening i already tried adding android:usesCl...
java|android|stripe-payments
-1
2022-05-23T22:33:46.527Z
2,022
5
22
0
69
1
419
70
3
1
true
false
false
false
false
true
negative
72,355,604
Exception is thrown when running flutter app, on assembleDebug Task. Tries to read file from non existing path that's not specified anywhere
<p><a href="https://i.stack.imgur.com/20arP.png" rel="nofollow noreferrer">Error</a></p> <pre><code>Launching lib/main.dart on sdk gphone64 arm64 in debug mode... Running Gradle task 'assembleDebug'... E/flutter ( 6095): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Unable to load asset: assets/ </c...
Error [CODE] This started happening out of nowhere, after the exception is thrown, the task still runs and when the app eventually launches, it's just a blank screen. The path in the error doesn't exist, I don't think I have any mention of said path in my code as the app ran just fine yesterday. I've tried running flut...
android|flutter|android-studio|android-gradle-plugin|flutter-dependencies
0
2022-05-23T23:00:44.317Z
2,022
5
23
0
89
2
617
140
5
4
true
false
false
false
false
false
zero
72,355,766
How to setMarkDown in Android studio?
<p>How can i set markdown edittext in the adapter? What should i write in the holder.markwon.setMarkDown() parameter?..........................................................................................................................................................................................</p> <p><strong>A...
How can i set markdown edittext in the adapter? What should i write in the holder.markwon.setMarkDown() parameter?.......................................................................................................................................................................................... Adapter.kt [CODE]
android-studio|android-edittext|markdown
0
2022-05-23T23:30:33.953Z
2,022
5
23
0
29
0
318
37
3
1
true
true
false
false
false
false
zero
72,355,903
How to find AGDK GameTextInput package in CMakeLists?
<p>I'm trying to <a href="https://developer.android.com/games/agdk/add-support-for-text-input" rel="nofollow noreferrer">follow the instructions here</a> for integrating GameTextInput from the AGDK (Android Game Development Kit), but am having trouble with the CMakeLists part.</p> <p>Adding this line as instructed:</p>...
I'm trying to follow the instructions here for integrating GameTextInput from the AGDK (Android Game Development Kit), but am having trouble with the CMakeLists part. Adding this line as instructed: [CODE] Results in this error when the project syncs. [CODE] There are no names printed. Above is the ONLY output. I don't...
android|cmake|android-ndk|androidx|agdk
0
2022-05-23T23:57:02.380Z
2,022
5
23
0
27
0
462
53
5
2
true
true
false
false
false
false
zero
72,356,000
Android Studio - How to choose m3u8 file and send server
<p>I'm trying to upload <strong>m3u8</strong> files from device and upload to <strong>php</strong> server. The file chooser working fines but I don't know how to decompile it and send to php server using volley or etc.</p> <p>ı could not find any solution about it in stackoverflow and all over the internet. Anyone have...
I'm trying to upload m3u8 files from device and upload to php server. The file chooser working fines but I don't know how to decompile it and send to php server using volley or etc. ı could not find any solution about it in stackoverflow and all over the internet. Anyone have idea about it?
java|android|android-studio|m3u8
0
2022-05-24T00:19:11.307Z
2,022
5
0
1
37
0
291
56
4
0
false
true
false
false
false
false
zero
72,356,022
GET request returns values POST doesn't
<p>I'm making an app with some user interaction. For this project I've created a method.</p> <p>If I make a GET request* I get my values. However if I make a POST request I get no values. Does anyone know why this is?</p> <p>I use POST because I'll be transmitting Base64 encoded images. Does anyone know a solution or h...
I'm making an app with some user interaction. For this project I've created a method. If I make a GET request* I get my values. However if I make a POST request I get no values. Does anyone know why this is? I use POST because I'll be transmitting Base64 encoded images. Does anyone know a solution or how I should tackl...
java|android|database|api|android-volley
0
2022-05-24T00:24:34.387Z
2,022
5
0
1
31
0
349
39
5
1
true
true
false
false
false
false
zero
72,356,064
[Resolved ]how to convert date format dd/mm/yyyy to firestore timestamp format in order to send a query based on date given?
<p>I need help to convert my date given dd/MM/yyyy to firestore timestamp format in order to be able to send a firestore query to fetch all row from collection</p> <p>Date to send is dd/MM/yyyy &quot;24/05/2022&quot; firestore date <a href="https://i.stack.imgur.com/9Jkxm.png" rel="nofollow noreferrer"><img src="https:...
I need help to convert my date given dd/MM/yyyy to firestore timestamp format in order to be able to send a firestore query to fetch all row from collection Date to send is dd/MM/yyyy &quot;24/05/2022&quot; firestore date Firestore query : [CODE] I am expected to get one row only as i have only one row of data which da...
java|android|firebase|google-cloud-firestore
0
2022-05-24T00:32:58.770Z
2,022
5
0
1
151
0
337
124
4
1
true
true
false
false
false
false
zero
72,356,293
How to set two arraylist with different size inside one adapter?
<p>I have two arraylist which i use for storing value from JSON which have different path database. I want populate it with one custom adapter with this such way</p> <ol> <li>First arraylist contain 2 name_stage and second arraylist contain 4 revenue and name_stage.</li> <li>For second arraylist, i need loop for sum re...
I have two arraylist which i use for storing value from JSON which have different path database. I want populate it with one custom adapter with this such way First arraylist contain 2 name_stage and second arraylist contain 4 revenue and name_stage. For second arraylist, i need loop for sum revenue and count data if n...
java|android|listview|arraylist
0
2022-05-24T01:21:56.790Z
2,022
5
1
1
47
0
927
64
4
5
true
true
false
false
false
false
zero
72,356,497
Background color isnt showing in android studio?
<p>I have added a color picker to my simple note app. Right now the problem is when the user clicks to update the note then the background color isn't showing. How can I fix that?</p> <p>........................................................................................................................................
I have added a color picker to my simple note app. Right now the problem is when the user clicks to update the note then the background color isn't showing. How can I fix that? ..................................................................................................................................................
android-studio|android-fragments|android-adapter
0
2022-05-24T02:10:41.257Z
2,022
5
2
1
21
0
415
48
3
2
true
true
false
false
false
false
zero
72,356,513
I refractored com.example in my Android app. Now, getting Resources$NotFoundException
<p>I completed my app, uploaded it to the Google Play Console and realized I couldn't use the com.example.myherocalc package. So, I refractored it to myherometa.myherocalc and got a bunch of errors. The ones that are persisting seem to be suggesting the Main Activity can't access my resources?</p> <pre><code> Proces...
I completed my app, uploaded it to the Google Play Console and realized I couldn't use the com.example.myherocalc package. So, I refractored it to myherometa.myherocalc and got a bunch of errors. The ones that are persisting seem to be suggesting the Main Activity can't access my resources? [CODE] MainActivity.java (It...
java|android|xml|gradient|runtimeexception
0
2022-05-24T02:13:29.027Z
2,022
5
2
1
35
0
406
85
5
3
true
true
false
false
false
false
zero
72,356,654
Why is my app Crashing with RecyclerView?
<p>I'm doing a recycler method in my android studio project but i have a problem.</p> <p>Everytime i'm trying to <code>findViewById</code> my application is crashing.</p> <pre><code>Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference </code></pre> <p>And i...
I'm doing a recycler method in my android studio project but i have a problem. Everytime i'm trying to findViewById my application is crashing. [CODE] And i don't understand why because i'm creating my view in the good way. [CODE] And i'm trying to continue with that [CODE] But i'm crashing at the line recyView = view....
java|android-studio|android-recyclerview
0
2022-05-24T02:41:15.760Z
2,022
5
2
1
23
1
470
41
3
4
true
false
false
false
false
false
zero
72,356,703
Can the default "Call Redirecting App" allow/select another installed redirecting app to handle outgoing calls instead?
<p>As I understand it:</p> <ol> <li>On an android mobile phone, it is possible to install more than one user application that implements the CallRedirectionService.</li> <li>Android provides a user setting through which the user can specify which application (out of multiple apps that are installed and implement the<br...
As I understand it: On an android mobile phone, it is possible to install more than one user application that implements the CallRedirectionService. Android provides a user setting through which the user can specify which application (out of multiple apps that are installed and implement the CallRedirectionService) is ...
android|telecom
0
2022-05-24T02:50:52.583Z
2,022
5
2
1
133
0
868
119
2
0
false
true
false
false
false
false
zero
72,356,714
My updated app is rejected because it contains content that doesn't comply with the Real-Money Gambling, Games and Contests policy
<pre><code>Edited </code></pre> <p>After submitting an update for my app on google play console, I received this message:</p> <blockquote> <p>After a recent review, we found that your app &quot;MyApp&quot; (my.app) is not compliant with one or more of our Developer Program Policies. See below for more information about...
[CODE] After submitting an update for my app on google play console, I received this message: After a recent review, we found that your app &quot;MyApp&quot; (my.app) is not compliant with one or more of our Developer Program Policies. See below for more information about your app’s status and how to correct the issue....
android|admob|google-play-console
0
2022-05-24T02:52:07.680Z
2,022
5
2
1
142
0
986
130
3
1
true
true
false
false
false
false
zero
72,356,779
Flutter) I want to know how to apply the same scroll to the child widget list within ListView
<p>(I revised the content a little bit, ExpansionTile =&gt; GridView)</p> <p>I'm creating a ListView that includes many GridView widgets. The problem with this is that ListView has vertical scrolling, but it does not work with GridView Widget in ListView. Scrolls in ListView only work in empty space, not in the child w...
(I revised the content a little bit, ExpansionTile => GridView) I'm creating a ListView that includes many GridView widgets. The problem with this is that ListView has vertical scrolling, but it does not work with GridView Widget in ListView. Scrolls in ListView only work in empty space, not in the child widget's area....
android|ios|flutter
0
2022-05-24T03:05:52.640Z
2,022
5
3
1
34
2
418
93
3
1
true
false
false
false
false
false
zero
72,356,912
How can I add months Int to a choosen date on date picker in android Kotlin?
<p>I have a working date picker in my app that replaces an <code>EditText</code> after a date selection. I want to add duration through a <code>RadioGroup</code> button that prints an Int to provoke an end date. How can I do that? I've spent the last two days without getting the result I'm looking to get.</p> <p>Here i...
I have a working date picker in my app that replaces an EditText after a date selection. I want to add duration through a RadioGroup button that prints an Int to provoke an end date. How can I do that? I've spent the last two days without getting the result I'm looking to get. Here is what I've got so far. [CODE] Here ...
android|kotlin
0
2022-05-24T03:31:46.590Z
2,022
5
3
1
79
2
592
76
2
2
true
false
false
false
false
false
zero
72,356,918
Update Android device static IP using Qt GUI applications
<p>I made a Qt based GUI application. Which compiled for Android. Through one GUI page I want to update the communications settings of an android device, Like IP, port, DNS, Subnet Mask. Is it possible using Qt.</p>
I made a Qt based GUI application. Which compiled for Android. Through one GUI page I want to update the communications settings of an android device, Like IP, port, DNS, Subnet Mask. Is it possible using Qt.
android|c++|qt
0
2022-05-24T03:32:22.783Z
2,022
5
3
1
19
0
208
57
3
0
false
true
false
false
false
false
zero
72,356,940
ActionBarDrawerToggle stops working on fragment change
<p>I have a <code>HomeActivity</code> which initiates the ActionBarDrawerToggle as follows:</p> <pre><code> private fun initDrawer() { val toolbar = binding.fragmentHomeContainerView.findViewById&lt;MaterialToolbar&gt;(R.id.toolbar) setSupportActionBar(toolbar) drawerToggle = ActionBarDrawerT...
I have a HomeActivity which initiates the ActionBarDrawerToggle as follows: [CODE] The toolbar in question is inside a Fragment . Everything's normal and working until here, the toolbar is like Gmail's search with the hamburguer icon. But when I navigate to another fragment (that doesn't have this toolbar, but instead ...
android|kotlin|android-fragments|actionbardrawertoggle
0
2022-05-24T03:36:02.293Z
2,022
5
3
1
26
0
1,091
54
4
9
true
true
false
false
false
false
zero
72,357,052
Unable to run timer in Background using foreground service, making a count up timer to keep running in background even if user kills the app
<p><strong>This is the code for timer in mainactivity:</strong></p> <p>I am trying to run this in background with foreground service but if i put the whole code in the onCreate, the app gets crashed. I want the timer to be running even if user kills the app.</p> <pre><code>public class MainActivity2 extends AppCompatAc...
This is the code for timer in mainactivity: I am trying to run this in background with foreground service but if i put the whole code in the onCreate, the app gets crashed. I want the timer to be running even if user kills the app. [CODE]
java|android|service
0
2022-05-24T03:56:21.930Z
2,022
5
3
1
27
0
238
140
3
1
true
true
false
false
false
false
zero
72,357,075
How to convert bitmap streaming to video files in android
<p>I am using camerax so I am able to get bitmap from camerax imageanalysyis usecase</p> <pre><code>private val analysis = object : ImageAnalysis.Analyzer { override fun analyze(image: ImageProxy) { showLogD(&quot;hello rotation before&quot;,&quot;${image.imageInfo.rotationDegrees}&quot;) ...
I am using camerax so I am able to get bitmap from camerax imageanalysyis usecase [CODE] I want to do video recording. but I dont know how to convert bitmap to video files
android|opencv|android-camerax
0
2022-05-24T04:02:09.320Z
2,022
5
4
1
57
0
171
57
3
1
true
true
false
false
false
false
zero
72,357,105
'FixedHeaderTableLayout' giving warning 'unfortunately touchwiz home has stopped' in API Level 14 Samsung Device
<p>Any solution or suggestion, please recommend. What is the minimum API level for using this repo<a href="https://github.com/Zardozz/FixedHeaderTableLayout" rel="nofollow noreferrer">https://github.com/Zardozz/FixedHeaderTableLayout</a>?</p>
Any solution or suggestion, please recommend. What is the minimum API level for using this repo https://github.com/Zardozz/FixedHeaderTableLayout ?
android-tablelayout
0
2022-05-24T04:07:54.100Z
2,022
5
4
1
20
1
147
112
1
0
false
false
false
false
false
false
zero
72,357,202
Arraylist becomes empty after calling addvaluelistener in android
<p>I am retrieving data of blocked users from firebase, and the arrayList has data in the advaluevent listener but after calling advaluevent listener ,the arrayList becomes empty .I dont know what is the problem?</p> <pre><code> showUserClassArrayList=new ArrayList&lt;&gt;(); DatabaseReference databaseReferen...
I am retrieving data of blocked users from firebase, and the arrayList has data in the advaluevent listener but after calling advaluevent listener ,the arrayList becomes empty .I dont know what is the problem? [CODE]
java|android|firebase-realtime-database|arraylist
0
2022-05-24T04:25:22.370Z
2,022
5
4
1
25
0
216
65
4
1
true
true
false
false
false
false
zero
72,357,204
How can I update seekBar by seconds on Media Player?(kotlin)
<pre><code>package com.example.ebookactivity import android.media.MediaPlayer import android.os.Bundle import android.os.Handler import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.example.ebookactivity.databinding.FragmentDay1Bindi...
[CODE] I want to update seekBar by seconds. but No matter where I put setProgress code, it isn't working. SetProgress is just working on ButtonClick in this code. I want to make seekbar update by seconds. so I make seekbar function. but it isn't work. If I put seekbar function any places, application would be broken. S...
function|kotlin|android-mediaplayer|seekbar
0
2022-05-24T04:26:06.507Z
2,022
5
4
1
42
0
370
60
4
1
true
true
false
false
false
false
zero
72,357,268
how to fix Android Native Crash from libc.so, unity project
<pre><code>Native StackTrace: Thread 0 (crashed) 0 libc.so 0x00000075054e7c24 &lt;symbols missing for uuid: 9d24735c2e77ed9a6f043f56b84eff8d&gt; 1 libil2cpp.so 0x000000719b0be824 GC_unmap (C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\il2cpp\external\bd...
[CODE] Hello. This is what I received using the Unity Crash Report. But it's my first time using it, so I don't know exactly why these messages crash. Can anyone explain what caused the crash?
android|unity3d
1
2022-05-24T04:37:39.873Z
2,022
5
4
1
1,239
1
192
59
2
1
true
false
false
false
false
false
low
72,357,297
Why Dialog animation duration not working
<p>I want to use custom animation on dialog but duration is not working</p> <p>Dialog</p> <pre><code>class GiftDialog(context: Context) : Dialog(context, R.style.AppMaskStatusTheme) { private val viewBinding: DialogGiftBinding by lazy { DialogGiftBinding.inflate(LayoutInflater.from(context)) } init { ...
I want to use custom animation on dialog but duration is not working Dialog [CODE] style [CODE] slide_bottom_to_top [CODE] slide_top_to_bottom [CODE]
android|animation|dialog
1
2022-05-24T04:42:42.153Z
2,022
5
4
1
39
0
149
41
3
4
true
true
false
false
false
false
low
72,357,325
How many Upload Key's could a system generate
<p>If the upload key which is used to sign app when uploading to google play is lost. Can we generate the same key. Or the system will generate different keys for every generation?</p> <p>Really stuck with this.</p> <p>Hope this is clear.</p>
If the upload key which is used to sign app when uploading to google play is lost. Can we generate the same key. Or the system will generate different keys for every generation? Really stuck with this. Hope this is clear.
android|google-play|key
0
2022-05-24T04:48:09.760Z
2,022
5
4
1
13
0
221
45
3
0
false
true
false
false
false
false
zero
72,357,394
Class does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView
<p>I have this compile error after following the guide in <a href="https://docs.flutter.dev/development/platform-integration/platform-views" rel="nofollow noreferrer">https://docs.flutter.dev/development/platform-integration/platform-views</a></p> <p>I have tried using Flutter v3.0.1 and v2.13.0-0.4.pre to test but sti...
I have this compile error after following the guide in https://docs.flutter.dev/development/platform-integration/platform-views I have tried using Flutter v3.0.1 and v2.13.0-0.4.pre to test but still the same error. Error is shown that: e: C:\Users\wongc\Documents\Agmo_Studio_Project\ble_poc\android\app\src\main\kotlin...
android|flutter|kotlin
2
2022-05-24T05:01:25.673Z
2,022
5
5
1
1,613
1
844
125
3
3
true
false
false
false
false
false
low
72,357,437
Android- App has been signed with an insecure key size
<p><a href="https://i.stack.imgur.com/O3nF4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O3nF4.png" alt="enter image description here" /></a></p> <p>As usual I have used same key to signed apk which I had used to upload Playstore live version. some how we are getting attached error while uploading...
As usual I have used same key to signed apk which I had used to upload Playstore live version. some how we are getting attached error while uploading app Google play on MS Endpoint manager. Same apk is uploaded Google play console. Can someone can help me to find solution?
android|signing|android-keystore
0
2022-05-24T05:07:50.570Z
2,022
5
5
1
42
0
273
54
3
0
false
true
false
false
false
false
zero
72,357,470
what to do for this.............every time i run my android project i got this
<p>Launching lib\main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'...</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: A problem occurred configuring root project 'android'.</li> </ul> <blockquote> <p>Failed to create Jar file C:\Users\Wrnglr.gradle\caches\jar...
Launching lib\main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Failed to create Jar file C:\Users\Wrnglr.gradle\caches\jars-8\f1dd8e6ec0db9b111f425c513285a977\auto-value-an...
android|flutter
0
2022-05-24T05:11:36.377Z
2,022
5
5
1
38
1
615
78
2
0
false
false
false
false
false
false
zero
72,357,556
How to print Asset Image to USB using Android otg cable
<p>I'm making a function to print from an android app. Printing using WiFi Direct has been implemented. now, I am making a function to print from a mobile phone device using an OTG cable.</p> <p>It was not difficult to search for examples and print the text. But when I try to print the image, it is printed as text, not...
I'm making a function to print from an android app. Printing using WiFi Direct has been implemented. now, I am making a function to print from a mobile phone device using an OTG cable. It was not difficult to search for examples and print the text. But when I try to print the image, it is printed as text, not image. Th...
java|android
0
2022-05-24T05:23:05.827Z
2,022
5
5
1
22
0
408
55
2
1
true
true
false
false
false
false
zero
72,357,606
How to downlaod file from google drive and display in image in android
<p>This is my following code.</p> <p>I'm having a issue display image from Google Drive.</p> <p>Source code from <a href="https://www.section.io/engineering-education/backup-services-with-google-drive-api-in-android/" rel="nofollow noreferrer">https://www.section.io/engineering-education/backup-services-with-google-dri...
This is my following code. I'm having a issue display image from Google Drive. Source code from https://www.section.io/engineering-education/backup-services-with-google-drive-api-in-android/ I have also worked with this image url https://drive.google.com/uc?id=FILE_ID but only worked in anyone with the link access not ...
android|kotlin|google-drive-api|kotlin-coroutines
2
2022-05-24T05:30:09.700Z
2,022
5
5
1
187
1
345
70
4
1
true
false
false
false
false
false
low
72,357,660
_TypeError (type 'Null' is not a subtype of type 'String')
<p>I don't know what happened, but I tried to fix this by making it nullable, but it didn't work. I wanted to view elements from the database, therefore i put them in &quot;for&quot; loop.. but it still showing me exception _TypeError (type 'Null' is not a subtype of type 'String') So what should I do to fix this? This...
I don't know what happened, but I tried to fix this by making it nullable, but it didn't work. I wanted to view elements from the database, therefore i put them in &quot;for&quot; loop.. but it still showing me exception _TypeError (type 'Null' is not a subtype of type 'String') So what should I do to fix this? This is...
android|firebase|flutter|mobile
0
2022-05-24T05:36:29.213Z
2,022
5
5
1
106
2
408
58
4
1
true
false
false
false
false
false
zero
72,357,768
How to crop image captured by CameraX based on a rectangle on Preview display
<p>Hello I am new to android development, can anyone help me to crop the image captured by CameraX based on a rectangle on PreviewView?</p> <p>This is the <code>activity_main.xml: </code></p> <pre><code>&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schem...
Hello I am new to android development, can anyone help me to crop the image captured by CameraX based on a rectangle on PreviewView? This is the activity_main.xml: [CODE] This is my MainActivity.java: [CODE] This is what my app looks like (the preview mode), i want to extract the ROI of the bitmap inside the rectangle ...
android|android-studio|android-camerax
1
2022-05-24T05:50:29.413Z
2,022
5
5
1
441
1
577
77
3
2
true
false
false
false
false
false
low
72,357,782
Estimote beacon is not detected with latest library of altbeacons 2.19.4
<p>I am using altbeacon library with verison(&quot;2.19.4&quot;) for getting the estimoate beacons. Doing some R&amp;D and getting the</p> <pre><code> m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24 </code></pre> <p>above layout to set on Beacon parser class. I put this code on Beacon parser class and assign to beacon manage...
I am using altbeacon library with verison(&quot;2.19.4&quot;) for getting the estimoate beacons. Doing some R&D and getting the [CODE] above layout to set on Beacon parser class. I put this code on Beacon parser class and assign to beacon manager. [CODE] I execute this code but did not get the beacons. Does Anyone Know...
android|kotlin|ibeacon|altbeacon|estimote
1
2022-05-24T05:52:32.310Z
2,022
5
5
1
105
1
399
72
5
2
true
false
false
false
false
false
low
72,357,792
my Realme device is not connect as adb devices on mac but connecting on windows fluently
<p>device is connecting perfectly on windows but not on mac devices is not asking permission to trust this device and showing offline while running adb devices command my phone is realme 9 pro speed addition, i have tried on multiple macbook but still not connecting , also tried on diffrent windows laptops connected su...
device is connecting perfectly on windows but not on mac devices is not asking permission to trust this device and showing offline while running adb devices command my phone is realme 9 pro speed addition, i have tried on multiple macbook but still not connecting , also tried on diffrent windows laptops connected succe...
android|android-studio|debugging|adb|platform-tools
0
2022-05-24T05:53:38.613Z
2,022
5
5
1
341
1
430
88
5
0
false
false
false
false
false
false
zero
72,357,819
Jetpack Compose Timing Issue with Stack of Cards
<p>Actually I'm not even sure if this is a timing issue, but let's begin with the code first.</p> <p>I start out in my <code>MainActivity</code> where I prepare a simple data structure containing letters from <code>A</code> to <code>Z</code>.</p> <pre class="lang-kotlin prettyprint-override"><code>class MainActivity : ...
Actually I'm not even sure if this is a timing issue, but let's begin with the code first. I start out in my MainActivity where I prepare a simple data structure containing letters from A to Z . [CODE] Here I am calling CardStack , which looks like the following: [CODE] When swiping a card, I want to view the card unde...
android|kotlin|android-jetpack-compose|android-jetpack
1
2022-05-24T05:57:04.307Z
2,022
5
5
1
223
1
1,749
48
4
5
true
false
false
false
false
false
low
72,357,931
Send data from Android to ESP32 with Bluetooth
<p>I've searched many tutorials on stackoverflow but can't understand anything and no one has a similar code as me.</p> <p>I just want to send an &quot;a&quot; when i click the OFF button and &quot;A&quot; when i click the &quot;ON&quot; button. I used the OutputStream.write method but it is not working.</p> <p>Here is...
I've searched many tutorials on stackoverflow but can't understand anything and no one has a similar code as me. I just want to send an &quot;a&quot; when i click the OFF button and &quot;A&quot; when i click the &quot;ON&quot; button. I used the OutputStream.write method but it is not working. Here is my code: jetCont...
java|android-studio|bluetooth|esp32
0
2022-05-24T06:09:26.970Z
2,022
5
6
1
146
0
367
46
4
2
true
true
false
false
false
false
zero
72,357,944
How to detect swipe up in horizontal scroll view - Android
<p>I have a HorizontalScrollView which has 2 cards that scroll horizontally, I want to detect swipe-up gestures to perform certain actions but that is not happening.</p> <p>I reviewed other solutions over here, but they just don't work with my problem.</p> <p>Here is my XML:</p> <pre><code> &lt;HorizontalScrollView ...
I have a HorizontalScrollView which has 2 cards that scroll horizontally, I want to detect swipe-up gestures to perform certain actions but that is not happening. I reviewed other solutions over here, but they just don't work with my problem. Here is my XML: [CODE]
android
0
2022-05-24T06:10:30.293Z
2,022
5
6
1
52
1
265
58
1
1
true
false
false
false
false
false
zero
72,358,032
The clear method in SpannableStringBuilder removes the spans
<p>I have a question.</p> <p><code>Code</code>:</p> <pre class="lang-java prettyprint-override"><code>@Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { FragmentProfileBinding fragmentProfileBinding = FragmentProfileBinding.inflate(getLayou...
I have a question. Code : [CODE] When changing the value from 123 to 456 or 789 , The spans will remove and the text will no longer be clickable, Why? How can you help me? Thank you.
java|android
0
2022-05-24T06:19:41.333Z
2,022
5
6
1
21
0
182
60
2
1
true
true
false
false
false
false
zero
72,358,067
I need to add Content Description to Child Views in Recycler View Items
<p>For a Recycler Item view ,In child view I need to add content Description to get the accessibility id while processing with Appium tool . I can get the parent content description but not the Child view ID. I have tried with the &quot;importantForAccessibility&quot; as no for parent layout and add yes for child layou...
For a Recycler Item view ,In child view I need to add content Description to get the accessibility id while processing with Appium tool . I can get the parent content description but not the Child view ID. I have tried with the &quot;importantForAccessibility&quot; as no for parent layout and add yes for child layout s...
android|appium|appium-android
0
2022-05-24T06:24:13.590Z
2,022
5
6
1
25
0
345
71
3
1
true
true
false
false
false
false
zero
72,358,137
How can i close a built-in web browser that I have opened it by code in Android?
<p>Simply, I have used the code <a href="https://stackoverflow.com/questions/2201917/how-can-i-open-a-url-in-androids-web-browser-from-my-application">here</a> to open a URL in the Android's built-in web browser.</p> <p>However, because I need to open many different URLs, I want to open and close the browser for every ...
Simply, I have used the code here to open a URL in the Android's built-in web browser. However, because I need to open many different URLs, I want to open and close the browser for every URL (instead of opening tabs). Code for open a browser: [CODE] I mean that my app can open a browser, and give the URL to load the we...
java|android|browser|webbrowser-control
0
2022-05-24T06:30:21.540Z
2,022
5
6
1
38
0
594
80
4
1
true
true
false
false
false
false
zero
72,358,139
clipToOutline with cornerRadii with background
<p>Sometimes in my practice I want to round view's background corners. Usually i use something like this (<em><strong>@drawable/bg_rounded</strong></em>)</p> <pre><code>&lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt; &lt;corners android:radius=&quot;16dp&quot;/&gt; &lt;/shape&gt; ...
Sometimes in my practice I want to round view's background corners. Usually i use something like this ( @drawable/bg_rounded ) [CODE] But sometimes i need to round only one angle and do this programmatically I create a test project to show the problem. activity_main.xml [CODE] MainActivity class may be like [CODE] but ...
android|kotlin|user-interface|background
0
2022-05-24T06:30:25.933Z
2,022
5
6
1
337
1
574
46
4
4
true
false
false
false
false
false
zero
72,358,201
Custom TextInputLayout does not apply correct styling with default constructor
<p>I've created two examples of code in which one is applying the correct styling to the <code>TextInputLayout</code> and the other is not. I would like to understand why this is happening. In my eyes they should be exactly the same. The only difference is whether I define the constructor as primary or secondary constr...
I've created two examples of code in which one is applying the correct styling to the TextInputLayout and the other is not. I would like to understand why this is happening. In my eyes they should be exactly the same. The only difference is whether I define the constructor as primary or secondary constructor. In both c...
android|kotlin|android-layout|android-custom-view|default-constructor
1
2022-05-24T06:35:59.473Z
2,022
5
6
1
53
0
676
78
5
2
true
true
false
false
false
false
low
72,358,258
Why is there no hot reload in jetpack compose? Is it theoretically possible for them to add flutter like hot-reloads in compose in future?
<p>I'm trying to understand why can't we have hot reloads with jetpack compose and kotlin. I understand flutter sends the code and rebuilds the widget tree but why can't we achieve similar with jetpack compose?</p> <p>If I had to make a third party tool to enable hot reloads, how would I proceed to make it? Is it possi...
I'm trying to understand why can't we have hot reloads with jetpack compose and kotlin. I understand flutter sends the code and rebuilds the widget tree but why can't we achieve similar with jetpack compose? If I had to make a third party tool to enable hot reloads, how would I proceed to make it? Is it possible?
java|kotlin|jvm|android-jetpack-compose|hot-reload
1
2022-05-24T06:41:22.060Z
2,022
5
6
1
186
1
314
138
5
0
false
false
false
false
false
false
low
72,358,271
can an app size be estimated before it is actually implemented?
<p>I come up with a question while I am developing an android app. I would like to know if there is a tool to estimate an app size before I really start implementing it. for example, the codes in network layer have been implemented with <code>OkHttp</code> networking library and the app size is currently 5MB. however, ...
I come up with a question while I am developing an android app. I would like to know if there is a tool to estimate an app size before I really start implementing it. for example, the codes in network layer have been implemented with OkHttp networking library and the app size is currently 5MB. however, I would like to ...
android
1
2022-05-24T06:42:46.910Z
2,022
5
6
1
34
0
691
63
1
0
false
true
false
false
false
false
low
72,358,310
Android - data is zero on physical device but not in emulator SKD 31
<p>On my emulator, result.getData() is NOT null. On my real device, result.getData() is NULL and doesn't jump into the iff branch. Why can that be? My Emulatro runs with SDK 31. My physical device has Android 12 with also SKD 31.</p> <pre><code> File file; if(Build.VERSION.SDK_INT&gt;=Build.VERSION_CODES.Q...
On my emulator, result.getData() is NOT null. On my real device, result.getData() is NULL and doesn't jump into the iff branch. Why can that be? My Emulatro runs with SDK 31. My physical device has Android 12 with also SKD 31. [CODE]
android|android-intent|android-camera|android-sdk-2.3
0
2022-05-24T06:47:05.437Z
2,022
5
6
1
12
0
233
68
4
1
true
true
false
false
false
false
zero
72,358,396
Showing soft keyboard when autofocusing on a text input does not work without user interaction
<p>I want to autofocus on a text field and show the soft keyboard when I load my page in the android system webview. Unfortunately, it appears that the soft keyboard never shows up unless I explicitly click a button that calls <code>input.focus()</code>.</p> <p>I'm using <code>androidx.webkit:webkit:1.4.0</code> and c...
I want to autofocus on a text field and show the soft keyboard when I load my page in the android system webview. Unfortunately, it appears that the soft keyboard never shows up unless I explicitly click a button that calls input.focus() . I'm using androidx.webkit:webkit:1.4.0 and can reproduce the issue on an emulato...
android|android-webview
0
2022-05-24T06:55:34.763Z
2,022
5
6
1
223
0
964
94
2
3
true
true
false
false
false
false
zero
72,358,404
How to accept and reject Incoming call using customized buttons in android 10?
<p>I'm using <code>ConnectionServices</code> but am unable to get how to accept and reject buttons work. Here am trying <code>ITelephony</code> services but as it is deprecated in <code>API level 29</code> it doesn't work. Suggest to me any good technique or example of call accept and reject function that works in andr...
I'm using ConnectionServices but am unable to get how to accept and reject buttons work. Here am trying ITelephony services but as it is deprecated in API level 29 it doesn't work. Suggest to me any good technique or example of call accept and reject function that works in android 10. Here is my customized activity cod...
android|kotlin|android-custom-view
2
2022-05-24T06:56:13.820Z
2,022
5
6
1
164
1
328
78
3
1
true
false
false
false
false
false
low
72,358,477
How to use multiple scopes in a @RestrictTo annotation
<p>I'm using @RestrictTo annotation to denote that a function should be used in only in subclasses or tests.</p> <p>To do that I use the following syntax:</p> <pre class="lang-kotlin prettyprint-override"><code> @RestrictTo(value = [SUBCLASSES, TESTS]) public override fun onCleared() { // Expose protecte...
I'm using @RestrictTo annotation to denote that a function should be used in only in subclasses or tests. To do that I use the following syntax: [CODE] At first it seemed to be working but my teammates reported Android Studio showing this warning: I could reproduce this after building the project again. This error goes...
android|android-studio|kotlin|annotations
0
2022-05-24T07:01:23.297Z
2,022
5
7
1
46
0
608
54
4
1
true
true
false
false
false
false
zero
72,358,596
Capture scroll events in android
<p>I'm developing an android book reading app and need the following - capture scroll events inside my SurfaceView (or the whole activity). The only way I could see those events working - listbox scrolling works without any modifications (i.e. controlled by system), but I need to capture those events myself and to hanl...
I'm developing an android book reading app and need the following - capture scroll events inside my SurfaceView (or the whole activity). The only way I could see those events working - listbox scrolling works without any modifications (i.e. controlled by system), but I need to capture those events myself and to hanle t...
android
0
2022-05-24T07:10:19.797Z
2,022
5
7
1
19
0
648
32
1
0
false
true
false
false
false
false
zero
72,358,686
How to create SharedFlow from 2 StateFlow?
<p>I have 2 state flows, and I would like to merge thease into 1 state flow. So, until the 2 data change, the viewModel doesn't call a specific function, with which update the shared flow.</p> <p>The problem is, when I open a dialog, and navigate back, the shared flow get a new value, probably because of the 2 state fl...
I have 2 state flows, and I would like to merge thease into 1 state flow. So, until the 2 data change, the viewModel doesn't call a specific function, with which update the shared flow. The problem is, when I open a dialog, and navigate back, the shared flow get a new value, probably because of the 2 state flows fire. ...
android|kotlin
0
2022-05-24T07:17:27.630Z
2,022
5
7
1
63
1
438
42
2
2
true
false
false
false
false
false
zero
72,358,729
changing theme issue in kotlin android
<p>here is the button where i want to change theme when swith button is checked</p> <pre><code>binding.themeSwitch.setOnCheckedChangeListener(CompoundButton.OnCheckedChangeListener { buttonView, isChecked -&gt; if (isChecked) { AppCompatDelegate.setDefaultNightMo...
here is the button where i want to change theme when swith button is checked [CODE] here are the functions where im storing and setting the theme when checked [CODE] the problem is code is not storing the preferences and not setting preferences when called
android|kotlin
0
2022-05-24T07:21:05.057Z
2,022
5
7
1
29
0
256
38
2
2
true
true
false
false
false
false
zero
72,358,843
SharedTest got warning "Duplicate content root detected" on Android Studio Chipmunk
<p>After upgrade to Android Studio Chipmunk, my test failed because I can't access file inside shared folder that defined in build.gradle like this.</p> <pre><code>sourceSets { androidTest.java.srcDirs += &quot;src/sharedTest/java&quot; test.java.srcDirs += &quot;src/sharedTest/java&quot; } </code></pre> <p>It ...
After upgrade to Android Studio Chipmunk, my test failed because I can't access file inside shared folder that defined in build.gradle like this. [CODE] It show warning pop up with message &quot;Duplicate content root detected&quot;. Path [sharedTest] of module [unitTest] was removed from modules [androidTest]. Anyone ...
android|source-sets|android-studio-chipmunk
10
2022-05-24T07:31:25.873Z
2,022
5
7
1
1,027
1
337
83
3
1
true
false
false
false
true
false
medium
72,358,850
Decompiled .class file, bytecode version: 52.0 (Java 8) Source for 'Android API 31 Platform' not found. Android
<p>The following message was displayed at the top of the screen while using Android Studio.</p> <p><a href="https://i.stack.imgur.com/P9qT8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P9qT8.png" alt="enter image description here" /></a></p> <p><a href="https://i.stack.imgur.com/dL8fg.png" rel="no...
The following message was displayed at the top of the screen while using Android Studio. When I selected Download , the following screen was displayed. The emulator function was able to start, but this error still remains. I don't know if it's a failure or an environment. It seems that there is no choice but to look at...
android
1
2022-05-24T07:31:55.980Z
2,022
5
7
1
108
0
583
111
1
0
false
true
false
false
false
false
low
72,358,917
Calendar.DAY_OF_WEEK is returning wrong week?
<p>Funny thing is that this Calendar is returning first day of the week as next Sunday which is completely illogical.</p> <p>So I made index conversion function to sort days. It worked for January, but as soon as I moved to February, out of nowhere, first week of the February is last week of January for some reason.</p...
Funny thing is that this Calendar is returning first day of the week as next Sunday which is completely illogical. So I made index conversion function to sort days. It worked for January, but as soon as I moved to February, out of nowhere, first week of the February is last week of January for some reason. So days are ...
android|android-calendar|android-date
0
2022-05-24T07:37:44.780Z
2,022
5
7
1
62
2
713
45
3
3
true
false
false
false
false
false
zero
72,359,064
error: Program type already present: android.support.v4.app.INotificationSideChannel when add com.google.android.gms
<p>I know it could look like This Question but I could not fix it with the solution proposed and I could not comment on it too. The Error is : After add</p> <p>implementation 'com.google.android.gms:play-services-mlkit-text-recognition:18.0.0'</p> <p>I face this error.</p> <blockquote> <p>Task :app:mergeDebugAssets AGP...
I know it could look like This Question but I could not fix it with the solution proposed and I could not comment on it too. The Error is : After add implementation 'com.google.android.gms:play-services-mlkit-text-recognition:18.0.0' I face this error. Task :app:mergeDebugAssets AGPBI: {&quot;kind&quot;:&quot;error&quo...
android|android-studio|gradle|android-gradle-plugin|androidx
0
2022-05-24T07:47:49.740Z
2,022
5
7
1
107
0
1,211
116
5
0
false
true
false
false
false
false
zero
72,359,140
Confusion on Room Auto Migration with NOT NULL column but no defalut value
<h1>Short Version</h1> <p>After updating Android-Room version from 2.2.x to 2.4.x, I decide to use auto-migration feature to help me write less code. So I want to deprecate all migration written manually and use auto-migration instead. But I have got an error when using auto-migration:</p> <pre class="lang-kotlin prett...
Short Version After updating Android-Room version from 2.2.x to 2.4.x, I decide to use auto-migration feature to help me write less code. So I want to deprecate all migration written manually and use auto-migration instead. But I have got an error when using auto-migration: [CODE] Even if I have specify default value b...
kotlin|android-sqlite|android-room
0
2022-05-24T07:53:07.273Z
2,022
5
7
1
513
2
1,635
74
3
10
true
false
false
false
false
false
zero
72,359,165
Why can't I launch viewModel() two times when I use Hilt as DI in an Android Studio project?
<p>I use <em>Hilt</em> as DI in an Android Studio project, and <code>viewModel()</code> will create an instance of <code>SoundViewModel</code> automatically.</p> <p>Code A works well.</p> <p>I think <code>viewModel()</code> will create an Singleton of <code>SoundViewModel</code>.</p> <p>I think <code>mViewMode_A</code...
I use Hilt as DI in an Android Studio project, and viewModel() will create an instance of SoundViewModel automatically. Code A works well. I think viewModel() will create an Singleton of SoundViewModel . I think mViewMode_A will be assigned to mViewMode_B automatically without creating a new instance in Code B. I think...
android|dagger-hilt
0
2022-05-24T07:55:17.273Z
2,022
5
7
1
170
1
511
92
2
3
true
false
false
false
false
false
zero
72,359,193
How to avoid views resizing in immersive mode?
<p>I'm using immersive mode when i click on &quot;play&quot; and show system bars again when pressing &quot;stop&quot;. I'm using these methods:</p> <pre><code>fun hideSystemUI(container: View) { WindowCompat.setDecorFitsSystemWindows(window, false) WindowInsetsControllerCompat(window, container).let { ...
I'm using immersive mode when i click on &quot;play&quot; and show system bars again when pressing &quot;stop&quot;. I'm using these methods: [CODE] But when i'm going in/out immersive mode my Views are resizing. It looks like my constraints resizing because of parent system bars is no longer on the screen. I tried to ...
android|insets
0
2022-05-24T07:57:06.603Z
2,022
5
7
1
40
1
683
46
2
2
true
false
false
false
false
false
zero
72,359,215
Issue adding "app:layout_behavior" in Constraint layout for collapsing toolbar
<p>I am facing one issue since past few days. Below is the issue details. I need to hide the top layout while scrolling the recyclerview, for that I am using &quot;app:layout_behavior&quot; in Coordinator layout with Collapisng toolbar.But after adding &quot;app:layout_behavior=&quot;@string/appbar_scrolling_view_behav...
I am facing one issue since past few days. Below is the issue details. I need to hide the top layout while scrolling the recyclerview, for that I am using &quot;app:layout_behavior&quot; in Coordinator layout with Collapisng toolbar.But after adding &quot;app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior...
android|android-layout|android-coordinatorlayout|android-collapsingtoolbarlayout|android-appbarlayout
1
2022-05-24T07:58:24.757Z
2,022
5
7
1
57
0
562
78
5
1
true
true
false
false
false
false
low
72,359,243
How to get data and show it to my Recyclerview?
<p>How to get the data under foods (product Name)?</p> <p>I can get the data (with the check icon). I want to get the data from the wrong icon.</p> <p><img src="https://i.stack.imgur.com/Zx40x.png" alt="enter image description here" /></p> <p>Here is my <code>MainActivity</code> code for database reference</p> <pre cla...
How to get the data under foods (product Name)? I can get the data (with the check icon). I want to get the data from the wrong icon. Here is my MainActivity code for database reference [CODE]
java|android|firebase|firebase-realtime-database|android-recyclerview
0
2022-05-24T08:00:05.120Z
2,022
5
8
1
51
1
192
47
5
1
true
false
false
false
false
false
zero
72,359,291
How update Progress Bar of dialog element in asyncTask?
<p>I'm currently searching how to update my progress bar which is located in my dialog window. I have already multiple post on this but I can't understand why my progress bar won't update.</p> <p>Here is my code :</p> <pre><code>public class Dataset1Fragment extends Fragment { private static final int APP_SMS_DEFAULT =...
I'm currently searching how to update my progress bar which is located in my dialog window. I have already multiple post on this but I can't understand why my progress bar won't update. Here is my code : [CODE] This is the part of fragment where I just called the progressBar And this part is my AsyncTask : [CODE] The t...
java|android|android-asynctask|android-progressbar
1
2022-05-24T08:04:38.567Z
2,022
5
8
1
24
0
459
55
4
2
true
true
false
false
false
false
low
72,359,340
Get Network connection warning in Android
<p>I am trying to programmatically detect, when an Android phone is triggering this &quot;warning&quot;, that the established internet connection currently seems to be unreachable (In this case: Edge / 2G), like this:</p> <p><a href="https://i.stack.imgur.com/Arc5u.jpg" rel="nofollow noreferrer"><img src="https://i.sta...
I am trying to programmatically detect, when an Android phone is triggering this &quot;warning&quot;, that the established internet connection currently seems to be unreachable (In this case: Edge / 2G), like this: Indeed when this warning appears, the internet cannot be accessed, without it, it works. What i am curren...
java|android|network-programming
4
2022-05-24T08:08:50.537Z
2,022
5
8
1
68
1
833
41
3
3
true
false
false
false
false
false
low
72,359,357
How to fit a Canvas-based game into a ViewModel/LiveData architecture?
<p>I'm slowly improving the architecture of a <a href="https://chris.boyle.name/projects/android-puzzles/" rel="nofollow noreferrer">puzzle collection</a> I maintain the Android port of. The game logic is in C, and drawing is accomplished via a <a href="https://developer.android.com/reference/android/graphics/Canvas" r...
I'm slowly improving the architecture of a puzzle collection I maintain the Android port of. The game logic is in C, and drawing is accomplished via a Canvas -like set of callbacks (draw line, fill circle etc). I'm very tempted to introduce data binding for much of the state like &quot;what extra buttons should be show...
android|architecture|android-canvas|android-viewmodel
0
2022-05-24T08:10:26.510Z
2,022
5
8
1
41
0
1,274
70
4
1
true
true
false
false
false
false
zero
72,359,387
Android app crashes on API equal or lower than 30
<p>My app crashes on API &lt;=30 but it is working fine on API &gt;30. Beneath I attach you my build.gradle file my .xml file and the error I get in console.</p> <p><strong>Build.gradle file:</strong></p> <pre><code>plugins { id 'com.android.application' } android { compileSdk 32 defaultConfig { a...
My app crashes on API <=30 but it is working fine on API >30. Beneath I attach you my build.gradle file my .xml file and the error I get in console. Build.gradle file: [CODE] In console I get the following error: [CODE] I suspect that it maybe is a compatibility issue with Constraint Layout so I also attach you my .xml...
java|android|android-studio|gradle|android-constraintlayout
1
2022-05-24T08:12:37.307Z
2,022
5
8
1
235
1
444
49
5
3
true
false
false
false
false
false
low
72,359,427
An API level of 32 is not supported by this compiler. Please use an API level of 30 or earlier
<blockquote> <p>Task :app:mergeProjectDexDebug AGPBI: {&quot;kind&quot;:&quot;warning&quot;,&quot;text&quot;:&quot;An API level of 32 is not supported by this compiler. Please use an API level of 30 or earlier&quot;,&quot;sources&quot;:[{}],&quot;tool&quot;:&quot;D8&quot;} An API level of 32 is not supported by this co...
Task :app:mergeProjectDexDebug AGPBI: {&quot;kind&quot;:&quot;warning&quot;,&quot;text&quot;:&quot;An API level of 32 is not supported by this compiler. Please use an API level of 30 or earlier&quot;,&quot;sources&quot;:[{}],&quot;tool&quot;:&quot;D8&quot;} An API level of 32 is not supported by this compiler. Please u...
android
1
2022-05-24T08:15:11.057Z
2,022
5
8
1
658
0
3,480
94
1
0
false
true
false
false
false
false
low
72,359,437
Download manger not able to download large files in android
<p>By large file i mean 8.5 MB and by small files I mean 80KB to 1MB.</p> <blockquote> <p>while download manager can download files up to 2GB</p> </blockquote> <p>The below code is able to download small files but not large one. For the large files it shows the downloading notification but then after some time shows 0k...
By large file i mean 8.5 MB and by small files I mean 80KB to 1MB. while download manager can download files up to 2GB The below code is able to download small files but not large one. For the large files it shows the downloading notification but then after some time shows 0kb/unknown (waiting for retry) in the notific...
android|server|backend|android-download-manager|kotlin-android
0
2022-05-24T08:15:41.100Z
2,022
5
8
1
133
1
1,591
59
5
1
true
false
false
false
false
false
zero
72,359,488
How to prevent other app open my app inside their app when sharing image in android?
<p>MyApp use intent-filter to receive image from other App, but when I share image from Telegram, Telegram open new instance of MyApp inside telegram app instead of reopen current instance of MyApp. So 2 instance of MyApp open at the same time. It's different when I share image from WhatsApp to MyApp. Quora App can pre...
MyApp use intent-filter to receive image from other App, but when I share image from Telegram, Telegram open new instance of MyApp inside telegram app instead of reopen current instance of MyApp. So 2 instance of MyApp open at the same time. It's different when I share image from WhatsApp to MyApp. Quora App can preven...
java|android|kotlin
0
2022-05-24T08:20:29.713Z
2,022
5
8
1
114
1
444
84
3
1
true
false
false
false
false
false
zero
72,359,500
Android Live Wallpaper's onTouchEvent triggers slowly after set to home screen
<p>I have a simple live wallpaper app that draws a background image and an icon on home screen, and the icon will follow finger's moving.</p> <p>When in wallpaper's preview UI, the icon works well and triggered in about ACTION_MOVE/0.1s. But after set to Home Screen, the icon moves slowly because ACTION_MOVE triggered ...
I have a simple live wallpaper app that draws a background image and an icon on home screen, and the icon will follow finger's moving. When in wallpaper's preview UI, the icon works well and triggered in about ACTION_MOVE/0.1s. But after set to Home Screen, the icon moves slowly because ACTION_MOVE triggered in about A...
android|touch-event|live|wallpaper
0
2022-05-24T08:21:11.333Z
2,022
5
8
1
50
0
513
78
4
3
true
true
false
false
false
false
zero
72,359,582
Stripe subscription in android
<p>How to integrate stripe subscription in android.we have to use payment intent check out method.but that type not able to subscription.so any one recommend exact way of doing this.</p>
How to integrate stripe subscription in android.we have to use payment intent check out method.but that type not able to subscription.so any one recommend exact way of doing this.
android|kotlin|stripe-payments|subscription
0
2022-05-24T08:26:47.180Z
2,022
5
8
1
51
0
179
30
4
0
false
true
false
false
false
false
zero
72,359,601
Not able to see dynamic elements
<p><a href="https://i.stack.imgur.com/49OKz.png" rel="nofollow noreferrer">Appium app source image</a></p> <p>Is there any way to expand the app source hierarchy? Dev mobile team already added the identifier for these options but its not visible in app source.</p>
Appium app source image Is there any way to expand the app source hierarchy? Dev mobile team already added the identifier for these options but its not visible in app source.
appium|appium-android|inspector
1
2022-05-24T08:28:04.580Z
2,022
5
8
1
40
0
174
32
3
0
false
true
false
false
false
false
low
72,359,774
Installing WatermelonDB from github gives "Unable to resolve module @nozbe/watermelondb/adapters/sqlite"
<p>I am trying to compile a hello-world react-native app that has <code>WatermelonDB</code> configured. I am following the instructions given <a href="https://blog.logrocket.com/offline-app-react-native-watermelondb/" rel="nofollow noreferrer">here</a> and <a href="https://nozbe.github.io/WatermelonDB/Installation.html...
I am trying to compile a hello-world react-native app that has WatermelonDB configured. I am following the instructions given here and and here to set up the project for Watermelon . I have found that if I install WatermelonDB using [CODE] the application launches correctly in android and iOS. But if I install from git...
android|react-native|watermelondb
0
2022-05-24T08:41:19.910Z
2,022
5
8
1
116
1
464
104
3
2
true
false
false
false
false
false
zero
72,359,836
Check if developer options is enabled in React-native
<p>I am developing a react-native web view app. For some reason, On Android. I don't want my users to allow inside the app if enable developer options are turned on. How can I achieve this?</p>
I am developing a react-native web view app. For some reason, On Android. I don't want my users to allow inside the app if enable developer options are turned on. How can I achieve this?
android|reactjs|react-native|webview|react-native-webview
-1
2022-05-24T08:46:24.980Z
2,022
5
8
1
212
1
186
53
5
0
false
false
false
false
false
true
negative
72,359,838
OracleJet : Cannot build the app with platform Android?
<p>Yesterday , I built my OracleJet app with platform android but I got this error :</p> <pre><code> &gt; npx @oracle/ojet-cli@8.0.0 serve android --device </code></pre> <pre><code> Task index.html theme path injection finished. Injecting index.html with cordova script. Error: TypeError [ERR_INVALID_ARG_T...
Yesterday , I built my OracleJet app with platform android but I got this error : [CODE] [CODE] What I tried : Remove node_modules folder and run nmp install Upgrade node to latest version 18.2.0 but with no success OracleJet version : 8.0.0 Cordova version :11.0.0 package.json : [CODE] } index.html : [CODE] On folder ...
android|cordova|gradle|oracle-jet
0
2022-05-24T08:46:41.560Z
2,022
5
8
1
162
1
412
55
4
6
true
false
false
false
false
false
zero
72,359,854
Check user registered on firebase authentication page while using Google Login?
<p>I have an android app which is using Google login only currently.</p> <p>I want to check that user is registered on <code>Firebase Console Authentication Page</code>. My Google login works perfectly.</p> <p>When clicking <code>google sign in button</code> and all the device Google accounts are listed and user choose...
I have an android app which is using Google login only currently. I want to check that user is registered on Firebase Console Authentication Page . My Google login works perfectly. When clicking google sign in button and all the device Google accounts are listed and user chooses one of them then I have to check that ac...
java|android|firebase|firebase-authentication|firebase-console
0
2022-05-24T08:48:09.867Z
2,022
5
8
1
8
0
1,009
79
5
3
true
true
false
false
false
false
zero
72,360,017
Having trouble displaying the image with Picasso from JSON server in Android Studio
<p>I made a JSON server and host it on localhost (localhost:3000/persons). This is my JSON:</p> <pre><code>[ { &quot;id&quot;: 0, &quot;name&quot;: &quot;Nikola&quot;, &quot;surname&quot;: &quot;Knezevic&quot;, &quot;image&quot;: &quot;/home/nikola/Public/CS330-Slike/bmw/bmw_neki_random_orange.png&quo...
I made a JSON server and host it on localhost (localhost:3000/persons). This is my JSON: [CODE] I put my image in the Public folder and enabled Sharing over Network. I set logging for Picasso and it says this: [CODE] However, when I replace the image URL to [CODE] It works perfectly and the image displays. My question ...
json|android-studio|picasso
0
2022-05-24T08:59:22.343Z
2,022
5
8
1
9
0
413
83
3
3
true
true
false
false
false
false
zero
72,360,088
Flutter FormatException: Unexpected character
<pre><code>[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: FormatException: Unexpected character (at character 1) E/flutter ( 8242): Failed E/flutter ( 8242): ^ E/flutter ( 8242): E/flutter ( 8242): #0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405:5) E/flutter ( 8242): #1 ...
[CODE] The API is working better in Postman it is giving very good response in the form of JSON.But here in flutter it is giving error like this. [CODE]
flutter|flutter-layout|flutter-dependencies|flutter-android
0
2022-05-24T09:04:29.620Z
2,022
5
9
1
465
0
152
45
4
2
true
true
false
false
false
false
zero
72,360,106
SavedStateHandle doesn't contain navigation arguments
<p>I'm trying to inject <code>SavedStateHandle</code>. I am using Koin, Jetpack Compose and Navigation. I've managed to make it work, but I think it's not the right instance (I don't get my values).</p> <p>This is what I do so far:</p> <p>Setting the argument:</p> <pre><code>private fun NavGraphBuilder.addDetails( ...
I'm trying to inject SavedStateHandle . I am using Koin, Jetpack Compose and Navigation. I've managed to make it work, but I think it's not the right instance (I don't get my values). This is what I do so far: Setting the argument: [CODE] Defining my ViewModel: [CODE] Defining my composable: [CODE] And my modules: [COD...
android-jetpack-compose|android-lifecycle|koin
1
2022-05-24T09:05:44.097Z
2,022
5
9
1
460
0
405
53
3
4
true
true
false
false
false
false
low
72,360,149
How can the Android OS identify AndroidX fragments if they are obfuscated?
<p>I am doing a reverse-engineering work related to Android fragments. I found out in many apks (decompiled with <a href="https://ibotpeaches.github.io/Apktool/" rel="nofollow noreferrer">apktool</a>, <a href="https://github.com/pxb1988/dex2jar" rel="nofollow noreferrer">dexToJar</a>, ...), the <code>androidx.fragment....
I am doing a reverse-engineering work related to Android fragments. I found out in many apks (decompiled with apktool , dexToJar , ...), the androidx.fragment.app.Fragment class is obfuscated. In most of the cases the class members are obfuscated, while in some minor cases, the class name is even obfuscated. I am wonde...
android|android-fragments|obfuscation|androidx|android-obfuscation
0
2022-05-24T09:08:15.053Z
2,022
5
9
1
15
0
413
74
5
0
false
true
false
false
false
false
zero
72,360,172
How to prevent head-up notification from dismissing when it is clicked in Android 6?
<p>As i wrote in the title of this question, how can i prevent head-up notification from dismissing when it's clicked? this only happens on Android 6 Mashmellow(API 23).</p> <p>If i click the head-up notification, it's cleared and also i can't see it in the status bar where time and notification are. but if i swipe it ...
As i wrote in the title of this question, how can i prevent head-up notification from dismissing when it's clicked? this only happens on Android 6 Mashmellow(API 23). If i click the head-up notification, it's cleared and also i can't see it in the status bar where time and notification are. but if i swipe it out, the h...
android|push-notification|android-notifications|android-notification-bar
0
2022-05-24T09:10:03.213Z
2,022
5
9
1
44
0
592
84
4
1
true
true
false
false
false
false
zero
72,360,215
How to make the error title and stacktrace in firebase crashlytics readable?
<p>For my Flutter Android app, error title and stacktrace of some of the error reports are not readable as the following. Especially non fatal errors that are automatically reported.</p> <p><a href="https://i.stack.imgur.com/7QA01.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7QA01.png" alt="Unread...
For my Flutter Android app, error title and stacktrace of some of the error reports are not readable as the following. Especially non fatal errors that are automatically reported. In contrast, the stacktrace of the error reports that are manually reported using FirebaseCrashlytics.instance.recordFlutterError method and...
android|firebase|flutter|crashlytics|deobfuscation
0
2022-05-24T09:12:26.660Z
2,022
5
9
1
231
1
407
76
5
1
true
false
false
false
false
false
zero
72,360,299
Ktor Client XML: Serialize Object Properties as XML Children
<p>Is it possible to settup Ktor Client to Serialize Object Properties as XML Children?</p> <pre><code>&lt;PersonDTOXML&gt; &lt;id&gt;1&lt;/id&gt; &lt;name&gt;John&lt;/name&gt; &lt;age&gt;20&lt;/age&gt; &lt;/PersonDTOXML&gt; </code></pre> <p>By default, Object Properties are serialized as XML Attributes.</p> <pre...
Is it possible to settup Ktor Client to Serialize Object Properties as XML Children? [CODE] By default, Object Properties are serialized as XML Attributes. [CODE] I was following tutorials at https://ktor.io/docs/serialization-client.html#receive_send_data [CODE]
android|ktor
0
2022-05-24T09:18:19.717Z
2,022
5
9
1
114
1
263
60
2
3
true
false
false
false
false
false
zero
72,360,304
Icons are not visible in navigation drawer
<p><a href="https://i.stack.imgur.com/aUwhg.png" rel="nofollow noreferrer">enter image description here</a>While designing the main navigation for an app, the icons are not visible. The tint is black default and is not getting changed.</p> <p>Here is my code</p> <pre class="lang-xml prettyprint-override"><code>&lt;incl...
enter image description here While designing the main navigation for an app, the icons are not visible. The tint is black default and is not getting changed. Here is my code [CODE] When I code like this the icons are visible [CODE]
java|android|xml
0
2022-05-24T09:18:37.487Z
2,022
5
9
1
35
1
231
42
3
2
true
false
false
false
false
false
zero
72,360,337
how to emit value from built flow object
<p>My question is that how we can emit a value from a built flow object like this:</p> <pre><code>class Sample { var flow: Flow&lt;Object&gt; = null fun sendRequest(){ flow = flow{} requestWrapper.flowResponse = flow } fun getResponse(){ // I want to emit data here with built flo...
My question is that how we can emit a value from a built flow object like this: [CODE] is any possible solution for this issue?
android|kotlin|kotlin-coroutines|kotlin-flow|kotlin-sharedflow
0
2022-05-24T09:20:35.107Z
2,022
5
9
1
128
1
127
40
5
1
true
false
false
false
false
false
zero
72,360,355
Generate custom google cast notification
<p>I want to run a program on my Computer that makes a Cast notification appear on my device, just like the Chromecast does: <a href="https://i.stack.imgur.com/t1XBi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t1XBi.png" alt="Cast notification" /></a></p> <p>So far, I know that the chromecast API...
I want to run a program on my Computer that makes a Cast notification appear on my device, just like the Chromecast does: So far, I know that the chromecast API is authenticated, but I have an XPosed module installed that should circumvent that. My question is: Are there any other products or protocols build into Andro...
android|push-notification|notifications|media|chromecast
0
2022-05-24T09:21:50.310Z
2,022
5
9
1
32
0
474
40
5
0
false
true
false
false
false
false
zero
72,360,400
How to drag listitem on another listitem and make it expandable list?
<p><a href="https://i.stack.imgur.com/YZ0nZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YZ0nZ.png" alt="enter image description here" /></a>I have a task of dragable listview but requirement is little bit change, i have a listview which is dragable but i need some customization that if i drag a ...
I have a task of dragable listview but requirement is little bit change, i have a listview which is dragable but i need some customization that if i drag a listitem on another listitem it will create a expandable view for example: Listitem1 drag on Listitem2 now listitem2 will become the expandable listview but this ex...
android|kotlin|drag-and-drop|nestedrecyclerview|expandablerecyclerview
0
2022-05-24T09:24:28.490Z
2,022
5
9
1
29
0
474
69
5
0
false
true
false
false
false
false
zero
72,360,402
Process some background logic across multiple Activity
<p><br>I have some question during build some Application with Kotlin.</p> <p>What I want to achieve is preserve my background task during change activities. <br>Below is the description.</p> <pre><code>--Launcher Activity A--- &gt; Trigger some essential logic for activity (execute 3rd party library or Network reque...
I have some question during build some Application with Kotlin. What I want to achieve is preserve my background task during change activities. Below is the description. [CODE] What I thought is, write a logic at Application Component with Flow or LiveData, and then collect or observe the result from Activities. But......
android|android-livedata|android-workmanager|background-task
0
2022-05-24T09:24:36.100Z
2,022
5
9
1
33
0
610
54
4
1
true
true
false
false
false
false
zero
72,360,439
The relevant error-causing widget was: FutureBuilder
<pre><code>class SearchBar extends SearchDelegate { final TumUrunlerDeneme _tumUrunlerDeneme = TumUrunlerDeneme(); @override List&lt;Widget&gt; buildActions(BuildContext context) { return [ IconButton( onPressed: () { query = ''; }, icon: const Icon(Icons.close...
[CODE] [CODE] [CODE] The relevant error-causing widget was: FutureBuilder<List> FutureBuilder:file:///C:/Users/musta/AndroidStudioProjects/marmara_ziraat/lib/Pages/search.dart:43:12 When the exception was thrown, this was the stack: #0 SearchBar.buildResults. (package:marmara_ziraat/Pages/search.dart:51:53) I want to m...
android|ios|json|flutter|api
0
2022-05-24T09:26:45.253Z
2,022
5
9
1
51
0
449
52
5
3
true
true
false
false
false
false
zero
72,360,469
How to know the time between recycler view starting to render the first item to render the last item
<p>I have a task where I need to calculate how long did it actually take to render the whole of a listView. for example, first item starts being rendered at 10:00:00 and when the recycler view is ready it would have been 10:01:00. Even if its only few items rendered on screen, I'm ok with knowing only time taken for th...
I have a task where I need to calculate how long did it actually take to render the whole of a listView. for example, first item starts being rendered at 10:00:00 and when the recycler view is ready it would have been 10:01:00. Even if its only few items rendered on screen, I'm ok with knowing only time taken for these...
android|android-recyclerview|android-listadapter
0
2022-05-24T09:29:04.807Z
2,022
5
9
1
40
0
364
100
3
0
false
true
false
false
false
false
zero
72,360,560
Why sdkmanager does not contain cmake 3.19 and above?
<p>I need to update my project from NDK 21.4 to NDK 23.1. Upon the update, I face this error</p> <pre><code>C/C++: /usr/bin/ld.gold: fatal error: /usr/local/android-sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtbegin_so.o: unsupported ELF machine number 183 C/C++...
I need to update my project from NDK 21.4 to NDK 23.1. Upon the update, I face this error [CODE] I change cmake version from 3.10.2 and 3.18.1 but still have similar error. I then change cmake version to 3.22.2. Now the above error goes away. However, cmake 3.22.2 is not shipped with sdkmanager . Therefore, other devel...
cmake|android-ndk|android-sdk-manager
0
2022-05-24T09:36:02.773Z
2,022
5
9
1
60
0
634
53
3
1
true
true
false
false
false
false
zero
72,360,577
Store WiFi network credentials after calling requestNetwork in Android
<p>I'm connecting to a WiFi hotspot using:</p> <pre><code>val wifiNetworkSpecifier: WifiNetworkSpecifier = WifiNetworkSpecifier.Builder() .setSsid(ssid) .setWpa2Passphrase(passphrase) .build() val networkRequest: NetworkRequest = NetworkRequest.Builder() .addTransportType(NetworkCapabilities.TRANSPORT_...
I'm connecting to a WiFi hotspot using: [CODE] I'd like to store the credentials, so the user would be able to connect to it also by selecting the hotspot from the list of SSIDs (from the system's WiFi menu). I've searched alot, looked into the developer docs, but found nothing helpful. Thank you for any advice! UPDATE...
android
0
2022-05-24T09:36:50.380Z
2,022
5
9
1
17
0
550
70
1
1
true
true
false
false
false
false
zero
72,360,600
Nested RecyclerView load second item with lag
<p>I'm trying to make <code>Recyclerview</code> like Shareit app. It uses sticky header and something like <code>Cardview</code>. I searched and found somethings for implementing sticky header with itemdecoration and it's okay. But for <code>Cardview</code> part, I tried to make nested <code>Recyclerview</code> but per...
I'm trying to make Recyclerview like Shareit app. It uses sticky header and something like Cardview . I searched and found somethings for implementing sticky header with itemdecoration and it's okay. But for Cardview part, I tried to make nested Recyclerview but performance was so bad, Because using two vertical Recycl...
java|android|android-recyclerview|nestedrecyclerview|item-decoration
0
2022-05-24T09:38:11.733Z
2,022
5
9
1
163
2
1,245
45
5
2
true
false
false
false
false
false
zero
72,360,620
Illegal char <:> at index 40: com.recognize.app-mergeDebugResources-33:/values/values.xml)
<p>I can't compile my app because of this error</p> <pre><code>com.android.aaptcompiler.ResourceCompilationException: Resource compilation failed (Failed to compile values resource file C:\Users\hesam\AndroidStudioProjects\RecognizeProject\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\...
I can't compile my app because of this error [CODE] and I don't know what's going on... build.gradle (module) [CODE] build.gradle (project) [CODE] I don't know what other information I should put here. Is it possible that it's because of some library? I recently added this library (build works before adding this lib bu...
java|android|gradle|build.gradle|aapt
9
2022-05-24T09:39:44.137Z
2,022
5
9
1
1,410
1
497
90
5
3
true
false
false
false
false
false
medium