id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
72,893,234
Clone failed: could not create work tree : Permission denied
<p>When i want to clone a code from git hub to android studio, i get the following error <a href="https://i.stack.imgur.com/PW1co.jpg" rel="nofollow noreferrer">enter image description here</a></p> <p>Also git, git bash, vscode etc. work fine. only, i get this error on android studio.</p>
When i want to clone a code from git hub to android studio, i get the following error enter image description here Also git, git bash, vscode etc. work fine. only, i get this error on android studio.
android|github|clone
0
2022-07-07T06:34:36.260Z
2,022
7
6
3
23
0
199
60
3
0
false
true
false
false
false
false
zero
72,893,359
what does mean the percentile in the binder_sample event logs
<pre><code># See system/core/logcat/event.logtags for a description of the format of this file. option java_package android.content; 52002 content_query_sample (uri|3),(projection|3),(selection|3),(sortorder|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 52003 content_update_sample (uri|3),(operation|3),(sel...
[CODE] what does sample_percent mean in binder_sample?
android|android-binder
0
2022-07-07T06:45:21.267Z
2,022
7
6
3
17
0
54
61
2
1
true
true
false
false
false
false
zero
72,893,527
Android Patching in Background Unreal Engine
<p>I'm trying to do the patching process in my unreal game for Android platform. For which I need to develop a background downloading service that download the short 1mb chunks in the background and once the all downloads gets completed the engine will use them to build the <strong>pak</strong> file again that can be p...
I'm trying to do the patching process in my unreal game for Android platform. For which I need to develop a background downloading service that download the short 1mb chunks in the background and once the all downloads gets completed the engine will use them to build the pak file again that can be patched. What i tried...
android|c++|game-development|unreal-engine5|pak
0
2022-07-07T07:01:20.660Z
2,022
7
7
3
64
0
679
44
5
0
false
true
false
false
false
false
zero
72,893,578
Cannot figure out how to store value that I get from location services and call the api using those values
<h2>Inside my Fragment File</h2> <p>Here I am try to call <code>locationProvider</code> to get the latitude and longitude. And once i get those i want to call api to get the weather data <code>weatherApi</code>. I cannot initialise variables inside <code>locationProvider.lastLocation.addOnSuccessListener</code> also i ...
Inside my Fragment File Here I am try to call locationProvider to get the latitude and longitude. And once i get those i want to call api to get the weather data weatherApi . I cannot initialise variables inside locationProvider.lastLocation.addOnSuccessListener also i cannot call weatherApi inside the locationProvider...
java|android|api|kotlin|location
0
2022-07-07T07:06:16.713Z
2,022
7
7
3
19
0
829
106
5
3
true
true
false
false
false
false
zero
72,893,607
Cannot take android build due to react native netinfo "error: cannot find symbol"
<blockquote> <p>Task :app:compileReleaseJavaWithJavac FAILED /home/tlspc-167/React-Native/keywe/android/app/src/main/java/com/Project/MainApplication.java:7: error: cannot find symbol import com.reactnativecommunity.netinfo.NetInfoPackage; ^ symbol: class NetInfoPackage location: package com.reactnativecommunity.neti...
Task :app:compileReleaseJavaWithJavac FAILED /home/tlspc-167/React-Native/keywe/android/app/src/main/java/com/Project/MainApplication.java:7: error: cannot find symbol import com.reactnativecommunity.netinfo.NetInfoPackage; ^ symbol: class NetInfoPackage location: package com.reactnativecommunity.netinfo /home/tlspc-16...
android|react-native
0
2022-07-07T07:10:04.237Z
2,022
7
7
3
43
0
1,090
81
2
0
false
true
false
false
false
false
zero
72,893,648
How can we get the key of the current user from the realtime database when the key of the user is the username in KOTLIN
<p><a href="https://i.stack.imgur.com/Aqauk.png" rel="nofollow noreferrer">The code</a></p> <p>This is our code, we just want to display the current user's key, that's it so how should we do that.</p> <p>Currently, the code gives the output of all the keys and not the current user key.</p> <p>As output, we are getting ...
The code This is our code, we just want to display the current user's key, that's it so how should we do that. Currently, the code gives the output of all the keys and not the current user key. As output, we are getting the values: Asif, Test24, and Vaishnavi in the variable key The image is of the Realtime Database Th...
android|firebase|kotlin|firebase-realtime-database|firebase-authentication
0
2022-07-07T07:13:08.960Z
2,022
7
7
3
37
1
348
120
5
0
false
false
false
false
false
false
zero
72,893,735
Checking if entry exists
<p>I'm trying to create a login app. I want it to do nothing more than either store the account info on a db if the username is not already used. Problem is, no matter what I try, I cannot check if the username is already in the db</p> <p>I've tried to get both LiveData from my query, as well as String?, as shown below...
I'm trying to create a login app. I want it to do nothing more than either store the account info on a db if the username is not already used. Problem is, no matter what I try, I cannot check if the username is already in the db I've tried to get both LiveData from my query, as well as String?, as shown below with no s...
android|kotlin|android-room
1
2022-07-07T07:19:36.210Z
2,022
7
7
3
67
2
515
24
3
6
true
false
false
false
false
false
low
72,893,796
Auto scroll on Recyclerview
<blockquote> <p>I create a RecyclerView with auto scroll functionality using Runnable task. My list is scroll perfectly upto the end of the list.</p> </blockquote> <p><strong>What I want -</strong> suppose there are 1-2-3 items in list then again show 1-2-3 after ending the list in RecyclerView.</p> <p><strong>what I h...
I create a RecyclerView with auto scroll functionality using Runnable task. My list is scroll perfectly upto the end of the list. What I want - suppose there are 1-2-3 items in list then again show 1-2-3 after ending the list in RecyclerView. what I had done [CODE]
android|kotlin|android-recyclerview
0
2022-07-07T07:24:08.293Z
2,022
7
7
3
74
0
265
27
3
1
true
true
false
false
false
false
zero
72,893,858
How to set gravity for TextInputLayout's error message
<p>I am using <strong>TextInputLayout</strong> to show error message. By default, TextInputLayout's setError() shows error text at the bottom of it. Please refer to No1 Image. Now, accordingly to my designer design, I have to show it at the top of TextInputLayout(pls see No2 Image). I'm now thinking to create custom v...
I am using TextInputLayout to show error message. By default, TextInputLayout's setError() shows error text at the bottom of it. Please refer to No1 Image. Now, accordingly to my designer design, I have to show it at the top of TextInputLayout(pls see No2 Image). I'm now thinking to create custom view here but in the w...
java|android|android-edittext|android-textinputlayout
1
2022-07-07T07:29:21.910Z
2,022
7
7
3
46
0
479
54
4
0
false
true
false
false
false
false
low
72,893,913
Why Android can't apply dimen attributes in Vector drawable? It will report an error
<pre class="lang-xml prettyprint-override"><code>&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:width=&quot;?attr/dimenVectorSize&quot; android:height=&quot;?attr/dimenVectorSize&quot; android:viewportWidth=&quot;20&quot; android:viewportHeight=&quot;20&quot;&gt;...
[CODE] The colorVectorFill and colorVectorFill is custom attr: [CODE] I call it like this: [CODE] The style/Theme.Vector.Small : [CODE] The problem It crashes when it runs: [CODE] Source code The Question Where am I calling wrong? Or does Android not natively support this implementation? What if I want to define a Vect...
android|android-drawable|android-theme|android-vectordrawable
0
2022-07-07T07:34:27.150Z
2,022
7
7
3
43
0
431
84
4
5
true
true
false
false
false
false
zero
72,893,934
Viewpager2 is not loading fragment on clicking tab ,but works on swiping
<p>I am using ViewPager2 with Tablayout . Initially everything works fine. ie, both swipe and clicking on Tab ,loads the correct fragment. Say I have 3 fragments Tab A, Tab B and Tab C. I need to open other fragments from Tab B ,say Tab B1.Tab B1 is opened and on pressing back button it goes back to Tab B. Now when I c...
I am using ViewPager2 with Tablayout . Initially everything works fine. ie, both swipe and clicking on Tab ,loads the correct fragment. Say I have 3 fragments Tab A, Tab B and Tab C. I need to open other fragments from Tab B ,say Tab B1.Tab B1 is opened and on pressing back button it goes back to Tab B. Now when I clic...
android|kotlin|navigation|android-viewpager2
2
2022-07-07T07:36:07.457Z
2,022
7
7
3
113
1
544
72
4
1
true
false
false
false
false
false
low
72,893,984
Magisk build issues on Ubuntu 22.04 LTS (LOCAL_SRC_FILES)
<p>When trying to build the Magisk tool (<a href="https://github.com/topjohnwu/Magisk" rel="nofollow noreferrer">https://github.com/topjohnwu/Magisk</a>), I encountered these errors during the build process</p> <pre><code>mv target/x86_64-linux-android/debug/libmagisk.a -&gt; ../../native/out/x86_64/libmagisk-rs.a Andr...
When trying to build the Magisk tool ( https://github.com/topjohnwu/Magisk ), I encountered these errors during the build process [CODE] Are there any settings I need to change?
android|android-ndk
0
2022-07-07T07:41:02.733Z
2,022
7
7
3
38
0
177
57
2
1
true
true
false
false
false
false
zero
72,894,007
An unknown server-side error occurred while processing the command. Original error: Failed to launch Appium Settings app: Condition unmet after
<p>An unknown server-side error occurred while processing the command. Original error: Failed to launch Appium Settings app: Condition unmet after 5398 ms. Timing out.</p> <p>{ &quot;platformName&quot;: &quot;android&quot;, &quot;platformVersion&quot;: &quot;9&quot;, &quot;deviceName&quot;: &quot;redmi Y2&quot;, &quot;...
An unknown server-side error occurred while processing the command. Original error: Failed to launch Appium Settings app: Condition unmet after 5398 ms. Timing out. { &quot;platformName&quot;: &quot;android&quot;, &quot;platformVersion&quot;: &quot;9&quot;, &quot;deviceName&quot;: &quot;redmi Y2&quot;, &quot;noReset&qu...
appium|appium-android|inspector
0
2022-07-07T07:42:20.957Z
2,022
7
7
3
260
0
536
143
3
0
false
true
false
false
false
false
zero
72,894,036
Is there any way making calendar widget in Flutter? (android studio)
<p><a href="https://i.stack.imgur.com/eQ3PD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eQ3PD.png" alt="enter image description here" /></a></p> <p>I want to make home calendar widget using flutter, is there any example of way to make it???</p>
I want to make home calendar widget using flutter, is there any example of way to make it???
android|ios|flutter
-1
2022-07-07T07:44:33.157Z
2,022
7
7
3
53
1
92
68
3
0
false
false
false
false
false
true
negative
72,894,056
Create custom API to get the data from application layer to kerel layer in android (AOSP)
<p>I working AOSP 11 source code.</p> <p>Trying to understand the all layers of android. How to create API to get data from application layer to kernel layer.</p> <p>Application layer &lt;=&gt; Android framework &lt;==&gt; JNI &lt;==&gt; HAL &lt;==&gt; device drivers &lt;==&gt; kernel</p> <p>Can you please share me any...
I working AOSP 11 source code. Trying to understand the all layers of android. How to create API to get data from application layer to kernel layer. Application layer <=> Android framework <==> JNI <==> HAL <==> device drivers <==> kernel Can you please share me any ref documents, it will be very helpful.
android|api|android-source
0
2022-07-07T07:46:02.307Z
2,022
7
7
3
49
0
306
89
3
0
false
true
false
false
false
false
zero
72,894,159
Obtain user data from purchases.subscriptionsv2.get
<p>I am building an Android App, using Firebase as Backend. Firebase will be used for authentication, storage, some data in firebase database, and also using cloud functions.</p> <p>There are <a href="https://developer.android.com/google/play/billing/subscriptions" rel="nofollow noreferrer">subsriptions </a> in my app...
I am building an Android App, using Firebase as Backend. Firebase will be used for authentication, storage, some data in firebase database, and also using cloud functions. There are subsriptions in my app with Google Play Billing Library v5. After the subscription is purchased and acknowledged, I'd like to do some serv...
android|google-cloud-firestore|firebase-authentication|in-app-billing
0
2022-07-07T07:53:17.207Z
2,022
7
7
3
114
0
1,319
51
4
1
true
true
false
false
false
false
zero
72,894,319
RecyclerView should show half of previous and next item
<p>I have a horizontal scrolling <code>RecyclerView</code>. I have 50 items. I go to 25th item immediately after creating the <code>RecyclerView</code> using <code>scrollToPosition</code> method. Now i want the 25th item to be in the centre of the screen. 24th and 26th items should be visible only half on either sides....
I have a horizontal scrolling RecyclerView . I have 50 items. I go to 25th item immediately after creating the RecyclerView using scrollToPosition method. Now i want the 25th item to be in the centre of the screen. 24th and 26th items should be visible only half on either sides. RecyclerView width is match parent. Pare...
android|android-recyclerview|scroll
0
2022-07-07T08:06:49.237Z
2,022
7
8
3
89
1
932
55
3
0
false
false
false
false
false
false
zero
72,894,340
How to screenshot selectively or scrollable Composable?
<p>I'm writing a <a href="https://github.com/SmartToolFactory/Compose-Screenshot" rel="nofollow noreferrer">screenshot library</a> that captures scree with</p> <pre><code>val view: View = LocalView.current </code></pre> <p>i get its bounds and translate Composable's position to capture visible section of Composable.</p...
I'm writing a screenshot library that captures scree with [CODE] i get its bounds and translate Composable's position to capture visible section of Composable. I do it as [CODE] Extension for getting composable position and capturing [CODE] The issue is it screenshots everything on screen as capture button that i don't...
android|android-jetpack-compose
1
2022-07-07T08:08:45.020Z
2,022
7
8
3
50
0
743
55
2
5
true
true
false
false
false
false
low
72,894,657
Unable to upload file in specific folder in google drive using REST API
<p>I am trying to upload a local file to a specified folder in Google Drive using REST API from android app, the file is uploading in the root directory but not uploading in the specified folder. No error in the API.</p> <p>Using the following API: <a href="https://developers.google.com/drive/api/guides/manage-uploads#...
I am trying to upload a local file to a specified folder in Google Drive using REST API from android app, the file is uploading in the root directory but not uploading in the specified folder. No error in the API. Using the following API: https://developers.google.com/drive/api/guides/manage-uploads#multipart Tried pas...
java|android|google-api|google-drive-api|google-api-java-client
0
2022-07-07T08:33:57.097Z
2,022
7
8
3
87
1
543
71
5
3
true
false
false
false
false
false
zero
72,894,815
Ingration mobile app with Google Assistant
<p>do you guys know if I could make an Ok Google mobile app that reacts for that popular phrase, then send it to Dialogflow or some Google- or self-like platform that processes voice input and then get extracted params and commands included in voice command into the app?</p> <p>I tried with shortcuts.xml file but it wo...
do you guys know if I could make an Ok Google mobile app that reacts for that popular phrase, then send it to Dialogflow or some Google- or self-like platform that processes voice input and then get extracted params and commands included in voice command into the app? I tried with shortcuts.xml file but it works only i...
android|google-assistant|app-actions
0
2022-07-07T08:46:06.027Z
2,022
7
8
3
46
0
1,144
42
3
0
false
true
false
false
false
false
zero
72,894,846
Flutter + FCM: onBackgroundMessage vs onMessageOpenedApp
<p>Recently I've been working on connecting flutter with FCM. While reading <a href="https://firebase.google.com/docs/cloud-messaging/flutter/receive#apple_platforms_and_android" rel="nofollow noreferrer">firebase docs</a> I red:</p> <blockquote> <p>Handle background messages by registering a <code>onBackgroundMessage<...
Recently I've been working on connecting flutter with FCM. While reading firebase docs I red: Handle background messages by registering a onBackgroundMessage handler. ,but later reading flutterfire docs I've found: The firebase-messaging package provides two ways to handle this interaction: (...) onMessageOpenedApp : A...
android|ios|flutter|firebase|firebase-cloud-messaging
1
2022-07-07T08:48:28.310Z
2,022
7
8
3
411
1
1,301
56
5
0
false
false
false
false
false
false
low
72,894,891
Flutter: Android resource linking failed
<p>Getting the following error when trying to run my Flutter app in an android simulator:</p> <pre><code>Execution failed for task ':app:processDebugResources'. &gt; A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction &gt; Android resource linki...
Getting the following error when trying to run my Flutter app in an android simulator: [CODE] Here is my AndroidManifest.xml: [CODE] Not really sure why it is acting up? I assume the style tag is in the right place?
android|flutter
0
2022-07-07T08:51:15.540Z
2,022
7
8
3
44
1
215
40
2
2
true
false
false
false
false
false
zero
72,894,920
Xamarin.Forms I want comboBox like a windows forms combobox
<p>Im looking for better picker because Xamarin.Forms picker is really bad and I dont want like that, Is there any custom picker or something like comboBox?</p> <p><a href="https://i.stack.imgur.com/2OBlp.png" rel="nofollow noreferrer">i want Like This</a></p>
Im looking for better picker because Xamarin.Forms picker is really bad and I dont want like that, Is there any custom picker or something like comboBox? i want Like This
c#|xamarin|xamarin.forms|xamarin.android|xamarin-studio
-1
2022-07-07T08:53:22.937Z
2,022
7
8
3
85
3
170
59
5
0
false
false
false
false
false
true
negative
72,894,923
Is there a way to display locations without Google Maps? - android
<p>I want to display locations but not necessarily on a map. I just need a widget with a white background that can display Location objects. Is there anything like that available?</p>
I want to display locations but not necessarily on a map. I just need a widget with a white background that can display Location objects. Is there anything like that available?
android|android-studio|google-maps-android-api-2|android-location
0
2022-07-07T08:53:36.090Z
2,022
7
8
3
23
0
176
66
4
0
false
true
false
false
false
false
zero
72,895,016
How to restrict Firebase API keys in the Google Cloud console
<p>I have a question about the interplay of the Google Cloud API keys and the keys, that are used by Firebase:</p> <p>I want to add <strong>Google API key restrictions</strong> for two apps (Android &amp; iOS). So I created two new keys (Android + iOS) in the <em>Google Cloud Console</em>, that should replace the old o...
I have a question about the interplay of the Google Cloud API keys and the keys, that are used by Firebase: I want to add Google API key restrictions for two apps (Android & iOS). So I created two new keys (Android + iOS) in the Google Cloud Console , that should replace the old overpowered and unrestricted prod key, w...
android|firebase|security|mobile|google-api
0
2022-07-07T09:00:15.540Z
2,022
7
9
3
50
1
870
61
5
0
false
false
false
false
false
false
zero
72,895,065
Couldn't make a guess for com.Rapcrushers.app.customviews.MageNativeTextView
<p>I am receiving the error</p> <blockquote> <p>Cause: couldn't make a guess for com.Rapcrushers.app.customviews.MageNativeTextView</p> </blockquote> <p>while rebuilding the project. I think this issue is because of the capital &quot;R&quot; in package name of my app. But i can't change it to small &quot;r&quot; since ...
I am receiving the error Cause: couldn't make a guess for com.Rapcrushers.app.customviews.MageNativeTextView while rebuilding the project. I think this issue is because of the capital &quot;R&quot; in package name of my app. But i can't change it to small &quot;r&quot; since app is already live on play store and have 1...
java|android|android-studio|kotlin|kotlin-multiplatform
0
2022-07-07T09:03:50.167Z
2,022
7
9
3
25
0
594
76
5
0
false
true
false
false
false
false
zero
72,895,072
How to do RF reset or re-activation of a Mifare ultralight c?
<p>I am trying to program a 3DES key to my Mifare ultralight c, using Flutter. And this method is called through a method channel to android.</p> <p>from the <a href="https://www.nxp.com/docs/en/data-sheet/MF0ICU2.pdf" rel="nofollow noreferrer">documentation</a> section 7.5.7, it says that <code>A re-programmed authent...
I am trying to program a 3DES key to my Mifare ultralight c, using Flutter. And this method is called through a method channel to android. from the documentation section 7.5.7, it says that A re-programmed authentication key is only valid for authentication after a RF reset or a re-activation . I don't know how to do r...
android|flutter|nfc|mifare|3des
0
2022-07-07T09:04:54.907Z
2,022
7
9
3
60
1
450
61
5
0
false
false
false
false
false
false
zero
72,895,086
Android can't resolve method registerForActivityResult
<p>Even after adding dependencies, <strong>Android Studio still can't find <code>registerForActivityResult()</code> method</strong>. How can I fix this problem?</p> <p>These dependencies has been added:</p> <pre><code>implementation(&quot;androidx.activity:activity-ktx:1.5.0&quot;) implementation(&quot;androidx.fragmen...
Even after adding dependencies, Android Studio still can't find registerForActivityResult() method . How can I fix this problem? These dependencies has been added: [CODE] And I have written this code: [CODE]
android|kotlin|android-fragments|android-activity
0
2022-07-07T09:06:04.207Z
2,022
7
9
3
141
0
207
54
4
2
true
true
false
false
false
false
zero
72,895,207
Classifier 'IOException' does not have a companion object, and thus must be initialized here
<p>I am trying to read data from <code>preference datastore</code> and getting this unexpected error.</p> <p>Here's a codelab from google <a href="https://developer.android.com/codelabs/android-preferences-datastore#6" rel="nofollow noreferrer">link1</a></p> <p>Here's the official doc <a href="https://developer.android...
I am trying to read data from preference datastore and getting this unexpected error. Here's a codelab from google link1 Here's the official doc link2 [CODE] This same code is working fine in an older project. Can anyone tell me how to solve this?
android|ioexception|android-jetpack-datastore
0
2022-07-07T09:14:50.003Z
2,022
7
9
3
36
1
247
92
3
1
true
false
false
false
false
false
zero
72,895,312
Jetpack compose - How to detect tap gestures without consuming them?
<p>I want to detect tap gesture in LazyColumn and long press gesture in items:</p> <pre class="lang-kotlin prettyprint-override"><code>LazyColumn( modifier = Modifier.pointerInput(Unit) { detectTapGestures(onTap = { /* do something */}) } ) { items(items) { ListItem( modifier=Mod...
I want to detect tap gesture in LazyColumn and long press gesture in items: [CODE] Obviously ListItem will consume all gestures. So my question is how to detect tap gestures without consuming them?
android|android-jetpack-compose
1
2022-07-07T09:22:01.890Z
2,022
7
9
3
432
0
197
68
2
1
true
true
false
false
false
false
low
72,895,437
How to achieve this effect, recycleview can be stopped precisely
<p>I don't know how to describe it, it looks like a RecycleView that stops scrolling when the next Item part is displayed (about 200dp). I'm trying to measure the size of the next Item displayed in <code>RecyclerView.addOnScrollListener</code> to control the <code>RecyclerView</code> sliding state.</p> <p>But the Recyc...
I don't know how to describe it, it looks like a RecycleView that stops scrolling when the next Item part is displayed (about 200dp). I'm trying to measure the size of the next Item displayed in RecyclerView.addOnScrollListener to control the RecyclerView sliding state. But the RecycleView callback onScrollStateChanged...
android|android-viewpager2|recycleview
0
2022-07-07T09:30:07.577Z
2,022
7
9
3
24
0
785
64
3
0
false
true
false
false
false
false
zero
72,895,520
Firebase not sending notifications after account change/replacing firebase account
<p>I am trying to implement how to push notifications from firebase. I have added the dependencies and made a project in my firebase account and connected my app. It initially worked fine but I changed the firebase account that is associated with the app to another(2nd account) then I saw that I did not receive any not...
I am trying to implement how to push notifications from firebase. I have added the dependencies and made a project in my firebase account and connected my app. It initially worked fine but I changed the firebase account that is associated with the app to another(2nd account) then I saw that I did not receive any notifi...
android|firebase|kotlin|firebase-cloud-messaging
0
2022-07-07T09:35:40.303Z
2,022
7
9
3
33
0
904
82
4
3
true
true
false
false
false
false
zero
72,895,852
Find the View and container Fargment information from Click event captures in profiler
<p>I am profiling a new application I am working with. I can see the captured pink circle, I want to find out where the view is ,In which fragment and where the click listener is defined. Here I can only see the activity information. It's a big project.</p> <p><a href="https://i.stack.imgur.com/oARUS.png" rel="nofollow...
I am profiling a new application I am working with. I can see the captured pink circle, I want to find out where the view is ,In which fragment and where the click listener is defined. Here I can only see the activity information. It's a big project.
android-studio|android-profiler
1
2022-07-07T10:00:15.807Z
2,022
7
10
3
19
1
250
86
2
0
false
false
false
false
false
false
low
72,895,868
Expo/react-native: android blank template screen on app reload
<p><a href="https://i.stack.imgur.com/cGKVu.png" rel="nofollow noreferrer">My screen on reload</a></p> <p>After upgrading an expo to 45 version, I started to get this kind of image on app reload. Trying to find a file where I can set some specific image for app reload</p>
My screen on reload After upgrading an expo to 45 version, I started to get this kind of image on app reload. Trying to find a file where I can set some specific image for app reload
android|react-native|expo
0
2022-07-07T10:01:00.237Z
2,022
7
10
3
26
0
182
62
3
0
false
true
false
false
false
false
zero
72,895,964
IntelliJ device selector for Flutter projects does not list Android emulators before they are started
<p>I use IntelliJ to develop Flutter apps. In the device selection dropdown in IntelliJ toolbar, the Android emulators that are not currently running do not appear. They do appear after I start them by other means (through Android Studio). So I cannot start up an Android emulator from IntelliJ. Why may this be happenin...
I use IntelliJ to develop Flutter apps. In the device selection dropdown in IntelliJ toolbar, the Android emulators that are not currently running do not appear. They do appear after I start them by other means (through Android Studio). So I cannot start up an Android emulator from IntelliJ. Why may this be happening?
android|flutter|intellij-idea|android-emulator
0
2022-07-07T10:07:40.313Z
2,022
7
10
3
46
1
319
101
4
0
false
false
false
false
false
false
zero
72,896,032
How to kill or restart Activity in second display?
<p>My app has two button, first button will show a new Activity on second screen, and second button will update that Activity with some data.</p> <p>But once the second Activity started, I cannot startActivity again. Also, I cannot kill the second Activity. How can I kill the Activity and then restart it?</p> <pre><cod...
My app has two button, first button will show a new Activity on second screen, and second button will update that Activity with some data. But once the second Activity started, I cannot startActivity again. Also, I cannot kill the second Activity. How can I kill the Activity and then restart it? [CODE]
android|android-displaymanager
0
2022-07-07T10:12:25.133Z
2,022
7
10
3
29
0
303
50
2
1
true
true
false
false
false
false
zero
72,896,109
The emulator process has terminated
<p>I am following <a href="https://grapeup.com/blog/how-to-build-your-first-app-for-android-automotive-os/" rel="nofollow noreferrer">this guide</a> in order to develop a simple hello world application for Android Automotive using Android Studio.</p> <p>I have downloaded the <a href="https://developer.polestar.com/sdk/...
I am following this guide in order to develop a simple hello world application for Android Automotive using Android Studio. I have downloaded the Volvo Polestar 2 system image as you can see here: and here: Then I have created two classes as suggested by the guide and created the emulator: But if I run the app I get: 0...
android|gradle|sdk|automotive
0
2022-07-07T10:18:41.257Z
2,022
7
10
3
67
2
522
35
4
1
true
false
false
false
false
false
zero
72,896,272
IntentFilter in Xamarin gives error "java.exe exited with code 1"
<p>I'm trying to understand how actions in xamarin work and i tried to add some of them to my activity. It builds with error &quot;java.exe exited with code 1&quot;. I found that the same code works in my main launcher activity, but it doesn't compile when I'm adding it to the other activities.</p> <p>I tried to search...
I'm trying to understand how actions in xamarin work and i tried to add some of them to my activity. It builds with error &quot;java.exe exited with code 1&quot;. I found that the same code works in my main launcher activity, but it doesn't compile when I'm adding it to the other activities. I tried to search for answe...
c#|android|xamarin|android-activity|intentfilter
1
2022-07-07T10:34:03.957Z
2,022
7
10
3
75
1
482
65
5
2
true
false
false
false
false
false
low
72,896,279
Flutter Error: PluginRegistry cannot be converted to FlutterEngine
<p>Trying to build my app (which has previously worked fine) after switching out a package. Now I'm getting the following:</p> <pre><code>/Users/rgb/Repositories/cadsys_member_app_flutter/android/app/src/main/java/com/example/member_app_flutter/Application.java:18: error: incompatible types: PluginRegistry cannot be co...
Trying to build my app (which has previously worked fine) after switching out a package. Now I'm getting the following: [CODE] Here is my Application.java: [CODE] Haven't been able to find a solution, hope someone can shed some light on this issue.
android|flutter
0
2022-07-07T10:35:03.440Z
2,022
7
10
3
39
0
248
66
2
2
true
true
false
false
false
false
zero
72,896,295
There should be exactly one item with [DropdownButton]'s value: c. in DropDownMultiSelect() widget
<p>I have <code>DropDownMultiSelect()</code> element in my form and I add <code>5 DropDownMultiSelect() </code>elements in my form but there is an error showing in the console and i.e<br /> <code>There should be exactly one item with [DropdownButton]'s value: c. Either zero or 2 or more [DropdownMenuItem]s were detect...
I have DropDownMultiSelect() element in my form and I add 5 DropDownMultiSelect() elements in my form but there is an error showing in the console and i.e There should be exactly one item with [DropdownButton]'s value: c. Either zero or 2 or more [DropdownMenuItem]s were detected with the same value Can anyone please t...
android|flutter|flutter-layout|flutter-dependencies|flutter-listview
0
2022-07-07T10:36:25.920Z
2,022
7
10
3
25
1
576
98
5
1
true
false
false
false
false
false
zero
72,896,354
Usage of findViewById multiple times versus member varaible
<p>I have a custom view implemented, which inflates a layout consisting of few textviews and buttons. All the views can be updated more than 2 times in one activity lifecycle. There can be 2 ways to access the view objects</p> <ol> <li>save all the views (textviews, buttons, etc) in a member variable, access when neede...
I have a custom view implemented, which inflates a layout consisting of few textviews and buttons. All the views can be updated more than 2 times in one activity lifecycle. There can be 2 ways to access the view objects save all the views (textviews, buttons, etc) in a member variable, access when needed use findViewBy...
android
0
2022-07-07T10:40:47.790Z
2,022
7
10
3
17
1
479
59
1
0
false
false
false
false
false
false
zero
72,896,370
Initializing Cloud.Firestore from Xamarin Mono
<p>I have used the model described here <a href="https://furotmark.github.io/2021/12/29/Firestore-Credential-Initialization-With-AppSettings.html" rel="nofollow noreferrer">https://furotmark.github.io/2021/12/29/Firestore-Credential-Initialization-With-AppSettings.html</a> to serialize Firebase credentials. That is wo...
I have used the model described here https://furotmark.github.io/2021/12/29/Firestore-Credential-Initialization-With-AppSettings.html to serialize Firebase credentials. That is working just fine. Then I tried to create the DB with [CODE] I get an exception System.IO.InvalidDataException: 'Invalid sequence, too long.' A...
firebase|xamarin|google-cloud-firestore|xamarin.android|mono
0
2022-07-07T10:41:38.863Z
2,022
7
10
3
30
0
3,258
46
5
1
true
true
false
false
false
false
zero
72,896,666
How to make round shape in Flutter?
<p>I need to implement shape like image below.</p> <p><a href="https://i.stack.imgur.com/CDTGW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CDTGW.png" alt="enter image description here" /></a></p> <p>After I research about it, I found <code>CustomPaiter</code> and try to implement for awhile. I ge...
I need to implement shape like image below. After I research about it, I found CustomPaiter and try to implement for awhile. I get this result. I have no idea how to round corner of shape. Has anyone can guide me about it ? My painter class. [CODE]
android|ios|flutter|custom-painting
0
2022-07-07T11:01:52.607Z
2,022
7
11
3
43
1
248
35
4
1
true
false
false
false
false
false
zero
72,896,713
How to make a Repository singleton for a Foreground Service and Fragments?
<p>I have a <code>Repository(context: Context)</code> class (accepts a context) that must be singleton.</p> <p>In normal cases it is easy to do. But in my app, I have a <code>Foreground Service</code> that will be running even when the app is removed from the recent apps.</p> <p>And I have to use the <code>Repository</...
I have a Repository(context: Context) class (accepts a context) that must be singleton. In normal cases it is easy to do. But in my app, I have a Foreground Service that will be running even when the app is removed from the recent apps. And I have to use the Repository object inside this Foreground Service and as well ...
android|repository|singleton|dagger-hilt|foreground-service
0
2022-07-07T11:06:01.400Z
2,022
7
11
3
38
1
649
74
5
3
true
false
false
false
false
false
zero
72,896,789
Xamarin app crashing because of missing constructor in FormsEditText
<p>Our xamarin app crashes sometimes with the following exceptions:</p> <p>System.NotSupportedException: 'Unable to activate instance of type Xamarin.Forms.Platform.Android.FormsEditText from native handle 0xffce196c (key_handle 0xf8c2ea1).</p> <p>System.MissingMethodException: No constructor found for Xamarin.Forms.Pl...
Our xamarin app crashes sometimes with the following exceptions: System.NotSupportedException: 'Unable to activate instance of type Xamarin.Forms.Platform.Android.FormsEditText from native handle 0xffce196c (key_handle 0xf8c2ea1). System.MissingMethodException: No constructor found for Xamarin.Forms.Platform.Android.Fo...
c#|android|xamarin|xamarin.forms
1
2022-07-07T11:12:04.620Z
2,022
7
11
3
47
1
560
68
4
0
false
false
false
false
false
false
low
72,896,795
Android getCallerNumberVerificationStatus() always returns Connection.VERIFICATION_STATUS_NOT_VERIFIED
<p>I am implementing a Call Screening service to detect spam in Android by following the implementation here:</p> <p><a href="https://developer.android.com/guide/topics/connectivity/telecom/prevent-spoofing?hl=bn-IN" rel="nofollow noreferrer">https://developer.android.com/guide/topics/connectivity/telecom/prevent-spoof...
I am implementing a Call Screening service to detect spam in Android by following the implementation here: https://developer.android.com/guide/topics/connectivity/telecom/prevent-spoofing?hl=bn-IN I have my call screening service setup, but I am always getting Connection.VERIFICATION_STATUS_NOT_VERIFIED when receiving ...
android|kotlin|android-service|sip|callscreeningservice
0
2022-07-07T11:12:13.563Z
2,022
7
11
3
22
0
597
102
5
1
true
true
false
false
false
false
zero
72,896,808
How to show recyclerview in a specific style?
<p>I need to show my RecyclerView in the form shown below:</p> <p><img src="https://i.stack.imgur.com/bNpel.jpg" alt="Mockup of the RecyclerView I need to implement" /></p> <p>How can I do this?</p>
I need to show my RecyclerView in the form shown below: How can I do this?
android|android-recyclerview
0
2022-07-07T11:13:02.783Z
2,022
7
11
3
29
0
74
45
2
0
false
true
false
false
false
false
zero
72,896,835
set drawerGesturesEnabled for ModalBottomSheet in Jetpack Compose
<p>I have a ModalBottomSheet and I want to disable sheet draggable when I swipe down. How can I disable swipeable?</p> <pre><code>ModalBottomSheetLayout(bottomSheetNavigator = bottomSheetNavigator, sheetShape = Shapes.medium) { } </code></pre>
I have a ModalBottomSheet and I want to disable sheet draggable when I swipe down. How can I disable swipeable? [CODE]
android|modal-dialog|android-jetpack-compose
0
2022-07-07T11:14:25.907Z
2,022
7
11
3
39
0
118
65
3
1
true
true
false
false
false
false
zero
72,896,935
How to delete all files in a firebase storage directory using Java?
<p>I want to delete all files from &quot;user_id1&quot; directory. Is it possible in Java? Or delete the directory &quot;user_id1&quot;.</p> <p>I have a firebase storage path that looks like this.</p> <pre><code>FirebaseStorage.getInstance().getReference(&quot;DP&quot;).child(&quot;user_id1&quot;); </code></pre>
I want to delete all files from &quot;user_id1&quot; directory. Is it possible in Java? Or delete the directory &quot;user_id1&quot;. I have a firebase storage path that looks like this. [CODE]
java|android|firebase-storage
0
2022-07-07T11:22:32.987Z
2,022
7
11
3
24
1
193
67
3
1
true
false
false
false
false
false
zero
72,896,957
How to get the image name of the ImageView in Xamarin Android
<p>I have two ImageViews that pictures change by clicking. I need the name of the current image of each ImageView and if the names equal to a condition show text in TextView. how can I do that? here is my code:</p> <pre><code>var imageViewUf = FindViewById&lt;ImageView&gt;(Resource.Id.imageView1); var imageViewLf = Fin...
I have two ImageViews that pictures change by clicking. I need the name of the current image of each ImageView and if the names equal to a condition show text in TextView. how can I do that? here is my code: [CODE]
xamarin.android
0
2022-07-07T11:23:29.227Z
2,022
7
11
3
26
1
214
61
1
1
true
false
false
false
false
false
zero
72,896,978
Flutter Build failed with an exception. (Flutter build APK Error)
<p>FAILURE: Build failed with an exception.</p> <ul> <li><p>What went wrong:</p> <p>Execution failed for task ':app:mergeDebugAssets'.</p> <p>Could not resolve all files for configuration ':app:debugRuntimeClasspath'.</p> <p>Could not find com.android.support:multidex:2.0.1.</p> <p>Searched in the following locations: ...
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeDebugAssets'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.android.support:multidex:2.0.1. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/a...
android|flutter|build|dependencies|apk
0
2022-07-07T11:24:43.847Z
2,022
7
11
3
165
3
947
65
5
4
true
false
false
false
false
false
zero
72,897,069
Get input text from Wear OS
<p>Im trying to get text on Wear OS from activity and back result to Platform Channel. What the right way to wait and get result from activity?</p> <pre><code>override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { super.configureFlutterEngine(flutterEngine) MethodChannel( flutterEn...
Im trying to get text on Wear OS from activity and back result to Platform Channel. What the right way to wait and get result from activity? [CODE] Now my code does not wait when I get the result and in Flutter I immediately get null
android|flutter|wear-os
1
2022-07-07T11:32:01.817Z
2,022
7
11
3
45
1
233
27
3
1
true
false
false
false
false
false
low
72,897,087
How to change global language ont the app start up?
<p>How to change global language on the app start up?</p> <p>For the first time then the user set new language, after restart all translation is correct.</p> <pre><code>String language = &quot;fr&quot;; Locale locale = new Locale(language); Locale.setDefault(locale); Configuration config = new Configuration(); config....
How to change global language on the app start up? For the first time then the user set new language, after restart all translation is correct. [CODE] but then the user start app again, I'm using such code in MainActivity [CODE] What should I do, to change language similarly as after restart?
android|locale|translation|startup
0
2022-07-07T11:34:04.313Z
2,022
7
11
3
18
0
293
51
4
2
true
true
false
false
false
false
zero
72,897,094
Getting response of a Chain of One Time Work Request in work manager in kotlin
<p>I have several worker classes that are scheduled as one-time requests, as below</p> <pre><code>private fun createOneTimeWorkRequest(){ val imageWorker = OneTimeWorkRequestBuilder&lt;ImageUploadingWorker&gt;() .setConstraints(constraints) .addTag(&quot;imageWork&quot;) .build() val g...
I have several worker classes that are scheduled as one-time requests, as below [CODE] And they are scheduled inside a worker class &quot;Source Worker&quot; inside doWork() method as below [CODE] Now the problem is I want to monitor if any intermediate worker returns a failure response so that I can handle it accordin...
android|kotlin|android-workmanager
0
2022-07-07T11:34:40.880Z
2,022
7
11
3
52
0
478
78
3
2
true
true
false
false
false
false
zero
72,897,096
Activity Restarts because of permission is denied and allowed from settings page and meanwhile Finish() is called
<p>initially we are in a activity we start a intent in the activity to show pdf file.. in the pdf viewer we denied and accepted the permissions of the app from settings screen, due to which activity restarts as soon as click back button from pdf viewer -&gt; as activity restarts the onCreate() will execute and then fin...
initially we are in a activity we start a intent in the activity to show pdf file.. in the pdf viewer we denied and accepted the permissions of the app from settings screen, due to which activity restarts as soon as click back button from pdf viewer -> as activity restarts the onCreate() will execute and then finish() ...
android
0
2022-07-07T11:34:43.470Z
2,022
7
11
3
11
0
704
113
1
1
true
true
false
false
false
false
zero
72,897,097
Get location in HuaweiMap flutter
<p>In my app i use Huawei map. I want get location, but <code>locationService</code> return <code>Location</code> with all nullable property.</p> <p>I don't have idea what i do wrong.</p> <p>Code to get location:</p> <pre><code> var permissionHandler = PermissionHandler(); var status = await permissionHandle...
In my app i use Huawei map. I want get location, but locationService return Location with all nullable property. I don't have idea what i do wrong. Code to get location: [CODE] print output: Location: Location(provider: null, latitude: null, longitude: null, altitude: null, speed: null, bearing: null, horizontalAccurac...
android|flutter|dart|huawei-map-kit
1
2022-07-07T11:34:54.990Z
2,022
7
11
3
22
0
470
33
4
1
true
true
false
false
false
false
low
72,897,143
Change the SeekBar status with EditText and viceversa with 2 decimal space
<p>I could not find this use case where the seekBar has decimal value. I need a seekBar that ranges from 20,00 to 100000,00 **</p> <blockquote> <p>First case:</p> </blockquote> <p>** When the user scroll the seekBar it needs to reflect the progress to the Edittext **</p> <blockquote> <p>Second case:</p> </blockquote> <...
I could not find this use case where the seekBar has decimal value. I need a seekBar that ranges from 20,00 to 100000,00 ** First case: ** When the user scroll the seekBar it needs to reflect the progress to the Edittext ** Second case: ** When the user inputs a number ex(123,50) it has to reflect this value to the see...
java|android|kotlin|decimal|seekbar
0
2022-07-07T11:38:40.837Z
2,022
7
11
3
20
1
324
74
5
0
false
false
false
false
false
false
zero
72,897,304
Android Java start service from fragment
<p>i am facing issue to start a service from fragment on a button click.</p> <p>below is overview of Service class</p> <pre><code>public class FtpServiceDownload1 extends Service { IBinder mBinder = new LocalBinder(); static String LOG_TAG = &quot;Background Service 001&quot;; private Handler customHandler = new Handl...
i am facing issue to start a service from fragment on a button click. below is overview of Service class [CODE] and below code in my fragment to start service [CODE] my purpose is to start some service for particular work and stop it after work done. when i click to start service, my application hangs and doesn't respo...
java|android
0
2022-07-07T11:49:36.450Z
2,022
7
11
3
15
0
401
40
2
3
true
true
false
false
false
false
zero
72,897,445
TabbedPage with Shell (FlyoutBehavior="disabled") show blank space above tab in Android and bar with Page Title in iOS How to remove it?
<p>I'm experimenting with TabbedPage and Shell in MAUI to create Horizontally scrollable tabs. I have got the expected behavior but in Android it shows a blank white space at top of Tabs and in iOS it shows Bar with a title of Tab Selected. I have attached a screenshot of Android.</p> <p><strong>Any one know how to rem...
I'm experimenting with TabbedPage and Shell in MAUI to create Horizontally scrollable tabs. I have got the expected behavior but in Android it shows a blank white space at top of Tabs and in iOS it shows Bar with a title of Tab Selected. I have attached a screenshot of Android. Any one know how to remove it? Code I hav...
xamarin|xamarin.android|maui|tabbedpage|xamarin-shell
0
2022-07-07T11:57:46.683Z
2,022
7
11
3
166
1
517
136
5
2
true
false
false
false
false
false
zero
72,897,468
How can I implement pause and resume recording facility into python kivy app?
<p>I am working on python kivy recording app . I want the app to be able to pause the recording and resume recording from app interface . Problem is , there is no facility to achieve this from python and all examples on internet are in java . I have no experience with java</p> <p>by recording , I mean audio recording s...
I am working on python kivy recording app . I want the app to be able to pause the recording and resume recording from app interface . Problem is , there is no facility to achieve this from python and all examples on internet are in java . I have no experience with java by recording , I mean audio recording specificall...
android|python-3.x
0
2022-07-07T11:59:15.627Z
2,022
7
11
3
23
0
345
77
2
0
false
true
false
false
false
false
zero
72,897,536
Android app doesn't connect to turn server
<p>I'm trying to make a call between an android device and a browser using Webrtc. The browser works well and I can always make a call between two of them but if I try to make a call between an android device and a browser it will fail and honestly I can't really understand why.</p> <p>This is the log of my turn serv...
I'm trying to make a call between an android device and a browser using Webrtc. The browser works well and I can always make a call between two of them but if I try to make a call between an android device and a browser it will fail and honestly I can't really understand why. This is the log of my turn server [CODE] an...
android|webrtc|coturn
0
2022-07-07T12:05:47.770Z
2,022
7
12
3
33
0
357
42
3
2
true
true
false
false
false
false
zero
72,897,579
Combine detectTapGestures and detectDragGesturesAfterLongPress?
<p>We need to be able to detect both taps <em>and</em> drag gestures after long press on the same component in Jetpack Compose.</p> <p>To detect taps we can do:</p> <pre><code>Modifier.pointerInput(graphData) { detectTapGestures( ... ) } </code></pre> <p>And to detect drag gestures after long press:</p>...
We need to be able to detect both taps and drag gestures after long press on the same component in Jetpack Compose. To detect taps we can do: [CODE] And to detect drag gestures after long press: [CODE] But it is not possible to use both at the same time, since the first detect* will consume the pointer events: [CODE] I...
android|kotlin|android-jetpack-compose
1
2022-07-07T12:09:50.693Z
2,022
7
12
3
100
1
481
63
3
3
true
false
false
false
false
false
low
72,897,612
Fatal Exception: java.lang.IllegalStateException: Can't change activity type once set
<p>I am getting the below stacktrace in the crashlytics dashboard for my Android project. I could not reproduce the issue. I would like to know more about the below stackstrace and the possible scenario in which this exception could be triggered and reproduced. Is this anything to do with launch mode?</p> <pre><code> F...
I am getting the below stacktrace in the crashlytics dashboard for my Android project. I could not reproduce the issue. I would like to know more about the below stackstrace and the possible scenario in which this exception could be triggered and reproduced. Is this anything to do with launch mode? [CODE] Following is ...
java|android|android-activity
1
2022-07-07T12:12:20.657Z
2,022
7
12
3
88
1
523
85
3
3
true
false
false
false
false
false
low
72,897,671
Disable touch event for a sibling in a layout
<p>I've been trying to disable touch event for a fragment and app bar, but it's not working.</p> <p>I used view.isEnabled, isClickable and set to false, to disable touch event.</p> <pre><code> fun disableClickWhenFabExpanded() { fragment_content.isClickable = false } fun enableClickWhenFabCollapsed(...
I've been trying to disable touch event for a fragment and app bar, but it's not working. I used view.isEnabled, isClickable and set to false, to disable touch event. [CODE] I don't know how to use onInterceptTouchEvent() on a fragment or view. I've been trying this way. fragment_content.onInterceptTouchEvent() and no ...
android|kotlin|touch
0
2022-07-07T12:16:59.797Z
2,022
7
12
3
27
0
373
45
3
1
true
true
false
false
false
false
zero
72,897,844
ViewModel always return null or the problem might be my room query
<p>I'm trying to fetch a row using this query in my DAO (it might be also the problem here because I save date as String with this format yyyy-mm-dd)</p> <pre><code>@Query(&quot;SELECT * FROM stok_table WHERE kd_gas = :kode ORDER BY date(tgl_isi) DESC LIMIT 1&quot;) LiveData&lt;ListViewModelStok&gt; getTotal(int ko...
I'm trying to fetch a row using this query in my DAO (it might be also the problem here because I save date as String with this format yyyy-mm-dd) [CODE] and here is my code for my Repository [CODE] here is my code for my ViewModel [CODE] and lastly, the code for my fragment [CODE] thanks for your time
android|repository|android-room|viewmodel
0
2022-07-07T12:29:37.960Z
2,022
7
12
3
36
1
303
66
4
4
true
false
false
false
false
false
zero
72,897,881
How to run a function in a created fragment?
<p>I have a Fragment (MapsCoverFragment) which has a FrameLayout in which I launch another Fragment (MapsFragment) with code like this:</p> <pre><code>// in Class begining private Fragment mapsFragment; // in onCreateView() mapsFragment = new MapsFragment(); getParentFragmentManager() .beginTran...
I have a Fragment (MapsCoverFragment) which has a FrameLayout in which I launch another Fragment (MapsFragment) with code like this: [CODE] In MapsFragment() I have a function: [CODE] That is, I have access to the created MapsFragment through the measured mapsFragment. How do I run getChargePoints() from MapsCoverFragm...
java|android|android-studio|android-layout|android-fragments
0
2022-07-07T12:32:12.913Z
2,022
7
12
3
36
1
324
44
5
2
true
false
false
false
false
false
zero
72,897,970
How to send this JSON POST request in Java using volley
<p><a href="https://i.stack.imgur.com/eXlYi.jpg" rel="nofollow noreferrer">POST request in Postman</a></p> <p>{&quot;data&quot;:[&quot;dog&quot;,45,256,256,2,5]}</p>
POST request in Postman {&quot;data&quot;:[&quot;dog&quot;,45,256,256,2,5]}
java|android|android-volley
-1
2022-07-07T12:39:54.207Z
2,022
7
12
3
83
1
75
55
3
0
false
false
false
false
false
true
negative
72,897,975
ClickableText Composable font color not adjusting to dark mode
<p>I implemented a <code>ClickableText</code> composable following the explanations in the <a href="https://developer.android.com/jetpack/compose/text#get-click-position" rel="nofollow noreferrer">documentation</a>. However, while all regular <code>Text</code> composables within my app properly change their color to bl...
I implemented a ClickableText composable following the explanations in the documentation . However, while all regular Text composables within my app properly change their color to black when Android is in light mode and to white when the system is in dark mode, this does not happen with the ClickableText . The text alw...
textview|android-jetpack-compose|composable
0
2022-07-07T12:40:25.410Z
2,022
7
12
3
26
1
744
62
3
1
true
false
false
false
false
false
zero
72,898,056
ObjectDisposedException in CarouselViewRenderer
<p>Sometimes our app crashes with the following exception:</p> <blockquote> <p>System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.CarouselViewRenderer'. at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in &lt;8b3b636835d8498...
Sometimes our app crashes with the following exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Xamarin.Forms.Platform.Android.CarouselViewRenderer'. at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <8b3b636835d84984ba4604c1f57b1983>:0 at Ja...
c#|android|xamarin|xamarin.forms|xamarin.forms.carouselview
0
2022-07-07T12:46:34.650Z
2,022
7
12
3
49
1
1,095
47
5
0
false
false
false
false
false
false
zero
72,898,201
Wrong navigation with TalkBack
<p>I have the following problem</p> <p>I have a layout with multiple views, one is a custom view which contains two textviews, lets say A and B, and a RecyclerView, lets call it C</p> <p>When I use TalkBack and I swipe right, it goes from A to B and from B to C correctly.</p> <p>When I go back it goes from B to A corre...
I have the following problem I have a layout with multiple views, one is a custom view which contains two textviews, lets say A and B, and a RecyclerView, lets call it C When I use TalkBack and I swipe right, it goes from A to B and from B to C correctly. When I go back it goes from B to A correctly, but when it focuse...
android|kotlin|accessibility|talkback
0
2022-07-07T12:55:45.550Z
2,022
7
12
3
30
0
663
30
4
0
false
true
false
false
false
false
zero
72,898,293
Android compose: how to position icons in the margins of a text in a row?
<p>I would like to have a card with the following layout:</p> <ul> <li>an icon on the left;</li> <li>text in the center;</li> <li>an icon to the right;</li> </ul> <p>The icons must always be present regardless of the length of the text: <a href="https://i.stack.imgur.com/6mOJF.png" rel="nofollow noreferrer"><img src="h...
I would like to have a card with the following layout: an icon on the left; text in the center; an icon to the right; The icons must always be present regardless of the length of the text: In this regard I wrote the following code: [CODE] } The problem is that if the text is too long, then the last icon &quot;disappear...
android-layout|user-interface|row|android-jetpack-compose
0
2022-07-07T13:00:37.250Z
2,022
7
13
3
360
2
489
73
4
1
true
false
false
false
false
false
zero
72,898,385
More than 30 search results at google play
<p>Google has made the Play Store new layout and design. To track the store position of apps, is there a way to get more than 30 search results at google play in a desktop browser, maybe via browser console or something like this?</p>
Google has made the Play Store new layout and design. To track the store position of apps, is there a way to get more than 30 search results at google play in a desktop browser, maybe via browser console or something like this?
android|google-play
-4
2022-07-07T13:07:50.383Z
2,022
7
13
3
166
2
227
42
2
0
false
false
false
false
false
true
negative
72,898,494
Cordova build failed with aapt2 Unknown chunk type '200'
<p>I have build issues with <code>cordova@11</code> + <code>cordova-android@10.1.2</code>, with an empty app, I get</p> <pre><code>aapt2.exe W 07-07 09:09:11 9232 8132 LoadedArsc.cpp:682] Unknown chunk type '200'. </code></pre> <p>I've updated all SDK and build tools in Android Studio. Here's my config</p> <pre><code...
I have build issues with cordova@11 + cordova-android@10.1.2 , with an empty app, I get [CODE] I've updated all SDK and build tools in Android Studio. Here's my config [CODE] Then the build appears successful but then if I add any plugin, I get device not ready (not fired for 5 sec). How do I debug this?
android|cordova|cordova-android
1
2022-07-07T13:14:42.480Z
2,022
7
13
3
540
1
305
56
3
2
true
false
false
false
false
false
low
72,898,534
why Java en adroide studio error Process 'command 'C:/Program Files/Android/Android Studio/jre/bin/java.exe'' finished with non-zero exit value 1
<p>its a simple program to scan but i dont why this problem</p> <pre class="lang-java prettyprint-override"><code>package com.example.learnjava2; import java.util.Scanner ; public class MyClass { public static void main (String[] args) { // hhakda tdir scanf f java Scanner scanner = new Scanner...
its a simple program to scan but i dont why this problem [CODE]
java|android
0
2022-07-07T13:16:46.560Z
2,022
7
13
3
17
0
63
145
2
1
true
true
false
false
false
false
zero
72,898,594
How to create custom event with the shortest way?
<p>There is <code>CustomWebViewClient</code> with override function <code>onPageFinished</code>. What is the shortest way to notify <code>MainViewModel</code> about the function triggered? I mean some event.</p> <p>I suppose that can use <code>StateFlow</code>, something like this:</p> <pre class="lang-kotlin prettypri...
There is CustomWebViewClient with override function onPageFinished . What is the shortest way to notify MainViewModel about the function triggered? I mean some event. I suppose that can use StateFlow , something like this: [CODE] But in this case need to transfer unnecessary empty string and will be occurs first call b...
android|kotlin|event-handling|kotlin-coroutines|kotlin-stateflow
0
2022-07-07T13:20:27.607Z
2,022
7
13
3
55
2
511
49
5
1
true
false
false
false
false
false
zero
72,898,607
java.lang.IllegalArgumentException: Intent expected to contain a Place, but doesn't
<p>I am very new to Kotlin android development and just recently started building an app that uses the google places API. Since startActivityByResult has been deprecated, I am using the registerForActivityResults and trying to launch an Autocomplete activity by passing an Intent but every time I type in a letter in the...
I am very new to Kotlin android development and just recently started building an app that uses the google places API. Since startActivityByResult has been deprecated, I am using the registerForActivityResults and trying to launch an Autocomplete activity by passing an Intent but every time I type in a letter in the go...
android|kotlin|google-maps-api-3
0
2022-07-07T13:21:02.470Z
2,022
7
13
3
38
0
1,027
83
3
2
true
true
false
false
false
false
zero
72,898,721
Music Player Foreground service Stops when App is removed from recent apps in Android 12
<p>I am developing a simple music player using this example</p> <p><a href="https://www.youtube.com/watch?v=svdq1BWl4r8" rel="nofollow noreferrer">https://www.youtube.com/watch?v=svdq1BWl4r8</a></p> <p>the Music Player service Stops when App is removed from recent apps in Android 12</p> <p>the code that I am using is<...
I am developing a simple music player using this example https://www.youtube.com/watch?v=svdq1BWl4r8 the Music Player service Stops when App is removed from recent apps in Android 12 the code that I am using is [CODE] When we remove app from recent apps it stops on Android 11 and higher, but works fine on lower version...
android|notifications|android-12
1
2022-07-07T13:28:51.723Z
2,022
7
13
3
70
1
335
88
3
2
true
false
false
false
false
false
low
72,898,765
How to filter multiple elements from the list if matching specific pattern?
<p>I have list of <code>Work</code> model elements.</p> <p>Work has paremeters like:</p> <pre><code>id, title, number, version number </code></pre> <p>I would like to have only Work elements where <code>version number</code> is not null and take the highest <code>version number</code> of existing elements. For example ...
I have list of Work model elements. Work has paremeters like: [CODE] I would like to have only Work elements where version number is not null and take the highest version number of existing elements. For example my list has Work elements like (in order title, number, version) [CODE] My result in the list after filters ...
android|string|list|kotlin
0
2022-07-07T13:31:31.997Z
2,022
7
13
3
50
2
495
75
4
4
true
false
false
false
false
false
zero
72,898,862
Delphi - Alexandria - Generate Android App Bundle file not found in Options
<p>I'm using Alexandria (RAD Studio 11.1) but when I try to configure my Android 64 bit project in the Options &gt; Building &gt; Delphi Compiler &gt; Compiling options. After select &quot;All configurations - Android 64-bit platform&quot; as the active target, I don't found in the &quot;Other options&quot; the &quot;G...
I'm using Alexandria (RAD Studio 11.1) but when I try to configure my Android 64 bit project in the Options > Building > Delphi Compiler > Compiling options. After select &quot;All configurations - Android 64-bit platform&quot; as the active target, I don't found in the &quot;Other options&quot; the &quot;Generate Andr...
android|delphi|bundle|generate
0
2022-07-07T13:38:46.320Z
2,022
7
13
3
65
0
735
75
4
0
false
true
false
false
false
false
zero
72,898,869
How can we view the error logs which caused "Error while waiting for device: The emulator process for AVD Pixel_2_API_30 has terminated."
<p>2022-05-05 07:44:41,561 [3360158] INFO - WindowsPerformanceHintsChecker - Windows Defender status: UNKNOWN_STATUS; projectDirExcluded? false 2022-05-05 07:44:41,594 [3360191] INFO - ild.invoker.GradleBuildInvoker - Gradle build finished in 949 ms 2022-05-05 07:44:41,594 [3360191] INFO - a.gradle.run.MakeBefore...
2022-05-05 07:44:41,561 [3360158] INFO - WindowsPerformanceHintsChecker - Windows Defender status: UNKNOWN_STATUS; projectDirExcluded? false 2022-05-05 07:44:41,594 [3360191] INFO - ild.invoker.GradleBuildInvoker - Gradle build finished in 949 ms 2022-05-05 07:44:41,594 [3360191] INFO - a.gradle.run.MakeBeforeRunTask -...
android-studio
0
2022-07-07T13:39:30.590Z
2,022
7
13
3
13
0
5,720
137
1
0
false
true
false
false
false
false
zero
72,898,913
Gradlew: cannot build the project from the source
<p>I have the source code for an Android Studio project and want to build it using console and gradlew script, but I don't have Android Studio itself installed. From what I have read about gradlew I assume that it should work &quot;out of the box&quot; and install everything that is needed. But when I run</p> <pre><cod...
I have the source code for an Android Studio project and want to build it using console and gradlew script, but I don't have Android Studio itself installed. From what I have read about gradlew I assume that it should work &quot;out of the box&quot; and install everything that is needed. But when I run [CODE] I get the...
android|android-studio|gradle|gradlew|android-sdk-2.3
0
2022-07-07T13:42:39.740Z
2,022
7
13
3
21
0
784
49
5
1
true
true
false
false
false
false
zero
72,898,928
Room with PagingSource can't load data from center position of the data list
<p>I'm using jetpack Paging3 with Room. I have a feature that I need to load data start from any page from the database.</p> <p>for example: I have a user table. and I defined the user dao like:</p> <pre><code>@Query(&quot;SELECT * FROM users ORDER BY id&quot;) fun usersPagingSource():PagingSource&lt;Int, User&gt; </co...
I'm using jetpack Paging3 with Room. I have a feature that I need to load data start from any page from the database. for example: I have a user table. and I defined the user dao like: [CODE] in view mode I use the dao method like: [CODE] The problem is the paging source always return the first page in database first t...
android-room|android-paging-3
1
2022-07-07T13:43:20Z
-1
-1
-1
-1
46
0
487
76
2
2
true
true
false
false
false
false
low
72,898,959
Android Keystore : Failed to store private key
<p>I'm trying to store a private key in the android keystore but i keep getting an error, what am i doing wrong here ? I'm self signing the certificate because i need one to store the key but i don't need it.</p> <pre><code>KeyPairGenerator keyPairGen = KeyPairGenerator.getInstance(&quot;RSA&quot;); keyPairGen.initiali...
I'm trying to store a private key in the android keystore but i keep getting an error, what am i doing wrong here ? I'm self signing the certificate because i need one to store the key but i don't need it. [CODE] Self signed certificate method : [CODE]
java|android|encryption|cryptography|private-key
0
2022-07-07T13:45:00.520Z
2,022
7
13
3
25
0
252
46
5
2
true
true
false
false
false
false
zero
72,898,995
Migrate Android Module to Standalone Library
<p>I built an Android app and spent a lot of time creating an api/network layer. Having invested quite a lot of time on this, I wanted to make this module its own library. I have found some solutions to import and export modules between android projects and making them into AAR's however what I am most interested in is...
I built an Android app and spent a lot of time creating an api/network layer. Having invested quite a lot of time on this, I wanted to make this module its own library. I have found some solutions to import and export modules between android projects and making them into AAR's however what I am most interested in is us...
kotlin|gradle|jar|android-library
0
2022-07-07T13:47:19.060Z
2,022
7
13
3
23
0
626
44
4
0
false
true
false
false
false
false
zero
72,899,010
Firebase background notification handler funcation is not calling when the app is in backgourd
<p>I created the app in which when i get the notification from firebase the custom instucation sound is played its playing perfectly in background if i recently open the app and close it but when i did not open the app for one dya or more i am getting the notificatioin but its not playing the custom sound below is the ...
I created the app in which when i get the notification from firebase the custom instucation sound is played its playing perfectly in background if i recently open the app and close it but when i did not open the app for one dya or more i am getting the notificatioin but its not playing the custom sound below is the fun...
android|flutter|firebase|dart|firebase-notifications
0
2022-07-07T13:48:22.377Z
2,022
7
13
3
19
0
386
94
5
1
true
true
false
false
false
false
zero
72,899,161
My own luncher cann't open 'At a Glance' widget configure use startActivityForResult(intent, REQUEST_CONFIGURE)
<p>the error message is:</p> <p>Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.smartspace.widget.SmartspaceWidgetConfiguration (has extras) } from ProcessR...
the error message is: Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.appwidget.action.APPWIDGET_CONFIGURE cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.smartspace.widget.SmartspaceWidgetConfiguration (has extras) } from ProcessRecord{2de2...
android
0
2022-07-07T13:58:34.003Z
2,022
7
13
3
13
0
407
111
1
0
false
true
false
false
false
false
zero
72,899,183
What is the correct way to use typography in Material Design 3?
<p><strong>In material design 3, there are 15 types of typography tokens:</strong></p> <ol> <li>textAppearanceDisplayLarge (57sp)</li> <li>textAppearanceDisplayMedium (45sp)</li> <li>textAppearanceDisplaySmall (36sp)</li> <li>textAppearanceHeadlineLarge (32sp)</li> <li>textAppearanceHeadlineMedium (28sp)</li> <li>textA...
In material design 3, there are 15 types of typography tokens: textAppearanceDisplayLarge (57sp) textAppearanceDisplayMedium (45sp) textAppearanceDisplaySmall (36sp) textAppearanceHeadlineLarge (32sp) textAppearanceHeadlineMedium (28sp) textAppearanceHeadlineSmall (24sp) textAppearanceTitleLarge (22sp) textAppearanceTi...
android|material-design|material-components
0
2022-07-07T13:59:55.403Z
2,022
7
13
3
56
0
1,058
63
3
4
true
true
false
false
false
false
zero
72,899,264
AWS initialize with initialize(final Context context, final AWSConfiguration awsConfig, final Callback<UserStateDetails> callback)
<p>AWS not able to initialize with version <strong>2.49.0</strong></p> <pre><code>implementation(&quot;com.amazonaws:aws-android-sdk-auth-userpools:2.49.0@aar&quot;) { transitive = true } implementation(&quot;com.amazonaws:aws-android-sdk-mobile-client:2.49.0@aar&quot;) { transitive = true } implementation 'co...
AWS not able to initialize with version 2.49.0 [CODE] Trying to initialize [CODE] How to add execute() which is deprecated in above initialization previously specified as below. [CODE] Can i add in onResult [CODE] Like below [CODE]
android|amazon-web-services|kotlin|authentication|aws-mobilehub
0
2022-07-07T14:05:07.140Z
2,022
7
14
3
13
0
231
130
5
5
true
true
false
false
false
false
zero
72,899,369
Pass text from MainActivity to child TextView in Kotlin
<p>I haven't worked with Android Studio and Kotlin before, but the task of passing data from Flutter via native came up. I need to pass text from MainActivity where I get text via MethodChannel to AndroidTextView and then pass it to Flutter. I can't figure out how to pass the text, I tried to do it with intent, but it ...
I haven't worked with Android Studio and Kotlin before, but the task of passing data from Flutter via native came up. I need to pass text from MainActivity where I get text via MethodChannel to AndroidTextView and then pass it to Flutter. I can't figure out how to pass the text, I tried to do it with intent, but it see...
android|flutter|kotlin|android-intent|android-activity
0
2022-07-07T14:12:30.733Z
2,022
7
14
3
66
1
423
55
5
3
true
false
false
false
false
false
zero
72,899,456
How can I do Many to Multiple Many relationship in Room Android?
<p>I want to create a database like below. I followed the documentation but couldn't find any similar examples. Can you help me? There will be days and within these days there will be multiple Daily Meals and Daily Water tables</p> <p>A day database will be created as soon as the app is started and then whatever day it...
I want to create a database like below. I followed the documentation but couldn't find any similar examples. Can you help me? There will be days and within these days there will be multiple Daily Meals and Daily Water tables A day database will be created as soon as the app is started and then whatever day it is in (ca...
java|android|database|android-room
3
2022-07-07T14:17:37.673Z
2,022
7
14
3
71
1
411
64
4
1
true
false
false
false
false
false
low
72,899,682
Unable to use app:layout_margin="10dp" in Android 11
<p>It says /layout/fragment_first.xml:29: error: attribute layout_margin (aka com.example.mathsgenius:layout_margin) not found. I'm a newbie with Android studio</p> <p>I think I need to include this class 'android.view.ViewGroup.LayoutParams', but I don't know how to import it into an XML document (fragment_first.xml)....
It says /layout/fragment_first.xml:29: error: attribute layout_margin (aka com.example.mathsgenius:layout_margin) not found. I'm a newbie with Android studio I think I need to include this class 'android.view.ViewGroup.LayoutParams', but I don't know how to import it into an XML document (fragment_first.xml). Any help ...
java|android|xml
0
2022-07-07T14:33:40.050Z
2,022
7
14
3
32
0
405
52
3
1
true
true
false
false
false
false
zero
72,899,765
Should I use null or an empty Container when I don't want to render a widget according to the app platform?
<p>I want to use a FloatingActionButton only if the platform is Android:</p> <pre><code>floatingActionButton: Platform.isIOS ? null : FloatingActionButton( child: Icon(Icons.add), onPressed: ... ), </code></pre> <p>Should I render an empty container instead? How should I deal with widgets that I don...
I want to use a FloatingActionButton only if the platform is Android: [CODE] Should I render an empty container instead? How should I deal with widgets that I don't want under specific conditions overall? Is it bad convention to use null widgets?
android|ios|flutter|dart
0
2022-07-07T14:38:36.683Z
2,022
7
14
3
32
1
246
107
4
1
true
false
false
false
false
false
zero
72,899,840
React Native Modal: De-toggle compliance Modal and navigate to another screen through onPress
<p>I've been following this video to use modal screens with react development: <a href="https://youtu.be/6VYQLa8OyMw?t=280" rel="nofollow noreferrer">https://youtu.be/6VYQLa8OyMw?t=280</a>, but I am trying to connect this modal screen to a link which is my read TOS link, located in the Sign Up Screen, But currently in ...
I've been following this video to use modal screens with react development: https://youtu.be/6VYQLa8OyMw?t=280 , but I am trying to connect this modal screen to a link which is my read TOS link, located in the Sign Up Screen, But currently in the &quot;onPress&quot; function for the modal (which is located in a differe...
javascript|react-native|android-studio|stack-navigator
0
2022-07-07T14:43:08.657Z
2,022
7
14
3
21
0
912
93
4
2
true
true
false
false
false
false
zero
72,899,864
Granting/Requesting permission from App A to App B
<p>I have two Applications A and B. From App A invoking the service of App B. Both the apps must have storage/location/near by devices permissions to communicate. I added required permissions in manifest file.</p> <p><strong>with target sdk 22</strong> From App A when I connecting to service of App B the permission scr...
I have two Applications A and B. From App A invoking the service of App B. Both the apps must have storage/location/near by devices permissions to communicate. I added required permissions in manifest file. with target sdk 22 From App A when I connecting to service of App B the permission screen automatically as shown ...
android|android-permissions|user-permissions
0
2022-07-07T14:44:13.163Z
2,022
7
14
3
22
0
780
50
3
0
false
true
false
false
false
false
zero
72,899,979
How do I use kotlin for firebase cloud functions?
<p>Is there a way I can use kotlin for firebase cloud functions?? I'm currently working on a project like uber and running out of time seriously, I'm familiar with kotlin but know nothing about JavaScript or type script.</p> <p>I really would love it if it's possible to do it with kotlin</p>
Is there a way I can use kotlin for firebase cloud functions?? I'm currently working on a project like uber and running out of time seriously, I'm familiar with kotlin but know nothing about JavaScript or type script. I really would love it if it's possible to do it with kotlin
javascript|android|firebase|kotlin|google-cloud-firestore
1
2022-07-07T14:52:00.520Z
2,022
7
14
3
51
1
278
49
5
0
false
false
false
false
false
false
low
72,899,987
A problem occurred configuring project ':react-native-firebase-push-notifications'. > Configuration with name 'compile' not found
<p>Here's version of the packages</p> <pre><code>&quot;react&quot;: &quot;18.0.0&quot;, &quot;react-native&quot;: &quot;0.69.0&quot;, &quot;react-native-firebase-push-notifications&quot;: &quot;^2.0.2&quot; </code></pre> <p>I installed react-native-firebase-push-notifications and after that I ran npx react-native run-a...
Here's version of the packages [CODE] I installed react-native-firebase-push-notifications and after that I ran npx react-native run-android but, I am getting this error. [CODE] my android/build.gradle [CODE] my app/build.gradle (added code) [CODE]
android|firebase|react-native
0
2022-07-07T14:52:20.217Z
2,022
7
14
3
136
0
248
129
3
4
true
true
false
false
false
false
zero
72,900,044
(help)Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
<p>so im making an app in android studio and i trying to invoke setText() on a TextView thats in a fragment' and im trying to invoke it from my mainActivity.</p> <p>but i says its a null refrence, the weird thing is im using this exact same code in another function and it workes there so i dont know why it doesnt here...
so im making an app in android studio and i trying to invoke setText() on a TextView thats in a fragment' and im trying to invoke it from my mainActivity. but i says its a null refrence, the weird thing is im using this exact same code in another function and it workes there so i dont know why it doesnt here. The funct...
java|android-studio|textview
0
2022-07-07T14:56:06.010Z
2,022
7
14
3
38
0
454
128
3
2
true
true
false
false
false
false
zero
72,900,563
Xam.Plugin.SimpleAudioPlayer cannot play audio from stream in Xamarin.UWP (Using Xamarin Forms App)
<p>I am working on a cross-platform application for windows and mobile.</p> <p>I tried to create a sine wave stream and playing it with the help of Xam.Plugin.SimpleAudioPlayer using the following code:</p> <pre><code>var mStrm = new MemoryStream(); BinaryWriter writer = new BinaryWriter(mStrm); const ...
I am working on a cross-platform application for windows and mobile. I tried to create a sine wave stream and playing it with the help of Xam.Plugin.SimpleAudioPlayer using the following code: [CODE] I am using Xamarin.Forms project and this works almost correctly in my android emulator. And by 'almost correctly' I mea...
c#|android|xamarin.forms|uwp
0
2022-07-07T15:31:55.813Z
2,022
7
15
3
58
0
1,340
99
4
3
true
true
false
false
false
false
zero
72,900,581
Display the version name in Kotlin
<p>I am planning to display the version code on my xml files but I am have an error to display the text.</p> <p>My Activity Code</p> <pre><code> val displayVersion = findViewById&lt;TextView&gt;(R.id.app_version) val appVersion = getString(R.string.app_version) val versionName: String = BuildConfig.VERSION_N...
I am planning to display the version code on my xml files but I am have an error to display the text. My Activity Code [CODE] My XML Code [CODE] Error Code [CODE] Maybe this error code are incorrect, because every-time I that code the app will works if the code exist the app will lunch but eventually it will automatica...
android|kotlin
1
2022-07-07T15:32:57.610Z
2,022
7
15
3
55
1
330
34
2
3
true
false
false
false
false
false
low
72,900,727
Mouse pointer hiding in Kotlin's Jetpack Compose for Desktop
<p>I need to create a GUI running on Raspberry PI 4B connected to a touch screen. When the app is running I would like the mouse pointer to be hidden since it's not needed on such type of screens.</p> <p>I've read I can add a nocursor option as follows <code>xserver-command = X -nocursor</code> in the file <code>/etc/l...
I need to create a GUI running on Raspberry PI 4B connected to a touch screen. When the app is running I would like the mouse pointer to be hidden since it's not needed on such type of screens. I've read I can add a nocursor option as follows xserver-command = X -nocursor in the file /etc/lightdm/lightdm.conf . Now I a...
kotlin|user-interface|raspberry-pi|android-jetpack-compose
1
2022-07-07T15:42:23.090Z
2,022
7
15
3
38
0
616
60
4
0
false
true
false
false
false
false
low