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
73,045,323
Is there any way to prevent the bottom navigation bar from moving during rotation?
<p>Im trying to get my bottom navigation bar to be fixed on a side of the screen. Let me use pictures to help you understand what I am hoping to achieve.</p> <p><a href="https://i.stack.imgur.com/AHUX8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AHUX8.png" alt="How the navigation bar looks when i...
Im trying to get my bottom navigation bar to be fixed on a side of the screen. Let me use pictures to help you understand what I am hoping to achieve. As you can see, I am trying to achieve the navigation bar to stay in its same position (i.e. top when in portrait but changed to left in landscape), and the icon buttons...
android|kotlin|bottomnavigationview|android-bottomnav|android-bottomnavigationview
1
2022-07-20T02:20:55.383Z
2,022
7
2
2
47
1
494
82
5
1
true
false
false
false
false
false
low
73,045,330
How to change BrowseTree when using andoid MediaSession?
<p>I want to develop an android music player using MesiaSession, the music come from multi sources, such as local and remote and other.</p> <p>I want to build BrowserTree for every source. But the problem is one MesiaSession can only link with one BrowseTree, it means that I can`t change source in one MesiaSession easi...
I want to develop an android music player using MesiaSession, the music come from multi sources, such as local and remote and other. I want to build BrowserTree for every source. But the problem is one MesiaSession can only link with one BrowseTree, it means that I can`t change source in one MesiaSession easily. How to...
android|android-mediaplayer|android-music-player|android-mediasession
0
2022-07-20T02:22:53.540Z
2,022
7
2
2
12
0
370
56
4
0
false
true
false
false
false
false
zero
73,045,409
"ENOENT: no such file or directory" when building Android project in AWS CodeBuild and sending artifact to Visual Studio AppCenter
<p>I have an android project that i build with AWS CodeBuild. The project is built successfully, the .apk is stored in s3 bucket with no problem. Now, I'm also trying to upload that .apk to Visual Studio App Center, but when i run the CodeBuild project, I get this error</p> <pre><code>Error: Command 'distribute release...
I have an android project that i build with AWS CodeBuild. The project is built successfully, the .apk is stored in s3 bucket with no problem. Now, I'm also trying to upload that .apk to Visual Studio App Center, but when i run the CodeBuild project, I get this error [CODE] Here is my buildspec.yml [CODE] Now, you migh...
android|amazon-web-services|aws-codebuild|visual-studio-app-center
0
2022-07-20T02:39:47.037Z
2,022
7
2
2
40
0
755
130
4
2
true
true
false
false
false
false
zero
73,045,434
This method 'Scaffold' isn't defined for the type 'MyApp'
<p>I have reinstalled the flutter and Android Studio to my device and after that Scaffold widget is not working. It says &quot;This method 'Scaffold' isn't defined for the type 'MyApp' &quot;</p>
I have reinstalled the flutter and Android Studio to my device and after that Scaffold widget is not working. It says &quot;This method 'Scaffold' isn't defined for the type 'MyApp' &quot;
flutter|android-studio|dart
-3
2022-07-20T02:43:43.220Z
2,022
7
2
2
61
1
188
57
3
0
false
false
false
false
false
true
negative
73,045,545
How to change OncreateOptionsMenu top and bottom color in android studio?
<p>I have a OncreateOptionsMenu where I can change test color and background but not able to change top and bottom grey color into blue color in the below image. Any suggestions and solutions are welocme.</p> <p><strong>Image:</strong></p> <p><a href="https://i.stack.imgur.com/H2tdb.jpg" rel="nofollow noreferrer"><img ...
I have a OncreateOptionsMenu where I can change test color and background but not able to change top and bottom grey color into blue color in the below image. Any suggestions and solutions are welocme. Image: Theme: [CODE]
android|android-studio
0
2022-07-20T03:06:10.513Z
2,022
7
3
2
32
1
222
73
2
1
true
false
false
false
false
false
zero
73,045,549
How to cancel progress bar of Main Activity when moving to a Fragment?
<p>I show a spinning progress bar before beginning a fragment. The run debugger shows that it is still running after the fragment is running and functioning.</p> <p>Is there a proper way to end it? I simply want the user to know that something is happening while they wait (network connections, etc).</p> <p>To expand a ...
I show a spinning progress bar before beginning a fragment. The run debugger shows that it is still running after the fragment is running and functioning. Is there a proper way to end it? I simply want the user to know that something is happening while they wait (network connections, etc). To expand a bit, the run moni...
android|xml|kotlin|progress-bar
0
2022-07-20T03:07:21.883Z
2,022
7
3
2
70
2
620
70
4
2
true
false
false
false
false
false
zero
73,045,588
Why do I get the error "The style on this component requires your app theme to be Theme.AppCompat" when I use MaterialAlertDialogBuilder
<p>I use Android Studio wizard <em>&quot;Empty Compose Activity&quot;</em> just like Image A to create a blank project just Code A, and I add a function <code>MaterialAlertDialogBuilder</code> to hope to show a dialog.</p> <p>But I get the error <em>&quot;The style on this component requires your app theme to be Theme....
I use Android Studio wizard &quot;Empty Compose Activity&quot; just like Image A to create a blank project just Code A, and I add a function MaterialAlertDialogBuilder to hope to show a dialog. But I get the error &quot;The style on this component requires your app theme to be Theme.AppCompat&quot; , you can see the de...
android|material-components-android
0
2022-07-20T03:14:59.520Z
2,022
7
3
2
145
0
403
136
2
2
true
true
false
false
false
false
zero
73,045,600
How to stop PdfDocument.writeTo() function upon user's request
<p>I am using the following code to create a PDF document using Android <code>PdfDocument</code> and write to a file. The <code>createDocument()</code> function is called in a non-Ui thread (using <code>AsyncTask</code>), and the user can request to stop this operation (facilitated through <code>shouldStop()</code>).</...
I am using the following code to create a PDF document using Android PdfDocument and write to a file. The createDocument() function is called in a non-Ui thread (using AsyncTask ), and the user can request to stop this operation (facilitated through shouldStop() ). When there are many pages, doc.writeTo(out) takes a co...
android|pdf|pdfdocument
0
2022-07-20T03:17:23.230Z
2,022
7
3
2
24
1
626
62
3
1
true
false
false
false
false
false
zero
73,045,737
why is it returning null when reading firebase data
<p>I am reading some data from Firebase's real-time database. I want to read the data and then display it in a recycleView. When I enter debug mode it is reading the data and saving it to a local variable, but for some reason, it is returning null when it is being call by the recycleView adapter. I have some data that ...
I am reading some data from Firebase's real-time database. I want to read the data and then display it in a recycleView. When I enter debug mode it is reading the data and saving it to a local variable, but for some reason, it is returning null when it is being call by the recycleView adapter. I have some data that I a...
android|firebase|firebase-realtime-database
0
2022-07-20T03:40:52.040Z
2,022
7
3
2
11
0
595
51
3
2
true
true
false
false
false
false
zero
73,045,767
Data class being used by other classes as parameter
<p>I want to use data classes to store user input and computed results. Then convert the data classes to Entity and update the data base.</p> <p>The problem is I'm not clear on the best practices for using data classes.</p> <p>I have read the documentation : <a href="https://kotlinlang.org/docs/data-classes.html" rel=...
I want to use data classes to store user input and computed results. Then convert the data classes to Entity and update the data base. The problem is I'm not clear on the best practices for using data classes. I have read the documentation : https://kotlinlang.org/docs/data-classes.html along with other sources. Howeve...
java|android|kotlin|android-room|data-class
0
2022-07-20T03:46:35.140Z
2,022
7
3
2
91
2
1,226
51
5
1
true
false
false
false
false
false
zero
73,045,780
Is there a better way to wrap bottom sheet height for ModalBottomSheetLayout/BottomSheetScaffold
<p>My solution works, but sometimes when switching between boxes using <code>openSheet()</code> height of content cannot be calculated in time and it's jumps when opens.</p> <p>Working solution using <code>ModalBottomSheetLayout</code>:</p> <pre><code>val sheetState = rememberModalBottomSheetState(ModalBottomSheetValue...
My solution works, but sometimes when switching between boxes using openSheet() height of content cannot be calculated in time and it's jumps when opens. Working solution using ModalBottomSheetLayout : [CODE] Maybe there is a better way to solve this problem?
android-jetpack-compose|material-components-android
0
2022-07-20T03:48:09.743Z
2,022
7
3
2
172
0
259
96
2
1
true
true
false
false
false
false
zero
73,045,795
Is the MANAGE_EXTERNAL_STORAGE permission allowed for file sharing apps
<p>I need some clarifications regarding the usage of the All Files Access(MANAGE_EXTERNAL_STORAGE) permission. Is this allowed for file sharing apps where the user browse directories to select files in other to send? According to the new storage policy,with SAF,the system file picker can't be used to grant access to th...
I need some clarifications regarding the usage of the All Files Access(MANAGE_EXTERNAL_STORAGE) permission. Is this allowed for file sharing apps where the user browse directories to select files in other to send? According to the new storage policy,with SAF,the system file picker can't be used to grant access to the r...
android|android-permissions|storage-access-framework
0
2022-07-20T03:50:43.240Z
2,022
7
3
2
102
0
774
71
3
0
false
true
false
false
false
false
zero
73,045,802
Your app has been rejected and wasn't published due to this policy issue. (Google Play Console)
<p>I've uploaded an ecommerce app to Play Store. But my app was rejected due to following reasons:-<br><br> We found the following issue(s) with your app:<br><br> Eligibility Issue<br><br> During testing we experienced stability issues with your app and were unable to successfully evaluate it for policy compliance. Ple...
I've uploaded an ecommerce app to Play Store. But my app was rejected due to following reasons:- We found the following issue(s) with your app: Eligibility Issue During testing we experienced stability issues with your app and were unable to successfully evaluate it for policy compliance. Please make sure your app beha...
android
-1
2022-07-20T03:51:55.647Z
2,022
7
3
2
189
1
2,875
95
1
0
false
false
false
false
false
true
negative
73,045,899
flutter error: Execution failed for task ':app:compileFlutterBuildDebug'
<p>who can help me with this error that I have been trying to solve for almost 2 days and I have not been able to.</p> <p><a href="https://i.stack.imgur.com/n0lx1.png" rel="nofollow noreferrer">Image 1</a></p> <p><a href="https://i.stack.imgur.com/LYpHu.png" rel="nofollow noreferrer">Image 2</a></p> <p>I have done seve...
who can help me with this error that I have been trying to solve for almost 2 days and I have not been able to. Image 1 Image 2 I have done several things, removed flutter and reinstalled it, flutter clean and flutter pub get and tried to update all the dependencies but nothing has worked, what do you think it could be...
android|flutter|kotlin|mobile
0
2022-07-20T04:08:47.797Z
2,022
7
4
2
60
2
353
72
4
0
false
false
false
false
false
false
zero
73,045,965
How to write and constantly update a text file in Android
<p>I have a camera that I am grabbing values pixel-wise and I'd like to write them to a text file. The newest updates for Android 12 requires me to use storage access framework, but the problem is that it isn't dynamic and I need to keep choosing files directory. So, this approach it succesfully creates my files but wh...
I have a camera that I am grabbing values pixel-wise and I'd like to write them to a text file. The newest updates for Android 12 requires me to use storage access framework, but the problem is that it isn't dynamic and I need to keep choosing files directory. So, this approach it succesfully creates my files but when ...
java|android|fileoutputstream
1
2022-07-20T04:21:16.087Z
2,022
7
4
2
103
1
906
57
3
1
true
false
false
false
false
false
low
73,045,983
Showing DialogFragment from RecyclerView in Kotlin
<p>I have a DialogFragment that I want to show when clicking on an item inside a Recycler View. Here are my files:</p> <p>DialogFragment.kt:</p> <pre><code>class TaskDialogFragment:DialogFragment() { override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceSta...
I have a DialogFragment that I want to show when clicking on an item inside a Recycler View. Here are my files: DialogFragment.kt: [CODE] RecyclerViewAdapter.kt: [CODE] I have tried following the steps shown here https://developer.android.com/guide/fragments/dialogs but I get an error saying Unresolved Reference: suppo...
java|android|kotlin|android-recyclerview|android-dialogfragment
0
2022-07-20T04:24:19.360Z
2,022
7
4
2
32
0
423
50
5
2
true
true
false
false
false
false
zero
73,046,007
Asus ROG 5s Pro [Android Studio Skin]
<p>This is my first time posting on this forum, so forgive me if my layout is incorrect. I am beginning to learn development for Android devices and was hoping to develop using the same device specs as my own phone. However, I have been unable to find any skins for the Asus ROG 5s Pro device, and my attempts at making ...
This is my first time posting on this forum, so forgive me if my layout is incorrect. I am beginning to learn development for Android devices and was hoping to develop using the same device specs as my own phone. However, I have been unable to find any skins for the Asus ROG 5s Pro device, and my attempts at making the...
android|android-studio|skin|skinning|asus
0
2022-07-20T04:28:48.740Z
2,022
7
4
2
35
0
446
37
5
0
false
true
false
false
false
false
zero
73,046,182
Making a game made by java better
<p>My son made a game using ecolapse(java) how can he make an app Do i only have to load android plat form Do i have to do the game again or just copy and past the code on the android platform? Thanks</p>
My son made a game using ecolapse(java) how can he make an app Do i only have to load android plat form Do i have to do the game again or just copy and past the code on the android platform? Thanks
java|android|platform
0
2022-07-20T04:56:53.570Z
2,022
7
4
2
32
0
197
33
3
0
false
true
false
false
false
false
zero
73,046,239
How can I put a video in ionic with mediaCapture?
<p>In the app I get this error Object: object, After recording the video when giving it ready to be displayed on the screen I get that error.</p> <p>VideoPage.HTML</p> <pre><code>&lt;ion-header&gt; &lt;ion-toolbar color=&quot;primary&quot;&gt; &lt;ion-title&gt;Subir Video&lt;/ion-title&gt; &lt;ion-buttons slo...
In the app I get this error Object: object, After recording the video when giving it ready to be displayed on the screen I get that error. VideoPage.HTML [CODE] Declaration of Variables media folder... I put it before the @component and files[] before the constructor [CODE] my recordVideo in videoPage.ts I use this met...
android|ionic-framework|video|ionic5|mediacapture
0
2022-07-20T05:07:29.287Z
2,022
7
5
2
19
0
610
49
5
6
true
true
false
false
false
false
zero
73,046,316
Is it possible to customize the snap behavior of `ViewPager2`?
<p>I need to emulate the behavior of Instagram's Reels which scrolls to the next or previous page when the current page is scrolled more than 50% upwards or downwards respectively and the finger goes up. <code>ViewPager2</code>'s default behavior isn't satisfactory for this and I don't think I can change it without cha...
I need to emulate the behavior of Instagram's Reels which scrolls to the next or previous page when the current page is scrolled more than 50% upwards or downwards respectively and the finger goes up. ViewPager2 's default behavior isn't satisfactory for this and I don't think I can change it without changing the Pager...
android
0
2022-07-20T05:19:54.570Z
2,022
7
5
2
22
0
433
62
1
0
false
true
false
false
false
false
zero
73,046,331
How to create a single instance of shared preferences which can be used in full project in flutter
<p>Whenever we have to use shared preferences we have to create an instance of it.</p> <p>In flutter creating an instance of shared preference is asynchronous;</p> <p><code>final prefs = await SharedPreferences.getInstance();</code></p> <p>we have to create its instance always whenever we have to use it like above.</p>...
Whenever we have to use shared preferences we have to create an instance of it. In flutter creating an instance of shared preference is asynchronous; final prefs = await SharedPreferences.getInstance(); we have to create its instance always whenever we have to use it like above. Is there a way to create a single instan...
android|flutter|dart|sharedpreferences|single-instance
4
2022-07-20T05:22:03.420Z
2,022
7
5
2
176
4
460
98
5
0
false
false
false
false
false
false
low
73,046,348
different between using statemangement ex:Bloc and Router, navigator.pop().....?
<p>what is the difference between using state management ex:Bloc and built in (Router) class with navigator.pop() and navigator.push().what is the exact use of blocs and when to use it?</p>
what is the difference between using state management ex:Bloc and built in (Router) class with navigator.pop() and navigator.push().what is the exact use of blocs and when to use it?
android|ios|flutter|dart|flutter-layout
-1
2022-07-20T05:24:50.160Z
2,022
7
5
2
27
1
182
80
5
0
false
false
false
false
false
true
negative
73,046,350
How to retrieve previous audio volume while the current volume is muted?
<p>By using the following code we can mute the music playback: <code>audioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC,AudioManager.ADJUST_MUTE,0);</code></p> <p>And after that when we try to retrieve the volume: <code>audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);</code> it returns <strong>0</strong>...
By using the following code we can mute the music playback: audioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC,AudioManager.ADJUST_MUTE,0); And after that when we try to retrieve the volume: audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); it returns 0 Is there a way to find what the volume would be afte...
java|android
0
2022-07-20T05:24:59.587Z
2,022
7
5
2
38
1
722
72
2
0
false
false
false
false
false
false
zero
73,046,410
Webview gives error while leaving from my app js error
<p>Hey stackoverflow I am redirecting user to Webview from my app the redirection url is host on my server which is working fine on my device but in my testing its not working for some other devices. Error which i found from logcat is :</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" da...
Hey stackoverflow I am redirecting user to Webview from my app the redirection url is host on my server which is working fine on my device but in my testing its not working for some other devices. Error which i found from logcat is : [CODE] My webview function is : [CODE] Please help me to resolve this error thanks in ...
javascript|android|kotlin|webview
1
2022-07-20T05:34:14.050Z
2,022
7
5
2
19
0
327
54
4
2
true
true
false
false
false
false
low
73,046,623
PlayStore App download size shows wrong comparing to play console
<p>PlayStore app size shows more than the play console app download size.</p> <p>Recently we released our new version to PlayStore showing 39MB size but in the play console, I have checked all my last 4 releases including this new release showing the app download size is 19MB only but in PlayStore it's showing more. No...
PlayStore app size shows more than the play console app download size. Recently we released our new version to PlayStore showing 39MB size but in the play console, I have checked all my last 4 releases including this new release showing the app download size is 19MB only but in PlayStore it's showing more. Not sure wha...
android|flutter|google-play|android-app-bundle
1
2022-07-20T06:01:44.750Z
2,022
7
6
2
36
1
337
65
4
0
false
false
false
false
false
false
low
73,046,769
Getting file access permission in a folder in Android 11/12
<p>My app will read and write .db and .txt files in a directory in Downloads.</p> <p>I already select and request that folder access permission like this:</p> <pre><code>Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); startActivityForResult(intent, REQUEST_CODE_FOR_DIR); </code></pre> <p>It works fine if ...
My app will read and write .db and .txt files in a directory in Downloads. I already select and request that folder access permission like this: [CODE] It works fine if the directory is empty and create those files from app. If I want to read or edit those files already exist will cause error: [CODE] I'm trying not to ...
android|file-access
0
2022-07-20T06:17:47.623Z
2,022
7
6
2
62
0
450
59
2
2
true
true
false
false
false
false
zero
73,046,799
Error when using Google Maps "Failed resolution of: Lcom/google/android/gms/R$layout;"
<p>I put Google Maps on the fragment. However, the above error appears when running. <strong>&quot;java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/R$layout;&quot;</strong></p> <p>I'm uploading the code because it seems to be a layout problem.</p> <p>fragment_map.xml</p> <pre><code> &lt;...
I put Google Maps on the fragment. However, the above error appears when running. &quot;java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/R$layout;&quot; I'm uploading the code because it seems to be a layout problem. fragment_map.xml [CODE]
android|fragment
0
2022-07-20T06:21:02.730Z
2,022
7
6
2
18
0
269
86
2
1
true
true
false
false
false
false
zero
73,046,823
How can I set the rules in Firebase database for particular user set without using firebase auth?
<p>Understand this as I want to create a group chat feature into our current application. Like there are multiple teams and I want to allow teams to chat within themselves. Now I haven't used firebase auth for authentication. Users are signed in with other authentication system so I have an arrayList of authenticated ...
Understand this as I want to create a group chat feature into our current application. Like there are multiple teams and I want to allow teams to chat within themselves. Now I haven't used firebase auth for authentication. Users are signed in with other authentication system so I have an arrayList of authenticated user...
java|android|firebase|firebase-realtime-database
1
2022-07-20T06:23:08.550Z
2,022
7
6
2
15
0
485
97
4
0
false
true
false
false
false
false
low
73,046,828
How to wait result from OKHTTP response without freezing app Kotlin?
<p>I am writing a small application in Kotlin with JetpackCompose and my application freezes (CountDownLatch) when a request is called, is there any way to avoid this?</p> <p>Without CountDownLatch, okhttp does not have time to return the result before the method completes.</p> <p>MainActivity.kt</p> <pre><code>fun inf...
I am writing a small application in Kotlin with JetpackCompose and my application freezes (CountDownLatch) when a request is called, is there any way to avoid this? Without CountDownLatch, okhttp does not have time to return the result before the method completes. MainActivity.kt [CODE] MainActivityViewModel.kt [CODE] ...
android-studio|kotlin|okhttp
0
2022-07-20T06:23:26.010Z
2,022
7
6
2
88
0
347
68
3
3
true
true
false
false
false
false
zero
73,046,836
nodejs api erorr: Connection timed out, errno = 110, address = zktor.com, port = 47260
<p>Nodejs Api getting timeout from android site and it's slower than php api, I have shifted all api's from php to node backend with myslq database.</p> <p>How can solve timeout issue and increase api response time</p>
Nodejs Api getting timeout from android site and it's slower than php api, I have shifted all api's from php to node backend with myslq database. How can solve timeout issue and increase api response time
php|android|node.js|api|timeout
0
2022-07-20T06:24:04.267Z
2,022
7
6
2
40
0
204
86
5
0
false
true
false
false
false
false
zero
73,047,000
How to improve my Room database architecture?
<p>I am new to databases. I am not a professional developer. I would like your advice. I want to create a database that manages the students in a class. Students belong to only one class. I present to you my model. Can you let me know if this is correct please?</p> <p>My data class: Gru</p> <pre><code>@Entity(tableName...
I am new to databases. I am not a professional developer. I would like your advice. I want to create a database that manages the students in a class. Students belong to only one class. I present to you my model. Can you let me know if this is correct please? My data class: Gru [CODE] Here my dataclass to create relatio...
android-room|android-room-relation
0
2022-07-20T06:39:44.070Z
2,022
7
6
2
27
1
417
45
2
3
true
false
false
false
false
false
zero
73,047,015
Android Paging 3 remoteMediator infinitely load(APPEND) data with Compose
<p>I'm trying to implement a list with Paging 3 library using RemoteMediator.<br /> Initial loading is OK. Mediator loaded only 3 pages, which is set in 'PageConfig'.<br /> But when scroll the list to trigger extra loading for more data, then Mediator starts loading data infinitely until it returns <code>MediatorResult...
I'm trying to implement a list with Paging 3 library using RemoteMediator. Initial loading is OK. Mediator loaded only 3 pages, which is set in 'PageConfig'. But when scroll the list to trigger extra loading for more data, then Mediator starts loading data infinitely until it returns MediatorResult.Success(endOfPaginat...
android|kotlin|android-jetpack-compose|android-jetpack|android-paging
0
2022-07-20T06:40:57.973Z
2,022
7
6
2
319
1
608
73
5
4
true
false
false
false
false
false
zero
73,047,022
How to call Flutter Widget from Flutter project to Native Android to bind in Service?
<p>I'm working on a project where I have the requirement to bind the Flutter Widget to Native Android Service class and in the place of LayoutInflater. I've already worked on the method channels concept, but this is completely different story.</p> <p>Need some help on this.</p>
I'm working on a project where I have the requirement to bind the Flutter Widget to Native Android Service class and in the place of LayoutInflater. I've already worked on the method channels concept, but this is completely different story. Need some help on this.
android|flutter|flutter-method-channel
1
2022-07-20T06:41:23.570Z
2,022
7
6
2
61
0
264
85
3
0
false
true
false
false
false
false
low
73,047,047
FAILURE: Build failed with an exception / app_plugin_loader.gradle flutter issue
<p>I can't run flutter apps on android anymore even though a few days ago everything was working fine.</p> <p>I'm using Mac m1</p> <p>My flutter info</p> <pre><code>Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision f1875d570e (7 days ago) • 2022-07-13 11:24:16 -0700 Engine • r...
I can't run flutter apps on android anymore even though a few days ago everything was working fine. I'm using Mac m1 My flutter info [CODE] I check flutter doctor and this is the output: [CODE] But when I choose emulator android, this is the output: [CODE] after that, i try to check by android studio. I'm trying to syn...
android|flutter|android-studio|gradle
0
2022-07-20T06:43:58.073Z
2,022
7
6
2
32
0
376
80
4
4
true
true
false
false
false
false
zero
73,047,075
Excute Google App Script to add data to sheet from Android App
<p>I want to make an app that the user enter information and it upload it to a google sheet file. I have a google app script which works (I runed it with values) and a code in Java for the app which don't work.. I will be very please if someone can help me understand what I do wrong</p> <p>Thanks, Ido</p> <p>Google app...
I want to make an app that the user enter information and it upload it to a google sheet file. I have a google app script which works (I runed it with values) and a code in Java for the app which don't work.. I will be very please if someone can help me understand what I do wrong Thanks, Ido Google app script [CODE] Ja...
java|android|google-apps-script|google-sheets
0
2022-07-20T06:47:17.923Z
2,022
7
6
2
37
0
334
62
4
2
true
true
false
false
false
false
zero
73,047,122
Android Chat Messages Not Scrolling to Last Message
<p>I am developing a chat app in android and its my first time. I have been able to list the messages from the adapter into the ChatActivity but it is not scrolling to the last message. The messages include both text and images. Any help please</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceSt...
I am developing a chat app in android and its my first time. I have been able to list the messages from the adapter into the ChatActivity but it is not scrolling to the last message. The messages include both text and images. Any help please [CODE]
java|android|chat
0
2022-07-20T06:52:08.997Z
2,022
7
6
2
25
0
248
51
3
1
true
true
false
false
false
false
zero
73,047,213
On Android in an adb shell, why does `find /` not find at least what `find a b` does?
<p>I'm a bit puzzled about the way <code>find</code> behaves on an Android (axolotl) <code>adb</code> shell.</p> <p>I wanted to find <em>all</em> <code>DCIM</code> folders and ran</p> <pre><code>find / -name DCIM </code></pre> <p>and got</p> <pre><code>/sdcard/DCIM </code></pre> <p>Remembering there was at least also <...
I'm a bit puzzled about the way find behaves on an Android (axolotl) adb shell. I wanted to find all DCIM folders and ran [CODE] and got [CODE] Remembering there was at least also /storage/46G8-22GB I ran [CODE] and got [CODE] Strange. So I ran find / .. again and got /storage/46G8-22GB/DCIM now - different from what I...
android|shell|adb
0
2022-07-20T06:59:35.380Z
2,022
7
6
2
17
0
607
85
3
4
true
true
false
false
false
false
zero
73,047,256
Drawables not loading with coil in release build after applying dexguard
<p>I am using coil(Kotlin) library to load drawables. Working fine in debug build but after generating release build with dexguard no drawable loads.</p> <p>Library I am using</p> <pre><code> implementation(&quot;io.coil-kt:coil:1.1.0&quot;) ivGlowingCircles.load(R.drawable.glowing_circles) </code></pre>
I am using coil(Kotlin) library to load drawables. Working fine in debug build but after generating release build with dexguard no drawable loads. Library I am using [CODE]
android|kotlin|drawable|dexguard|coil
1
2022-07-20T07:02:38.920Z
2,022
7
7
2
45
0
172
72
5
1
true
true
false
false
false
false
low
73,047,290
HERE map is Overlap my Material App in Flutter
<pre><code> body: GetBuilder&lt;InitialScreenController&gt;( builder: (logic) =&gt; SafeArea( child: Column( children: [ Expanded( child: Stack( alignment: AlignmentDirectional.centerEnd, children: [ C...
[CODE]
flutter|heremaps|heremaps-android-sdk
0
2022-07-20T07:05:27.113Z
2,022
7
7
2
29
0
6
46
3
1
true
true
false
false
false
false
zero
73,047,350
How to show BottomSheetDialog below toolbar
<p>I'm trying to achieve something that looks like in the image below.</p> <p><a href="https://i.stack.imgur.com/6JUkr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6JUkr.jpg" alt="" /></a></p> <p>It's a sheet shown from the top and is below the toolbar. It also has dimmed background.</p> <p>I was ...
I'm trying to achieve something that looks like in the image below. It's a sheet shown from the top and is below the toolbar. It also has dimmed background. I was able to show the sheet from the top as you can see in this video with the help of this code How can I make the sheet appear below the toolbar with background...
java|android|xml|kotlin
0
2022-07-20T07:10:52.050Z
2,022
7
7
2
36
1
353
43
4
0
false
false
false
false
false
false
zero
73,047,422
Balanced image scaling automatically before capture picture in phone using expo camera react-native
<p>I have a problem when using expo-camera/react-native.</p> <p>My simple sourcecode</p> <pre><code>import { Camera, CameraType } from &quot;expo-camera&quot;; &lt;Camera style={{flex: 1}} type={type} ref={cameraRef}&gt;&lt;Camera&gt; </code></pre> <p>Because the request is full screen and when i open a camera, the pre...
I have a problem when using expo-camera/react-native. My simple sourcecode [CODE] Because the request is full screen and when i open a camera, the preview image is compressed on both sides and is not very good And this is normal images on phone camera Is there any way to balance the screen in this mode? Please help if ...
android|react-native|expo|expo-camera
0
2022-07-20T07:16:19.297Z
2,022
7
7
2
25
0
333
99
4
1
true
true
false
false
false
false
zero
73,047,460
[Android 11][biometric] Authentication Callback functions doesn't trigger after dismiss the previous prompt by pressing back key
<p>I face an issue on Android 11 (API 30). The BiometricPrompt.AuthenticationCallback() is not triggered.</p> <p><strong>Step to reproduce</strong>:</p> <ol> <li>Show Biometric prompt</li> <li>Press the back key to make the dialog be dismissed and onAuthenticationError triggered.</li> <li>try to show the Biometric agai...
I face an issue on Android 11 (API 30). The BiometricPrompt.AuthenticationCallback() is not triggered. Step to reproduce : Show Biometric prompt Press the back key to make the dialog be dismissed and onAuthenticationError triggered. try to show the Biometric again. Press the back key again or provide the correct/wrong ...
android|android-biometric-prompt
0
2022-07-20T07:19:37.873Z
2,022
7
7
2
89
0
836
128
2
1
true
true
false
false
false
false
zero
73,047,484
does coroutines in Kotlin work like threads?
<p>So I am trying to learn kotlin coroutines for networking purposes on Android but I don't understand how they work. What am I missing in the code to make it work like a thread (the two counters should mix together ) ? Should I use something else than runBlocking {} ?</p> <pre><code>import kotlinx.coroutines.* suspen...
So I am trying to learn kotlin coroutines for networking purposes on Android but I don't understand how they work. What am I missing in the code to make it work like a thread (the two counters should mix together ) ? Should I use something else than runBlocking {} ? [CODE] output : 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 ...
android|multithreading|kotlin|kotlin-coroutines
0
2022-07-20T07:21:42.910Z
2,022
7
7
2
75
2
328
44
4
1
true
false
false
false
false
false
zero
73,047,551
Update ProgressBar in Adapter
<p>I want to show a progressBar when upload files to server. I can get progress values according to written bytes of file. But I can not update the progress bar. The problem; progress bar is filled to max immediately.</p> <p>xml:</p> <pre><code> &lt;ProgressBar android:id=&quot;@+id/progress_file_uploading&quot;...
I want to show a progressBar when upload files to server. I can get progress values according to written bytes of file. But I can not update the progress bar. The problem; progress bar is filled to max immediately. xml: [CODE] In adapter I used a higher order function to get viewHolder. So in this way I can access the ...
android|kotlin|android-recyclerview|progress-bar|adapter
0
2022-07-20T07:27:27.457Z
2,022
7
7
2
81
3
617
29
5
3
true
false
false
false
false
false
zero
73,047,572
Flutter MQTT disconnect immediately after connecting
<p>I am using the mqtt_client package for my project (this is my first project in MQTT). my code is below.</p> <pre><code>import 'dart:io'; import 'package:mqtt_client/mqtt_client.dart'; import 'package:mqtt_client/mqtt_server_client.dart'; enum MQTTAppConnectionState { connected, disconnected, connecting } class MQT...
I am using the mqtt_client package for my project (this is my first project in MQTT). my code is below. [CODE] On the main page, I am calling the initializeMQTTClient function, and after that, I am calling the connect function. it is supposed to connect to the MQTT broker. but it is disconnecting automatically right af...
android|flutter|mqtt|socketexception|android-mqtt-client
0
2022-07-20T07:29:24.893Z
2,022
7
7
2
175
1
636
52
5
3
true
false
false
false
false
false
zero
73,047,596
Does ACTION_VIDEO_CAPTURE not work properly on some phones?
<p>I'm trying to use <code>ACTION_VIDEO_CAPTURE</code> to launch the camera app and capture a video. This works great on most phones, but on an LG G8s the resulting video is in 3GP format, 240x320 pixels and very very low quality.</p> <p>I tried setting <code>EXTRA_VIDEO_QUALITY</code> to <code>1</code>, but there's no...
I'm trying to use ACTION_VIDEO_CAPTURE to launch the camera app and capture a video. This works great on most phones, but on an LG G8s the resulting video is in 3GP format, 240x320 pixels and very very low quality. I tried setting EXTRA_VIDEO_QUALITY to 1 , but there's no difference. The camera app launched by ACTION_V...
android|android-intent|android-camera|video-capture|lg
0
2022-07-20T07:30:56.070Z
2,022
7
7
2
18
0
938
59
5
0
false
true
false
false
false
false
zero
73,047,656
Equivalent of the cacheExtent property for SliverChildBuilderDelegate
<p>I am trying to make a <code>CustomScrollView</code> that contains a <code>SliverList</code> in flutter. Since I want to build items in this list lazily, I have used the <code>SliverChildBuilderDelegate</code> as the delegate to <code>SliverList</code>. I was wondering whether there is any way I can change the size o...
I am trying to make a CustomScrollView that contains a SliverList in flutter. Since I want to build items in this list lazily, I have used the SliverChildBuilderDelegate as the delegate to SliverList . I was wondering whether there is any way I can change the size of the area that is drawn before being in the visible a...
android|flutter|dart
0
2022-07-20T07:36:17.007Z
2,022
7
7
2
21
0
384
69
3
0
false
true
false
false
false
false
zero
73,047,709
Expo BarCodeScanner crashes in some android devices
<p>I added the Expo BarCodeScanner. On some android devices the app crashes when scanning a code. Is this a known issue maybe? I tested this and on some android devices it works fine but some other android devices the app crashes and restart.</p> <p>Here is my code:</p> <pre><code>import React, { useState, useEffect } ...
I added the Expo BarCodeScanner. On some android devices the app crashes when scanning a code. Is this a known issue maybe? I tested this and on some android devices it works fine but some other android devices the app crashes and restart. Here is my code: [CODE]
react-native|crash|expo|android-camera
0
2022-07-20T07:40:41.720Z
2,022
7
7
2
60
0
263
51
4
1
true
true
false
false
false
false
zero
73,047,860
Android Studio how to delete folders under java module?
<p>I want to have a java module name is features.And I want to delete folders <a href="https://i.stack.imgur.com/BKmPE.png" rel="nofollow noreferrer">inside that module</a> which names are main and test.I can't delete that two modules from android studio.Even I try to delete them in the folder they are still inside the...
I want to have a java module name is features.And I want to delete folders inside that module which names are main and test.I can't delete that two modules from android studio.Even I try to delete them in the folder they are still inside the features module for Android Studio.I also restarted the android studio after d...
android|android-studio|java-module|project-structure
0
2022-07-20T07:53:31.833Z
2,022
7
7
2
39
1
424
55
4
0
false
false
false
false
false
false
zero
73,047,965
Flutter I have a couple of questions about the keyboard
<p>Several keyboard issues.</p> <ol> <li>When the application starts, the keyboard opens only after clicking on the TextFormField. There is no such problem if you go to this form, and set the start page to an empty page.</li> <li>When minimizing the application and opening it, the keyboard closes automatically after a ...
Several keyboard issues. When the application starts, the keyboard opens only after clicking on the TextFormField. There is no such problem if you go to this form, and set the start page to an empty page. When minimizing the application and opening it, the keyboard closes automatically after a second, although the focu...
android|flutter|dart
0
2022-07-20T08:02:13.967Z
2,022
7
8
2
31
2
358
55
3
1
true
false
false
false
false
false
zero
73,047,999
Infinite loop when querying data from aws dataStore using react native
<p>I am fetching data from AWS DataStore and there is an infinite loop when fetching the cart item data from the DataStore. I don't know where this loop came from. I tried to wrap fetchCartItems function with useCallback, also removed the dependencies from the useEffect hook but nothing changed. I get this infinite loo...
I am fetching data from AWS DataStore and there is an infinite loop when fetching the cart item data from the DataStore. I don't know where this loop came from. I tried to wrap fetchCartItems function with useCallback, also removed the dependencies from the useEffect hook but nothing changed. I get this infinite loop w...
android|reactjs|react-native|react-hooks
0
2022-07-20T08:05:18.803Z
2,022
7
8
2
50
1
428
70
4
2
true
false
false
false
false
false
zero
73,048,014
Remove Selected Days from Material Calendar View
<p>So I have been trying to remove Selected days from material Calendar and also remove their decorators but I couldn't figure out how to do that using <strong>removeDecorator()</strong>.</p> <p>Instead I created an extra xml file to <strong>decorate</strong> the <strong>removed days</strong>.</p> <p>I'll post the sol...
So I have been trying to remove Selected days from material Calendar and also remove their decorators but I couldn't figure out how to do that using removeDecorator() . Instead I created an extra xml file to decorate the removed days . I'll post the solution below in case anyone needs it. If anyone knows a better way t...
java|android|material-ui|calendar
0
2022-07-20T08:06:10.543Z
2,022
7
8
2
61
1
374
48
4
0
false
false
false
false
false
false
zero
73,048,017
What does the @ next to a Class instance mean?
<p>I have a question while using IntelliJ IDEA, Android Studio Debug.</p> <p>What does the number next to @(at) mean? No matter how hard I look for development references, I can't find them.</p> <p>There are a number in brackets and a number without brackets. They have different numbers. I am curious about the differen...
I have a question while using IntelliJ IDEA, Android Studio Debug. What does the number next to @(at) mean? No matter how hard I look for development references, I can't find them. There are a number in brackets and a number without brackets. They have different numbers. I am curious about the difference I guess it is ...
android-studio|kotlin|variables|debugging|intellij-idea
0
2022-07-20T08:06:21.527Z
2,022
7
8
2
49
1
437
46
5
0
false
false
false
false
false
false
zero
73,048,073
Conditional Gradle dependencies based on function result
<p>How can i import Linphone library only when built in Sip Api is not supported?</p> <p>Because this library greatly affects to apk size (~100 Mb)</p> <p>This is example of conditional dependency (based on variable in gradle.properties) in my :app Gradle file:</p> <pre><code>if (project.hasProperty(&quot;usesip&quot;)...
How can i import Linphone library only when built in Sip Api is not supported? Because this library greatly affects to apk size (~100 Mb) This is example of conditional dependency (based on variable in gradle.properties) in my :app Gradle file: [CODE] This is my function (Java), that checks support of built in Sip Libr...
android|gradle|dependencies|conditional-statements|cannot-find-symbol
0
2022-07-20T08:10:46.063Z
2,022
7
8
2
42
1
443
56
5
3
true
false
false
false
false
false
zero
73,048,208
ConstraintLayout Flow wrapping
<p>I want to show an unknown number of elements (more than 1, less than 15) in a specific order as it is shown by the following image.<br/> <a href="https://i.stack.imgur.com/JMo0r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JMo0r.png" alt="enter image description here" /></a></p> <p>The elements...
I want to show an unknown number of elements (more than 1, less than 15) in a specific order as it is shown by the following image. The elements G and H should not be shown to the user. The area should not be scrollable as well. The rendering should done the way the arrows point. The xml file for the layout is the foll...
android|android-constraintlayout|constraintlayout-flow
1
2022-07-20T08:22:02.897Z
2,022
7
8
2
64
0
770
30
3
2
true
true
false
false
false
false
low
73,048,374
Android - Music player using exoplayer - Loop album
<p>I have a music player implemented using exoplayer library. In that I have an option, 'Loop this Album', when this option is selected all songs related to that album should repeat infinitely.</p> <p>Below method is called for setting playlist to exoplayer.</p> <pre><code> DataSource.Factory dataSourceFactory = new...
I have a music player implemented using exoplayer library. In that I have an option, 'Loop this Album', when this option is selected all songs related to that album should repeat infinitely. Below method is called for setting playlist to exoplayer. [CODE] But now when the song is playing, if 'Loop this album' option is...
android|exoplayer|audio-player|exoplayer2.x|exoplayer-media-item
0
2022-07-20T08:35:58.500Z
2,022
7
8
2
78
0
744
51
5
2
true
true
false
false
false
false
zero
73,048,398
How to show a textureview through stacklayout in xamarin forms?
<p>I am using texture view where I display a preview of camera. I need that preview in my page called IntercomCallPage. I am using custom renderer by name MyCustomStackLayout. This is my xaml code</p> <pre><code>&lt;custom:MyCustomStackLayout x:Name=&quot;stack_layout&quot; VerticalOptions=&quot;FillAndExpand&quot; Ho...
I am using texture view where I display a preview of camera. I need that preview in my page called IntercomCallPage. I am using custom renderer by name MyCustomStackLayout. This is my xaml code [CODE] This is my MyCustomStackLayoutRenderer code where I have written code to display the texture view in my Stacklayout [CO...
android|xamarin.forms|xamarin.android|textureview
0
2022-07-20T08:37:20.200Z
2,022
7
8
2
39
0
398
63
4
2
true
true
false
false
false
false
zero
73,048,549
How to set container transform animation when using ActivityResultLauncher
<p>I'm trying to set container transform on a floating action button between activities like the one in this material <a href="https://m3.material.io/libraries/mdc-android/motion#container-transform" rel="nofollow noreferrer">link</a>. According to the material document I'm using AcitivityOptions to set the animation<...
I'm trying to set container transform on a floating action button between activities like the one in this material link . According to the material document I'm using AcitivityOptions to set the animation [CODE] The issue is that I have to use ActivityResultLauncher because startActivityForResult() is deprecated. The c...
android|kotlin|android-animation
0
2022-07-20T08:48:51.127Z
2,022
7
8
2
57
1
568
74
3
4
true
false
false
false
false
false
zero
73,048,727
UTF-8 characters in a pdfcell itext
<p>I've a problem with UTF-8 characters in a PdfCell. The result is bad. For example in my pdf i've &quot;Diplôme&quot; instead of &quot;Diplôme&quot;. Also with &quot;garçon(s)&quot; instead of &quot;garçons&quot; I've try to look at solution in Stackoverflow without success. I've you an idea to solve my problem Thi...
I've a problem with UTF-8 characters in a PdfCell. The result is bad. For example in my pdf i've &quot;Diplôme&quot; instead of &quot;Diplôme&quot;. Also with &quot;garçon(s)&quot; instead of &quot;garçons&quot; I've try to look at solution in Stackoverflow without success. I've you an idea to solve my problem Think ...
java|android
0
2022-07-20T09:02:10.007Z
2,022
7
9
2
26
0
361
35
2
1
true
true
false
false
false
false
zero
73,048,747
Change data in list for RecyclerView from a single RecyclerView Item
<p>I want to feed a <em>list of pairs</em> to an a <em>RecyclerView</em> adapter and update the value of this list based on the selection of an individual RecyclerView item.</p> <p>Let's say I've got a <em>list of pairs</em>, <code>myList</code>, which looks like this:</p> <pre><code> val myList:MutableList &lt;Pair&lt...
I want to feed a list of pairs to an a RecyclerView adapter and update the value of this list based on the selection of an individual RecyclerView item. Let's say I've got a list of pairs , myList , which looks like this: [CODE] The pair is used to map a hint (or description) of a value to the value itself. This means,...
android|kotlin|android-recyclerview
0
2022-07-20T09:03:26.590Z
2,022
7
9
2
90
4
1,536
68
3
2
true
false
false
false
false
false
zero
73,048,837
Problem with installing quick.db (Termux)
<p>I tried to install quick.db with npm:</p> <pre><code>$ npm i quick.db better-sqlite3 </code></pre> <p>And it's giving me an error:</p> <pre><code>npm ERR! code EPERM npm ERR! syscall symlink npm ERR! path ../prebuild-install/bin.js npm ERR! dest /storage/emulated/0/bot/node_modules/.bin/prebuild-install npm ERR! err...
I tried to install quick.db with npm: [CODE] And it's giving me an error: [CODE] So I think this is problem with installing a better-sqlite3, beacuse I don't have problems with installing only quick.db: [CODE]
android|node.js|npm
1
2022-07-20T09:10:48.327Z
2,022
7
9
2
19
0
209
41
3
3
true
true
false
false
false
false
low
73,048,846
Network Request Failed on the Real mobile devices ,React Native
<p>The React Native App(Android) does not work on the any devices(mobile device and emulator). I always see network request errors. So I added the network_security_config.xml file to the xml holder, but it still doesn't work. Backend url is 'https://prvmsg.com' I've been grappling with this problem for a week.Please he...
The React Native App(Android) does not work on the any devices(mobile device and emulator). I always see network request errors. So I added the network_security_config.xml file to the xml holder, but it still doesn't work. Backend url is 'https://prvmsg.com' I've been grappling with this problem for a week.Please help ...
javascript|android|reactjs|react-native|ssl
0
2022-07-20T09:11:35.370Z
2,022
7
9
2
64
1
364
63
5
1
true
false
false
false
false
false
zero
73,048,906
paint in android studio
<p><a href="https://i.stack.imgur.com/ICpZO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ICpZO.jpg" alt="enter image description here" /></a></p> <p>I have developed a drawing program in <code>Android Studio</code> with <code>kotlin</code> and I have placed a <code>seekbar</code> to change the wid...
I have developed a drawing program in Android Studio with kotlin and I have placed a seekbar to change the width of the lines, but when I change the seekbar , the lines I have already drawn also change, which is not desirable. I will upload any part of the code you need.
android|kotlin
-1
2022-07-20T09:16:25.880Z
2,022
7
9
2
49
1
271
23
2
0
false
false
false
false
false
true
negative
73,049,045
Android Buildozer failed
<p>I wanted to compile a kivy-app (I managed to do this before). I made sure, there is no spacing in file names or such, since I have read, that this may be the reason for the problem.</p> <p>After I got an error, I tried to build it with the default buildozer.spec - still the same error.</p> <p>It gives the following ...
I wanted to compile a kivy-app (I managed to do this before). I made sure, there is no spacing in file names or such, since I have read, that this may be the reason for the problem. After I got an error, I tried to build it with the default buildozer.spec - still the same error. It gives the following error: [CODE] The...
android|kivy|buildozer
0
2022-07-20T09:25:44.917Z
2,022
7
9
2
469
1
396
24
3
2
true
false
false
false
false
false
zero
73,049,061
ReactNative - Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
<p>I face this error when I'm try to use Drawer Component.</p> <p>And There is nothing in simualtor screen.</p> <p>My error message is as follow</p> <pre><code>Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entr...
I face this error when I'm try to use Drawer Component. And There is nothing in simualtor screen. My error message is as follow [CODE] babel.config.js [CODE] package.json [CODE] My Android Version is Pixel_4_XL_API_31 What I did for solving this code Before running this project I deleted emulator in the android studio ...
react-native|android-studio|npm|navigation-drawer|yarn-lock.json
0
2022-07-20T09:26:43.040Z
2,022
7
9
2
142
0
683
114
5
3
true
true
false
false
false
false
zero
73,049,071
App hangs to show error “SQLiteConnectionPool: The connection pool for database '+app_dbV8' has been unable to grant a connection to thread 2 (main)
<p><strong>Scenario:</strong> App Scans a QR code using Zxing library. When scanning usecase is initiated, app’s <strong>main activity</strong> launches <strong>activity A</strong> which initializes the UI , checks the basic permissions (like camera access,) , it then launches <strong>activity B</strong> for scanning t...
Scenario: App Scans a QR code using Zxing library. When scanning usecase is initiated, app’s main activity launches activity A which initializes the UI , checks the basic permissions (like camera access,) , it then launches activity B for scanning the image. Scanning is done two ways, one is through camera and another ...
android|android-activity|android-sqlite
0
2022-07-20T09:27:20.727Z
2,022
7
9
2
31
1
815
148
3
2
true
false
false
false
false
false
zero
73,049,296
How to check the difference between old and latest version dependencies?
<p>I am using some old dependencies in my Android project. But now I am updating the dependencies to latest one. Before update how to check what are the changes is made in latest dependencies. Is there any tool or procedure to check the difference between two dependencies.</p> <p>I am using <code>'com.squareup.okhttp3:...
I am using some old dependencies in my Android project. But now I am updating the dependencies to latest one. Before update how to check what are the changes is made in latest dependencies. Is there any tool or procedure to check the difference between two dependencies. I am using 'com.squareup.okhttp3:logging-intercep...
android|android-gradle-plugin|dependencies
0
2022-07-20T09:41:40.847Z
2,022
7
9
2
53
2
589
72
3
0
false
false
false
false
false
false
zero
73,049,481
Flutter device_info_plus 'androidId' is not unique. How can I identify an android users device even after reinstalls or updates?
<p>I am using the <code>device_info_plus</code> plugin like this:</p> <pre><code>Future&lt;void&gt; getHardwareID() async { final DeviceInfoPlugin deviceInfo = DeviceInfoPlugin(); if (Platform.isAndroid) { final AndroidDeviceInfo androidInfo = await deviceInfo.androidInfo; hwid = androidInfo.androidId; ...
I am using the device_info_plus plugin like this: [CODE] The issue is that when I use the same phone with different versions of the app - so if I upload a new bundle for testing for instance - then androidInfo.androidId will be something different. I suppose this is what they mean with the description The Android hardw...
android|flutter
0
2022-07-20T09:53:32.610Z
2,022
7
9
2
12
0
1,041
128
2
1
true
true
false
false
false
false
zero
73,049,484
TODO: Permission - use imageList for using selected images
<p>So, this is my scan_screen.dart file. I used already permission handler plugin and its seen below. I was planning to use the captured image and replace it to the default image which is the <code>imgRabbitdflt</code>. But I am lost if how can I implement image picker plugin since the code is not staeful widget since ...
So, this is my scan_screen.dart file. I used already permission handler plugin and its seen below. I was planning to use the captured image and replace it to the default image which is the imgRabbitdflt . But I am lost if how can I implement image picker plugin since the code is not staeful widget since its from dhiwis...
android|flutter|visual-studio|dart|github
0
2022-07-20T09:53:37.560Z
2,022
7
9
2
22
0
418
58
5
2
true
true
false
false
false
false
zero
73,049,543
react-native-alarm-notification causes gradle build failed error
<p>I am using the latest version of <code>react-native-alarm-notification</code> package but unable to get it working. It stopped working all of a sudden. Below is the out of gradle:</p> <pre><code>&gt; Task :react-native-alarm-notification:androidJavadoc </code></pre> <p>$projectRoot/node_modules/react-native-alarm-no...
I am using the latest version of react-native-alarm-notification package but unable to get it working. It stopped working all of a sudden. Below is the out of gradle: [CODE] $projectRoot/node_modules/react-native-alarm-notification/android/src/main/java/com/emekalites/react/alarm/notification/AlarmReceiver.java:9: erro...
android|react-native|npm
0
2022-07-20T09:57:15.320Z
2,022
7
9
2
44
0
12,254
64
3
1
true
true
false
false
false
false
zero
73,049,564
AudioRecord.read with read mode: READ_NON_BLOCKING not working on Tablet Samsung
<p>I have a problem with the AudioRecord class in Android. In my application I initialize the class using:</p> <pre><code>recorder = new AudioRecord( audioSource, // currentAudioSource, sampleRate, // SAMPLE_RATE_IN_8KHZ, channelCount, // CHANNEL, ENCODING, bufferSize // minBufferSize ); </...
I have a problem with the AudioRecord class in Android. In my application I initialize the class using: [CODE] And then I start the audio recording with: [CODE] I capture the audio received from the Audio Record with the following instructions: [CODE] I have to use the non-blocking read because I don't want the applica...
android|tablet|audiorecord
0
2022-07-20T09:58:21.547Z
2,022
7
9
2
27
1
966
80
3
4
true
false
false
false
false
false
zero
73,049,570
How to add "see more"/ "see less" functionality button at the end incase number of tags exceeds 3 lines
<p>There is a list of tags whose number is dynamic. Those tags will be filling up to 3 lines of an area when those tags exceed more than 3 lines. The &quot;See more&quot; button should be visible and when the user clicks on it, it should open the whole list then the &quot;See less&quot; button will appear at the end of...
There is a list of tags whose number is dynamic. Those tags will be filling up to 3 lines of an area when those tags exceed more than 3 lines. The &quot;See more&quot; button should be visible and when the user clicks on it, it should open the whole list then the &quot;See less&quot; button will appear at the end of th...
android|ios|flutter|dart|mobile-development
0
2022-07-20T09:58:48.057Z
2,022
7
9
2
48
0
1,099
103
5
1
true
true
false
false
false
false
zero
73,049,596
Android Studio Avd failing to run
<p>Please assist. I have installed android studio on my windows 10 and create a virtual device but when i try to start the avd i get the error &quot;Error while waiting for device: The emulator process for AVD Pixel_4_API_30 has terminated.&quot;. I have also checked the idea.log and i saw the error below</p> <pre><cod...
Please assist. I have installed android studio on my windows 10 and create a virtual device but when i try to start the avd i get the error &quot;Error while waiting for device: The emulator process for AVD Pixel_4_API_30 has terminated.&quot;. I have also checked the idea.log and i saw the error below [CODE] I saw one...
android|android-studio|android-emulator|avd
1
2022-07-20T10:00:39.310Z
2,022
7
10
2
84
1
465
33
4
1
true
false
false
false
false
false
low
73,049,646
XMl integer selector Android resource file
<p>I have a requirement to vary the border box on a TextInputLayout, I have a theme that I have applied to all my TextInputLayouts and I want to modify boxStrokeWidth based on state</p> <pre class="lang-xml prettyprint-override"><code> &lt;style name=&quot;InputTextStyle&quot; parent=&quot;@style/Widget.MaterialCompon...
I have a requirement to vary the border box on a TextInputLayout, I have a theme that I have applied to all my TextInputLayouts and I want to modify boxStrokeWidth based on state [CODE] is there a way of creating a selector that returns a dimension integer? something like [CODE]
android|android-xml|android-selector
0
2022-07-20T10:03:54.250Z
2,022
7
10
2
30
0
279
42
3
2
true
true
false
false
false
false
zero
73,049,659
How to call LiveData object many times on different values
<p>I am trying to call <code>LiveData.observe</code> on multiple values like the code below.</p> <pre><code>private fun getUserOwned() { if (auth == null) return studentCoursesRef = studentCoursesRef.child(&quot;studentData&quot;).child(auth.uid).child(&quot;ownedCourses&quot;) OwnedCoursesLiveData(studentC...
I am trying to call LiveData.observe on multiple values like the code below. [CODE] OwnedCoursesLiveData returns dataSnapshot and the ValueEvent Type. The important data is the datasnapshot used to get the class codes and the classcode is passed to another LiveData CoursesLiveData to get data. But the CoursesLiveData o...
android|firebase-realtime-database|android-livedata
0
2022-07-20T10:05:12.900Z
2,022
7
10
2
23
0
941
58
3
1
true
true
false
false
false
false
zero
73,049,680
java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 11529)
<p>I want to fetch my Hotspot's SSID. I Implemented below code</p> <p>WifiManager wifiManager = (WifiManager) context.getApplicationContext().getSystemService(Context.WIFI_SERVICE); Method getConfigMethod = wifiManager.getClass().getMethod(&quot;getWifiApConfiguration&quot;); WifiConfiguration wifiConfig = (WifiConfig...
I want to fetch my Hotspot's SSID. I Implemented below code WifiManager wifiManager = (WifiManager) context.getApplicationContext().getSystemService(Context.WIFI_SERVICE); Method getConfigMethod = wifiManager.getClass().getMethod(&quot;getWifiApConfiguration&quot;); WifiConfiguration wifiConfig = (WifiConfiguration) ge...
android
0
2022-07-20T10:06:48.817Z
2,022
7
10
2
19
0
516
98
1
0
false
true
false
false
false
false
zero
73,049,714
How to replace AsyncTask in this code to find places according to a api call string
<p>I'm getting this issue on my personal android project: i want to use google places api call to show and mark nearby and specific places on map but it does not work as intended because asyncTasks are deprecated.</p> <p>How to replace the deprecated class AsyncTask ? Thanks in advance:</p> <pre><code>class MapsActivit...
I'm getting this issue on my personal android project: i want to use google places api call to show and mark nearby and specific places on map but it does not work as intended because asyncTasks are deprecated. How to replace the deprecated class AsyncTask ? Thanks in advance: [CODE]
android|kotlin|android-asynctask|google-places-api|kotlin-coroutines
1
2022-07-20T10:09:07.207Z
2,022
7
10
2
44
1
284
83
5
1
true
false
false
false
false
false
low
73,049,740
Share Image to third party apps in android
<p>I'm trying to share image with third party apps in android. I'm able to share image with all device except Xiaomi(Android 12) &amp; OnePlus Node (Android 11).</p> <pre><code> val shareIntent = Intent() shareIntent.action = Intent.ACTION_SEND shareIntent.putExtra(Intent.EXTRA_TEXT, shareText) shareIntent.putExtra(...
I'm trying to share image with third party apps in android. I'm able to share image with all device except Xiaomi(Android 12) & OnePlus Node (Android 11). [CODE] Shows toast message --> this file is not supported.
android|android-studio|kotlin|android-intent|xiaomi
3
2022-07-20T10:10:49.350Z
2,022
7
10
2
58
1
213
42
5
1
true
false
false
false
false
false
low
73,049,880
how to fixe this expo app issues: 'boolean android.graphics.Path.isEmpty()' on a null object reference?
<p>Expo Go app on android keep throwing an error while on IOS nothing wrong happen. The error I'm getting is as followed: <code>Attempt to invoke virtual method 'boolean android.graphics.Path.isEmpty()' on a null object reference</code> if anyone knows how I can wrap over this, I'll appreciate!</p> <p><a href="https://...
Expo Go app on android keep throwing an error while on IOS nothing wrong happen. The error I'm getting is as followed: Attempt to invoke virtual method 'boolean android.graphics.Path.isEmpty()' on a null object reference if anyone knows how I can wrap over this, I'll appreciate!
android|react-native|expo
0
2022-07-20T10:20:41.720Z
2,022
7
10
2
51
0
279
103
3
0
false
true
false
false
false
false
zero
73,049,946
How to block particular Position in Adapter class ANDROID JAVA
<p>I have an adapter class Where i Want to show a BLOCK USER dialog on particular position. for example if i want to block position 1 of recyclerView . So can any one help me porgrammatically? Given below is the Code Of adapter Please check I want to block user profile based on Recycler View position if someone could h...
I have an adapter class Where i Want to show a BLOCK USER dialog on particular position. for example if i want to block position 1 of recyclerView . So can any one help me porgrammatically? Given below is the Code Of adapter Please check I want to block user profile based on Recycler View position if someone could help...
java|android|android-studio
0
2022-07-20T10:25:27.093Z
2,022
7
10
2
18
0
344
62
3
1
true
true
false
false
false
false
zero
73,050,057
How to test Drawable in Jetpack Compose
<p>I have a Box inside which I am adding image with drawable content. How can I write UI test for checking drawable is visible or not?</p>
I have a Box inside which I am adding image with drawable content. How can I write UI test for checking drawable is visible or not?
android|unit-testing|android-jetpack-compose|drawable
3
2022-07-20T10:32:36.523Z
2,022
7
10
2
159
1
131
39
4
0
false
false
false
false
false
false
low
73,050,060
Where the static variables are stored in Android?
<p>I have an application with 2 processes, one for Activity and one for Service. Here is my Manifest:</p> <pre><code> &lt;activity android:name=&quot;.MainActivity&quot; android:exported=&quot;true&quot; android:theme=&quot;@style/Theme.MyApplication.NoActionBar&quot;&gt; ...
I have an application with 2 processes, one for Activity and one for Service. Here is my Manifest: [CODE] In MainActivity, I have a static variable like that: [CODE] And in Service I update like that: [CODE] I don't understand why it works. I think 2 processes have 2 different heaps, so why one process can update the s...
java|android|static|multiprocessing
0
2022-07-20T10:33:03.753Z
2,022
7
10
2
42
0
919
49
4
3
true
true
false
false
false
false
zero
73,050,220
Android BluetoothLe Scan finds nothing
<p>I am trying to adapt the code from the Android example <code> connectivity-samples-main\BluetoothLeGatt\Application\src\main\java\com\example\android\bluetoothlegatt\DeviceScanActivity.java</code></p> <p>to my app I tried all the permissions, even the ones that are not required</p> <pre class="lang-xml prettyprint-o...
I am trying to adapt the code from the Android example connectivity-samples-main\BluetoothLeGatt\Application\src\main\java\com\example\android\bluetoothlegatt\DeviceScanActivity.java to my app I tried all the permissions, even the ones that are not required [CODE] instead of only [CODE] my code is [CODE] I use the [COD...
java|android|bluetooth
0
2022-07-20T10:43:26.867Z
2,022
7
10
2
50
1
589
38
3
4
true
false
false
false
false
false
zero
73,050,228
How to include pre-built shared libraries at runtime in Android applications?
<p>In my Android Studio Project I have a pre-built JNI shared library named <code>libNativeExecutor.so</code> <strong>compiled with the <em>g++-arm-linux-gnueabi</em> package</strong> and I placed a copy of this file in the folder <code>MyProject\app\src\main\jniLibs</code>, a copy in the folder <code>MyProject\app\src...
In my Android Studio Project I have a pre-built JNI shared library named libNativeExecutor.so compiled with the g++-arm-linux-gnueabi package and I placed a copy of this file in the folder MyProject\app\src\main\jniLibs , a copy in the folder MyProject\app\src\main\jniLibs\arm64-v8a and another copy in the folder MyPro...
android-studio|java-native-interface|shared-libraries|apk
0
2022-07-20T10:44:16.387Z
2,022
7
10
2
56
0
937
77
4
2
true
true
false
false
false
false
zero
73,050,233
I'm not getting notifications from firebase cloud messaging for samsung galaxy A32 5G
<p>I'm building an app using react-native-twilio-phone which in turn uses firebase cloud messaging. I have incoming call notifications coming to me from fcm. These incoming call notifications work for me on my xiaomi and samsung galaxy note10 lite while on my samsung galaxy A32 5G it doesn't. This is what I added to th...
I'm building an app using react-native-twilio-phone which in turn uses firebase cloud messaging. I have incoming call notifications coming to me from fcm. These incoming call notifications work for me on my xiaomi and samsung galaxy note10 lite while on my samsung galaxy A32 5G it doesn't. This is what I added to the m...
android|firebase|react-native|firebase-cloud-messaging|twilio
0
2022-07-20T10:44:29.443Z
2,022
7
10
2
46
0
581
85
5
1
true
true
false
false
false
false
zero
73,050,235
Android: How to get Google Play app rating per country?
<p>Now, the app rating displayed to the users is function of their country/device/etc... But it seems that there is a kind of 'default rating' per country. I would like to get the default app rating displayed in Google Play for my app for every country. I would like to get this rating for all countries easily.</p> <p>I...
Now, the app rating displayed to the users is function of their country/device/etc... But it seems that there is a kind of 'default rating' per country. I would like to get the default app rating displayed in Google Play for my app for every country. I would like to get this rating for all countries easily. I didn't fi...
android|google-play|google-play-console|google-play-developer-api
1
2022-07-20T10:44:42.693Z
2,022
7
10
2
68
0
448
55
4
0
false
true
false
false
false
false
low
73,050,322
Is it possible to use a locator for a webpage in an app that uses a webview?
<p>I need to develop regression test automation for the app that switches to webview using selenium, appium.</p> <p>Can the locator used in the web page be used as it is in the app web view environment?</p> <p>thank you</p>
I need to develop regression test automation for the app that switches to webview using selenium, appium. Can the locator used in the web page be used as it is in the app web view environment? thank you
selenium|appium|android-webview
1
2022-07-20T10:50:33.407Z
2,022
7
10
2
27
1
202
76
3
0
false
false
false
false
false
false
low
73,050,393
How to close All fragments with activity programmatically using Jetpack navigation
<p><a href="https://i.stack.imgur.com/i7uU0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i7uU0.png" alt="enter image description here" /></a></p> <p>Here is scenario:</p> <ol> <li>On login activity button click open Activity 2</li> <li>In Activity 2 multiple fragments and navigate through navgraph...
Here is scenario: On login activity button click open Activity 2 In Activity 2 multiple fragments and navigate through navgraph I want to go back on login screen while click on Fragment 3 Finish button Here what I try but no luck: [CODE]
android|android-jetpack|android-jetpack-navigation
0
2022-07-20T10:55:46.077Z
2,022
7
10
2
37
2
237
82
3
1
true
false
false
false
false
false
zero
73,050,446
How to make an activity completely pause its work when exiting it? Error! - Java
<blockquote> <p>java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference</p> </blockquote> <p>I will make the game I want, when the person from the game makes the room available from the database, everything really happens, b...
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference I will make the game I want, when the person from the game makes the room available from the database, everything really happens, but here's the problem, an error occur...
java|android|firebase-realtime-database
0
2022-07-20T10:59:31.807Z
2,022
7
10
2
57
0
782
80
3
4
true
true
false
false
false
false
zero
73,050,601
is App Linking working? if export="false"
<p>App Linking not working if export=&quot;false&quot;(for security reasons we have to keep false) in app linking activity in android 12 or higher versions. here app linking verification done.</p> <p>if we change <strong>export=&quot;true&quot;</strong> app linking working fine in android 12 also if we change <strong>e...
App Linking not working if export=&quot;false&quot;(for security reasons we have to keep false) in app linking activity in android 12 or higher versions. here app linking verification done. if we change export=&quot;true&quot; app linking working fine in android 12 also if we change export =&quot;false&quot; app linkin...
java|android|android-deep-link|android-app-links
0
2022-07-20T11:10:10.567Z
2,022
7
11
2
33
1
333
41
4
0
false
false
false
false
false
false
zero
73,050,604
syntax error: unexpected 'newline' in .config file in android vts
<p>Currently, I am running one <code>VTS</code> module <code>VtsHalGnssExtV1_0TargetTest</code>.</p> <p>But I am getting an <code>error syntax error: unexpected 'newline'</code>. But the tests ran correctly.</p> <pre><code>======================================================= =============== Summary =============== T...
Currently, I am running one VTS module VtsHalGnssExtV1_0TargetTest . But I am getting an error syntax error: unexpected 'newline' . But the tests ran correctly. [CODE] I am using the below adb version: [CODE] Below is my VtsHalGnssExtV1_0TargetTest.config file: [CODE] Currently, I am not able to find any newline used i...
android|adb|android-vts|android-tradefederation
0
2022-07-20T11:10:16.877Z
2,022
7
11
2
145
2
372
65
4
3
true
false
false
false
false
false
zero
73,050,616
Android Studio error: Could not get unknown property 'release' for SoftwareComponentInternal set
<p>I keep facing this below error from android studio.</p> <p>I've done all things from this post.</p> <p><a href="https://stackoverflow.com/questions/67253670/could-not-get-unknown-property-release-for-softwarecomponentinternal-maven-p">Could not get unknown property &#39;release&#39; for SoftwareComponentInternal - M...
I keep facing this below error from android studio. I've done all things from this post. Could not get unknown property &#39;release&#39; for SoftwareComponentInternal - Maven publish plugin project gradle But nothing doesn't work. Can you help me? [CODE]
android|react-native
0
2022-07-20T11:11:19.857Z
2,022
7
11
2
130
0
255
96
2
1
true
true
false
false
false
false
zero
73,050,653
Google Fit Sleep Data
<p>Not able to fetch SLEEP Data. its provide session listing but not provide data set for sleep and all. i am able to fetch other scope data like heart rate BPM</p> <ul> <li>Heart Rate Intensity</li> <li>Blood Pressure and all</li> </ul> <p>&quot;private void readSleepSessions() {</p> <pre><code>Calendar cal = Calendar...
Not able to fetch SLEEP Data. its provide session listing but not provide data set for sleep and all. i am able to fetch other scope data like heart rate BPM Heart Rate Intensity Blood Pressure and all &quot;private void readSleepSessions() { [CODE] Thanks in advance.
android|google-fit
0
2022-07-20T11:14:36.723Z
2,022
7
11
2
56
0
268
21
2
1
true
true
false
false
false
false
zero
73,050,724
How start android default camera without showing chooser using react-native-image-crop-picker
<p>i am using react-native-image-crop-picker library as camera but when i open camera getting chooser option to select any one camera app i want to directly open default camera without showing chooser options from react native</p>
i am using react-native-image-crop-picker library as camera but when i open camera getting chooser option to select any one camera app i want to directly open default camera without showing chooser options from react native
android|reactjs|react-native
0
2022-07-20T11:19:55.550Z
2,022
7
11
2
40
2
223
93
3
0
false
false
false
false
false
false
zero
73,050,740
React Native java.lang.ClassNotFoundException: Didn't find class
<p>The app crashes on device on start, this is the log:</p> <p>Note I replaced my original 'com.appname' with <strong>com.myappName</strong></p> <pre><code>07-20 13:10:05.520 5376 5376 E AndroidRuntime: FATAL EXCEPTION: main 07-20 13:10:05.520 5376 5376 E AndroidRuntime: Process: com.myappName, PID: 5376 07-20 13:1...
The app crashes on device on start, this is the log: Note I replaced my original 'com.appname' with com.myappName [CODE] It used to work fine before both on Mac and here on Linux. After installing fresh Linux distro and cloning the git repository, this started happening Here is what I did: Cloned git repository npm ins...
java|android|react-native
0
2022-07-20T11:20:45.117Z
2,022
7
11
2
82
2
542
64
3
3
true
false
false
false
false
false
zero
73,050,800
Android Studio inspection profile doesn't contain all the rules
<p>It seems to me that Android Studio inspection profile doesn't allow me to choose the same inspection that is used by Gradle command <code>./gradlew lint</code>.</p> <p>I'm interested in running &quot;LiveData value assignment nullability mismatch&quot; (the one that can be suppressed by using <code>@SuppressLint(&qu...
It seems to me that Android Studio inspection profile doesn't allow me to choose the same inspection that is used by Gradle command ./gradlew lint . I'm interested in running &quot;LiveData value assignment nullability mismatch&quot; (the one that can be suppressed by using @SuppressLint(&quot;NullSafeMutableLiveData&q...
android|android-studio|android-lint
1
2022-07-20T11:25:33.733Z
2,022
7
11
2
36
0
540
63
3
0
false
true
false
false
false
false
low
73,050,913
How to add specific library implementations in the gradle based on the build flavors
<p>I want to use some specific libraries that have some usage in the java classes and also in the Android Manifest. But I want to use those libraries and their usage only for a specific product flavor and not for other flavors. I couldn't find the proper solution anywhere.</p>
I want to use some specific libraries that have some usage in the java classes and also in the Android Manifest. But I want to use those libraries and their usage only for a specific product flavor and not for other flavors. I couldn't find the proper solution anywhere.
java|android|android-studio|build.gradle|build-variant
0
2022-07-20T11:35:20.477Z
2,022
7
11
2
23
0
270
84
5
0
false
true
false
false
false
false
zero
73,050,925
Application Crash on Android 12
<p><em>Gredle file</em></p> <pre><code>compileSdkVersion 32 defaultConfig { applicationId &quot;com&quot; minSdkVersion 21 targetSdkVersion 30 versionCode 165 versionName &quot;7.0.0&quot; testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot; buildTypes { deb...
Gredle file [CODE] Manifest File [CODE] Exception Fatal Exception: java.lang.SecurityException Permission Denial: starting Intent { act=android.bluetooth.adapter.action.REQUEST_ENABLE cmp=com.android.settings/.bluetooth.RequestPermissionActivity } from ProcessRecord{b25524d 23206:com.actofitSmartScale/u0a409} (pid=2320...
java|android|exception|permissions|android-12
0
2022-07-20T11:36:20.530Z
2,022
7
11
2
119
2
379
31
5
2
true
false
false
false
false
false
zero
73,051,018
FAILURE: Build failed with an exception - Android
<p>I am trying to upgrade my old Android project and getting below errors :</p> <pre><code>&gt; Task :app:mergeDebugResources FAILED /home/jaiminmodi/.gradle/caches/transforms-3/08e5f3aa7ebe2a199cff2b386779108c/transformed/core-1.7.0/res/values/values.xml:162:4: Duplicate value for resource 'attr/font' with config 'DEF...
I am trying to upgrade my old Android project and getting below errors : [CODE] What might be the issue?
java|android|android-studio|exception
0
2022-07-20T11:42:49.023Z
2,022
7
11
2
120
2
104
49
4
1
true
false
false
false
false
false
zero
73,051,072
Android NFC - Not getting Tag information using Application Record (AAR)
<p>I am trying to read NFC tag (NfcA) when app is in background using Android Application Record (AAR). When Tag is being discovered, my app is getting open although it is not delivering Tag info in an activity.</p> <p>Also it is alwasy opening Launcher activity and not the one in which Intent filter is added for <code...
I am trying to read NFC tag (NfcA) when app is in background using Android Application Record (AAR). When Tag is being discovered, my app is getting open although it is not delivering Tag info in an activity. Also it is alwasy opening Launcher activity and not the one in which Intent filter is added for NDEF_DISCOVERED...
android|nfc|android-applicationrecord|tag-dispatching
0
2022-07-20T11:47:02.587Z
2,022
7
11
2
21
1
630
72
4
0
false
false
false
false
false
false
zero