id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
71,196,754
ConnectivityManager.NetworkCallback stops working after some seconds
<p>The idea is, every time the device restore the connection with the internet, it checks if the server got any new message while the device was offline.</p> <p>I'm using a BroadcastReceiver to capture the BOOT_COMPLETE &quot;event&quot; and register the NetworkCallback on it.</p> <p>Everything works like a charm durin...
The idea is, every time the device restore the connection with the internet, it checks if the server got any new message while the device was offline. I'm using a BroadcastReceiver to capture the BOOT_COMPLETE &quot;event&quot; and register the NetworkCallback on it. Everything works like a charm during the first 30ish...
java|android|android-connectivitymanager
0
2022-02-20T17:06:43.650Z
2,022
2
17
6
268
0
708
68
3
2
true
true
false
false
false
false
zero
71,293,875
how can I add animation to ViewPager indicator dots?
<p>I am working on one project where I need to display Image Slider with use of ViewPager.</p> <p>I had done all code and working very fine but now I want to add some animation to my dots indicator as display in this <a href="https://i.stack.imgur.com/wouLy.png" rel="nofollow noreferrer">Image</a>.</p> <p>Here is my co...
I am working on one project where I need to display Image Slider with use of ViewPager. I had done all code and working very fine but now I want to add some animation to my dots indicator as display in this Image . Here is my code which I write to make indicator. [CODE] In My Layout Design I have pager like below: [COD...
android-studio|android-viewpager|android-animation|viewpagerindicator
0
2022-02-28T10:52:21.060Z
2,022
2
10
0
268
0
451
52
4
2
true
true
false
false
false
false
zero
71,093,839
Stop default Autocomplete behavior when hitting spacebar in Android Studio
<p>Basically the same as <a href="https://stackoverflow.com/questions/32301586/stop-default-autocomplete-behavior-when-hitting-spacebar-in-visual-studio-2015">this question</a> but for Android Studio. In side a function, if I type <code>data</code> and then press the space bar to enter <code>data class</code>, it autom...
Basically the same as this question but for Android Studio. In side a function, if I type data and then press the space bar to enter data class , it automatically inserts ContactsContract.Data which is not what I want. How can I disable this? That is, insert suggestion only when I press tab.
android-studio
0
2022-02-12T16:43:20.013Z
2,022
2
16
5
13
0
292
74
1
0
false
true
false
false
false
false
zero
71,104,226
Error on Zxing Barcode Reader JS on Android Chrome
<p>I have been trying to implement barcode reader on my web page hosted in localhost iis.</p> <ul> <li><p>The library that I am using is : <code>&lt;script type=&quot;text/javascript&quot; src=&quot;https://unpkg.com/@@zxing/library@latest&quot;&gt;&lt;/script&gt;</code></p> </li> <li><p>My Code is:</p> <p>const codeRe...
I have been trying to implement barcode reader on my web page hosted in localhost iis. The library that I am using is : <script type=&quot;text/javascript&quot; src=&quot;https://unpkg.com/@@zxing/library@latest&quot;></script> My Code is: const codeReader = new ZXing.BrowserMultiFormatReader(); [CODE] My barcode reade...
javascript|android|zxing|zxing.net|zxing-js
0
2022-02-13T19:40:15.087Z
2,022
2
19
6
13
0
730
50
5
2
true
true
false
false
false
false
zero
71,114,268
Android cross device/screen swipe/gesture
<p>I am trying to implement a swipe-based authentication that allows one swipe to across two devices' screens. So basically, two devices will be next to each other, angles don't matter, to combine two screens as one and allow the user to make a single swipe from one to another and keep track of the swipe stroke. Is the...
I am trying to implement a swipe-based authentication that allows one swipe to across two devices' screens. So basically, two devices will be next to each other, angles don't matter, to combine two screens as one and allow the user to make a single swipe from one to another and keep track of the swipe stroke. Is there ...
java|android|mobile
0
2022-02-14T15:28:45.440Z
2,022
2
15
0
13
0
757
41
3
0
false
true
false
false
false
false
zero
71,124,257
Not able to call JsonObjectRequest
<p><a href="https://i.stack.imgur.com/h8Pwr.png" rel="nofollow noreferrer">I have created a singleton class and added volley dependency in gradle</a></p>
I have created a singleton class and added volley dependency in gradle
android|kotlin
0
2022-02-15T09:46:31.967Z
2,022
2
9
1
13
0
70
34
2
0
false
true
false
false
false
false
zero
71,153,290
I want to know if the 0.60 version of React Native supports providing Fragments to the JS side for use
<p>I am using version 0.60. I want to provide a Fragment on Native for the JS side to use, but the way I follow in the 0.67 version of the document is invalid. There is no explanation for this part in the 0.60 version. I want to know that in 0.60 Is this supported?</p>
I am using version 0.60. I want to provide a Fragment on Native for the JS side to use, but the way I follow in the 0.67 version of the document is invalid. There is no explanation for this part in the 0.60 version. I want to know that in 0.60 Is this supported?
android|react-native
0
2022-02-17T06:15:04.990Z
2,022
2
6
3
13
0
262
102
2
0
false
true
false
false
false
false
zero
71,180,150
mandatory fields preventing submission of form in Android Emulator
<p>Unable to submit a form when all required fields are filled in Native app. Receiving error &quot;Please fill in the mandatory fields&quot;. Is there a way to programmatically resolve this issue? Using JS with webdriverio, Appium. Image attached:<a href="https://i.stack.imgur.com/cpZ0C.png" rel="nofollow noreferrer">...
Unable to submit a form when all required fields are filled in Native app. Receiving error &quot;Please fill in the mandatory fields&quot;. Is there a way to programmatically resolve this issue? Using JS with webdriverio, Appium. Image attached: image of a form
javascript|react-native|mobile|appium|appium-android
0
2022-02-18T21:40:08Z
-1
-1
-1
-1
13
0
261
66
5
0
false
true
false
false
false
false
zero
71,195,837
While calling a startService(intent) what dose that mean
<p>While calling a startService(intent) does that mean that all the actions happening in the app will keep working in the background without the app getting killed or just the action that has been called inside the class that extends the service class will keep working?</p> <p>Actions like playing audio running timer ....
While calling a startService(intent) does that mean that all the actions happening in the app will keep working in the background without the app getting killed or just the action that has been called inside the class that extends the service class will keep working? Actions like playing audio running timer ...
java|android
0
2022-02-20T15:24:14.277Z
2,022
2
15
6
13
0
312
56
2
0
false
true
false
false
false
false
zero
71,199,456
how to return an integer value in a query in android studio@Query ("SELECT MAX(documentoId) FROM Document") Cursor siguienteDocumentId();
<p>//I'm new take me soft</p> <p>@Query (&quot;SELECT MAX(documentoId) FROM Document&quot;) Cursor siguienteDocumentId();//esta es la funcion la que devuelve el cursor</p>
//I'm new take me soft @Query (&quot;SELECT MAX(documentoId) FROM Document&quot;) Cursor siguienteDocumentId();//esta es la funcion la que devuelve el cursor
java|android
0
2022-02-20T22:42:31.960Z
2,022
2
22
6
13
0
157
137
2
0
false
true
false
false
false
false
zero
71,248,177
How to use SantizerCoverage during AOSP compilation?
<p>My working environment is AOSP6.0. I was hoping for some detailed instructions, such as What do I need to do in Android.mk? or How can the custom __sanitizer_cov_trace_pc_guard_init and __sanitizer_cov_trace_pc_guard functions be passed to the Android build system so that it can be used when piling? thank you every ...
My working environment is AOSP6.0. I was hoping for some detailed instructions, such as What do I need to do in Android.mk? or How can the custom __sanitizer_cov_trace_pc_guard_init and __sanitizer_cov_trace_pc_guard functions be passed to the Android build system so that it can be used when piling? thank you every one...
android-source
0
2022-02-24T06:56:55.887Z
2,022
2
6
3
13
0
322
52
1
0
false
true
false
false
false
false
zero
71,276,085
Execution failed for flutter
<p>I am getting the following error:</p> <pre><code>Execution failed for task ':app:checkDebugAarMetadata'. &gt; A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction &gt; One or more issues found when checking AAR metadata values: </code></pre>
I am getting the following error: [CODE]
android
0
2022-02-26T10:58:27.967Z
2,022
2
10
5
13
0
40
28
1
1
true
true
false
false
false
false
zero
71,279,722
IS there a way of converting python scripts to APK file
<p>I'm making a platformer and I was wondering if there was any way I could get it on android I'm using python</p>
I'm making a platformer and I was wondering if there was any way I could get it on android I'm using python
python|android|pygame
0
2022-02-26T19:34:01.843Z
2,022
2
19
5
13
0
107
55
3
0
false
true
false
false
false
false
zero
71,283,694
Getting an Null Pointer Error if not changing Tabs before starting task
<p>Im working on a simple application, that can record your Airtime when jumping with your mountainbike or while skiing.</p> <p>For this i added three fragments. The first one shows you your Airtime after doing a jump. The second one the raw data and the third one should show a graph, which plots the jump data (not wor...
Im working on a simple application, that can record your Airtime when jumping with your mountainbike or while skiing. For this i added three fragments. The first one shows you your Airtime after doing a jump. The second one the raw data and the third one should show a graph, which plots the jump data (not working yet, ...
java|android|nullpointerexception|tabbed-view
0
2022-02-27T09:46:21.907Z
2,022
2
9
6
13
0
1,365
71
4
0
false
true
false
false
false
false
zero
71,315,160
how to manage y view pager?
<p>I dont know why my viewpager doesn't show anything !! i do all the thing like my professor but it doesn't work for me if you know,please help me</p> <p>my slides (xml) I create a slid and inflate it in view pager adaptor</p> <pre><code> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;RelativeL...
I dont know why my viewpager doesn't show anything !! i do all the thing like my professor but it doesn't work for me if you know,please help me my slides (xml) I create a slid and inflate it in view pager adaptor [CODE] my activity(xml) in the activity i create a view pager and tabs layout [CODE] my viewpager adaptor ...
android|android-viewpager
0
2022-03-01T22:07:21.847Z
2,022
3
22
1
13
0
436
27
2
4
true
true
false
false
false
false
zero
71,323,513
My websites internal urls still open in external browser even i have implemented well code in activity.java
<p>before my app was working well in webview using a website link but now when i changed domain and url it doesn't working it opens in external browser all internal links too please someone help me ,i need to upload it into playstore fast..`</p> <p>private class WebViewClientDemo extends WebViewClient {</p> <pre><code>...
before my app was working well in webview using a website link but now when i changed domain and url it doesn't working it opens in external browser all internal links too please someone help me ,i need to upload it into playstore fast..` private class WebViewClientDemo extends WebViewClient { [CODE]
android|android-studio|webview|overriding|external-url
0
2022-03-02T13:28:27.393Z
2,022
3
13
2
13
0
301
107
5
1
true
true
false
false
false
false
zero
71,341,782
FootprintSelectionVisualizer not displaying footprint
<p>I'm trying to set a foot print shadow but I'm not seeing one when I try to add a <code>FootprintSelectionVisualizer</code>.</p> <p>Am I missing a step?</p> <pre><code> private fun onModelLoaded(modelRenderable: ModelRenderable) { val footprintSelectionVisualizer = FootprintSelectionVisualizer().apply { ...
I'm trying to set a foot print shadow but I'm not seeing one when I try to add a FootprintSelectionVisualizer . Am I missing a step? [CODE]
android|kotlin|sceneform
0
2022-03-03T18:03:37.720Z
2,022
3
18
3
13
0
139
53
3
1
true
true
false
false
false
false
zero
71,406,994
MemoryLeakMonitor.jar is not exist! Some songs are playing and some songs are causing app crash
<p>I can see all the songs in my app and all the songs are playing but I have some songs So that when clicked This application crashes 90 percent of my songs are playing but 10 percent of the songs are not playing. Clicking on these songs will cause the app to crash. I can see that everything is fine . Can anyone tell ...
I can see all the songs in my app and all the songs are playing but I have some songs So that when clicked This application crashes 90 percent of my songs are playing but 10 percent of the songs are not playing. Clicking on these songs will cause the app to crash. I can see that everything is fine . Can anyone tell me ...
java|android|kotlin
0
2022-03-09T09:24:08.457Z
2,022
3
9
2
13
0
393
95
3
3
true
true
false
false
false
false
zero
71,414,918
How do I implement tabs and nav drawer in same app?
<p>noob again. Nope, no code to show, I deleted it all because I'm on the verge of giving up. What I need is a <em>method</em>, not exact code. Not yet. ViewPager and Nav Host Fragment, what to put where when you need both.</p> <p>For three days I've been trying to get this right and I can't seem to get it. I would lik...
noob again. Nope, no code to show, I deleted it all because I'm on the verge of giving up. What I need is a method , not exact code. Not yet. ViewPager and Nav Host Fragment, what to put where when you need both. For three days I've been trying to get this right and I can't seem to get it. I would like to have both tab...
android|kotlin|tabs
0
2022-03-09T19:18:45.823Z
2,022
3
19
2
13
0
1,530
51
3
1
true
true
false
false
false
false
zero
71,434,071
Explain how to take the raw system and modify it on my device
<p>I have an Android device and I want to try Android 13. How do I download the raw system and support it as if it is a special ROM for me? Please teach me to make a ROM for my device</p>
I have an Android device and I want to try Android 13. How do I download the raw system and support it as if it is a special ROM for me? Please teach me to make a ROM for my device
android|build|rom
0
2022-03-11T05:37:03.797Z
2,022
3
5
4
13
0
180
61
3
0
false
true
false
false
false
false
zero
71,097,354
How to differentiate icon 5G connections on Android dumpstate?
<p>I want to check network connection icons on android dumpstate. Which tags/flags should I pay attention to?</p> <p>Thanks</p>
I want to check network connection icons on android dumpstate. Which tags/flags should I pay attention to? Thanks
android|logging|icons|dump|5g
0
2022-02-13T02:04:05.160Z
2,022
2
2
6
14
0
113
62
5
0
false
true
false
false
false
false
zero
71,118,044
Unable to see the library folder after downloading the Android Studio in Windows
<p>Just downloaded and ran the android studio but was unable to see the library folder in Windows command prompt</p>
Just downloaded and ran the android studio but was unable to see the library folder in Windows command prompt
android|windows|android-studio|mobile|mobile-application
0
2022-02-14T20:40:26.017Z
2,022
2
20
0
14
0
109
80
5
0
false
true
false
false
false
false
zero
71,158,268
SAXParserFactory XML Parsing in Android
<p>I am using SAXParserFactory for parsing the XML. I want to set do the following.</p> <pre><code>factory.setFeature(&quot;http://javax.xml.XMLConstants/feature/secure-processing&quot;, true); </code></pre> <p>But when I use this code I am getting following exception. <code>SAXNotRecognizedException</code>.</p> <p>I a...
I am using SAXParserFactory for parsing the XML. I want to set do the following. [CODE] But when I use this code I am getting following exception. SAXNotRecognizedException . I am using SonarCube tool for code review. This tool shows a blocker issue Untrusted XML should be parsed without resolving external data . To av...
android|xml|xml-parsing
0
2022-02-17T12:37:26.867Z
2,022
2
12
3
14
0
433
39
3
1
true
true
false
false
false
false
zero
71,202,196
How to preserve the image quality while storing in SQLite local database
<p>I am storing images in my smartphone SQLite-based application later accessing from the SQLite server. Here the issue is when I am storing the image is reduced automatically to 192x260 means minimum size. Please, anyone, help me how can I preserve image quality.</p> <p>while capturing the image width also set -</p> <...
I am storing images in my smartphone SQLite-based application later accessing from the SQLite server. Here the issue is when I am storing the image is reduced automatically to 192x260 means minimum size. Please, anyone, help me how can I preserve image quality. while capturing the image width also set - [CODE] This is ...
image|android-sqlite|image-quality
0
2022-02-21T06:47:22.960Z
2,022
2
6
0
14
0
406
72
3
2
true
true
false
false
false
false
zero
71,266,016
Connection of multiple microphones with single android device
<p>I want to create app where i can connect multiple microphones using otg with android device and record each microphone voice seprately.Please, guide me if it is possible and how?</p>
I want to create app where i can connect multiple microphones using otg with android device and record each microphone voice seprately.Please, guide me if it is possible and how?
java|android|kotlin|usbmanager
0
2022-02-25T12:41:50.400Z
2,022
2
12
4
14
0
178
61
4
0
false
true
false
false
false
false
zero
71,294,275
How to react to changes in back stack for fragments in android?
<p>Since <a href="https://developer.android.com/reference/android/support/v4/app/FragmentManager.OnBackStackChangedListener#onBackStackChanged()" rel="nofollow noreferrer">FragmentManager is deprecated</a> now below code gives me an error:</p> <pre><code> getFragmentManager().addOnBackStackChangedListener( n...
Since FragmentManager is deprecated now below code gives me an error: [CODE] What is the new way to listen to whenever the contents of the back stack change ?
android|android-fragments
0
2022-02-28T11:23:29.137Z
2,022
2
11
0
14
0
158
63
2
1
true
true
false
false
false
false
zero
71,312,814
It says Null Pointer Exception: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
<h2>Here in method rooms it shows error &quot; Null Pointer Exception: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference&quot;. I don't know what to do incase of strings, do help me</h2> <p><strong>i get &quot;Attempt to invoke virtual method 'android....
Here in method rooms it shows error &quot; Null Pointer Exception: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference&quot;. I don't know what to do incase of strings, do help me i get &quot;Attempt to invoke virtual method 'android.text.Editable androi...
java|android
0
2022-03-01T18:04:36.810Z
2,022
3
18
1
14
0
432
149
2
1
true
true
false
false
false
false
zero
71,315,336
Write and load from a file in Android
<p>I'm studying how to write and read data from a file in android. My problem is that when I close the app and re-open it, the data are missing, while if insert data and load them without closing tha app, they are loaded.Could someone help me understand what the problem is? Thanks. This is my code:</p> <pre><code> p...
I'm studying how to write and read data from a file in android. My problem is that when I close the app and re-open it, the data are missing, while if insert data and load them without closing tha app, they are loaded.Could someone help me understand what the problem is? Thanks. This is my code: [CODE] The xml file is:...
java|android
0
2022-03-01T22:29:14.573Z
2,022
3
22
1
14
0
327
37
2
2
true
true
false
false
false
false
zero
71,316,599
how to get device max link and firmware in ios/android?
<p>I'm trying to write an ios/andriod app that can scan the wifi network the device is connected to and get some information about the router and bandwidth. I was wondering if anyone knows how to get the maximum link supported by the iOS or Android device programmatically using python? also how can I get the router fir...
I'm trying to write an ios/andriod app that can scan the wifi network the device is connected to and get some information about the router and bandwidth. I was wondering if anyone knows how to get the maximum link supported by the iOS or Android device programmatically using python? also how can I get the router firmwa...
python|android|ios|iphone
0
2022-03-02T01:54:34.147Z
2,022
3
1
2
14
0
323
55
4
0
false
true
false
false
false
false
zero
71,361,767
android studio stop showing folders a package
<p>Developing Flutter apps in Android Studio, folders is shown as packages.</p> <p>Can you disable this, so it will show folders as normal folders?</p> <p><a href="https://i.stack.imgur.com/rYCjm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rYCjm.png" alt="enter image description here" /></a></p> ...
Developing Flutter apps in Android Studio, folders is shown as packages. Can you disable this, so it will show folders as normal folders? I am having issues with empty folders and simple workflows etc.
android-studio
0
2022-03-05T11:26:00.543Z
2,022
3
11
5
14
0
201
45
1
0
false
true
false
false
false
false
zero
71,380,780
Weird behavior when I use TextSwitcher and ViewPager together (Sometimes not showing text)
<p><strong>fragment_images_viewer.xml</strong></p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; ...
fragment_images_viewer.xml [CODE] ImagesViewerFragment.java [CODE] I'm struggling with this problem since the morning and can't find any solution for it, The problem is TextSwitcher sometimes hide the content while scrolling, Look at the video on Youtube , It explains my problem well. I'm very confused because I don't ...
android|android-viewpager|android-viewpager2
0
2022-03-07T12:02:28.147Z
2,022
3
12
0
14
0
354
90
3
2
true
true
false
false
false
false
zero
71,396,678
Webview resolution doesn't match device's resolution, dispatchTouchEvent data - x and y exceeding device's resolution (or being negative)
<p>I'm writting Kiosk application in Unity and Android Studio (via plugins). This is what Im using to create webview <a href="https://assetstore.unity.com/packages/tools/gui/in-app-web-browser-57532" rel="nofollow noreferrer">https://assetstore.unity.com/packages/tools/gui/in-app-web-browser-57532</a> I've modified the...
I'm writting Kiosk application in Unity and Android Studio (via plugins). This is what Im using to create webview https://assetstore.unity.com/packages/tools/gui/in-app-web-browser-57532 I've modified the plugin to pass the callback to Unity with MotionEvent data (since unity's input is not being caught while webview i...
java|android|unity3d|plugins
0
2022-03-08T14:30:11.643Z
2,022
3
14
1
14
0
1,154
137
4
1
true
true
false
false
false
false
zero
71,403,307
Is my internet filter(https://www.cloudveil.org/shop/pc/cloudveil-for-windows/) blocking Gradle syncs in Android Studio?
<p>I keep getting this error when I try to sync my project with Gradle: &quot;unable to find valid certification path to requested target&quot;. In my Internet filter's dashboard, in the block history, I see that there are a lot of sites blocked from Facebook and some from YouTube right after I ran the Gradle sync. Her...
I keep getting this error when I try to sync my project with Gradle: &quot;unable to find valid certification path to requested target&quot;. In my Internet filter's dashboard, in the block history, I see that there are a lot of sites blocked from Facebook and some from YouTube right after I ran the Gradle sync. Here a...
android|gradle|certificate
0
2022-03-09T01:28:30.077Z
2,022
3
1
2
14
0
921
120
3
0
false
true
false
false
false
false
zero
71,405,936
How to close document and switch to default activity or launch it if not started?
<p>I have a notification that should open activity and the user can accept or reject notification content as the user could receive multiple notifications, I'm opening every activity in document, this is how I open activity in document</p> <pre><code> val intent = Intent().setClassName( applicationContext.pa...
I have a notification that should open activity and the user can accept or reject notification content as the user could receive multiple notifications, I'm opening every activity in document, this is how I open activity in document [CODE] this opens the activity but the problem is when the user take action I need to b...
android|android-activity|android-launcher
0
2022-03-09T07:47:30.610Z
2,022
3
7
2
14
0
595
81
3
1
true
true
false
false
false
false
zero
71,407,672
I am having issues on Update operation in Room Database
<blockquote> <p>Click Listerner on update Button. I dont know whether i should use uid or not.I am trying to update firstname, lastname, username, password and i dont know about uid. How can i use uid to update my fields</p> </blockquote> <pre><code> btnUpdate.setOnClickListener(new View.OnClickListener() { ...
Click Listerner on update Button. I dont know whether i should use uid or not.I am trying to update firstname, lastname, username, password and i dont know about uid. How can i use uid to update my fields [CODE]
android-studio
0
2022-03-09T10:15:34.120Z
2,022
3
10
2
14
0
211
55
1
1
true
true
false
false
false
false
zero
71,180,252
open fragment from activity and pass arguments using navigation components
<p>I can navigate from one fragment which is inside of main_graph from navigation components to one activity, I also added the activity inside the main_graph from navigation components:</p> <p>see the picture below:</p> <p><a href="https://i.stack.imgur.com/CE8Sa.png" rel="nofollow noreferrer"><img src="https://i.stack...
I can navigate from one fragment which is inside of main_graph from navigation components to one activity, I also added the activity inside the main_graph from navigation components: see the picture below: My problem is that I can't navigate from the new activity that was added and send arguments or one bundle to the p...
android|android-fragments|navigation
1
2022-02-18T21:50:59.470Z
2,022
2
21
4
526
0
827
74
3
3
true
true
false
false
false
false
low
71,107,209
How to add new element to the json. Even if after a element deleted from middle of the JSON file. I am using VOLLEY Android
<p>If an element is deleted from the middle of the Json file, the next insert element will be added immediately after it is deleted, otherwise is there any way to add a new element at the end of Json?</p> <p>Example</p> <p>sample.json</p> <pre><code>sample[ {&quot;name&quot; : &quot;name1&quot;, ...
If an element is deleted from the middle of the Json file, the next insert element will be added immediately after it is deleted, otherwise is there any way to add a new element at the end of Json? Example sample.json [CODE] Normally when we add a new element that is added at last postion of json like below there is i ...
android|json|rest|android-volley
0
2022-02-14T04:38:25.863Z
2,022
2
4
0
15
0
994
123
4
5
true
true
false
false
false
false
zero
71,108,870
Database Connection on AIDL Demo Project
<p>I am getting an issue when I am doing my project on android. It's an AIDL demo project database queries are not getting executed. Can anyone help me with an AIDL database demo project?</p>
I am getting an issue when I am doing my project on android. It's an AIDL demo project database queries are not getting executed. Can anyone help me with an AIDL database demo project?
java|android|android-studio|aidl
0
2022-02-14T08:20:03.073Z
2,022
2
8
0
15
0
184
40
4
0
false
true
false
false
false
false
zero
71,114,151
Are the functions I have suggested possible to integrate into an app?
<p><strong>Fore-warning;</strong> I am a complete novice and am here to get some information about what is possible to do with an app and if my ideas of functions to include are realistic and if this technology currently exists. I am part of a skills development programme in my workplace (retail) and have been tasked w...
Fore-warning; I am a complete novice and am here to get some information about what is possible to do with an app and if my ideas of functions to include are realistic and if this technology currently exists. I am part of a skills development programme in my workplace (retail) and have been tasked with creating somethi...
android|ios
0
2022-02-14T15:21:07.540Z
2,022
2
15
0
15
0
4,919
69
2
0
false
true
false
false
false
false
zero
71,185,181
Android studio SDK manager doesn't open
<p>I downloaded Android Studio regularly, then it didn't open so i followed advice on another question that was: &quot;Open file Android Studio setup directory/bin/idea.properties. Add disable.android.first.run=true to tail. Restart AS.&quot; It worked but now when I try to open the SDK manager it gets stuck on loading...
I downloaded Android Studio regularly, then it didn't open so i followed advice on another question that was: &quot;Open file Android Studio setup directory/bin/idea.properties. Add disable.android.first.run=true to tail. Restart AS.&quot; It worked but now when I try to open the SDK manager it gets stuck on loading. S...
android|android-studio
0
2022-02-19T12:52:40.817Z
2,022
2
12
5
15
0
397
39
2
0
false
true
false
false
false
false
zero
71,204,897
Top tabs with material top tabs navigation - authentication implementation - how to proceed?
<p>I am implementing material top tabs and want to keep the user singed in if the user signs in to the application. The concept is working but after working for 6-7 times, the screen transitions are wrong. The user sees the previous user's details after logout and relogin.</p> <pre><code>function TabNavigation() { ret...
I am implementing material top tabs and want to keep the user singed in if the user signs in to the application. The concept is working but after working for 6-7 times, the screen transitions are wrong. The user sees the previous user's details after logout and relogin. [CODE] And when we logout, we want to redirect ba...
android|ios|react-native|authentication|navigation
0
2022-02-21T10:42:22.263Z
2,022
2
10
0
15
0
401
92
5
2
true
true
false
false
false
false
zero
71,234,588
Drawable assigned to checkbox is ignored in KitKat emulator (and only there)
<p>I have a list item containing a CheckBox for defining favorites, which is rendered as a star-shape:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;match_parent&quo...
I have a list item containing a CheckBox for defining favorites, which is rendered as a star-shape: [CODE] The resource btn_star_selector is defined as [CODE] So far, I had never seen a problem, with this checkbox. It was always rendered as a star. But now I have set up an emulator device (Nexus 5) running on api level...
listview|android-drawable|android-button|android-checkbox|xml-drawable
0
2022-02-23T09:44:02.260Z
2,022
2
9
2
15
0
733
76
5
2
true
true
false
false
false
false
zero
71,241,329
unable to advance focus to next contenteditable element in the keydown event on android mobile but it works on iOS mobile and desktop browsers
<p>I've been asking this question in a variety of ways and getting no replies but I don't know whether that's because the title of my question isn't clear enough or because what I want to do isn't possible.</p> <p>I have a series of contenteditable <code>p</code> elements, like an &quot;enter your PIN code&quot; scree...
I've been asking this question in a variety of ways and getting no replies but I don't know whether that's because the title of my question isn't clear enough or because what I want to do isn't possible. I have a series of contenteditable p elements, like an &quot;enter your PIN code&quot; screen, and when the user ent...
javascript|android|jquery|focus|keydown
0
2022-02-23T17:14:39.350Z
2,022
2
17
2
15
0
746
142
5
3
true
true
false
false
false
false
zero
71,251,426
Persistant Bottom Sheet jumps to Expand state suddenly after setState(STATE_COLLAPSE) when current state is hidden
<p>I need to change the state of bottom sheet to collapse from hidden state; but the state changes to <code>expanded</code> in just a moment then it goes to <code>collapse</code> state.</p> <p>Anyone can explain what is happening or what can I do for it? what I need is just to go from <code>hidden</code> state to <code...
I need to change the state of bottom sheet to collapse from hidden state; but the state changes to expanded in just a moment then it goes to collapse state. Anyone can explain what is happening or what can I do for it? what I need is just to go from hidden state to collapse state. (not expanded state in the middle)
java|android|material-ui|bottom-sheet
0
2022-02-24T11:43:41.243Z
2,022
2
11
3
15
0
316
114
4
0
false
true
false
false
false
false
zero
71,259,611
How do I track the flags passed by a system app in a startActivity intent on Android 12?
<p>I'm on Android 12 (OneUI 4) using KeyMapper to help toggle the virtual keyboard using my physical keyboard. The most efficient way I found to do that is through the dialog that comes up when I'm on Settings -&gt; List of keyboards -&gt; Default keyboard. I tracked it via DevTools Pro which says it's from a package c...
I'm on Android 12 (OneUI 4) using KeyMapper to help toggle the virtual keyboard using my physical keyboard. The most efficient way I found to do that is through the dialog that comes up when I'm on Settings -> List of keyboards -> Default keyboard. I tracked it via DevTools Pro which says it's from a package called and...
android|android-intent|android-alertdialog
0
2022-02-25T00:03:19.667Z
2,022
2
0
4
15
0
727
88
3
0
false
true
false
false
false
false
zero
71,279,495
Could not resolve all artifacts for configuration ':qr_code_scanner:classpath'. Flutter error?
<p>I am Getting this error while building the app when using a pub.dev package qr_code_scanner. I have tried fluttern clean.</p> <pre><code> Launching lib\main.dart on SM M215G in debug mode... lib\main.dart:1 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':qr_code...
I am Getting this error while building the app when using a pub.dev package qr_code_scanner. I have tried fluttern clean. [CODE]
android|flutter|kotlin|flutter-dependencies|flutter-web
0
2022-02-26T18:59:35.170Z
2,022
2
18
5
15
0
128
94
5
1
true
true
false
false
false
false
zero
71,280,841
Plugin error with Visual Paradigm how can i can delete it in android studio
<p>somoneknows how to delete this message in Android studio ?</p> <p>Thanks</p> <p><a href="https://i.stack.imgur.com/ZYNih.png" rel="nofollow noreferrer">Error message at left bottom on the android studio</a></p>
somoneknows how to delete this message in Android studio ? Thanks Error message at left bottom on the android studio
android|plugins|paradigms
0
2022-02-26T22:44:35.633Z
2,022
2
22
5
15
0
116
75
3
0
false
true
false
false
false
false
zero
71,287,515
How to change activity from an Expandable Menu button?
<p>I've got a file called <strong>activity_demo.xml</strong> where I put an <strong>Expandable Menu</strong> with a button with the id <strong>&quot;changeActivity&quot;</strong>. The <strong>Expandable Menu</strong> references the files:</p> <ul> <li>DemoActivity.java / activity_demo.xml</li> <li>DataModel.java</li> <...
I've got a file called activity_demo.xml where I put an Expandable Menu with a button with the id &quot;changeActivity&quot; . The Expandable Menu references the files: DemoActivity.java / activity_demo.xml DataModel.java ItemAdapter.java NestedAdapter.java each_item.xml nested_item.xml I want to change activity_demo.x...
java|android-studio|menu|expandable
0
2022-02-27T18:38:11.563Z
2,022
2
18
6
15
0
891
54
4
2
true
true
false
false
false
false
zero
71,299,113
Error in Android Studio: Installation did not succeed
<p>I'm getting this error everytime I try to launch my app in Android Studio:</p> <pre><code>02/28 17:40:36: Launching 'app' on Pixel 2 API 30. Installation did not succeed. The application could not be installed. List of apks: [0] 'C:\Users\(MyUserName)\AndroidStudioProjects\(MyProjectName)\app\build\intermediates\ap...
I'm getting this error everytime I try to launch my app in Android Studio: [CODE] I don't know if it has to do with the fact I have some classes I haven't used yet or because they're not on the manifest. Either way, here's the code to my build.gradles and my manifest file: build.gradle (Project: (MyProjectName)): [CODE...
android|android-studio|kotlin
0
2022-02-28T17:56:26.620Z
2,022
2
17
0
15
0
591
53
3
4
true
true
false
false
false
false
zero
71,347,217
Need help to choose Automation Tool which can allow me to switch between Web and Mobile emulator
<p>My Web Application based on Salesforce has few steps that can be performed through mobile application only. With current automation tool I can execute test cases either on Web page or on Mobile device/emulator. Both can not be switched in between withing single test case. What is another tool available can be used i...
My Web Application based on Salesforce has few steps that can be performed through mobile application only. With current automation tool I can execute test cases either on Web page or on Mobile device/emulator. Both can not be switched in between withing single test case. What is another tool available can be used in s...
selenium-webdriver|automation|android-emulator|appium
0
2022-03-04T06:04:20.483Z
2,022
3
6
4
15
0
329
96
4
0
false
true
false
false
false
false
zero
71,157,271
Android: Accessibility and Focusability in mixed JetpackCompose-XML Views
<p><strong>Required:</strong> I need to bring Focus to the top most view_the composeView, talkback to point only to it, remove other bottom view &quot;<em>XML layout Fragment</em>&quot; focus indicators ex: keyboard.</p> <p><strong>Code structure</strong></p> <pre><code>class Fragment { someState -&gt; showCustomCompo...
Required: I need to bring Focus to the top most view_the composeView, talkback to point only to it, remove other bottom view &quot; XML layout Fragment &quot; focus indicators ex: keyboard. Code structure [CODE] currently baseView has focus too, it shows keyboard and Talkback speaks both views Base-XML and Top-Compose ...
android|android-jetpack-compose|talkback|accessibility
0
2022-02-17T11:27:26.423Z
2,022
2
11
3
271
0
383
73
4
1
true
true
false
false
false
false
zero
71,143,198
Linking native libraries Android Studio
<p>Assume I have three Android modules:</p> <ol> <li>FooLib which contain native code for some math</li> <li>BarLib which contain native code for some crypto</li> <li>FooBarApp which contain native code for invoking the crypto operations</li> </ol> <p>The challenge here is that BarLib depends on the FooLib implementati...
Assume I have three Android modules: FooLib which contain native code for some math BarLib which contain native code for some crypto FooBarApp which contain native code for invoking the crypto operations The challenge here is that BarLib depends on the FooLib implementation. However, I can't seem to figure out how to l...
android|android-ndk
0
2022-02-16T13:57:06.767Z
2,022
2
13
2
16
0
588
39
2
0
false
true
false
false
false
false
zero
71,159,613
Android Gradle ignore resValue on second build time
<p>I'm building an Android app on Jenkins. Recently, I had a problem after adding a code to modify resValue in Gradle.</p> <p>After the project was built (first build), I changed the property referenced by resValue. And I built a second build. However, the value of resources.arsc included in the apk contains the value ...
I'm building an Android app on Jenkins. Recently, I had a problem after adding a code to modify resValue in Gradle. After the project was built (first build), I changed the property referenced by resValue. And I built a second build. However, the value of resources.arsc included in the apk contains the value included a...
android|android-gradle-plugin|build.gradle
0
2022-02-17T14:04:24.193Z
2,022
2
14
3
16
0
691
51
3
1
true
true
false
false
false
false
zero
71,176,336
Is there any way to add a similar condition like replaceAll() before checking "LIKE" Opeator in SQLITE
<p>My String:<code>String searchNumber= &quot;9876543210&quot;</code> and in my table the CONTACT_NUMBERis stored as <strong>(987)654-3210</strong>.</p> <p>So what I wrote is: <code>String query = &quot;SELECT * FROM &quot;+CONTACT_TABLE+&quot; WHERE &quot;+CONTACT_NUMBER+&quot; LIKE &quot;+&quot;'%&quot; + searchNumb...
My String: String searchNumber= &quot;9876543210&quot; and in my table the CONTACT_NUMBERis stored as (987)654-3210 . So what I wrote is: String query = &quot;SELECT * FROM &quot;+CONTACT_TABLE+&quot; WHERE &quot;+CONTACT_NUMBER+&quot; LIKE &quot;+&quot;'%&quot; + searchNumber+&quot;%' ORDER BY &quot;+CONTACT_NAME +&qu...
java|android|sqlite|android-cursor
0
2022-02-18T15:55:25.633Z
2,022
2
15
4
16
0
975
102
4
0
false
true
false
false
false
false
zero
71,197,702
How do we catch the response of HttpsPost android
<p>I am trying to catch the response of <a href="https://developers.facebook.com/docs/facebook-login/for-devices" rel="nofollow noreferrer">Facebook Graph API</a> with the following function</p> <pre><code>override fun onClick(v: View?) { val url = URL(&quot;https://graph.facebook.com/v13.0/device/login&quot;); ...
I am trying to catch the response of Facebook Graph API with the following function [CODE] I want to send the response to Log.e or save it to a string. The response is a json. I will write the log in Handle(Looper... method
android|kotlin|facebook-graph-api|http-post
0
2022-02-20T18:55:29.143Z
2,022
2
18
6
16
0
223
49
4
1
true
true
false
false
false
false
zero
71,216,016
How to get BLOCK number in developer here map sdk
<p>I am trying to get address from map in android SDK but I am not able to get BLOCK number in there, how can I get the BLOCK number in developer here map SDK or API?</p>
I am trying to get address from map in android SDK but I am not able to get BLOCK number in there, how can I get the BLOCK number in developer here map SDK or API?
android|dictionary|geocoder
0
2022-02-22T04:43:05.640Z
2,022
2
4
1
16
0
163
49
3
0
false
true
false
false
false
false
zero
71,240,336
how to Redirct from webview into another activty in anroid ? I'm using paypal RestApi
<p>I have android app and integerate it with paypal rest api.<br /> when the user goes to approve activity to approve on the payment, the api redirect the page to return_url/cancel_url (which i specify them in the api request).<br /> Is there is a way that i rediect to specific activity so that i know if the user appro...
I have android app and integerate it with paypal rest api. when the user goes to approve activity to approve on the payment, the api redirect the page to return_url/cancel_url (which i specify them in the api request). Is there is a way that i rediect to specific activity so that i know if the user approved the payment...
android|rest|mobile|webview|paypal
0
2022-02-23T16:05:01.347Z
2,022
2
16
2
16
0
459
85
5
0
false
true
false
false
false
false
zero
71,247,436
git diff turing black text background in android studio terminal
<p>console commands and other git commands run as fine, but git changes the textbackground to black, and background applies thereafter until i close the terminal. This problem only occurs in android studio. It is working fine in Windows Conmmand Prompt and Windows Terminal</p>
console commands and other git commands run as fine, but git changes the textbackground to black, and background applies thereafter until i close the terminal. This problem only occurs in android studio. It is working fine in Windows Conmmand Prompt and Windows Terminal
android-studio-3.0
0
2022-02-24T05:15:46.593Z
2,022
2
5
3
16
0
270
64
1
0
false
true
false
false
false
false
zero
71,274,539
Identify who is speaking in a android phone call
<p>I want to create an android app that will be able to make a phone call. When both dialer and receiver are speaking then I need to identify when the receiver is speaking based on that I need to show a human 3D model. I know I can build a phone call with these resources <a href="https://developer.android.com/guide/top...
I want to create an android app that will be able to make a phone call. When both dialer and receiver are speaking then I need to identify when the receiver is speaking based on that I need to show a human 3D model. I know I can build a phone call with these resources Telecom and Calling App . But I don't know How can ...
android|voice-recognition|phone-call
0
2022-02-26T06:23:47.537Z
2,022
2
6
5
16
0
366
48
3
0
false
true
false
false
false
false
zero
71,283,780
Custom dialog error, dialog size error occurs when using layout_alignParentBottom option in dialog xml
<p>I am customizing the dialog layout.</p> <p>However, if layout_alignParentBottom is used in the options of the view, the dialog size is displayed larger than that shown in the tool.</p> <p>If layout_alignParentBottom is not used, it is displayed normally as shown in the tool.</p> <p>I thought it was an android studio...
I am customizing the dialog layout. However, if layout_alignParentBottom is used in the options of the view, the dialog size is displayed larger than that shown in the tool. If layout_alignParentBottom is not used, it is displayed normally as shown in the tool. I thought it was an android studio error, please let me kn...
android-studio|kotlin
0
2022-02-27T10:01:40.080Z
2,022
2
10
6
16
0
357
102
2
0
false
true
false
false
false
false
zero
71,297,982
How can I set a color for a text?
<p><a href="https://i.stack.imgur.com/BcxPi.jpg" rel="nofollow noreferrer">enter image description here</a></p> <p>how can i set a color text to text Wrong, red and text Correct,green?</p>
enter image description here how can i set a color text to text Wrong, red and text Correct,green?
android|android-studio|kotlin
0
2022-02-28T16:20:47.467Z
2,022
2
16
0
16
0
98
33
3
0
false
true
false
false
false
false
zero
71,336,286
Is volley RetryPolicy triggered for all kinds of failures?
<p>Is the volley retry policy triggered for all types of errors such as NetworkFailure, ServerFailure, NoConnectionFailure etc. and for all non 2xx response codes? I have searched but not been able to find any document in regards to does it retry for all errors or for specific errors.</p> <p>The only implementation I c...
Is the volley retry policy triggered for all types of errors such as NetworkFailure, ServerFailure, NoConnectionFailure etc. and for all non 2xx response codes? I have searched but not been able to find any document in regards to does it retry for all errors or for specific errors. The only implementation I could find ...
android|android-volley
0
2022-03-03T11:20:00.787Z
2,022
3
11
3
16
0
474
58
2
0
false
true
false
false
false
false
zero
71,357,643
I 'm trying to show toast in fragment by two ways but it doesn't work.. I have attached a link to the project on GitHub
<p><a href="https://github.com/Mussa-Adolai/MyRecycler/tree/edit_project" rel="nofollow noreferrer">https://github.com/Mussa-Adolai/MyRecycler/tree/edit_project</a></p> <pre><code>enter code here </code></pre> <p>from main activity</p> <p>fun bottomNavClick(){ bottomNavigationView?.setOnItemSelectedListener(){</p> <pre...
https://github.com/Mussa-Adolai/MyRecycler/tree/edit_project [CODE] from main activity fun bottomNavClick(){ bottomNavigationView?.setOnItemSelectedListener(){ [CODE] from fragment class class PersonFragment : Fragment() { [CODE]
android-fragments|android-toast
1
2022-03-04T22:01:13.927Z
2,022
3
22
4
16
0
229
119
2
3
true
true
false
false
false
false
low
71,360,972
Merge New Local Android Studio Branch into Github Branch
<p>I re-installed my Windows10 OS and installed the latest update of Android studio. I then opened a stored zip file of my project into Android Studio. I created a lot of changes and now want to upload these changes to the existing project on Github. But if I try to &quot;Share project to Github&quot; it tells me that ...
I re-installed my Windows10 OS and installed the latest update of Android studio. I then opened a stored zip file of my project into Android Studio. I created a lot of changes and now want to upload these changes to the existing project on Github. But if I try to &quot;Share project to Github&quot; it tells me that the...
android-studio|github|github-api
0
2022-03-05T09:20:03.453Z
2,022
3
9
5
16
0
466
56
3
0
false
true
false
false
false
false
zero
71,364,514
Getting the thumbnails of mediastore items
<p>I'm new to android programming. How do I get the thumbnails of mediastore items,that will work in all the android versions? The answers I've seen so far are quite conflicting.</p>
I'm new to android programming. How do I get the thumbnails of mediastore items,that will work in all the android versions? The answers I've seen so far are quite conflicting.
android|mediastore
0
2022-03-05T17:46:41.113Z
2,022
3
17
5
16
0
175
42
2
0
false
true
false
false
false
false
zero
71,387,066
Android ReactiveX - Is it possible to have an observer of 2 possible response types?
<p>Here is what I'm starting with. The Clover API that I'm calling returns 2 different possible responses. A &quot;PaymentSuccessResponse&quot; if the credit card was authorized and a &quot;PaymentFailResponse&quot; if the response was a rejection of the card or if the user canceled the transaction.</p> <p>Since thes...
Here is what I'm starting with. The Clover API that I'm calling returns 2 different possible responses. A &quot;PaymentSuccessResponse&quot; if the credit card was authorized and a &quot;PaymentFailResponse&quot; if the response was a rejection of the card or if the user canceled the transaction. Since these two models...
android|kotlin|reactivex
0
2022-03-07T20:47:05.483Z
2,022
3
20
0
16
0
437
84
3
1
true
true
false
false
false
false
zero
71,391,803
how to call the BTNequal function inside the BTNmultiply function?, its a on click function in android studio
<p>How to call a function with &quot;View view&quot; arguments in another function in android studeio?<a href="https://i.stack.imgur.com/HAHVc.png" rel="nofollow noreferrer">enter image description here</a></p>
How to call a function with &quot;View view&quot; arguments in another function in android studeio? enter image description here
java|android-studio
0
2022-03-08T08:10:35.793Z
2,022
3
8
1
16
0
128
109
2
0
false
true
false
false
false
false
zero
71,394,064
How to remove extra console loggings on Android Chrome display
<p>When reading a RFID tag in &quot;keyboard mode&quot; into a dedicated input field (focus set on this field), this works nicely, but at the same time the same tag reading also appears shortly as a console type message on the screen. See the included picture, text encircled red. This behavior is not nice, and it seems...
When reading a RFID tag in &quot;keyboard mode&quot; into a dedicated input field (focus set on this field), this works nicely, but at the same time the same tag reading also appears shortly as a console type message on the screen. See the included picture, text encircled red. This behavior is not nice, and it seems it...
android|google-chrome|console.log
0
2022-03-08T11:12:30.080Z
2,022
3
11
1
16
0
722
62
3
0
false
true
false
false
false
false
zero
71,414,255
Drawing Backup Cam HUD Dynamically in Android
<p>So I'm implementing an RTSP backup cam in an Android application. The catch is this: various vehicles have cams w/ different FOV - so I can't just throw a PNG up. It needs to be easily adjustable.</p> <p>Currently my setup is to use paths:</p> <pre><code>redPath.moveTo(xLeft, yLeft); //set starting point redPath...
So I'm implementing an RTSP backup cam in an Android application. The catch is this: various vehicles have cams w/ different FOV - so I can't just throw a PNG up. It needs to be easily adjustable. Currently my setup is to use paths: [CODE] which looks something like this - (small tweaking issues like the pixels overhan...
android|android-canvas|android-drawable
0
2022-03-09T18:23:25.693Z
2,022
3
18
2
16
0
579
45
3
1
true
true
false
false
false
false
zero
71,414,559
how to submit in android studio a user data on firebase and set his/her name on a listview automatically?
<p>I am working on my class project in android studio, I want to create a registration form that register the user on firebase then set the user name in a listview. in brief the data has to go in firebase database then the user name has to be added on the listview that I created. I need your help guys.</p>
I am working on my class project in android studio, I want to create a registration form that register the user on firebase then set the user name in a listview. in brief the data has to go in firebase database then the user name has to be added on the listview that I created. I need your help guys.
java|android|xml
0
2022-03-09T18:48:43.570Z
2,022
3
18
2
16
0
300
105
3
0
false
true
false
false
false
false
zero
71,419,285
Changing Fire Store project for Push Notification. What need to be changed in react native project?
<p>I am using Firebase Cloud Messaging features. At the start of the project I created a project in firebase to test and connect with my react native app.</p> <p>When I created a project firebase give me <code>google-services.json</code> file</p> <pre><code>{ &quot;project_info&quot;: { &quot;project_number&quot;...
I am using Firebase Cloud Messaging features. At the start of the project I created a project in firebase to test and connect with my react native app. When I created a project firebase give me google-services.json file [CODE] Inside the json file I need to fill the react native app package name from AndroidManifest.xm...
android|firebase|react-native
0
2022-03-10T05:34:03.743Z
2,022
3
5
3
16
0
636
99
3
2
true
true
false
false
false
false
zero
71,438,875
Expo Android Cerficate Reset
<p>I need to reset my android keystone certificate because I recently switched to expo, I downloaded the automatically generated keystore from expo.dev and I ran:</p> <pre><code>keytool -genkeypair -alias MY_ALIAS -keyalg RSA -keysize 2048 -validity 9125 -keystore MY_KEYSTORE.jks </code></pre> <p>but when I specified m...
I need to reset my android keystone certificate because I recently switched to expo, I downloaded the automatically generated keystore from expo.dev and I ran: [CODE] but when I specified my password I'm getting: [CODE] How can I fix it? Thanks
android|expo|rsa
0
2022-03-11T12:57:38.913Z
2,022
3
12
4
16
0
244
28
3
2
true
true
false
false
false
false
zero
71,367,227
Android Navigation component multiple Nav host
<p>I use single Activity patern in my project.In one of the fragments, let's call it <code>ExploreFragment()</code>, I need to create a <code>FragmentContainerView</code> where several fragments will change. The <code>ExploreFragment()</code> has a search engine and by default displays a <code>MovieGanresFragment()</co...
I use single Activity patern in my project.In one of the fragments, let's call it ExploreFragment() , I need to create a FragmentContainerView where several fragments will change. The ExploreFragment() has a search engine and by default displays a MovieGanresFragment() with a list of genres. If I start typing text into...
android|android-jetpack|android-navigation
1
2022-03-06T02:04:07.577Z
2,022
3
2
6
272
0
1,155
46
3
3
true
true
false
false
false
false
low
71,391,094
java.lang.VerifyError: Verifier rejected class [0x25] tried to get class from non-reference register v12 (type=Imprecise Constant: 127)
<p>crash after remove &quot;-dontshrink&quot; in proguard-rules.pro</p> <p>log:</p> <pre><code>java.lang.VerifyError: Verifier rejected class com.xxx.activity.XXActivity: androidx.loader.content.Loader com.xxx.activity.XXActivity.onCreateLoader(int, android.os.Bundle) failed to verify: androidx.loader.content.Loader c...
crash after remove &quot;-dontshrink&quot; in proguard-rules.pro log: [CODE] if add &quot;-dontshrink&quot; to proguard-rules.pro, there has no crash.
android
0
2022-03-08T06:55:47.100Z
2,022
3
6
1
272
0
150
135
1
1
true
true
false
false
false
false
zero
71,125,720
Adapter not updating list in Android
<p>I am using ListAdapter for a notes application. But it is not updating my notes properly. Is there anyone who can help me?</p> <p>Adapter Class</p> <pre><code>fun addHeaderAndSubmitList(list: List&lt;ToDoData&gt;?) { val uncheckedItems = list?.filter { it.isActive } val checkedItems = list?.filter { ...
I am using ListAdapter for a notes application. But it is not updating my notes properly. Is there anyone who can help me? Adapter Class [CODE] Fragment Class [CODE]
android-recyclerview|adapter
0
2022-02-15T11:33:12.410Z
2,022
2
11
1
17
0
165
36
2
2
true
true
false
false
false
false
zero
71,140,641
Android nmea dtm message doesnt come
<p>I can listen to the nmea stream, I get messages like GSA, GSV, GLL, RMC, VTG, GST but not DTM. how to get these messages? On one of test device they come, but on the other they don't. I found this:</p> <pre><code> DTM ON, DTMOFF: enable/disable DTM message Enables/disables the DTM message. Format: $GPSGG,...
I can listen to the nmea stream, I get messages like GSA, GSV, GLL, RMC, VTG, GST but not DTM. how to get these messages? On one of test device they come, but on the other they don't. I found this: [CODE] do I need to enable DTM by GPSGG message? How to do this if I has a root? How to get dtm messages? android > 8
android|nmea
0
2022-02-16T11:04:54.227Z
2,022
2
11
2
17
0
315
36
2
1
true
true
false
false
false
false
zero
71,168,843
Resources/Guidance needed to make a real time video processing mobile application (Android)
<p>I am trying to develop an android mobile application that should stream video from the phone's camera and send the stream to a cloud service for processing (splitting into frames) which in turn would be used by my server hosted on the same cloud service (an ML model) and then return output back to my phone for displ...
I am trying to develop an android mobile application that should stream video from the phone's camera and send the stream to a cloud service for processing (splitting into frames) which in turn would be used by my server hosted on the same cloud service (an ML model) and then return output back to my phone for display....
android|cloud|video-streaming|real-time
0
2022-02-18T05:38:52.867Z
2,022
2
5
4
17
0
912
91
4
0
false
true
false
false
false
false
zero
71,174,727
why isn't preferencescreen overlapped in android
<p>I am writing the following code so that if I click <code>alarm</code>, CheckboxPreference and EditTextPreference are displayed. But I run this app and click <code>alarm</code>, the screen is not changed. For these to be displayed, what can I do? please give me your answer. note that I removed import in the following...
I am writing the following code so that if I click alarm , CheckboxPreference and EditTextPreference are displayed. But I run this app and click alarm , the screen is not changed. For these to be displayed, what can I do? please give me your answer. note that I removed import in the following code. res.xml.xml : [CODE]...
android|preference
0
2022-02-18T14:01:43.737Z
2,022
2
14
4
17
0
408
48
2
4
true
true
false
false
false
false
zero
71,180,291
What is the way to delete random data in Firebase, for this the following code.?
<p>Good day, I need to delete a product from the User. The products are displayed in the activity and each product has its delete button, but clicking on the button will delete all the products. They would help me to complement the following line of code, I just need to add the product ID but I don't know how</p> <p>Fi...
Good day, I need to delete a product from the User. The products are displayed in the activity and each product has its delete button, but clicking on the button will delete all the products. They would help me to complement the following line of code, I just need to add the product ID but I don't know how FirebaseUser...
android|firebase
0
2022-02-18T21:54:31.177Z
2,022
2
21
4
17
0
729
80
2
1
true
true
false
false
false
false
zero
71,208,808
Android inApp Custom Keyboard with MaterialSearchBar
<p>I have got <a href="http://www.fampennings.nl/maarten/android/09keyboard/index.htm" rel="nofollow noreferrer">custom keyboard</a> for Arabic language it works fine with EditText but I want to use it with MaterialSearchBar.</p> <pre><code> public void registerEditText(int resid) { MaterialSearchBar msearchbar= (M...
I have got custom keyboard for Arabic language it works fine with EditText but I want to use it with MaterialSearchBar. [CODE]
java|android
0
2022-02-21T15:21:55.927Z
2,022
2
15
0
17
0
126
52
2
1
true
true
false
false
false
false
zero
71,215,162
What function in Android Studio allows me to save, view, delete data from a table offline and update it when I have internet?
<p>I have a field work (research) app whose idea is to save information offline because it will be used on the street and that can view the information loaded in the database, load and save data locally such as location, photos, names and that when I have Wi-Fi that is loaded and updated my database.</p>
I have a field work (research) app whose idea is to save information offline because it will be used on the street and that can view the information loaded in the database, load and save data locally such as location, photos, names and that when I have Wi-Fi that is loaded and updated my database.
java|android-studio
0
2022-02-22T02:10:48.943Z
2,022
2
2
1
17
0
298
125
2
0
false
true
false
false
false
false
zero
71,236,675
Arraylist VideoPath
<p>I've got a custom listview and now when i want to click on the listItem i want it to play the corresponding Video. But how do i make an arraylist with the videofiles and how do i parse them? So ive set up my activities and when i set the videopath hardcoded it worked, but i wanna add move videos later on.</p> <p><di...
I've got a custom listview and now when i want to click on the listItem i want it to play the corresponding Video. But how do i make an arraylist with the videofiles and how do i parse them? So ive set up my activities and when i set the videopath hardcoded it worked, but i wanna add move videos later on. [CODE] And th...
javascript|android-intent
0
2022-02-23T12:08:52.517Z
2,022
2
12
2
17
0
355
19
2
2
true
true
false
false
false
false
zero
71,276,580
How to change color of overflow menu in toolbar?
<p>I have tried to change inside menu as shown above but it doesn't work</p> <pre><code>&lt;menu&gt; &lt;item android:id=&quot;@+id/menu_about&quot; android:title=&quot;About&quot; app:showAsAction=&quot;never&quot; android:iconTint=&quot;#000&quot; /&...
I have tried to change inside menu as shown above but it doesn't work [CODE]
java|android
0
2022-02-26T12:18:26.373Z
2,022
2
12
5
17
0
76
48
2
1
true
true
false
false
false
false
zero
71,298,233
FirebaseUI needs pending intent
<p>I have a code which goes to firebaseAuthUI with this activityResultLauncher:</p> <pre><code> //used for login this.loginActivityLauncher = registerForActivityResult(new FirebaseAuthUIActivityResultContract(), result -&gt; { String s; //result success if(result.g...
I have a code which goes to firebaseAuthUI with this activityResultLauncher: [CODE] But when I try my app with a newer OS the app crashes with this error: [CODE] I didn't find a way to convert or launch firebaseAuthUI with pending intent and I also make the Intent by this code and I don't know how to change it to Pendi...
java|android|firebase-authentication|android-pendingintent|activity-result-api
1
2022-02-28T16:38:02.253Z
2,022
2
16
0
17
0
336
31
5
3
true
true
false
false
false
false
low
71,299,387
How to stream bitmaps in a imageview correctly?
<p>I am trying to share the camera preview of one android device to another with the help of wifi direct. I can transfer the bitmaps successfully from the camera device to another. But I don't know what's the proper way to do show that stream of bitmaps in the receiver device? ImageView.setBitmap() method is not workin...
I am trying to share the camera preview of one android device to another with the help of wifi direct. I can transfer the bitmaps successfully from the camera device to another. But I don't know what's the proper way to do show that stream of bitmaps in the receiver device? ImageView.setBitmap() method is not working s...
android|camera|android-wifi|wifi-direct|android-camerax
0
2022-02-28T18:18:12.560Z
2,022
2
18
0
17
0
575
47
5
0
false
true
false
false
false
false
zero
71,313,358
How can I add SCROLLING to my entire existing project on one page
<p>Which code can I add to my <code>activity_main.xml</code> so that it has this functionality form the link below.</p> <p>Along this I come with this question: how can I create button which would switch to another page in my Android Device (smart mobile phone) with new button there.</p> <p>I'm completely new to Androi...
Which code can I add to my activity_main.xml so that it has this functionality form the link below. Along this I come with this question: how can I create button which would switch to another page in my Android Device (smart mobile phone) with new button there. I'm completely new to Android Studio, so please give me a ...
android-studio|scroll
0
2022-03-01T18:57:45.150Z
2,022
3
18
1
17
0
389
65
2
0
false
true
false
false
false
false
zero
71,325,363
Arraylist of mp3s using onclicklistener in recyclerview
<p>I mean, is it possible? I'm very new to app developing and I've been watching this YT channel &quot;foxandroid&quot; who has a series for recyclerview using kotlin. I've done the first three episodes, I have made these so far:</p> <ul> <li>Set up recyclerview with song titles using Arraylist for titles (basically I'...
I mean, is it possible? I'm very new to app developing and I've been watching this YT channel &quot;foxandroid&quot; who has a series for recyclerview using kotlin. I've done the first three episodes, I have made these so far: Set up recyclerview with song titles using Arraylist for titles (basically I've made the view...
java|android|android-studio|kotlin|android-recyclerview
0
2022-03-02T15:38:11.730Z
2,022
3
15
2
17
0
1,060
55
5
0
false
true
false
false
false
false
zero
71,330,481
display music score on android and windows
<p>I'm trying to find out how to display music notation on an Android or Windows platform. I can seescore does it, but its very expensive. Vexflow is browser based. Is there another library that someone has found useful?</p>
I'm trying to find out how to display music notation on an Android or Windows platform. I can seescore does it, but its very expensive. Vexflow is browser based. Is there another library that someone has found useful?
android|windows
0
2022-03-02T23:41:36.930Z
2,022
3
23
2
17
0
217
42
2
0
false
true
false
false
false
false
zero
71,335,690
How LastPass could get current URL in browser?
<p>I am working on password manager so I need to get current URL in browser. I know that I should use Assesbillity service but I can't find examples</p> <p>When browsing around in Chrome for Android, Lastpass pops up with suggestions if it recognizes the URL as one you have associated login details with.</p> <p>How doe...
I am working on password manager so I need to get current URL in browser. I know that I should use Assesbillity service but I can't find examples When browsing around in Chrome for Android, Lastpass pops up with suggestions if it recognizes the URL as one you have associated login details with. How does it know which U...
android
0
2022-03-03T10:35:34.747Z
2,022
3
10
3
17
0
459
46
1
0
false
true
false
false
false
false
zero
71,348,332
Prevent Android to add index.html at end of url
<p>Reactjs web application doesn't work on android phones when i add app to Home Screen (i want to use this way because then chrome url bar is hidden, app works on full screen). Problem is that when i launch program over shortcut on screen android chrome adds index.html at the end of url for example: http://applicatio...
Reactjs web application doesn't work on android phones when i add app to Home Screen (i want to use this way because then chrome url bar is hidden, app works on full screen). Problem is that when i launch program over shortcut on screen android chrome adds index.html at the end of url for example: http://application/da...
android|reactjs|google-chrome|single-page-application
0
2022-03-04T08:10:22.637Z
2,022
3
8
4
17
0
580
47
4
0
false
true
false
false
false
false
zero
71,389,447
Android studio dialogFragment screen dims but doesn't show
<p>I am making an app in android studio using java. I have made a dialogfragment for the setting option int the overflow menu. It was working just fine before but now when I click settings, the screen dims and nothing happens. I can click on the phone screen and the screen will undim and the app will continue working l...
I am making an app in android studio using java. I have made a dialogfragment for the setting option int the overflow menu. It was working just fine before but now when I click settings, the screen dims and nothing happens. I can click on the phone screen and the screen will undim and the app will continue working like...
android-studio|android-dialogfragment
0
2022-03-08T02:42:28.707Z
2,022
3
2
1
17
0
779
58
2
3
true
true
false
false
false
false
zero
71,390,843
Some scrollbars have different color making it impossible to see the thumb
<p>I'm facing a weird issue. Some of the scrollbars in my Android Studio have a different color than the others and that makes it impossible to use them without guesswork. I'm using the color-scheme Rider Melon Dark with custom colors for the logcat. How do I fix this? I see no options in the Color Scheme section for t...
I'm facing a weird issue. Some of the scrollbars in my Android Studio have a different color than the others and that makes it impossible to use them without guesswork. I'm using the color-scheme Rider Melon Dark with custom colors for the logcat. How do I fix this? I see no options in the Color Scheme section for this...
android-studio|intellij-idea
0
2022-03-08T06:27:54.113Z
2,022
3
6
1
17
0
337
74
2
0
false
true
false
false
false
false
zero
71,407,018
Setting the equivalent of a textSelectHandle, but for a BasicTextField/TextField, in compose
<p>To avoid the hardcoded padding of the material compose <code>TextField</code> class, I have used a <code>BasicTextField</code> to create my own. I was also able to customize the cursor color with the <code>cursorBrush</code> property.</p> <p>But I was not able to find information on how to customize the text selecti...
To avoid the hardcoded padding of the material compose TextField class, I have used a BasicTextField to create my own. I was also able to customize the cursor color with the cursorBrush property. But I was not able to find information on how to customize the text selection handle. How can one do that? Currently it look...
android|android-jetpack-compose|material-components-android
0
2022-03-09T09:26:41.853Z
2,022
3
9
2
17
0
339
92
3
1
true
true
false
false
false
false
zero
71,407,301
Aspect ratio on mode photo H20
<p>i am using a <strong>Matrice 300 RTK</strong> and a <strong>H20</strong> camera, this camera have <strong>5184×3888</strong> resolution for phtos that is 4:3 ratio and the video have 16:9 ratio, so in my app i need to show the camera, in mode video all ist ok but when i change to mode photo whit you <strong>CameraCo...
i am using a Matrice 300 RTK and a H20 camera, this camera have 5184×3888 resolution for phtos that is 4:3 ratio and the video have 16:9 ratio, so in my app i need to show the camera, in mode video all ist ok but when i change to mode photo whit you CameraControlsWidget the image that show the dron are so stretch horiz...
java|android|dji-sdk
0
2022-03-09T09:46:56.880Z
2,022
3
9
2
17
0
572
30
3
1
true
true
false
false
false
false
zero
71,420,506
Extend multiple android screens in realtime
<p>We are planning to build a signage app for a company but we are not getting the logic on how to implement the screen extend feature in android OS is there anyone who knows or has any idea to achieve this ??</p> <p>For example, we want the same thing =&gt; <a href="https://youtu.be/JYrhkl3JKPM" rel="nofollow noreferr...
We are planning to build a signage app for a company but we are not getting the logic on how to implement the screen extend feature in android OS is there anyone who knows or has any idea to achieve this ?? For example, we want the same thing => https://youtu.be/JYrhkl3JKPM Appreciate your response and ideas :) Thank y...
android|ios|react-native|api|github
0
2022-03-10T07:52:16.027Z
2,022
3
7
3
17
0
322
43
5
0
false
true
false
false
false
false
zero
71,438,028
prevent stream audio if it's silent
<p>Room chat application I wanna stop streaming audio if it is silence to detect if the user is acually talking or not</p> <p>I am using socket.io to emit the audio as byteArray to the server</p> <p>there is a switch button when it is on &quot;startRecording&quot; is invoked otherwise &quot;stopRecording&quot;</p> <p>&...
Room chat application I wanna stop streaming audio if it is silence to detect if the user is acually talking or not I am using socket.io to emit the audio as byteArray to the server there is a switch button when it is on &quot;startRecording&quot; is invoked otherwise &quot;stopRecording&quot; &quot;streamRecording&quo...
android|kotlin
0
2022-03-11T11:45:12.673Z
2,022
3
11
4
17
0
477
35
2
1
true
true
false
false
false
false
zero
71,094,660
How to ckeck what tag does JSON API sends?
<p>I am receiving text via JSON API inside my android application, but JSON sends this text in html form(like this: <code>&lt;a class=&quot;ps-media__link ps-media-link&quot; href=&quot;https://www.example.com&quot; rel=&quot;nofollow noopener&quot; target=&quot;_blank&quot;&gt;https://www.example.com&lt;/a&gt;</code>)...
I am receiving text via JSON API inside my android application, but JSON sends this text in html form(like this: <a class=&quot;ps-media__link ps-media-link&quot; href=&quot;https://www.example.com&quot; rel=&quot;nofollow noopener&quot; target=&quot;_blank&quot;>https://www.example.com</a> ). What I want to do is to c...
java|android
0
2022-02-12T18:23:06.083Z
2,022
2
18
5
18
0
499
42
2
1
true
true
false
false
false
false
zero
71,103,144
What is the difference between creating different animateColorAsState function vs a single updateTransition function?
<p>Here is a function is which I create 2 different <code>animationAsState</code> function.</p> <pre><code>@Composable fun AnimateAsStateDemo1() { var boxState by remember { mutableStateOf(false) } val color by animateColorAsState( targetValue = if (boxState) Color.Blue else Color.Red, )...
Here is a function is which I create 2 different animationAsState function. [CODE] Here I create a single updateTransition transition to achieve the same result. [CODE] They both achieve the same result. Is the second approach superior to the first approach? If so why?
android|android-jetpack-compose
1
2022-02-13T17:23:22.800Z
2,022
2
17
6
18
0
269
117
2
2
true
true
false
false
false
false
low
71,114,604
Find external SD Path in android device with unity
<p>i have an android device (a VR headset) with an SD card. I'm working with unity and the path to the SD card change every time i change the card and is not the name of the card. The path is &quot;file://storage/DIFFERENT_NAME_EVERYCARD&quot;.</p> <p>I need to access the SD card from my app, and i have to switch card ...
i have an android device (a VR headset) with an SD card. I'm working with unity and the path to the SD card change every time i change the card and is not the name of the card. The path is &quot;file://storage/DIFFERENT_NAME_EVERYCARD&quot;. I need to access the SD card from my app, and i have to switch card from time ...
c#|android|unity3d
0
2022-02-14T15:51:28.177Z
2,022
2
15
0
18
0
328
50
3
0
false
true
false
false
false
false
zero
71,130,005
Problem with multiselection and delete on RecyclerView
<p>I'm new to StackOverflow, so maybe it is a duplicate.</p> <p>My problem is the following:</p> <p>I'm working with an API (that have Flora and other types of plants) and I using Retrofit2 as a Rest client in an Android App. Everything work fine, but when I delete anything on the recyclerview, the recyclerview don`t r...
I'm new to StackOverflow, so maybe it is a duplicate. My problem is the following: I'm working with an API (that have Flora and other types of plants) and I using Retrofit2 as a Rest client in an Android App. Everything work fine, but when I delete anything on the recyclerview, the recyclerview don`t refresh the data. ...
android|android-recyclerview
0
2022-02-15T16:29:07.813Z
2,022
2
16
1
18
0
710
54
2
3
true
true
false
false
false
false
zero