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,895,064
After the countdown its not prompting the dialog ----> dialog.setContentView(R.layout.out_of_time_dialog);
<p>Its not working any idea to solved the problem ` progressBar =findViewById(R.id.timer123);</p> <pre><code> countDownTimer=new CountDownTimer(20000,1000) { @Override public void onTick(long millisUntilFinished) { timerValue=timerValue - 1; progressBar.setProgress(timerValue)...
Its not working any idea to solved the problem ` progressBar =findViewById(R.id.timer123); [CODE]
java|android-layout|triggers|countdown
0
2022-04-16T15:13:14.670Z
2,022
4
15
5
5
0
97
106
4
1
true
true
false
false
false
false
zero
71,925,027
Wrong path android.os.FileUriExposedException: file:///storage/56DC-18FD/Android exposed beyond app through Intent.getData()
<p>I'm creating a file explorer on Android Studio and I get that error message:</p> <blockquote> <p>android.os.FileUriExposedException: <strong>file:///storage/56DC-18FD/Android</strong> exposed beyond app through Intent.getData()</p> </blockquote> <p>The thing is that I was opening that file on SD Card (whose name is:...
I'm creating a file explorer on Android Studio and I get that error message: android.os.FileUriExposedException: file:///storage/56DC-18FD/Android exposed beyond app through Intent.getData() The thing is that I was opening that file on SD Card (whose name is: 56DC-18FD) but somehow it searched it on storage. The same p...
android
0
2022-04-19T12:32:30.030Z
2,022
4
12
1
5
0
420
124
1
1
true
true
false
false
false
false
zero
71,958,410
Flutter - Testing custom Dart packages with separate dependencies
<p>I have a flutter app that I am writing tests for, but I am having trouble testing my packages with their package-level dependencies. I'm looking for advice on either how to set up my test runner, or how to properly structure my project.</p> <p>Below is an example of my project structure.</p> <pre><code>lib/ home/...
I have a flutter app that I am writing tests for, but I am having trouble testing my packages with their package-level dependencies. I'm looking for advice on either how to set up my test runner, or how to properly structure my project. Below is an example of my project structure. [CODE] As expected, I am able to test ...
flutter|android-studio|dart|testing
0
2022-04-21T17:15:24.853Z
2,022
4
17
3
5
0
779
65
4
1
true
true
false
false
false
false
zero
71,897,956
How do I keep child activity's changes untouched when pressing back button?
<p>Let's say I have two activities, A and B. A is the parent of B. When I change something on A and I go to B and back to A I can still see the changes. But, when I change something in B, go back to A and back again to B it's been reset as if it's the first time I'm opening it. How can I keep the changes and not lose d...
Let's say I have two activities, A and B. A is the parent of B. When I change something on A and I go to B and back to A I can still see the changes. But, when I change something in B, go back to A and back again to B it's been reset as if it's the first time I'm opening it. How can I keep the changes and not lose data...
kotlin|android-activity|back-button
0
2022-04-16T22:36:10.520Z
2,022
4
22
5
6
0
353
75
3
0
false
true
false
false
false
false
zero
71,988,155
how to get latlng from approximate location (COARSE_LOCATION only) Kotlin?
<p>I'm trying to <code>moveCamera</code> with <code>GoogleMap</code> according to approximate location.</p> <p>the problem: I don't know how to get the coordinates (<code>LatLng</code>) after I get permission.</p> <p>I added clarification for the question as <code>/**comments**/</code> inside the code snippets.</p> <p>...
I'm trying to moveCamera with GoogleMap according to approximate location. the problem: I don't know how to get the coordinates ( LatLng ) after I get permission. I added clarification for the question as /**comments**/ inside the code snippets. manifest: [CODE] on map ready callback: [CODE] approximateLocationResultLa...
android-studio|kotlin|geolocation
0
2022-04-24T11:57:51.037Z
2,022
4
11
6
6
0
342
74
3
3
true
true
false
false
false
false
zero
71,993,519
Add pre selected keyword "hospitals" to show hospitals in map fragment
<p>I am trying to create a Maps fragment in android, that, on load should show all the hospitals around my current location, I created the fragment in android that show the map only. I don't know how to even ask the question. like if I can embed the keyword &quot;hospitals&quot; or something in the code. so whenever t...
I am trying to create a Maps fragment in android, that, on load should show all the hospitals around my current location, I created the fragment in android that show the map only. I don't know how to even ask the question. like if I can embed the keyword &quot;hospitals&quot; or something in the code. so whenever that ...
android|location|maps|fragment
0
2022-04-25T01:00:55.390Z
2,022
4
1
0
6
0
438
70
4
0
false
true
false
false
false
false
zero
72,013,549
Le listener GPS de mon service ne fonctionne plus après l'arrêt de l'activité qui a lancé le service
<p>I created an application whose purpose is to record a GPS location at regular intervals in an SQLITE database; this registration is done via a service, which seems to me to be the most appropriate object. I have two problems:</p> <p>I launch an activity, which launches a service initializing a GPS listener, which it...
I created an application whose purpose is to record a GPS location at regular intervals in an SQLITE database; this registration is done via a service, which seems to me to be the most appropriate object. I have two problems: I launch an activity, which launches a service initializing a GPS listener, which itself imple...
android
0
2022-04-26T11:59:08.863Z
2,022
4
11
1
6
0
1,103
100
1
3
true
true
false
false
false
false
zero
71,843,972
WebViewClient continue to work after closing Activity
<p>I have an activity with <code>WebView</code>. This <code>WebView</code> contains custom <code>WebViewClient</code>. <code>WebViewClient</code> intercepts requests and make some work with them.</p> <p>When I close my activity I see that this <code>WebViewClient</code> continue to intercept requests.</p> <p>How to pre...
I have an activity with WebView . This WebView contains custom WebViewClient . WebViewClient intercepts requests and make some work with them. When I close my activity I see that this WebViewClient continue to intercept requests. How to prevent this behaviour and why isn't WebViewClient destroyed?
android|webview|android-webview
0
2022-04-12T13:53:23.617Z
2,022
4
13
1
7
0
298
53
3
0
false
true
false
false
false
false
zero
71,873,107
Android studio SQLlite and Ormlite data disappearing
<p>I have an issue with how data that I download from my node server will spontaneously disappear on my app. I'm finding it hard to replicate the issue but it tends to happen when the app is on background and dealing with a different process.</p> <p>This is the API call that gets the data from the server. Note that I a...
I have an issue with how data that I download from my node server will spontaneously disappear on my app. I'm finding it hard to replicate the issue but it tends to happen when the app is on background and dealing with a different process. This is the API call that gets the data from the server. Note that I am using re...
java|android|sqlite|android-studio|retrofit
0
2022-04-14T14:17:04.743Z
2,022
4
14
3
7
0
621
52
5
2
true
true
false
false
false
false
zero
71,934,822
Window -> setSoftInputMode(...) overrides status and navigation bars' configs
<p>Preparation steps:</p> <ol> <li><p>Create a new Android project with an empty activity.</p> </li> <li><p>Add two buttons to the empty template activity (e.g. via its XML layout file).</p> </li> <li><p>Inside the activity's <code>onCreate</code> method set status and navigation bars' colors to white:</p> </li> </ol> ...
Preparation steps: Create a new Android project with an empty activity. Add two buttons to the empty template activity (e.g. via its XML layout file). Inside the activity's onCreate method set status and navigation bars' colors to white: [CODE] For one of the added buttons add a listener to to change the status and nav...
android
0
2022-04-20T06:03:30.387Z
2,022
4
6
2
7
0
1,113
77
1
3
true
true
false
false
false
false
zero
71,835,349
Excecute an action on a webcontroller from a Reusabledrawer
<p>I have Screen1 with a webview, using webview_flutter, and I have a webcontroller. Screen1 also uses a side menu defined in a separate class, resuabledrawer():</p> <pre><code>class _Screen1 extends State&lt;Screen1&gt; { WebViewController _controller; Widget build(BuildContext context) { return Scaffold( ...
I have Screen1 with a webview, using webview_flutter, and I have a webcontroller. Screen1 also uses a side menu defined in a separate class, resuabledrawer(): [CODE] The ReusableDrawer class (contained in a separate file to Screen1) has a list of routes away from Screen1 and utilises Navigator.pushReplacement to replac...
flutter|android-webview
0
2022-04-11T23:22:19.980Z
2,022
4
23
0
8
0
920
59
2
2
true
true
false
false
false
false
zero
71,884,938
Reorder 2 activities, when 1 of them is part of another .aar?
<p>Right, so: I have 2 activities, 1 is in my <code>package</code>, <code>ActivityMyPackage</code>. 1 is in an <code>.aar</code>, <code>ActivityInAar</code>.</p> <ul> <li><p>at some point in my app, I include a <code>button</code> that is part of the <code>.aar</code>, where <code>ActivityInAar</code> resides. When I t...
Right, so: I have 2 activities, 1 is in my package , ActivityMyPackage . 1 is in an .aar , ActivityInAar . at some point in my app, I include a button that is part of the .aar , where ActivityInAar resides. When I tap this button , ActivityInAar is launched, with an Intent generated by the click of the button. later on...
android|android-activity
0
2022-04-15T13:57:21.027Z
2,022
4
13
4
8
0
876
61
2
2
true
true
false
false
false
false
zero
71,908,446
What languages are used to write 2D economical games like this one in android?
<p><a href="https://i.stack.imgur.com/UcAxi.jpg" rel="nofollow noreferrer">enter image description here</a></p> <p>I want to write the game without ads.</p>
enter image description here I want to write the game without ads.
android|2d
0
2022-04-18T06:45:43.787Z
2,022
4
6
0
8
0
66
78
2
0
false
true
false
false
false
false
zero
71,911,666
How to access launcher icons using Android Gradle Plugin AGP(v7+)?
<p>Prior to v7 variant API has srcSets to access the Launcher icon so that it can be modified and used. After v7+ lack of proper documentation to the api's is real pain. So, how can to access Laucher icon from variant and how can the modified be set instead.</p>
Prior to v7 variant API has srcSets to access the Launcher icon so that it can be modified and used. After v7+ lack of proper documentation to the api's is real pain. So, how can to access Laucher icon from variant and how can the modified be set instead.
android|android-gradle-plugin
0
2022-04-18T12:12:46.897Z
2,022
4
12
0
8
0
255
66
2
0
false
true
false
false
false
false
zero
72,034,365
sharing images to google photos allows it to delete them
<p>I'm sharing images from my WhatsApp folder to google photos using intent and file provider - and I noticed that if I delete them in google photos - they are deleted in the WhatsApp folder too !</p> <p>it happens when I share from my gallery app.</p> <p>is there a way to prevent it ?</p>
I'm sharing images from my WhatsApp folder to google photos using intent and file provider - and I noticed that if I delete them in google photos - they are deleted in the WhatsApp folder too ! it happens when I share from my gallery app. is there a way to prevent it ?
android|android-intent
0
2022-04-27T19:34:26.850Z
2,022
4
19
2
8
0
269
56
2
0
false
true
false
false
false
false
zero
72,038,943
firebase notification get only inapp subscribers
<p>i am new for android development, i am design one app, in that app in-app subscription option available, after subscription user need to get notification, but all installed users get the notification, i need only subscriber users get the notification, how to resolve this issue any one help me this,</p> <p>public cla...
i am new for android development, i am design one app, in that app in-app subscription option available, after subscription user need to get notification, but all installed users get the notification, i need only subscriber users get the notification, how to resolve this issue any one help me this, public class Firebas...
android|firebase
0
2022-04-28T06:25:09.750Z
2,022
4
6
3
8
0
380
48
2
1
true
true
false
false
false
false
zero
72,046,055
How to remove customAnimations from childFragmentManager Android
<p>The code to apply custom animations is this, though when I pass childFragmentManager to a bottom sheet dialog fragment the same animations are applied which is not even overridding.</p> <pre><code>.childFragmentManager .beginTransaction() .setCustomAnimations( enter, exit, ...
The code to apply custom animations is this, though when I pass childFragmentManager to a bottom sheet dialog fragment the same animations are applied which is not even overridding. [CODE]
android|android-fragments
0
2022-04-28T15:04:36.790Z
2,022
4
15
3
8
0
188
64
2
1
true
true
false
false
false
false
zero
72,058,553
How to run cordova command from other server and JS?
<p>My idea is to open external links in a native way with the JS command:</p> <pre><code>window.open('https://www.facebook.com', '_system'); </code></pre> <p>But this not working, the reason is that JS from above is on another server and other JS files. Actually, in my example above, I want from <code>facebook.com</co...
My idea is to open external links in a native way with the JS command: [CODE] But this not working, the reason is that JS from above is on another server and other JS files. Actually, in my example above, I want from facebook.com in-app browser site JS to open an external link in the system browser?
android|cordova|mobile
0
2022-04-29T13:14:13.140Z
2,022
4
13
4
8
0
300
52
3
1
true
true
false
false
false
false
zero
72,120,682
Highlight AppLocalizations.of(context) in Editor
<p>When replacing strings with their translation equivalents, we lose the nice green color that made it easy to spot the strings.</p> <p>For example: In <code>Text('Reply')</code> the string 'Reply' is nice and green but when replaced with <code>Text(AppLocalizations.of(context).reply)</code> the new code is pretty muc...
When replacing strings with their translation equivalents, we lose the nice green color that made it easy to spot the strings. For example: In Text('Reply') the string 'Reply' is nice and green but when replaced with Text(AppLocalizations.of(context).reply) the new code is pretty much the same color as the rest of the ...
android-studio|internationalization
0
2022-05-05T00:12:08.580Z
2,022
5
0
3
8
0
468
48
2
0
false
true
false
false
false
false
zero
72,016,081
M1 Command PhaseScriptExecution failed with a nonzero exit code / encounted error while building this device
<p>Good afternoon everyone,</p> <p>Ive been trying to make the app run and it doesnt work i’ve tried everything please help.</p> <p>Thank you so much in advance!</p> <p>MacBook Pro (13-inch, M1, 2020) macOS Monterey version 12.3.1 Xcode Version 13.3.1 (13E500a) android studio bumblebee 2021.1.1 patch 3 flutter channel ...
Good afternoon everyone, Ive been trying to make the app run and it doesnt work i’ve tried everything please help. Thank you so much in advance! MacBook Pro (13-inch, M1, 2020) macOS Monterey version 12.3.1 Xcode Version 13.3.1 (13E500a) android studio bumblebee 2021.1.1 patch 3 flutter channel stable everything runnin...
xcode|firebase|flutter|android-studio|apple-m1
1
2022-04-26T14:50:35.167Z
2,022
4
14
1
264
0
3,303
108
5
1
true
true
false
false
false
false
low
71,808,610
GoogleSignIn in another activity
<p>I'm only starting with Android and I'm planning to have an Email/password login and both Facebook and GoogleSignIn.</p> <p>I want to know, does it make sense to handle the social logins as a separate activity?</p> <p>I currently have GoogleSignIn in a separate activity but I had to make it transparent. Either that o...
I'm only starting with Android and I'm planning to have an Email/password login and both Facebook and GoogleSignIn. I want to know, does it make sense to handle the social logins as a separate activity? I currently have GoogleSignIn in a separate activity but I had to make it transparent. Either that or I'll get some u...
android-studio|kotlin|android-layout
0
2022-04-09T13:44:07.563Z
2,022
4
13
5
9
0
505
32
3
0
false
true
false
false
false
false
zero
71,905,076
Why doesn't my radioButton get checked or unchecked?
<p>I followed a tutorial to check a single radioButton. I tried to change it so you can change multiple radioButtons. I succeeded to get the value out of the arraylist and show it on the screen, but when I click on it doesn't change. Only the radioButton that is unchecked get checked. Can anyone help me with this.</p> ...
I followed a tutorial to check a single radioButton. I tried to change it so you can change multiple radioButtons. I succeeded to get the value out of the arraylist and show it on the screen, but when I click on it doesn't change. Only the radioButton that is unchecked get checked. Can anyone help me with this. [CODE] ...
arraylist|android-recyclerview|radio-button|android-viewholder
0
2022-04-17T20:07:39.420Z
2,022
4
20
6
9
0
403
52
4
5
true
true
false
false
false
false
zero
71,926,377
By passing targetSdkVersion from 29 to 30, the app no ​longer launches
<p>I've been working on an app in android studio which has been working well all these years. I got to the point where I need to change the targetSdkVersion from 29 to 30 to get it accepted in Play console, but it suddenly stops when launching on multiple phones. Thanks in advance for the help. (Text translated from Fr...
I've been working on an app in android studio which has been working well all these years. I got to the point where I need to change the targetSdkVersion from 29 to 30 to get it accepted in Play console, but it suddenly stops when launching on multiple phones. Thanks in advance for the help. (Text translated from Frenc...
android-studio|targetsdkversion
0
2022-04-19T14:08:47.920Z
2,022
4
14
1
9
0
322
70
2
0
false
true
false
false
false
false
zero
72,011,783
popup not open in webview really
<p>webview working well but pop-up does not open</p> <pre><code>public class MainActivity extends AppCompatActivity { TextView txtMarquee; private CardView btnDollar, btnFlexiload, btnNewAccount, btnContact, btnOffers, btnNotices, btnYT, btnFB; private WebView dollarLoad; public MainActivity() { ...
webview working well but pop-up does not open [CODE]
android-webview
0
2022-04-26T09:45:18.303Z
2,022
4
9
1
9
0
52
32
1
1
true
true
false
false
false
false
zero
72,032,114
change the language of the applicition useing a button
<p>i am working on voice recording application and its has many functionality, i want to add an imagebutton on the main page to change the language of the application.</p> <p>when i try to run the application by using imagebutton and setOnClickListener() function to change the language i got this error :</p> <blockquot...
i am working on voice recording application and its has many functionality, i want to add an imagebutton on the main page to change the language of the application. when i try to run the application by using imagebutton and setOnClickListener() function to change the language i got this error : java.lang.NullPointerExc...
java|android
0
2022-04-27T16:13:44.687Z
2,022
4
16
2
9
0
702
54
2
2
true
true
false
false
false
false
zero
72,058,867
BarChart(MultiDataSet)Click effect problem
<p>I have two groups (BarDataSet) Two y axis</p> <pre><code>set1.axisDependency = YAxis.AxisDependency.LEFT set2.axisDependency = YAxis.AxisDependency.RIGHT </code></pre> <p>And when you click on the second one sometimes it's not highlighted Often the second one is not selected It's fine if you don't set the right sid...
I have two groups (BarDataSet) Two y axis [CODE] And when you click on the second one sometimes it's not highlighted Often the second one is not selected It's fine if you don't set the right side [CODE]
android|mpandroidchart
0
2022-04-29T13:38:13.773Z
2,022
4
13
4
9
0
202
42
2
2
true
true
false
false
false
false
zero
72,090,067
Android - handle delayed action (after requirements fulfilled)
<p>I have a scenario where I want to perform an action after a specific set of requirements are fulfilled.</p> <p>For example, imagine you have an app that allows customers to mark a restaurant as a favorite, but they need to be signed in first. When they tap the favorite view, it redirects to sign in, and when they r...
I have a scenario where I want to perform an action after a specific set of requirements are fulfilled. For example, imagine you have an app that allows customers to mark a restaurant as a favorite, but they need to be signed in first. When they tap the favorite view, it redirects to sign in, and when they return to th...
android
0
2022-05-02T17:11:55.483Z
2,022
5
17
0
9
0
1,365
62
1
0
false
true
false
false
false
false
zero
72,100,144
Android Hotwire: Add menu options to custom menu in WebFragment
<p>I have extended the <code>res/menu/web</code> with a logout option:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;menu xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;htt...
I have extended the res/menu/web with a logout option: [CODE] In the WebFragment I want to handle the logout, but the action is not being called. I'm trying this by doing: [CODE] I have tried solving this by checking this StackOverflow topic , but no luck. Therefor, I am wondering if it is even possible with this packa...
android|kotlin|turbo|hotwire
0
2022-05-03T13:28:25.340Z
2,022
5
13
1
9
0
323
63
4
2
true
true
false
false
false
false
zero
72,088,614
Kotlin Coroutines Channel unit testing in 1.6.0
<p>I am trying to test BroadcastChannel in my viewmodel.</p> <pre><code>@ExperimentalCoroutinesApi @VisibleForTesting internal val queryChannel = BroadcastChannel&lt;String&gt;(Channel.CONFLATED) internal val internalSearchResult = queryChannel .asFlow() .debounce(SEARCH_DELAY_MS) .distinctUntilChanged() ...
I am trying to test BroadcastChannel in my viewmodel. [CODE] The code inside mapLatest is working with repository, but not launching any new coroutine. My test class looks like this: [CODE] Where MainCoroutineDispatcherRule is [CODE] But i keep getting the error [CODE]
android|unit-testing|kotlin-coroutines
0
2022-05-02T15:03:47.270Z
2,022
5
15
0
265
0
269
47
3
4
true
true
false
false
false
false
zero
71,921,086
android declare-styleable attr format like an alias
<p>in some <code>attrs.xml</code></p> <pre><code> &lt;declare-styleable name=&quot;ListItemDescNavigation&quot;&gt; &lt;attr name=&quot;descGravity&quot; format=&quot;I want refer format from android:gravity&quot;/&gt; &lt;/declare-styleable&gt; </code></pre> <p>I don't want decleare the android:gravity ...
in some attrs.xml [CODE] I don't want decleare the android:gravity agiain. Like this: [CODE] How can I declare descGravity like an alias of android:gravity ...
android
0
2022-04-19T07:25:45.757Z
2,022
4
7
1
10
0
159
51
1
2
true
true
false
false
false
false
zero
71,988,285
GPS location data does not match the location of AVD
<p>I write a simple code to show and update the latitude and longitude through GPS. The problem is they remain unchanged when I change the location of AVD.</p> <p>public class PocketSphinxActivity extends Activity implements RecognitionListener {</p> <pre><code>boolean updateOn = false; private static final int PERMISS...
I write a simple code to show and update the latitude and longitude through GPS. The problem is they remain unchanged when I change the location of AVD. public class PocketSphinxActivity extends Activity implements RecognitionListener { [CODE] } It seems that the location generated by fusedLocationProviderClient.getLas...
java|android
1
2022-04-24T12:16:03.897Z
2,022
4
12
6
10
0
389
52
2
2
true
true
false
false
false
false
low
71,992,536
My Recycler View Does not show cards in first go from the data base. It shows empty screen. After I go to another activity , then come back It is show
<p>My problem is it is first show empty screen. If I come back , then go to another activity and again go to that recycler view it showing the contents. PLease Help me.</p>
My problem is it is first show empty screen. If I come back , then go to another activity and again go to that recycler view it showing the contents. PLease Help me.
android|firebase|firebase-realtime-database
0
2022-04-24T21:37:26.663Z
2,022
4
21
6
10
0
165
150
3
0
false
true
false
false
false
false
zero
72,069,615
Android: BottomNavMenu stops working after manual navigation
<p>I have got a problem I can't find a solution for.</p> <p>I have an app with several fragments and bottomNavMenu. Normally navigation is done via bottom menu. However, I want to have navigation also when some views are clicked. NavMenu works fine. When I try to navigate via onClickListener from fragments to workoutFr...
I have got a problem I can't find a solution for. I have an app with several fragments and bottomNavMenu. Normally navigation is done via bottom menu. However, I want to have navigation also when some views are clicked. NavMenu works fine. When I try to navigate via onClickListener from fragments to workoutFragment (se...
android|kotlin
0
2022-04-30T15:03:50.787Z
2,022
4
15
5
10
0
957
60
2
4
true
true
false
false
false
false
zero
72,078,284
How to add animation or cardview upon opening app
<p>How do I add some simple sliding down animation to card view every time the fragment is opened/accessed? I only get to see animations when interacted but not those automatic animations...</p> <p>do I only need to like copy paste codes of those scripts that trigger animation when a certain interaction is executed to ...
How do I add some simple sliding down animation to card view every time the fragment is opened/accessed? I only get to see animations when interacted but not those automatic animations... do I only need to like copy paste codes of those scripts that trigger animation when a certain interaction is executed to my fragmen...
android|project|android-cardview
0
2022-05-01T15:53:34.270Z
2,022
5
15
6
10
0
445
49
3
0
false
true
false
false
false
false
zero
72,090,086
Application crashes when using google login plugin firebase
<p>My application crashes when I want to log in using google email.</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.learningmanager, PID: 26412 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1073674483, result=0, data=Intent { (has extras) }} to ac...
My application crashes when I want to log in using google email. [CODE] SingleModeAuthfragment [CODE] plugins [CODE] [CODE] Do you know the source of the problem? If you need some more information please tell. For additional information in other computer sometimes it works, but sometimes it goes with the same error.
android|firebase|kotlin|logging
0
2022-05-02T17:13:29.273Z
2,022
5
17
0
10
0
317
59
4
4
true
true
false
false
false
false
zero
72,023,496
ExoPlayer DataSouce.Factory not working for setting request header
<p>I need to play hls video from link, for playing it needs to header token, when I use mediaItem everythings work correctly, But when I use HLSMedia source and use player.addMediaSource instead of mediaItem and player.addMediaItem header does not set and I get 402 error code,</p> <p>here is my code:</p> <pre><code> f...
I need to play hls video from link, for playing it needs to header token, when I use mediaItem everythings work correctly, But when I use HLSMedia source and use player.addMediaSource instead of mediaItem and player.addMediaItem header does not set and I get 402 error code, here is my code: [CODE] and here is my initpl...
android|exoplayer|exoplayer2.x
0
2022-04-27T05:02:36.503Z
2,022
4
5
2
266
0
338
66
3
2
true
true
false
false
false
false
zero
71,797,426
Use a React component inside a hovering view that was created by a service
<p>I'm currently working on an Android app that is in essence a floating window (like FB chat heads). I would like to take advantage of React Native to create the content for this floating window but have run into a problem - I cannot seem to find a good way to accomplish this. I'm currently using LayoutInflater and Wi...
I'm currently working on an Android app that is in essence a floating window (like FB chat heads). I would like to take advantage of React Native to create the content for this floating window but have run into a problem - I cannot seem to find a good way to accomplish this. I'm currently using LayoutInflater and Windo...
android|react-native|android-studio
0
2022-04-08T12:56:59.387Z
2,022
4
12
4
11
0
574
74
3
0
false
true
false
false
false
false
zero
71,803,201
Android API 24 - 32: Create a new directory on external storage (public internal)
<p>I am using Android studio - targeting devices from Android 24, all the way up to 32. I am trying to create a Public folder on the internal storage of the device, so that the user can go and explore inside it through the File explorer of the Android OS.</p> <p>Please - I need a step by step answer. I am coming from C...
I am using Android studio - targeting devices from Android 24, all the way up to 32. I am trying to create a Public folder on the internal storage of the device, so that the user can go and explore inside it through the File explorer of the Android OS. Please - I need a step by step answer. I am coming from C# and it f...
android-studio
0
2022-04-08T21:15:01.523Z
2,022
4
21
4
11
0
841
81
1
2
true
true
false
false
false
false
zero
71,805,309
My multiple permissions request shows up but it doesn't get into the onRequestPermissionResult
<p>I have a request with a couple of permissions, and when I request them, the permission dialogue shows, but when I get into OnRequestPermissionResult nothing happens.</p> <p>here's my code</p> <pre><code>permissions = new String[]{ Manifest.permission.SEND_SMS, Manifest.permission.ACCESS_FINE_...
I have a request with a couple of permissions, and when I request them, the permission dialogue shows, but when I get into OnRequestPermissionResult nothing happens. here's my code [CODE] my hasPermissions function [CODE] and my onRequestResult [CODE] The System.out.println(&quot;I am here&quot;) line doesn't work, so ...
java|android-studio
0
2022-04-09T04:45:27.800Z
2,022
4
4
5
11
0
384
94
2
3
true
true
false
false
false
false
zero
71,852,317
activity or fragment keeps opening if I implement startActivity or navigate in observe of LiveData
<ol> <li>ViewModel</li> </ol> <pre><code>_response.postValue(true) </code></pre> <ol start="2"> <li>Activity</li> </ol> <pre><code>response.observe(this@MyActivity){ // startActivity() // this keeps being called when I return to this fragment from finish() in Other(Next) Activity } </code></pre> <ol start="3"> ...
ViewModel [CODE] Activity [CODE] Fragment [CODE] Is there any way to prevent recalling this part? I think it's good when data does but something related to animation behaves differently from the expectation. How can I solve this problem?
android|android-livedata|android-navigation
0
2022-04-13T05:29:46.710Z
2,022
4
5
2
11
0
237
98
3
3
true
true
false
false
false
false
zero
71,857,782
How to listen for activity result and take action for an activity started from third party library when using Jetpack compose?
<p>I am using jetpack compose and a payment SDK.</p> <p>The payment SDK has a method SDK.doPayment().</p> <p>This method starts a new activity which allows you to select the payment type and pay.</p> <p>When coming back from this activity I get a result which I need to parse and navigate to a different screen (composab...
I am using jetpack compose and a payment SDK. The payment SDK has a method SDK.doPayment(). This method starts a new activity which allows you to select the payment type and pay. When coming back from this activity I get a result which I need to parse and navigate to a different screen (composable). I cannot override o...
android|android-jetpack-compose
0
2022-04-13T12:50:02.130Z
2,022
4
12
2
11
0
386
126
2
0
false
true
false
false
false
false
zero
71,872,542
Do I need pass through facebook App Review after adding new platform?
<p>I developed my app for Android, I pass through App Review and my app is in Live mode right now. Do I need to pass through App Review again after adding iOS platform?</p> <p>I didn't found information about this and I am not sure how is this working.</p>
I developed my app for Android, I pass through App Review and my app is in Live mode right now. Do I need to pass through App Review again after adding iOS platform? I didn't found information about this and I am not sure how is this working.
android|ios|facebook
0
2022-04-14T13:35:20.363Z
2,022
4
13
3
11
0
242
69
3
0
false
true
false
false
false
false
zero
71,910,828
How to stop the zoom animation from repeating because of the spam of LayoutManager.findFirstCompletelyVisibleItemPosition();
<p>Using <code>LayoutManager.findFirstCompletelyVisibleItemPosition();</code> I’m trying to zoom-in when the element is fully visible and zoom-out when it becomes partially/completely invisible. Scrolling over an object that is still visible completely slowly, the object position number is repeated several times along ...
Using LayoutManager.findFirstCompletelyVisibleItemPosition(); I’m trying to zoom-in when the element is fully visible and zoom-out when it becomes partially/completely invisible. Scrolling over an object that is still visible completely slowly, the object position number is repeated several times along with the animati...
java|android-studio|focus|scrollbar
0
2022-04-18T10:50:13.337Z
2,022
4
10
0
11
0
489
124
4
1
true
true
false
false
false
false
zero
71,943,961
I create a text view that show in XML layout but after run that project nothing text to show in my mobile
<p>My text view code is</p> <pre><code>&lt;TextView android:id=&quot;@+id/txtanim&quot; android:layout_width=&quot;180dp&quot; android:layout_height=&quot;68dp&quot; android:gravity=&quot;center&quot; android:text=&quot;WELCOME&quot; android:textColor=&quot;#2A40BA&quot; android:textSize=&qu...
My text view code is [CODE] I am just share my text view code is that enough to solve my issue??
android-studio
0
2022-04-20T17:38:26.703Z
2,022
4
17
2
11
0
96
105
1
1
true
true
false
false
false
false
zero
71,945,706
Android Gradle Versions Catalog bug
<p>Using the Versions Catalog i'm trying to declare the hilt plugin like so</p> <pre><code>[libraries] plugin-hilt = { id = &quot;com.google.dagger:hilt-android-gradle-plugin&quot;, version.ref = &quot;hilt-core&quot; } </code></pre> <p>However i get this error</p> <pre><code> org.gradle.api.InvalidUserDataExceptio...
Using the Versions Catalog i'm trying to declare the hilt plugin like so [CODE] However i get this error [CODE] I use the term 'id' in other projects and it compiles just fine
android|gradle
0
2022-04-20T20:16:41.327Z
2,022
4
20
2
11
0
175
35
2
2
true
true
false
false
false
false
zero
71,951,210
Android project not building anymore due to modifierFlags class not being initialised?
<p>I am getting this error below when I try to compile and build my android project:</p> <p>I am using Android studio Bumblebee 2021.1.1 Patch 3</p> <p>I tried building the project via the built in terminal window using</p> <blockquote> <p>./gradlew clean bundleCMyFlavour_uatDebug</p> </blockquote> <p>But still getting...
I am getting this error below when I try to compile and build my android project: I am using Android studio Bumblebee 2021.1.1 Patch 3 I tried building the project via the built in terminal window using ./gradlew clean bundleCMyFlavour_uatDebug But still getting the same error. Below is the full stack trace. [CODE]
android|android-studio|kotlin
0
2022-04-21T08:28:15.180Z
2,022
4
8
3
11
0
316
86
3
1
true
true
false
false
false
false
zero
72,110,387
How do I change the default Android Studio build scripts values template?
<p>The default compose version is currently 1.1.1. I want it to be 1.1.2 every time Android studio starts up. Is this possible and can the values for the plugins be changed as well? <a href="https://i.stack.imgur.com/l1s5p.png" rel="nofollow noreferrer">Build script sample</a></p>
The default compose version is currently 1.1.1. I want it to be 1.1.2 every time Android studio starts up. Is this possible and can the values for the plugins be changed as well? Build script sample
android-studio
0
2022-05-04T09:02:58.230Z
2,022
5
9
2
11
0
198
73
1
0
false
true
false
false
false
false
zero
72,126,501
How can I handle deep links in jetpack compose when logged out
<p>I have an app where the user can be logged in or logged out and there are some screens which are only available in loggedInState which are accessed through deep links.</p> <p>If the user is logged out and opens the app through a deeplink he should be directed to the login screen - login - and then be directed to the...
I have an app where the user can be logged in or logged out and there are some screens which are only available in loggedInState which are accessed through deep links. If the user is logged out and opens the app through a deeplink he should be directed to the login screen - login - and then be directed to the deeplink....
android|kotlin|android-jetpack-compose|android-deep-link
1
2022-05-05T11:35:21.103Z
2,022
5
11
3
267
0
836
62
4
1
true
true
false
false
false
false
low
71,796,970
How to send object in workmanager?
<p>i am working in app i which i have to send here is code below why question is how how to send below object into workmanager thanks ?</p> <pre><code> data class Sms( var messages: Messages, var userList : List&lt;Contact&gt; = emptyList() ) val oneTimeRequest = OneTimeWorkRequest.Builder(...
i am working in app i which i have to send here is code below why question is how how to send below object into workmanager thanks ? [CODE]
android|android-workmanager
0
2022-04-08T12:25:36.337Z
2,022
4
12
4
12
0
139
34
2
1
true
true
false
false
false
false
zero
71,890,268
How can i delte an item from a 2D Array?
<p>so this code selects a random item from a 2d list, however after that being selected, it want that item to be gone from the 2d list, how can i do so?</p> <pre><code>int random_num1 = random.nextInt(questions.getCorrect_answer().length); btnOption1.setText(questions.getAnswers()[current_question_num][random_num1]); /...
so this code selects a random item from a 2d list, however after that being selected, it want that item to be gone from the 2d list, how can i do so? [CODE] this is the 2d array i have: [CODE]
java|arrays|android-studio
0
2022-04-16T01:05:31.277Z
2,022
4
1
5
12
0
192
40
3
2
true
true
false
false
false
false
zero
71,893,395
Gradle issue i face from after new update
<p>My Gradle is not showing in the sidebar of Andriod Studio. Can anyone tell me about it?<a href="https://i.stack.imgur.com/BlwEC.jpg" rel="nofollow noreferrer">enter image description here</a></p>
My Gradle is not showing in the sidebar of Andriod Studio. Can anyone tell me about it? enter image description here
android-studio|gradle
0
2022-04-16T11:13:50.433Z
2,022
4
11
5
12
0
116
41
2
0
false
true
false
false
false
false
zero
71,897,313
Mqtt Data subscribing from a device getting logic problem for switchMaterial
<p>I am subscribing an Mqtt Data from a device , I am getting Json string in terms of &quot;0&quot; &amp;&quot;1&quot; and storing them in my data class variables. I need to checked switchMaterials to true if I receive &quot;1&quot; and (uncheck)false if I receive &quot;0&quot; .Also I need to publish data on checked o...
I am subscribing an Mqtt Data from a device , I am getting Json string in terms of &quot;0&quot; &&quot;1&quot; and storing them in my data class variables. I need to checked switchMaterials to true if I receive &quot;1&quot; and (uncheck)false if I receive &quot;0&quot; .Also I need to publish data on checked of switc...
android|logic|mqtt|switch-material
0
2022-04-16T20:32:47.477Z
2,022
4
20
5
12
0
1,054
76
4
1
true
true
false
false
false
false
zero
71,904,564
adding a alarm cancel button in the notification
<p>I have been working on setting alarms using AlarmManager.</p> <p>Set:</p> <pre><code>Intent myIntent = new Intent(getApplicationContext(), SessionReceiver.class); PendingIntent pendingIntent = PendingIntent.getBroadcast( getApplicationContext(), reqCode, myIntent, ...
I have been working on setting alarms using AlarmManager. Set: [CODE] cancel: [CODE] in my alarm receiver I want to be able to receive a notification which has a button that allows me to call cancelAlarm(). however I don't see the best approach to this and looking for the best and most reliable way of doing this. I get...
java|android|alarmmanager
0
2022-04-17T18:45:27.283Z
2,022
4
18
6
12
0
377
48
3
2
true
true
false
false
false
false
zero
71,927,059
How to fix error to create virtual device on android studio "can't locate android sdk installationsdirectory for avd"
<p>I am trying to create virtual device on android studio but get this <a href="https://i.stack.imgur.com/ZAg2M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZAg2M.png" alt="error avd" /></a></p> <p>Checking on <code>idea.log</code> i can see it doesnt find sdk installation so..</p> <p><a href="htt...
I am trying to create virtual device on android studio but get this Checking on idea.log i can see it doesnt find sdk installation so.. checking on environment Variables i get this Checking on that folder i can see folder to Nexus 6P already exists This is what i have on sdk manager
android|android-studio
0
2022-04-19T14:56:26.927Z
2,022
4
14
1
12
0
283
117
2
0
false
true
false
false
false
false
zero
71,948,032
I want to make a phone call in the background when a first call ends
<p>I am developing an application in the background and I want it to call back automatically when a first call ends, but I don't know how to do it.</p> <p>I have a Broadcast receiver but it doesnt work</p> <pre><code>public void onReceive(Context context, Intent intent) { String tel = MainActivity.Leer(context, &q...
I am developing an application in the background and I want it to call back automatically when a first call ends, but I don't know how to do it. I have a Broadcast receiver but it doesnt work [CODE]
android
0
2022-04-21T01:50:42.723Z
2,022
4
1
3
12
0
198
68
1
1
true
true
false
false
false
false
zero
71,955,056
How do I get rid of this annoying overlay in the android Studio UI (see pic in description)
<p>Sometimes this yellow overlay will start showing in Android Studio.</p> <p><a href="https://i.stack.imgur.com/wD0aE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wD0aE.png" alt="Annoying Overlay" /></a></p> <p>It doesn't happen all of the time but once it's there it will not go away until I rest...
Sometimes this yellow overlay will start showing in Android Studio. It doesn't happen all of the time but once it's there it will not go away until I restart AS. It wants to help me navigate to the last spot I was at in the code but a) I can already do that with ALT + Arow keys and b) it hides the code I'm actually try...
android-studio
1
2022-04-21T13:08:42.643Z
2,022
4
13
3
12
0
460
91
1
0
false
true
false
false
false
false
low
71,979,787
I can't handle this Error TypeError: can't concat str to bytes
<p>import time import serial import sys SCREEN_DISPLAY=True SAVE_TO_FILE=True</p> <p>txtfile = open('datafile.csv','rb')</p> <p>serialport = serial.Serial('COM5',timeout=20,baudrate=9600)</p> <p>while True:</p> <pre><code>sensordata = serialport.readline().decode('ascii') timenow = time.strftime(&quot;Date: %Y-%m-%d //...
import time import serial import sys SCREEN_DISPLAY=True SAVE_TO_FILE=True txtfile = open('datafile.csv','rb') serialport = serial.Serial('COM5',timeout=20,baudrate=9600) while True: [CODE] serialport.close() txtfile.close()
serial-port|saving-data|android-threading|serial-monitor
0
2022-04-23T12:50:46.580Z
2,022
4
12
5
12
0
224
62
4
1
true
true
false
false
false
false
zero
72,003,193
I am building an attendance app and I face this error 'void android.app.Dialog.setOwnerActivity(android.app.Activity)' How can I overcome this?
<p>My Dialog class shows error and I don't know what happens with my code where it generate error I check multiple times and still not get a solution.</p> <p>Please Help to get rid of this....</p> <p>public class MyDialog extends DialogFragment {</p> <pre><code>public static final String CLASS_ADD_DIALOG = &quot;addCla...
My Dialog class shows error and I don't know what happens with my code where it generate error I check multiple times and still not get a solution. Please Help to get rid of this.... public class MyDialog extends DialogFragment { [CODE] //Here android studio shows an error if(getTag().equals(STUDENT_ADD_DIALOG))dialog ...
java|android|android-studio
0
2022-04-25T17:06:15.467Z
2,022
4
17
0
12
0
464
143
3
2
true
true
false
false
false
false
zero
72,009,842
Why does ExpandableListView - Animation is not working for single parent in Android?
<p>I tried to implement animation ExpandableListView with this class: <a href="https://github.com/idunnololz/AnimatedExpandableListView/blob/master/src/com/idunnololz/widgets/AnimatedExpandableListView.java" rel="nofollow noreferrer">https://github.com/idunnololz/AnimatedExpandableListView/blob/master/src/com/idunnolol...
I tried to implement animation ExpandableListView with this class: https://github.com/idunnololz/AnimatedExpandableListView/blob/master/src/com/idunnololz/widgets/AnimatedExpandableListView.java But the problem is I have only single parent and few child, with this it is not working. And entire stack overflow everyone s...
android
0
2022-04-26T07:20:08.270Z
2,022
4
7
1
12
0
354
84
1
0
false
true
false
false
false
false
zero
72,014,889
How to have different color brushes using multi touch?
<p>I am trying to make it so each finger on the screen has a different color as it paints its path. I am using pointers to create the path and toyed with assigning the pointer IDs a different color per number but no result. In the code below I am trying to make the first finger blue then when another finger begins draw...
I am trying to make it so each finger on the screen has a different color as it paints its path. I am using pointers to create the path and toyed with assigning the pointer IDs a different color per number but no result. In the code below I am trying to make the first finger blue then when another finger begins drawing...
android-studio|view|colors|paint
0
2022-04-26T13:32:16.263Z
2,022
4
13
1
12
0
481
54
4
1
true
true
false
false
false
false
zero
72,042,375
Android Studio Background MediaPlayer for multible Activities
<p>Can someone tell me why my app keeps crashing? In debug it says &quot;mediaplayer=null&quot;</p> <p>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setConte...
Can someone tell me why my app keeps crashing? In debug it says &quot;mediaplayer=null&quot; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); setContentView(R.l...
android|audio
0
2022-04-28T10:50:51.327Z
2,022
4
10
3
12
0
448
61
2
2
true
true
false
false
false
false
zero
72,061,185
How to Handle pushed notification call back in android
<p>can anyone help me in android development, basically i have done a pushed notification using android and when push come i played a custom audio sound which works fine , But the thing is when user tap on the notification the sound needs to stop,</p> <p>Basically I am new in android and don't know anything about andro...
can anyone help me in android development, basically i have done a pushed notification using android and when push come i played a custom audio sound which works fine , But the thing is when user tap on the notification the sound needs to stop, Basically I am new in android and don't know anything about android too Wil...
java|android
1
2022-04-29T16:44:04.957Z
2,022
4
16
4
12
0
367
54
2
0
false
true
false
false
false
false
low
72,075,374
Service being implicitly started
<p>hellu everyone. I have some doubts about Service being implicitly started. In the same process, I can start the Service via an implicit Intent. But the same code is in another process (that is, another App), and the Service cannot be started. I don't know what happened. Here is the relevant code:</p> <pre class="lan...
hellu everyone. I have some doubts about Service being implicitly started. In the same process, I can start the Service via an implicit Intent. But the same code is in another process (that is, another App), and the Service cannot be started. I don't know what happened. Here is the relevant code: [CODE] Below is my man...
android
0
2022-05-01T09:04:57.457Z
2,022
5
9
6
12
0
338
32
1
2
true
true
false
false
false
false
zero
72,099,285
Sing out Facebook firebase auth completely
<p>The user should be able to log out and choose another facebook account to log in again. But no matter what I try it never asks again which account I want to choose, it always takes the one I selected the very first time.</p> <p>here is what I tried so far:</p> <pre><code>Firebase.auth.signOut() LoginManager.getInsta...
The user should be able to log out and choose another facebook account to log in again. But no matter what I try it never asks again which account I want to choose, it always takes the one I selected the very first time. here is what I tried so far: [CODE] Thats all I could find on the internet, nothing works. How are ...
android|firebase|facebook|kotlin|firebase-authentication
0
2022-05-03T12:19:17.187Z
2,022
5
12
1
12
0
711
42
5
1
true
true
false
false
false
false
zero
72,108,108
Receive UDP packets over Android LocalOnlyHotspot
<p>I am creating an specific application where a central android device serve as a hotspot for other devices. The Central device enables the LocalOnlyHotspot and shares the SSID and password for other devices to connect(Manually scan a QR code generated). Once connected these devices will broadcast some information whi...
I am creating an specific application where a central android device serve as a hotspot for other devices. The Central device enables the LocalOnlyHotspot and shares the SSID and password for other devices to connect(Manually scan a QR code generated). Once connected these devices will broadcast some information which ...
android|udp|broadcast|wifimanager
0
2022-05-04T04:54:26.017Z
2,022
5
4
2
12
0
454
49
4
0
false
true
false
false
false
false
zero
72,023,288
react-native-location not updating with latest location on android - always return the cache location
<p>react native package - <a href="https://www.npmjs.com/package/react-native-location" rel="nofollow noreferrer">https://www.npmjs.com/package/react-native-location</a></p> <p>location is not updating on android. It always return the cache location. But once we re-install / clear cache the app it will take the latest ...
react native package - https://www.npmjs.com/package/react-native-location location is not updating on android. It always return the cache location. But once we re-install / clear cache the app it will take the latest location. Works fine on ios. [CODE] ... [CODE]
android|react-native|location|android-location|location-services
0
2022-04-27T04:29:17.963Z
2,022
4
4
2
268
0
264
101
5
2
true
true
false
false
false
false
zero
71,923,099
ng.cmd run app:ionic-cordova-build:production --platform=android exited with exit code 127
<p>I am about to build my first mobile app and then build it to android studio and turn it into apk. but every time I build it, it sets just like this.</p> <p>I've reinstalled everything. I am using nvs. for Windows.</p> <p>these are my specifications</p> <pre><code>{ &quot;name&quot;: &quot;app&quot;, &quot;versio...
I am about to build my first mobile app and then build it to android studio and turn it into apk. but every time I build it, it sets just like this. I've reinstalled everything. I am using nvs. for Windows. these are my specifications [CODE] ionic version 5.4.16 npm -v 8.3.1 cordova -v 11.0.0 node -v v16.14.0 is there ...
android|node.js|cordova|ionic-framework|ionic2
0
2022-04-19T10:02:18.143Z
2,022
4
10
1
780
0
1,588
90
5
1
true
true
false
false
false
false
zero
71,843,868
Why Google map KML stop working in Andriod 10
<p>I have upgraded my IONIC application from cordova android 9 to cordova android 10.1.1. In Version 9 the KML load properly in google map from my local device, but After upgrading to android 10.1.1 KML stopped working from my local devices</p> <p>can anyone help me, please</p>
I have upgraded my IONIC application from cordova android 9 to cordova android 10.1.1. In Version 9 the KML load properly in google map from my local device, but After upgrading to android 10.1.1 KML stopped working from my local devices can anyone help me, please
android|google-maps|ionic-framework|kml
0
2022-04-12T13:46:55.637Z
2,022
4
13
1
13
0
264
45
4
0
false
true
false
false
false
false
zero
71,850,246
Error when I try to pass cookie to Jsoup connect method - Android Studio Java
<p>I am trying to scrap data from my university website using jsoup library in Android Studio but when I try to pass cookie from the session to the connect method it shows error i.e., 'cookie(java.lang.String, java.lang.String)' in 'org.jsoup.Connection' cannot be applied to '(java.util.Map&lt;java.lang.String,java.lan...
I am trying to scrap data from my university website using jsoup library in Android Studio but when I try to pass cookie from the session to the connect method it shows error i.e., 'cookie(java.lang.String, java.lang.String)' in 'org.jsoup.Connection' cannot be applied to '(java.util.Map<java.lang.String,java.lang.Stri...
java|android|jsoup
0
2022-04-12T23:42:28.243Z
2,022
4
23
1
13
0
396
77
3
1
true
true
false
false
false
false
zero
71,904,158
AutoCompleteTextLayout reopens immediately after dismissal
<p>I have an exposed dropdown menu which is realized as the following <code>AutoCompleteTextView</code> powered by a simple <code>ArrayAdapter</code>:</p> <pre class="lang-xml prettyprint-override"><code>&lt;com.google.android.material.textfield.TextInputLayout style=&quot;@style/TextInputLayout&quot; a...
I have an exposed dropdown menu which is realized as the following AutoCompleteTextView powered by a simple ArrayAdapter : [CODE] Now the issue is that when clicking the input box a second time to dismiss the suggestions on the MotionEvent.ACTION_DOWN event (pressing down) it is dismissed on the MotionEvent.ACTION_UP e...
android|kotlin
0
2022-04-17T17:52:38.587Z
2,022
4
17
6
13
0
633
58
2
2
true
true
false
false
false
false
zero
71,939,260
How to set MeowBottomNavigations' counter from another fragment
<p>I am using <code>MeowBottomNavigation</code> with five fragments like this image [my MeowBottomNavigation][1]</p> <p>I want to update the counter of the Inbox fragment(the fourth one) when there are new messages in a database with the <code>setCount</code> method like this <code>bottomNavigation.setCount(INBOX_ID, m...
I am using MeowBottomNavigation with five fragments like this image [my MeowBottomNavigation][1] I want to update the counter of the Inbox fragment(the fourth one) when there are new messages in a database with the setCount method like this bottomNavigation.setCount(INBOX_ID, messageCount); I have tried to make the Meo...
android
0
2022-04-20T12:00:15.057Z
2,022
4
12
2
13
0
723
63
1
0
false
true
false
false
false
false
zero
71,944,506
How to open trim audio panel in IMG.LY
<p>I woud like to open audio trim editor in VideoEditor IMG.LY from my action. How can I do this? Native implementation works but before that I must to open separate display and select audio from audio list. I would like set my audio file and open with file trim audio feature immediatly.</p>
I woud like to open audio trim editor in VideoEditor IMG.LY from my action. How can I do this? Native implementation works but before that I must to open separate display and select audio from audio list. I would like set my audio file and open with file trim audio feature immediatly.
android|audio|video|trim
0
2022-04-20T18:26:12.613Z
2,022
4
18
2
13
0
285
38
4
0
false
true
false
false
false
false
zero
71,955,760
Crash in ActionMenuPresenter.updateMenuView
<p>I'm seeing the following exception a lot in the logs of my app, unfortunately it does not point me to a place in my own code. Does anyone have an idea what might be causing this?</p> <pre><code>Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void android.view.View.requestLayout()' o...
I'm seeing the following exception a lot in the logs of my app, unfortunately it does not point me to a place in my own code. Does anyone have an idea what might be causing this? [CODE] Thanks!
android|androidx
0
2022-04-21T13:58:12.897Z
2,022
4
13
3
13
0
193
43
2
1
true
true
false
false
false
false
zero
71,963,979
Generate debugImplementation dependency with JetPack or any other tool
<p>I have put lot of effort to find out how to generate debugImplementation for my library which is already using a debugImplementation - for leakCanary</p> <p>Question : Is it possible to generate debugImplememtation if yes how -steps</p>
I have put lot of effort to find out how to generate debugImplementation for my library which is already using a debugImplementation - for leakCanary Question : Is it possible to generate debugImplememtation if yes how -steps
android|gradle
0
2022-04-22T05:50:12.203Z
2,022
4
5
4
13
0
225
70
2
0
false
true
false
false
false
false
zero
71,972,023
Link multi Android devices to create a panoramic wallpaper
<p>I want to develop an Android launcher to install on multiple devices, but I need to be able to set a wallpaper that can be expended between the nearby devices like the image here:</p> <p><a href="https://i.stack.imgur.com/8ZtsB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8ZtsB.jpg" alt="enter ...
I want to develop an Android launcher to install on multiple devices, but I need to be able to set a wallpaper that can be expended between the nearby devices like the image here: Here is the scenario: Using an app on my phone that controls the launcher app remotely I can link multiple devices in a layout and when I ch...
android|screen|frame|launcher|wallpaper
0
2022-04-22T16:36:23.033Z
2,022
4
16
4
13
0
495
58
5
0
false
true
false
false
false
false
zero
72,028,156
fix The last item falls under FloatingActionButton and does not scroll completely
<p>thank you for helping me solve this problem <strong>I created the following BottomNavigationView code but my problem is that the last item in the middle of FloatingActionButton falls and the scrolling is not complete</strong></p> <p>xml</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; ...
thank you for helping me solve this problem I created the following BottomNavigationView code but my problem is that the last item in the middle of FloatingActionButton falls and the scrolling is not complete xml [CODE] According to the screenshot below screenshot
kotlin|floating-action-button|bottomnavigationview|android-bottomappbar
0
2022-04-27T11:46:55.447Z
2,022
4
11
2
13
0
264
81
4
1
true
true
false
false
false
false
zero
72,054,586
Can I apply popEnterAnim when I popUpTo a destination?
<p>I have a NavGraph like below. Why I CANNOT execute the popEnterAnim when popUpTo the graph starting destination?</p> <pre><code> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;navigation xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://sc...
I have a NavGraph like below. Why I CANNOT execute the popEnterAnim when popUpTo the graph starting destination? [CODE]
android|xml|navigation
0
2022-04-29T07:56:57.070Z
2,022
4
7
4
13
0
119
54
3
1
true
true
false
false
false
false
zero
72,075,992
consuming the respone in android volley and populating autocompleteview from it
<p>i am using volley to fetch a list of districts from back end i am populating my autocomplete view from the reponse using the following code</p> <pre><code> void getDistrictsFromAPI() { final ProgressDialog loading = ProgressDialog.show(this,&quot;Signing in&quot;,&quot;Please wait&quot;); String bas...
i am using volley to fetch a list of districts from back end i am populating my autocomplete view from the reponse using the following code [CODE] i am calling the above method in oncreate like this [CODE] i try to populate the adapter but it says districtsListStringArray is null i know its doing the req asynchronously...
android-volley
0
2022-05-01T10:45:16.797Z
2,022
5
10
6
13
0
603
79
1
2
true
true
false
false
false
false
zero
72,083,724
How to select from storage ,add into an array
<p>I am working on a project on android .</p> <pre><code>&lt;uses-permission android:name=&quot;android.permission.SET_WALLPAPER&quot;/&gt; </code></pre> <p>The aim is to randomly change wallpaper every four seconds or more as to be selected by a user . I have some pictures in my drawables which I made an array of.</p>...
I am working on a project on android . [CODE] The aim is to randomly change wallpaper every four seconds or more as to be selected by a user . I have some pictures in my drawables which I made an array of. [CODE] To make the changes I used [CODE] I have the snippet above in a service class My Problem : i want to Pick i...
java|android|wallpapermanager
0
2022-05-02T07:47:32.063Z
2,022
5
7
0
13
0
476
45
3
4
true
true
false
false
false
false
zero
72,086,086
I just used daji mobile sdk but can't run
<blockquote> <p>A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store &quot;C:\Users\zyw.android\debug.keystore&quot;: Integrity check failed: java.security.NoSuc...
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store &quot;C:\Users\zyw.android\debug.keystore&quot;: Integrity check failed: java.security.NoSuchAlgorithmExcept...
android|mobile
0
2022-05-02T11:34:45.213Z
2,022
5
11
0
13
0
362
41
2
0
false
true
false
false
false
false
zero
72,089,288
Android choosing wrong swdp folder?
<p>From <a href="https://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources" rel="nofollow noreferrer">Android docs</a>:</p> <blockquote> <p>The smallest width of a device takes into account screen decorations and system UI. For example, if the device has some persistent UI eleme...
From Android docs : The smallest width of a device takes into account screen decorations and system UI. For example, if the device has some persistent UI elements on the screen that account for space along the axis of the smallest width, the system declares the smallest width to be smaller than the actual screen size, ...
android
0
2022-05-02T15:57:34.453Z
2,022
5
15
0
13
0
1,097
35
1
2
true
true
false
false
false
false
zero
72,134,252
Passing counter in ascending order in another activity Android
<p>I have 10 increment buttons in main activity.</p> <p>Suppose btn1 has 10 counts Similarly</p> <p>Btn2-20</p> <p>Btn3-30</p> <p>Btn4-40</p> <p>Btn5-110</p> <p>Btn6-70</p> <p>Btn7-29</p> <p>Btn8-30</p> <p>Btn9-35</p> <p>This counter buttons are in main activity.</p> <p>Now what i want suppose in home activity</p> <p>U...
I have 10 increment buttons in main activity. Suppose btn1 has 10 counts Similarly Btn2-20 Btn3-30 Btn4-40 Btn5-110 Btn6-70 Btn7-29 Btn8-30 Btn9-35 This counter buttons are in main activity. Now what i want suppose in home activity Users are continuously clicking increment buttons and counts have increased . Suppose no...
java|android
0
2022-05-05T22:28:19.687Z
2,022
5
22
3
13
0
867
62
2
1
true
true
false
false
false
false
zero
71,799,800
Volley requests get overlap
<p>So i had this add to cart view : &lt; 1 &gt;. What i want is when press &quot;&gt;&quot; the system will check if user already had a cart, if not, create one, then proceed to add the product to cart. I made two functions to do this: createCart() and addProductFirstTime(). But somehow they got &quot;mixed&quot; with ...
So i had this add to cart view : < 1 >. What i want is when press &quot;>&quot; the system will check if user already had a cart, if not, create one, then proceed to add the product to cart. I made two functions to do this: createCart() and addProductFirstTime(). But somehow they got &quot;mixed&quot; with each other, ...
android|android-volley
0
2022-04-08T15:40:36.787Z
2,022
4
15
4
14
0
936
27
2
4
true
true
false
false
false
false
zero
71,841,049
how to implememt pagination in Dismissible widget?
<p>I want to implement dynamic API data from the server and I need to implement pagination for the <strong>dismissible</strong> widget.. could please suggest some solution for this issue.</p>
I want to implement dynamic API data from the server and I need to implement pagination for the dismissible widget.. could please suggest some solution for this issue.
android|flutter|dismissible
0
2022-04-12T10:28:18.633Z
2,022
4
10
1
14
0
167
50
3
0
false
true
false
false
false
false
zero
71,848,184
SQLite: copying database from assets in android version 9
<p>This DBHelper code is working in all version but not working android version 9 . I found the answer in these two questions, but I'm a beginner and I can't apply it.</p> <p><a href="https://stackoverflow.com/questions/55336900/a-pre-populated-database-does-not-work-at-api-28-throws-no-such-table-exceptio/55346290#553...
This DBHelper code is working in all version but not working android version 9 . I found the answer in these two questions, but I'm a beginner and I can't apply it. A pre-populated database does not work at API 28 throws &quot;no such table&quot; exception Android P - &#39;SQLite: No Such Table Error&#39; after copying...
java|android|sql
0
2022-04-12T19:29:38.460Z
2,022
4
19
1
14
0
430
57
3
1
true
true
false
false
false
false
zero
71,879,663
I am trying to implement a location request app using node.js Maria DB Android Studio
<p>I am trying to implement a location request app using node.js Maria DB Android Studio.</p> <p>I am trying to implement a method of requesting the location of the other party's mobile phone in real time from this mobile phone.</p> <p>I'm trying to use node.js to serve.</p> <p>I would like to know if there is a functi...
I am trying to implement a location request app using node.js Maria DB Android Studio. I am trying to implement a method of requesting the location of the other party's mobile phone in real time from this mobile phone. I'm trying to use node.js to serve. I would like to know if there is a function in node.js to request...
android|node.js
0
2022-04-15T03:07:02.297Z
2,022
4
3
4
14
0
675
85
2
0
false
true
false
false
false
false
zero
71,909,140
Android Sync Data from Mysql to Android Sqlite
<p>I want to create a sync activity that fetch data from Mysql to Sqlite. Currently Data is fetching from Mysql to Sqlite but I am unable to run an activity running indeterminate time progress bar along with fetching and quits properly accordingly after complete fetching and insertion in Sqlite is done. I have multiple...
I want to create a sync activity that fetch data from Mysql to Sqlite. Currently Data is fetching from Mysql to Sqlite but I am unable to run an activity running indeterminate time progress bar along with fetching and quits properly accordingly after complete fetching and insertion in Sqlite is done. I have multiple Ta...
android|mysql|sqlite
0
2022-04-18T08:01:29.903Z
2,022
4
8
0
14
0
670
46
3
0
false
true
false
false
false
false
zero
71,937,445
Image size changes on when you shift it on Android phone or Emulator
<p>I am working on something which includes image upload loading. User can set the image or document size in bytes from the web end and then user can upload any image or document up to that particular size.</p> <p>For testing purpose I have set the limit &quot;39000&quot; bytes on web end and downloaded a sample image ...
I am working on something which includes image upload loading. User can set the image or document size in bytes from the web end and then user can upload any image or document up to that particular size. For testing purpose I have set the limit &quot;39000&quot; bytes on web end and downloaded a sample image from inter...
android|windows|android-image|imagedownload
0
2022-04-20T09:41:30.020Z
2,022
4
9
2
14
0
836
68
4
0
false
true
false
false
false
false
zero
71,945,547
android:state_selected="true" is not working for LinearLayout
<p>android:state_selected=&quot;true&quot; is not working for my LinearLayout, I have selector for selected and pressed states, pressed works fine, while selected does not. I have android:clickable=&quot;true&quot;, android:focusable=&quot;true&quot; and android:focusableInTouchMode=&quot;true&quot; for my Line...
android:state_selected=&quot;true&quot; is not working for my LinearLayout, I have selector for selected and pressed states, pressed works fine, while selected does not. I have android:clickable=&quot;true&quot;, android:focusable=&quot;true&quot; and android:focusableInTouchMode=&quot;true&quot; for my LinearLayout th...
android|xml
0
2022-04-20T20:02:11.280Z
2,022
4
20
2
14
0
325
61
2
0
false
true
false
false
false
false
zero
71,945,641
Why does the implementation keep failing? How do I fix?
<p>I have been trying to use CometChat to build a simple chat app. Im following the steps to set up the CometChat SDK but the implementation keeps failing and I cannot find any solutions. Any suggestions?</p> <p><a href="https://i.stack.imgur.com/iu0hG.png" rel="nofollow noreferrer">Screenshot of build.gradle at app le...
I have been trying to use CometChat to build a simple chat app. Im following the steps to set up the CometChat SDK but the implementation keeps failing and I cannot find any solutions. Any suggestions? Screenshot of build.gradle at app level
android-studio|build.gradle|android-sdk-2.3|cometchat
0
2022-04-20T20:10:05.090Z
2,022
4
20
2
14
0
241
55
4
0
false
true
false
false
false
false
zero
71,987,308
Universal .so file generation for all android studio projects
<p>I know this question is there a lot on this platform, however, what I am looking for is the way for which I can generate .so files one time and can utilize them in all projects whenever I need them without any modification. is that possible?</p> <p>If it is possible then what things need to be done?</p>
I know this question is there a lot on this platform, however, what I am looking for is the way for which I can generate .so files one time and can utilize them in all projects whenever I need them without any modification. is that possible? If it is possible then what things need to be done?
android-studio|.so
0
2022-04-24T09:59:58.490Z
2,022
4
9
6
14
0
293
61
2
0
false
true
false
false
false
false
zero
71,989,654
Error Name : android.view.WindowManager$BadTokenException from google play console crash report
<p>I don't know what is happening with my app. <strong>Please help me</strong>. I have 3 devices but I don't face any crashes. But I got the crashes from the google play console.</p> <pre><code>public class Internet_Checker_BroadCast_Reciver extends BroadcastReceiver { Context mContext; Dialog dialog; @Ov...
I don't know what is happening with my app. Please help me . I have 3 devices but I don't face any crashes. But I got the crashes from the google play console. [CODE] the error is showed in **dialog.show();** and **no_internet_alert(); ** But most of the time this error is not happening .. the code of that class inside...
android-studio|broadcastreceiver|android-alertdialog
0
2022-04-24T15:05:03.443Z
2,022
4
15
6
14
0
474
95
3
2
true
true
false
false
false
false
zero
71,990,671
Error in Class Generated by Build Gradle SpinnerItemBinding.java
<p>I am trying to update my app from API 28 to API 31 and implement the material you theme. when I changed the API from build.gradle &quot;class SpinneritemBinding is public, should be declared in a file named SpinneritemBinding.java&quot; this error showed in my Build output Even though SpinneritemBinding.java is an a...
I am trying to update my app from API 28 to API 31 and implement the material you theme. when I changed the API from build.gradle &quot;class SpinneritemBinding is public, should be declared in a file named SpinneritemBinding.java&quot; this error showed in my Build output Even though SpinneritemBinding.java is an auto...
java|android|android-studio
0
2022-04-24T17:18:29.810Z
2,022
4
17
6
14
0
532
64
3
1
true
true
false
false
false
false
zero
71,991,551
Trying to display name of users on support action bar
<p>Please i am new to kotlin and i have been trying to retrive the fullname of my users in the data base after using getStringExtra so i can use each of them for the title of my support action bar but the value it returns an empty value.</p> <pre><code>val name = intent.getStringExtra(&quot;fullname&quot;) val rece...
Please i am new to kotlin and i have been trying to retrive the fullname of my users in the data base after using getStringExtra so i can use each of them for the title of my support action bar but the value it returns an empty value. [CODE] Here is how i am sending name and receiverUid to my database [CODE] But when i...
database|string|firebase|kotlin|android-intent
0
2022-04-24T19:09:13.193Z
2,022
4
19
6
14
0
583
53
5
3
true
true
false
false
false
false
zero
71,998,129
ReactJS: How do I fetch data from react native app to reactjs app in a firebase project?
<p>I have created a React Native chat app and need to show its count in AdminUI which is created in ReactJS. Can someone help me to integrate Admin app so I can fetch the count of chats from React native app. Data is showing in Firebase Database. <strong>firebase.js in React Native app</strong></p> <pre><code>import fi...
I have created a React Native chat app and need to show its count in AdminUI which is created in ReactJS. Can someone help me to integrate Admin app so I can fetch the count of chats from React native app. Data is showing in Firebase Database. firebase.js in React Native app [CODE] firebase.js in ReactJS I need to show...
android|reactjs|firebase|react-native|firebase-realtime-database
0
2022-04-25T10:32:12.673Z
2,022
4
10
0
14
0
345
88
5
2
true
true
false
false
false
false
zero
72,033,959
How to create a hotspot with GestureDetector (panoramagl Android)- on long press on the Screen
<p><a href="https://github.com/hannesa2/panoramagl/issues/155" rel="nofollow noreferrer">https://github.com/hannesa2/panoramagl/issues/155</a> I want to get the actual touch pixel on the panorama image, but I am getting a touch of surface view</p>
https://github.com/hannesa2/panoramagl/issues/155 I want to get the actual touch pixel on the panorama image, but I am getting a touch of surface view
android|coordinates|surfaceview|hotspot|360-panorama
0
2022-04-27T18:55:57.580Z
2,022
4
18
2
14
0
150
94
5
0
false
true
false
false
false
false
zero
72,051,155
Separating children from an expandable list
<p>I want to separate the children of the list so that I can assign different individual web links for each one, so far the expandable list generates all the children without a way to individually separate them so that each one could have its own web link. I'm new to android and I've only been doing this for a few mont...
I want to separate the children of the list so that I can assign different individual web links for each one, so far the expandable list generates all the children without a way to individually separate them so that each one could have its own web link. I'm new to android and I've only been doing this for a few months ...
android-studio|hyperlink|expandablelistview|children
0
2022-04-28T23:11:30.423Z
2,022
4
23
3
14
0
565
43
4
2
true
true
false
false
false
false
zero
72,067,436
Limit Negative font scaling in react native
<p>We can limit the positive font scaling from device settings by using the maxFontSizeMultiplier prop for Text in React native .Is there any way to limit the negative font scaling also.Any suggestion would appreciate</p>
We can limit the positive font scaling from device settings by using the maxFontSizeMultiplier prop for Text in React native .Is there any way to limit the negative font scaling also.Any suggestion would appreciate
android|ios|reactjs|react-native
0
2022-04-30T09:56:22.430Z
2,022
4
9
5
14
0
214
43
4
0
false
true
false
false
false
false
zero
71,998,054
Authentication with Flutter Bloc/Cubit
<p>How do I set current user using hydrated storage instead of cachedClient Like its done in bloc docs for firebase login?</p> <p><em>They wrote in user repository:</em></p> <pre><code> Stream&lt;User&gt; get user { return _firebaseAuth.authStateChanges().map((firebaseUser) { final user = firebaseUser == ...
How do I set current user using hydrated storage instead of cachedClient Like its done in bloc docs for firebase login? They wrote in user repository: [CODE] I have isEmpty/isNotEmpty in my User model but in firebase there is a getter current user where cachedClient used In my user repository i only have [CODE] and tha...
android|flutter|mobile-development|flutter-bloc|cubit
1
2022-04-25T10:26:27.963Z
2,022
4
10
0
782
0
565
38
5
2
true
true
false
false
false
false
low
71,848,453
How to go through this redux-devtools/extension, as I am facing an error as shown in attached image?
<p><img src="https://i.stack.imgur.com/VkIQr.png" alt="unable to resolve module" /></p> <p>This is what I am getting error. I have tried <code>npm install redux-devtools/extension</code> and <code>npm install</code>, but didn't work.</p>
This is what I am getting error. I have tried npm install redux-devtools/extension and npm install , but didn't work.
javascript|android|ios|react-native
0
2022-04-12T19:56:49.270Z
2,022
4
19
1
15
0
117
100
4
0
false
true
false
false
false
false
zero