id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
73,714,607
EUICCManager.isEnabled() is always return false
<pre><code>Device: meizu 18pro OS Version: Android 11 EuiccManager mgr = (EuiccManager) context.getSystemService(Context.EUICC_SERVICE); boolean isEnabled = mgr.isEnabled(); // isEnabled always is false </code></pre> <p><a href="https://source.android.com/docs/core/connect/esim-overview" rel="nofollow noreferrer">http...
[CODE] https://source.android.com/docs/core/connect/esim-overview I implemented an LPA application according to the steps in the official documentation. The application has all the required permissions, APK is placed in /system/priv-app/ , but EUICCManager.isEnabled() always returns false. Documents described in the ad...
android|euiccmanager
0
2022-09-14T09:34:09.217Z
2,022
9
9
2
10
1
648
47
2
1
true
false
false
false
false
false
zero
73,714,615
Android Studio generated a wrong ViewBinding: android.viewbinding.ViewBinding
<p>When I tried to build my project with <code>viewBinding</code> enabled:</p> <pre><code>buildFeatures { viewBinding true } </code></pre> <p>I got this weird binding file: <code>ActivityCameraBinding extends android.viewbinding.ViewBinding</code></p> <p>The problem here is the file should <code>extends androidx.vie...
When I tried to build my project with viewBinding enabled: [CODE] I got this weird binding file: ActivityCameraBinding extends android.viewbinding.ViewBinding The problem here is the file should extends androidx.viewbinding.ViewBinding . Although when I compiled and run the application, it's working, it caused the andr...
android-studio|android-viewbinding
0
2022-09-14T09:34:41.527Z
2,022
9
9
2
22
1
430
77
2
1
true
false
false
false
false
false
zero
73,714,688
Template Editor SDK for Android
<p>Can anyone please let me know which SDK will work to customise the templates/image/banner/visiting card?</p> <p>Reference application is Flyer Maker, Canva, Desygner</p>
Can anyone please let me know which SDK will work to customise the templates/image/banner/visiting card? Reference application is Flyer Maker, Canva, Desygner
android
0
2022-09-14T09:39:15.660Z
2,022
9
9
2
10
0
158
31
1
0
false
true
false
false
false
false
zero
73,714,724
The position of measurement points and lines cannot stick to the model in sceneview android
<p>I am using SceneForm Android SDK to render 3D Model in Android APP.</p> <p>when i tap model, have add dot and line between two dots but the position of measurement points and lines cannot stick to the model. Can u help me resolve it? (i have research but not have way)</p> <p>link video: <a href="https://drive.google...
I am using SceneForm Android SDK to render 3D Model in Android APP. when i tap model, have add dot and line between two dots but the position of measurement points and lines cannot stick to the model. Can u help me resolve it? (i have research but not have way) link video: enter link description here My code: [CODE]
android|3d|arcore|sceneform|sceneview
0
2022-09-14T09:41:46.340Z
2,022
9
9
2
35
0
317
91
5
1
true
true
false
false
false
false
zero
73,714,751
How to add subtitle to the LargeTopAppBar in jetpack compose?
<p>I have a problem with adding subtitle to the <em>TopAppBar</em> <em>Composable</em>. I am trying to implement <em>LargeTopAppBar</em> from <em>Material Design 3</em>, but with extra subtitle on it. The issue I am currently facing is that it renders twice. Below is my <em>Composable</em>:</p> <pre><code>@Composable p...
I have a problem with adding subtitle to the TopAppBar Composable . I am trying to implement LargeTopAppBar from Material Design 3 , but with extra subtitle on it. The issue I am currently facing is that it renders twice. Below is my Composable : [CODE] For some reason it renders twice. I think that this problem is rel...
android|kotlin|android-jetpack-compose|material-components-android
0
2022-09-14T09:43:58.083Z
2,022
9
9
2
28
1
613
61
4
1
true
false
false
false
false
false
zero
73,714,762
Error in expo start "Error: Problems validating fields in app.json."
<p><strong>Error: Problems validating fields in app.json. Learn more: <a href="https://docs.expo.dev/workflow/configuration/" rel="nofollow noreferrer">https://docs.expo.dev/workflow/configuration/</a> • should NOT have additional property 'adaptiveIcon'. • should NOT have additional property 'permissions'. • should NO...
Error: Problems validating fields in app.json. Learn more: https://docs.expo.dev/workflow/configuration/ • should NOT have additional property 'adaptiveIcon'. • should NOT have additional property 'permissions'. • should NOT have additional property 'versionCode'. • Field: android - should NOT have additional property ...
android|json|expo|apk
0
2022-09-14T09:44:36.313Z
2,022
9
9
2
28
1
474
68
4
1
true
false
false
false
false
false
zero
73,714,931
What architecture and what REST server to use for a navigation mobile app?
<p>I am currently developing an android mobile app to help drivers get better navigation experience. My app is based on the data collected from different car sensors and other stuff. This is provided by team members (data science department), they process the data and prepare files containing all information for me. So...
I am currently developing an android mobile app to help drivers get better navigation experience. My app is based on the data collected from different car sensors and other stuff. This is provided by team members (data science department), they process the data and prepare files containing all information for me. Some ...
android|database|rest|server|architecture
-1
2022-09-14T09:58:42.220Z
2,022
9
9
2
31
0
571
74
5
0
false
true
false
false
false
true
negative
73,714,935
Not able to fetch polyline polypoints because of restricted Google Maps API Key: Flutter
<p>I am using a Google Maps API Key which permits calls through SDK only. I want to display polyline between source and destination location but I get the following message with my code-</p> <blockquote> <p>This IP, site or mobile application is not authorized to use this API key. Request received from (IP ADDRESS), wi...
I am using a Google Maps API Key which permits calls through SDK only. I want to display polyline between source and destination location but I get the following message with my code- This IP, site or mobile application is not authorized to use this API key. Request received from (IP ADDRESS), with empty referer status...
android|flutter|api|google-maps|google-polyline
0
2022-09-14T09:58:54.647Z
2,022
9
9
2
17
0
841
88
5
1
true
true
false
false
false
false
zero
73,714,952
Google map issue for multicolor polyline
<p>We are drawing polyline according to different zone colors (Different colors assigned to the different zone where the person is in) and the below issue, we are facing constantly. Is anyone know the solution?</p> <p><a href="https://i.stack.imgur.com/Bgpk5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgu...
We are drawing polyline according to different zone colors (Different colors assigned to the different zone where the person is in) and the below issue, we are facing constantly. Is anyone know the solution? Getting issue on line no 8: polyline.setPoints(points) where points contain array of lat/lng. eg:lat/lng: (34.28...
android|google-maps|location|polyline
0
2022-09-14T09:59:55.677Z
2,022
9
9
2
33
1
383
40
4
1
true
false
false
false
false
false
zero
73,715,037
Amadeus Self-Service API. How to get result in List view
<p>I am new to Kotlin. I am developing an app using Amadeus API. I am using the following code and get result in text view.</p> <p>I do not know how to create custom adapter and get the result in list view. My problem is linking custom adapter and getting the result in list view. Can some one help me with some code...
I am new to Kotlin. I am developing an app using Amadeus API. I am using the following code and get result in text view. I do not know how to create custom adapter and get the result in list view. My problem is linking custom adapter and getting the result in list view. Can some one help me with some code so that I can...
android|kotlin|android-recyclerview|android-listview|amadeus
-1
2022-09-14T10:05:32.977Z
2,022
9
10
2
26
0
469
56
5
1
true
true
false
false
false
true
negative
73,715,065
Flutter Geolocator Not returning any result
<p>I am currently using the latest geolocator that is 'geolocator: ^9.0.1'and for some reason am not able to get any data from the position function when i run</p> <pre><code>bool isLoc = await Geolocator.isLocationServiceEnabled(); print(isLoc); </code></pre> <p>The result is true which i think means the location ser...
I am currently using the latest geolocator that is 'geolocator: ^9.0.1'and for some reason am not able to get any data from the position function when i run [CODE] The result is true which i think means the location services are all enabled but when i run [CODE] nothing is been returned i have tried all the accuracy va...
android|flutter|dart|geolocation|location
0
2022-09-14T10:07:40.983Z
2,022
9
10
2
30
1
493
43
5
3
true
false
false
false
false
false
zero
73,715,317
Android build gradle file version code auto increment
<p>How can I automatically increase the version number in the android build gradle file every time I get a release package</p>
How can I automatically increase the version number in the android build gradle file every time I get a release package
android|kotlin
2
2022-09-14T10:28:44.097Z
2,022
9
10
2
43
2
119
53
2
0
false
false
false
false
false
false
low
73,715,318
generate a binary animiation of a string text in java or other languages
<p>i am looking for a way to make a binary file of a string text which has some special attributes(font,size,...). I have searched for that a lot but i have not managed to find any useful solution way for that.</p>
i am looking for a way to make a binary file of a string text which has some special attributes(font,size,...). I have searched for that a lot but i have not managed to find any useful solution way for that.
java|android|animation|binary|frame
-2
2022-09-14T10:28:45.873Z
2,022
9
10
2
25
0
207
72
5
0
false
true
false
false
false
true
negative
73,715,338
Note: there were 14 duplicate class definitions
<p>I got below error while run in release for android in flutter</p> <p>Note: there were 14 duplicate class definitions. (<a href="http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass" rel="nofollow noreferrer">http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass</a>) Warning...
I got below error while run in release for android in flutter Note: there were 14 duplicate class definitions. ( http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass ) Warning: there were 3 classes in incorrectly named files. You should make sure all file names correspond to their class names. The...
android|flutter|flutter-layout|flutter-dependencies|proguard
0
2022-09-14T10:29:52.757Z
2,022
9
10
2
21
0
786
47
5
0
false
true
false
false
false
false
zero
73,715,351
How to get nested JsonObject from Decoded JWT in Kotlin?
<p>I have already decode the token but i can't get the nested JsonObject. I want to get <strong>id</strong> in user_metadata:hasura.</p> <pre><code>{ &quot;exp&quot;: 16636813, &quot;email&quot;: &quot;123@gmail.com&quot;, &quot;user_metadata&quot;: { &quot;hasura&quot;: { &quot;id&quot;: &quot;123&quot;...
I have already decode the token but i can't get the nested JsonObject. I want to get id in user_metadata:hasura. [CODE] I have used couple of Library, I have gotten Option<String> or Claim . But i couldn't go further than gettin only string value from &quot;exp&quot; . I have tried this from this library ( https://gith...
android|kotlin|jwt|auth0
0
2022-09-14T10:31:19.777Z
2,022
9
10
2
33
1
383
56
4
2
true
false
false
false
false
false
zero
73,715,356
AOSP 11 SElinux - still not able to allow my app an access to a serial port sue to avc denied
<p>I am struggling now for a little too long with SElinux. I got into this point:</p> <ol> <li><p>I have added my custom sepolicy folder, which I am including in BoardConfig.mk.</p> </li> <li><p>In this folder, I have added my seapp_contexts file, which adds this line:</p> </li> </ol> <p>user=_app isPrivApp=true domain...
I am struggling now for a little too long with SElinux. I got into this point: I have added my custom sepolicy folder, which I am including in BoardConfig.mk. In this folder, I have added my seapp_contexts file, which adds this line: user=_app isPrivApp=true domain=myown_app seinfo=platform name=com.serialtestapp.dwm t...
android|android-source|selinux
0
2022-09-14T10:32:01.973Z
2,022
9
10
2
32
0
2,001
93
3
1
true
true
false
false
false
false
zero
73,715,375
How to get all checkboxes value from dynamically view in android
<p>The following are my code, I have checkboxes in the layout binding (filterManagerBinding) And I adding checkboxes in the (mncTable) gridview,</p> <pre><code> MncTable.getMncList().forEach(mncEntity -&gt; { ItemCheckboxBinding checkboxBinding = ItemCheckboxBinding.inflate(inflater); checkboxB...
The following are my code, I have checkboxes in the layout binding (filterManagerBinding) And I adding checkboxes in the (mncTable) gridview, [CODE] I tried to this code below it work but it's not solution to me because of some checkbox is selected at initial (default) So I didn't get the checkbox value that was select...
java|android|kotlin
0
2022-09-14T10:33:33.460Z
2,022
9
10
2
25
1
347
64
3
2
true
false
false
false
false
false
zero
73,715,475
I have done all the setup needed to do google sign in my android kotlin app but GoogleSignIn.getSignedInAccountFromIntent is returning false?
<p><code>GoogleSignIn.getSignedInAccountFromIntent(data)</code> this code is returning false I have checked SHA-1 key. I have implemented that also</p>
GoogleSignIn.getSignedInAccountFromIntent(data) this code is returning false I have checked SHA-1 key. I have implemented that also
android|kotlin|google-signin
0
2022-09-14T10:40:38.387Z
2,022
9
10
2
14
0
131
141
3
0
false
true
false
false
false
false
zero
73,715,684
Ionic 6 Ion-Select not working in Compiled Android Version
<p>I am using Ionic 6 and capacitor 4 and I have a simple ion-select as shown below</p> <pre><code>&lt;ion-select class=&quot;selectStyle&quot; v-model=&quot;settings.difficulty&quot; interface=&quot;action-sheet&quot; cancel-text=&quot;Cancel&quot; @ionChange=&quot;setDifficulty&quot;&gt; ...
I am using Ionic 6 and capacitor 4 and I have a simple ion-select as shown below [CODE] It works fine on the web, but as a compiled android app the select isn't working. With not working I mean it's not clickable. So if i click on it, nothing happens. So the Overview of the Select Options wont show up. Inspecting it wi...
android|ionic-framework|capacitor|ionic6
0
2022-09-14T10:56:59.147Z
2,022
9
10
2
41
1
522
58
4
1
true
false
false
false
false
false
zero
73,715,693
How can I get live updates of all users' online/offline status in Twilio Conversations SDK Android?
<p>I am making a chat feature in the android app using Conversations SDK. The reachability is enabled from the backend side. I try to get live updates of the online/offline status of all the users. But the flow doesn't come in <code>onUserUpdated()</code> method of <code>ConversationsClientListener</code>. Below is the...
I am making a chat feature in the android app using Conversations SDK. The reachability is enabled from the backend side. I try to get live updates of the online/offline status of all the users. But the flow doesn't come in onUserUpdated() method of ConversationsClientListener . Below is the code I have implemented to ...
android|kotlin|twilio|twilio-conversations
2
2022-09-14T10:57:33.697Z
2,022
9
10
2
47
0
604
99
4
3
true
true
false
false
false
false
low
73,715,726
kotlin navigation change in fragment with out click on view
<p>I want to transfer from one navigation to another navigation using the Kotlin programming language inside the fragment when the data is received from the server side and saved, but a view is required for transfer and I did not click on any view.</p> <p><code>Navigation.findNavController(binding.root).navigate(R.id.a...
I want to transfer from one navigation to another navigation using the Kotlin programming language inside the fragment when the data is received from the server side and saved, but a view is required for transfer and I did not click on any view. Navigation.findNavController(binding.root).navigate(R.id.action_signUpFrag...
java|android|android-studio|kotlin|navigation
-1
2022-09-14T10:59:51.190Z
2,022
9
10
2
28
0
430
59
5
0
false
true
false
false
false
true
negative
73,715,785
set alarm for every Day,Week,Month,Year in Android
<p><strong>Setting up Alarm for every Day,Week,Month,Year</strong></p> <blockquote> <p>Here ,is the code I m using to fire alarm every Day,Week,Month,Year</p> </blockquote> <blockquote> <p>with below implementation alarm fires for only one time (i have checked using date change of mobile device ,Version Android 12)</p>...
Setting up Alarm for every Day,Week,Month,Year Here ,is the code I m using to fire alarm every Day,Week,Month,Year with below implementation alarm fires for only one time (i have checked using date change of mobile device ,Version Android 12) Every 2 days [CODE] Every 2Week [CODE] For Every Month & Year I m not able to...
android|kotlin|alarmmanager
0
2022-09-14T11:05:43.933Z
2,022
9
11
2
9
0
358
50
3
2
true
true
false
false
false
false
zero
73,715,807
Get this Error E/nxoEvents: fire: No one listening to the event of type NETWORK_AVAILABILITY on Proguard in PayPal
<p>Get this error on PayPal checkout when we add proguard. E/nxoEvents: fire: No one listening to the event of type NETWORK_AVAILABILITY</p>
Get this error on PayPal checkout when we add proguard. E/nxoEvents: fire: No one listening to the event of type NETWORK_AVAILABILITY
android|kotlin|paypal
1
2022-09-14T11:07:33.870Z
2,022
9
11
2
13
0
133
114
3
0
false
true
false
false
false
false
low
73,715,818
Can we RECOGNIZE_SPEECH to TEXT in HINDI in Android 12+ using KOTLIN
<p><em>It is possible to recognize a Hindi speech and show text in the Hindi language using Speech Recognizer. I tried a below code but its always show in English (UK).</em></p> <p><strong>Not Want to use any paid API for that</strong></p> <pre><code> launcherSpeech = registerForActivityResult(ActivityResultCo...
It is possible to recognize a Hindi speech and show text in the Hindi language using Speech Recognizer. I tried a below code but its always show in English (UK). Not Want to use any paid API for that [CODE]
android|android-studio|kotlin|speech-recognition|android-12
0
2022-09-14T11:08:32.723Z
2,022
9
11
2
17
0
206
68
5
1
true
true
false
false
false
false
zero
73,715,823
Should new Handler(Looper.getMainLooper()) instance be created on every UI call?
<p>I currently keep a single <code>Handler</code> instance (spanning through multiple activities) and use it for each update UI call:</p> <pre><code>class CrossActivityUiUpdatingClass { private val handler = Handler(Looper.getMainLooper()) fun updateUi(action: () -&gt; Unit) { handler.post(action) }...
I currently keep a single Handler instance (spanning through multiple activities) and use it for each update UI call: [CODE] Everything works fine, but I'm not sure about this: if the main/UI thread is subject to change by Android OS while switching activities, then my code should not be correct. If it's true that Andr...
android
1
2022-09-14T11:08:56.967Z
2,022
9
11
2
25
0
629
80
1
2
true
true
false
false
false
false
low
73,715,838
I am using mp chart library for android and want that my maximum draw value to be on top of line and min draw value to be above the line
<p>It wiil be great also to put margin there. I am attaching also 2 sc .<a href="https://i.stack.imgur.com/Zklor.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zklor.jpg" alt="enter image description here" /></a></p> <p><a href="https://i.stack.imgur.com/79Fgy.jpg" rel="nofollow noreferrer"><img src...
It wiil be great also to put margin there. I am attaching also 2 sc .
android|kotlin|charts|styles|linechart
0
2022-09-14T11:09:44.070Z
2,022
9
11
2
22
1
69
136
5
0
false
false
false
false
false
false
zero
73,715,864
Webview - Cache webapp data for further (next time use)
<p>we recently received a request as following -</p> <p>While loading a webapp (https://192.1.../poc/test.jsp) in android or iOS webview. It's taking some time while loading 1st time because of js, image, css etc files takes time to download including some APIs.</p> <p>Client want to improve the experience and wanted 1...
we recently received a request as following - While loading a webapp (https://192.1.../poc/test.jsp) in android or iOS webview. It's taking some time while loading 1st time because of js, image, css etc files takes time to download including some APIs. Client want to improve the experience and wanted 1st time even take...
android|ios|caching|webview|response-time
-1
2022-09-14T11:11:48.793Z
2,022
9
11
2
14
1
583
55
5
0
false
false
false
false
false
true
negative
73,715,868
Android Room - Migration of new table fails with error "Table already exists"
<p>Crashlytics notify about an error with migration on the production version of my app.</p> <pre><code>Fatal Exception: android.database.sqlite.SQLiteException: table NotificationsRoomEntity already exists (code 1 SQLITE_ERROR): , while compiling: CREATE TABLE NotificationsRoomEntity ( id INTEGER NOT N...
Crashlytics notify about an error with migration on the production version of my app. [CODE] This table is new in my app and cannot exist in the past. What circumstances are the reason for these exceptions? The migration tests are running successfully, and there was no table with this name in the previous schemas. In s...
android|android-room
0
2022-09-14T11:12:03.590Z
2,022
9
11
2
42
1
517
77
2
2
true
false
false
false
false
false
zero
73,715,916
How to override a SKProduct (subscription) with a free-trial option to be disallow free-trial and be billed immediately?
<p>I have a cross-platform application and want to introduce auto-renewing subscriptions. However, since the app is cross platform, I have set-up subscriptions with free trials on iOS and Android using StoreKit and Billing.</p> <p>Consider this scenario: A user has initialised a free trial in the Android app and I trac...
I have a cross-platform application and want to introduce auto-renewing subscriptions. However, since the app is cross platform, I have set-up subscriptions with free trials on iOS and Android using StoreKit and Billing. Consider this scenario: A user has initialised a free trial in the Android app and I track that it ...
android|ios|storekit|android-billing
0
2022-09-14T11:15:30.690Z
2,022
9
11
2
36
1
1,216
120
4
0
false
false
false
false
false
false
zero
73,715,964
android shape within selector not working
<p><strong>I am trying to change the color and shape of the checkbox with the below code. The below code changes color of checkbox but does not change the shape of the button. What changes need to be done?</strong></p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;selector xmlns:andro...
I am trying to change the color and shape of the checkbox with the below code. The below code changes color of checkbox but does not change the shape of the button. What changes need to be done? [CODE] Checkbox.xml code [CODE]
android|android-xml|android-checkbox|android-selector|android-shape
0
2022-09-14T11:20:06.460Z
2,022
9
11
2
31
0
226
41
5
2
true
true
false
false
false
false
zero
73,716,162
Calendar event view with dragging functionality
<p>I want to create Calendar event view like below image in android. <a href="https://i.stack.imgur.com/wwiZz.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wwiZz.gif" alt="enter image description here" /></a></p> <p>I was find and try many lib but that don't have this functionality.</p> <blockquote...
I want to create Calendar event view like below image in android. I was find and try many lib but that don't have this functionality. How to create event view like this? Any suggestions for library like same functionality?
java|android|kotlin|events|calendar
-1
2022-09-14T11:35:28.107Z
2,022
9
11
2
20
0
222
47
5
0
false
true
false
false
false
true
negative
73,716,254
How to implement push provision api?
<p>I have implemented the Push Provisioning API using Google Tap and pay client.</p> <p>While querying linking token I am facing the below exception.</p> <pre><code>W/System.err: com.google.android.gms.common.api.ApiException: 15009: Calling package not verified </code></pre> <p>I have tried to create signed apk and in...
I have implemented the Push Provisioning API using Google Tap and pay client. While querying linking token I am facing the below exception. [CODE] I have tried to create signed apk and install, but still same issue Anybody help me out to unblock me?
android-pay|google-pay|android-tap-and-pay
0
2022-09-14T11:41:44.530Z
2,022
9
11
2
24
0
249
36
3
1
true
true
false
false
false
false
zero
73,716,297
Ionic build IOS app on macincloud - Alternatives to App Store
<p>I'm a student developer, using Ionic framework and I've developed an app for my friend's company. I have never owned an Apple product.Is there any alternative to paying 100$ for apple developer ID? I don't need the app to be visible on App Store to anyone. Is it possible, like it is for Android .apk files, to just b...
I'm a student developer, using Ionic framework and I've developed an app for my friend's company. I have never owned an Apple product.Is there any alternative to paying 100$ for apple developer ID? I don't need the app to be visible on App Store to anyone. Is it possible, like it is for Android .apk files, to just buil...
android|ios|macos|ionic-framework|mac-in-cloud
-2
2022-09-14T11:44:58.953Z
2,022
9
11
2
20
1
639
61
5
0
false
false
false
false
false
true
negative
73,716,405
How to dismiss magnifier from edit text
<p>on click of edit text in android 12 devices getting magnifier , how to dismiss this magnifier this is happening only in android 12 devices. <a href="https://i.stack.imgur.com/QTzQt.png" rel="nofollow noreferrer">screenshot</a></p>
on click of edit text in android 12 devices getting magnifier , how to dismiss this magnifier this is happening only in android 12 devices. screenshot
android|android-edittext|android-12
0
2022-09-14T11:53:02.837Z
2,022
9
11
2
22
0
150
39
3
0
false
true
false
false
false
false
zero
73,716,414
Why is my App home screen/landing screen zoomed in when resuming application from background - Android
<p>My app screen in which I minimized/backgrounded the app appears zoomed in when I resume the app from background after about 15-20 minutes. This is primarily observed on Samsung, Oppo &amp; Vivo phones</p>
My app screen in which I minimized/backgrounded the app appears zoomed in when I resume the app from background after about 15-20 minutes. This is primarily observed on Samsung, Oppo & Vivo phones
android
0
2022-09-14T11:53:28.240Z
2,022
9
11
2
22
0
196
102
1
0
false
true
false
false
false
false
zero
73,716,462
MongoDB is not setup with Android Studio
<p>I am trying to create an authntication app with the help of mongodb but mymongodb is not setup with android</p> <p>i put all the dependency and plugin as shown in documentation now when i am trying to use then showing unresolved refrence</p> <p><a href="https://www.mongodb.com/docs/realm/sdk/kotlin/install/android/"...
I am trying to create an authntication app with the help of mongodb but mymongodb is not setup with android i put all the dependency and plugin as shown in documentation now when i am trying to use then showing unresolved refrence Documentation Link Shown in image Shown in image Shown is image (error)
android|mongodb|kotlin
-1
2022-09-14T11:57:39.487Z
2,022
9
11
2
25
0
302
40
3
0
false
true
false
false
false
true
negative
73,716,503
Display a transparent view over a camera preview?
<p>I have a view where I display the preview of the camera (<em>previewView</em>).</p> <p>I added a button (<em>button_load</em>) to choose a picture on the phone and I would like that once this picture is chosen, it is displayed in transparency over the preview of the camera (in <em>PhotoPreChargee</em>).</p> <p>Excep...
I have a view where I display the preview of the camera ( previewView ). I added a button ( button_load ) to choose a picture on the phone and I would like that once this picture is chosen, it is displayed in transparency over the preview of the camera (in PhotoPreChargee ). Except that I can not display a view over th...
java|android|camera|overlay|preview
0
2022-09-14T12:00:34.057Z
2,022
9
12
2
34
1
728
49
5
3
true
false
false
false
false
false
zero
73,716,546
How to format the date and time?
<p>I'm writing a &quot;Feed of posts&quot; application on Kotlin. I faced with such a problem: The server sends the date and time of the post creation in such a format:</p> <pre><code>&quot;2022-07-13T07:58:57.835201Z&quot; </code></pre> <p>But I need something like this:</p> <pre><code>&quot;13.07.2022 07:58&quot; </c...
I'm writing a &quot;Feed of posts&quot; application on Kotlin. I faced with such a problem: The server sends the date and time of the post creation in such a format: [CODE] But I need something like this: [CODE] I've tried something like this: [CODE] But when I do so, I get java.lang.IllegalArgumentException . Can you ...
android|kotlin|date
-1
2022-09-14T12:04:28.520Z
2,022
9
12
2
31
1
368
32
3
3
true
false
false
false
false
true
negative
73,716,583
Is .then() syntax a strict requirement when concatenating Compose modifiers?
<p>I would like to know whether this is necessary to use .then() when combining Compose modifiers. Let's consider a simple example.</p> <pre><code>@Composable fun TestComposable( modifier: Modifier = Modifier ) { // content 1 or 2 } </code></pre> <ol> <li>Row(modifier = modifier.then(Modifier.fillMaxWidth().heig...
I would like to know whether this is necessary to use .then() when combining Compose modifiers. Let's consider a simple example. [CODE] Row(modifier = modifier.then(Modifier.fillMaxWidth().height(10.dp)) Row(modifier = modifier.fillMaxWidth().height(10.dp) As I understand it, the only drawback of doing it the &quot;2&q...
android|android-jetpack-compose
0
2022-09-14T12:07:49.813Z
2,022
9
12
2
43
1
450
76
2
1
true
false
false
false
false
false
zero
73,716,738
Using linear layout i have to disable the on click event inside that particular linear layout and commonly all views (textview etc) has to be disable
<p>The view consistes of edittext and textview in linear layout all should be disable with the layout itself.</p> <pre><code> for (int i = 0; i &lt; llAllTaxAmount.getChildCount(); i++) { View child = llAllTaxAmount.getChildAt(i); child.setEnabled(false); } llAllTaxAmount.setEnabled(false); ...
The view consistes of edittext and textview in linear layout all should be disable with the layout itself. [CODE]
java|android|android-linearlayout
0
2022-09-14T12:19:30.780Z
2,022
9
12
2
20
0
113
149
3
1
true
true
false
false
false
false
zero
73,716,808
Mobile device does not automatically connect to AP if there is no internet connectivity
<p>If AP has internet connectivity - mobile devices automatically connect to it.</p> <p>If I restrict internet connectivity on AP and restart it - the mobile device will no longer automatically connect to AP, and it is displayed <a href="https://i.stack.imgur.com/ZiY42.jpg" rel="nofollow noreferrer">'Saved / Won't conn...
If AP has internet connectivity - mobile devices automatically connect to it. If I restrict internet connectivity on AP and restart it - the mobile device will no longer automatically connect to AP, and it is displayed 'Saved / Won't connect automatically' on a mobile device. If I tap on it manually, it says Connected ...
android|ios|wifi
0
2022-09-14T12:24:49.943Z
2,022
9
12
2
9
0
499
87
3
0
false
true
false
false
false
false
zero
73,716,844
Audio on ios does not work properly, it only works the first time
<p>I have a problem with playing audio on IOS devices ... the code I use is this to activate/deactivate the sound:</p> <pre><code> &lt;audio id=&quot;audio&quot;&gt; &lt;source src=&quot;sounds/fart.mp3&quot; type=&quot;audio/mpeg&quot; /&gt; Your browser does not support the audio element. &lt;/audio&gt; &lt...
I have a problem with playing audio on IOS devices ... the code I use is this to activate/deactivate the sound: [CODE] And this when I click the button to play the audio: [CODE] Ps .: I did it all on onTouch as well Now, on android devices it works, every click plays the audio, while on iOS it works only on the first c...
javascript|android|ios|iphone|audio
0
2022-09-14T12:27:28.293Z
2,022
9
12
2
99
2
424
65
5
2
true
false
false
false
false
false
zero
73,716,866
Need to release another flutter android app from existing code
<p>I am having issues with my existing android app in playstore and even i lost my JKS file of that app. So i am planning to release a new app with same code. What are the things i have to update like applicationID, package name and so on</p>
I am having issues with my existing android app in playstore and even i lost my JKS file of that app. So i am planning to release a new app with same code. What are the things i have to update like applicationID, package name and so on
android|flutter|dart|google-play|jks
0
2022-09-14T12:29:20.783Z
2,022
9
12
2
22
0
235
62
5
0
false
true
false
false
false
false
zero
73,716,886
antibot in server free to use volley api in android
<pre><code> String url = &quot;https://misitioeducativo.me/PHP/probar.php&quot;; JsonArrayRequest jsonObjectRequest = new JsonArrayRequest( Request.Method.GET, url, null, (Response.Listener&lt;JSONArray&gt;) response -&gt; { ...
[CODE] error: org.json.JSONException: Value <script of type java.lang.String cannot be converted to JSONArray
android|android-volley
0
2022-09-14T12:30:57.783Z
2,022
9
12
2
9
0
109
51
2
1
true
true
false
false
false
false
zero
73,717,020
I want to write string request in below Json. At first there is two JSONobject and after that i have another seperate JSONarray
<p>Can i get StringRequest code for below JSON format in JAVA for android studio? Below in picture is my android code.</p> <p>{ &quot;total_debit&quot;: 6000, &quot;total_credit&quot;: 700000 }[ { &quot;cash_id&quot;: &quot;36&quot;, &quot;cash_date&quot;: &quot;2022-09-12&quot;, &quot;cash_name&quot;: &quot;Shyam&quot...
Can i get StringRequest code for below JSON format in JAVA for android studio? Below in picture is my android code. { &quot;total_debit&quot;: 6000, &quot;total_credit&quot;: 700000 }[ { &quot;cash_id&quot;: &quot;36&quot;, &quot;cash_date&quot;: &quot;2022-09-12&quot;, &quot;cash_name&quot;: &quot;Shyam&quot;, &quot;c...
java|android|arrays|json
-1
2022-09-14T12:40:45.250Z
2,022
9
12
2
20
0
1,828
127
4
0
false
true
false
false
false
true
negative
73,717,034
using Native AndroidMessageHandler throws System.ObjectDisposedException: Cannot access a closed Stream. on MAUI
<p>I am doing an http request so if I used the default self signed credentials i had issues and couldn't make the request so I override it</p> <p>I am doing a post request within my local network so I have used the following code to override the behaviour to check the credentials</p> <pre><code>#if DEBUG var ht...
I am doing an http request so if I used the default self signed credentials i had issues and couldn't make the request so I override it I am doing a post request within my local network so I have used the following code to override the behaviour to check the credentials [CODE] where it is defined as [CODE] and the Andr...
android|xamarin.forms|xamarin.android|maui
1
2022-09-14T12:41:52.747Z
2,022
9
12
2
44
0
462
112
4
5
true
true
false
false
false
false
low
73,717,075
Show Snackbar outside of Popup View
<p>I have a Popup window where pressing on a button opens a <code>Snackbar</code>. I want this Snackbar to show on the bottom of the screen, not on the bottom of the popup window, so I pass the root View to the <code>Snackbar.make</code> function instead of the popup view.</p> <p>The <code>Snackbar</code> shows up on t...
I have a Popup window where pressing on a button opens a Snackbar . I want this Snackbar to show on the bottom of the screen, not on the bottom of the popup window, so I pass the root View to the Snackbar.make function instead of the popup view. The Snackbar shows up on the bottom of the screen now, but since the scree...
java|android|android-studio
0
2022-09-14T12:44:52.953Z
2,022
9
12
2
23
1
611
35
3
0
false
false
false
false
false
false
zero
73,717,169
How to set fixed size for modal BottomSheetDialog?
<p>I want to set fixed height of bottomSheet that unable to expand. Setting attribute behavior_peekHeight didn't helped to solve this problem</p>
I want to set fixed height of bottomSheet that unable to expand. Setting attribute behavior_peekHeight didn't helped to solve this problem
android
0
2022-09-14T12:52:03.040Z
2,022
9
12
2
19
0
138
50
1
0
false
true
false
false
false
false
zero
73,717,343
Why does cleaning my Android project generate C++ build system [clean] failed
<p>My current Android application contains some cpp code</p> <p>It was gradle synching, cleaning, building, and running fine with no errors until i installed the latest version of cmake with homebrew</p> <p>the version of cmake installed on my mac is 3.24.1</p> <p>and my Android project has</p> <pre><code># Sets the mi...
My current Android application contains some cpp code It was gradle synching, cleaning, building, and running fine with no errors until i installed the latest version of cmake with homebrew the version of cmake installed on my mac is 3.24.1 and my Android project has [CODE] and gradle of [CODE] i can synch gradle, buil...
c++|android-studio|cmake
0
2022-09-14T13:03:39.053Z
2,022
9
13
2
27
1
656
77
3
6
true
false
false
false
false
false
zero
73,717,399
How to access size of Android Drawable
<p>I have the following drawable, called <code>small</code>:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:dither=&quot;true&quot; android:shape=&quot;oval&quot; &gt; &lt;size ...
I have the following drawable, called small : [CODE] I would like to access the height and width defined in size . This is the line that gets the drawable: [CODE] GradientDrawable does not seem to have any accessors that provide the size and its fields. Even running in the debugger I see no fields that are set to 10dp ...
android|kotlin|drawable
1
2022-09-14T13:06:54.313Z
2,022
9
13
2
141
1
374
38
3
2
true
false
false
false
false
false
low
73,717,433
Ionic cordova application will not install properly to Android device
<p>I updated everything I can think of on my machine. The app builds fine to iOS and was able to release it to the store.</p> <p>I removed and re-added the Android platform and tried various build flags. I get a BUILD SUCCESSFUL message with no errors. I generated a signed bundle with the same keystore. Everything look...
I updated everything I can think of on my machine. The app builds fine to iOS and was able to release it to the store. I removed and re-added the Android platform and tried various build flags. I get a BUILD SUCCESSFUL message with no errors. I generated a signed bundle with the same keystore. Everything looks good in ...
android|ios|angular|cordova|ionic-framework
0
2022-09-14T13:08:50.070Z
2,022
9
13
2
41
0
768
69
5
1
true
true
false
false
false
false
zero
73,717,438
Azure DevOps Xamarin Android build times
<p>I've been migrating from a on premise old TFS server on Azure DevOps.</p> <p>I just want to know, is this build time normal, I mean, the actual building step of the pipeline is incredibly long:</p> <p><a href="https://i.stack.imgur.com/BJgze.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BJgze.pn...
I've been migrating from a on premise old TFS server on Azure DevOps. I just want to know, is this build time normal, I mean, the actual building step of the pipeline is incredibly long: I understand reading online that I can maybe speed my nuget restore with caching, sure... but the build itself takes more than 11 min...
azure-devops|xamarin.android|azure-pipelines
-1
2022-09-14T13:09:22.710Z
2,022
9
13
2
18
0
632
40
3
0
false
true
false
false
false
true
negative
73,717,459
Android Studio unable to display version number on app
<p>I am trying to add my app version to the app. Below is my code</p> <pre><code>&lt;PreferenceScreen xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:background=&quot;@color/white&quot;&gt; &lt;PreferenceCategory android:title=&quot;Version&quot;&gt; &lt;EditTextPreference andr...
I am trying to add my app version to the app. Below is my code [CODE] Fragment [CODE] GUI Update 1 Below is my gradle [CODE] It doesn't show any version name. Although I have debugged the code and checked it. Any help would be highly appreciated.
android
0
2022-09-14T13:10:37.357Z
2,022
9
13
2
67
3
246
54
1
3
true
false
false
false
false
false
zero
73,717,500
How to add spaces between texts?
<p>I have texts listed one below the other. I want the spaces between the list to be bigger but I have no idea how to do it.</p> <pre><code>const CustomInput = () =&gt; { return ( &lt;View style={styles.container}&gt; &lt;Text&gt;Book Titles&lt;/Text&gt; &lt;Text&gt;Genre&lt;/Text&gt; ...
I have texts listed one below the other. I want the spaces between the list to be bigger but I have no idea how to do it. [CODE]
android|react-native|text
0
2022-09-14T13:13:30.370Z
2,022
9
13
2
26
1
128
32
3
1
true
false
false
false
false
false
zero
73,717,518
Android studio - camera own grid
<p>is there any way to create my own mesh on camera view? My point is that I can draw a few lines during live view. I was looking for a similar topic, but couldn't find it.</p> <p>Thanks ;-)</p>
is there any way to create my own mesh on camera view? My point is that I can draw a few lines during live view. I was looking for a similar topic, but couldn't find it. Thanks ;-)
android|android-studio
0
2022-09-14T13:15:06.917Z
2,022
9
13
2
7
0
180
32
2
0
false
true
false
false
false
false
zero
73,717,604
how to get image path as a string and save it to a server
<p>I am working on a project that needs to save user's information including the profile image to the server using retrofit. the backend was built with java spring boot and the profile image was declared as a string in the backend. I want to pick an image from my gallery by using a crop image and save the image to the ...
I am working on a project that needs to save user's information including the profile image to the server using retrofit. the backend was built with java spring boot and the profile image was declared as a string in the backend. I want to pick an image from my gallery by using a crop image and save the image to the ser...
java|android|image|retrofit
0
2022-09-14T13:20:31.517Z
2,022
9
13
2
31
1
677
57
4
1
true
false
false
false
false
false
zero
73,717,772
How To Save ArrayList to CSV File
<p>Ultimately I would like to save/write/export my Arraylist of strings that are stored in a recyclerView to a CSV, or whatever is best, and then send that csv to an email address.</p>
Ultimately I would like to save/write/export my Arraylist of strings that are stored in a recyclerView to a CSV, or whatever is best, and then send that csv to an email address.
android|kotlin|arraylist|android-recyclerview|export-to-csv
-1
2022-09-14T13:32:55.353Z
2,022
9
13
2
34
0
177
33
5
0
false
true
false
false
false
true
negative
73,717,786
AdMob banner : different ID on iOS and Android
<p>I'm working on a mobile app under Flutter, and I added an ad block on my app via AdMob.</p> <p>I have created 2 'apps' on the AdMob website, one Android and one iOS. So I get a different ID for each of my elements.</p> <p><a href="https://i.stack.imgur.com/ehSv9.png" rel="nofollow noreferrer"><img src="https://i.sta...
I'm working on a mobile app under Flutter, and I added an ad block on my app via AdMob. I have created 2 'apps' on the AdMob website, one Android and one iOS. So I get a different ID for each of my elements. In my code, I did it like this, is it the right solution? [CODE] Here, of course, the a, x, y and z replace the ...
android|ios|flutter|admob|ids
0
2022-09-14T13:33:31.307Z
2,022
9
13
2
22
1
408
46
5
1
true
false
false
false
false
false
zero
73,717,924
Using AppCompatActivity in a Flutter plugin
<p>I am trying to write a plugin to connect Flutter to a 3rd party native library which requires AppCompatActivity, however, Flutter seems to either not like it or I am doing something wrong, which given I know almost nothing about native code is quite possible.</p> <p>I am getting the following error:</p> <pre class="...
I am trying to write a plugin to connect Flutter to a 3rd party native library which requires AppCompatActivity, however, Flutter seems to either not like it or I am doing something wrong, which given I know almost nothing about native code is quite possible. I am getting the following error: [CODE] After searching aro...
android|flutter|flutter-plugin
0
2022-09-14T13:42:41.943Z
2,022
9
13
2
23
0
703
43
3
2
true
true
false
false
false
false
zero
73,717,983
Flutter send location when screen is locked
<p>I'm developing a GPS tracking app by using <a href="https://pub.dev/packages/location" rel="nofollow noreferrer">location</a>. I've wrapped the intervals function to send latitude and longitude in API. It works on an emulator when the screen is locked and stay on home screen</p> <pre><code> void _startInterval() { ...
I'm developing a GPS tracking app by using location . I've wrapped the intervals function to send latitude and longitude in API. It works on an emulator when the screen is locked and stay on home screen [CODE] So when I'm building the APK to my device my application cannot send the location. Is there any way to send th...
android|flutter|android-emulator|location|android-gps
0
2022-09-14T13:46:57.170Z
2,022
9
13
2
51
2
356
43
5
1
true
false
false
false
false
false
zero
73,718,026
Android ScrollView doesn't scroll to the bottom completely
<p>I've tried a lot of suggestions like: <code>android:fillViewport=&quot;true&quot;</code> , changing layout heights to wrap content etc. Some of the solutions worked but they caused editText to overlap toolbar.</p> <p>I can't scroll to the bottom so I can't see the whole button:</p> <p><a href="https://i.stack.imgur....
I've tried a lot of suggestions like: android:fillViewport=&quot;true&quot; , changing layout heights to wrap content etc. Some of the solutions worked but they caused editText to overlap toolbar. I can't scroll to the bottom so I can't see the whole button: I'm using a toolbar. And the schema is like that: [CODE] And ...
android|xml|kotlin|layout
1
2022-09-14T13:49:42.620Z
2,022
9
13
2
31
2
367
58
4
2
true
false
false
false
false
false
low
73,718,157
Android Artifacts Viber
<p>I have images located at /storage/emulated/0/viber/media/.temp</p> <p>This is my first time encountering the .temp folder in this location and the images are also located in the mtpMedia.db and external.db.</p> <p>My question is, what is this .temp folder for? is it a cache of received viber images or were they scan...
I have images located at /storage/emulated/0/viber/media/.temp This is my first time encountering the .temp folder in this location and the images are also located in the mtpMedia.db and external.db. My question is, what is this .temp folder for? is it a cache of received viber images or were they scanned by the OS fro...
android|artifacts|viber
-1
2022-09-14T13:59:13.990Z
2,022
9
13
2
14
0
334
23
3
0
false
true
false
false
false
true
negative
73,718,194
Android Auto ScreenManager#popToRoot followed by a ScreenManager#push doesn't re-count the step
<p>For some reason I need to refresh the Car app. I tried to invoke <a href="https://developer.android.com/reference/androidx/car/app/ScreenManager#popToRoot()" rel="nofollow noreferrer">ScreenManager#popToRoot</a> first, then invoke <a href="https://developer.android.com/reference/androidx/car/app/ScreenManager#push(a...
For some reason I need to refresh the Car app. I tried to invoke ScreenManager#popToRoot first, then invoke ScreenManager#push . However the step doesn't re-count, instead it is increased by one. Is there a way for me to refresh the Car App?
android-auto
0
2022-09-14T14:02:07.467Z
2,022
9
14
2
16
0
241
95
1
0
false
true
false
false
false
false
zero
73,718,238
Xamarin Forms - Foreground Service - turn on redirection of phone calls
<p>I am trying to make application where you will choose when you want to start redirection of calls and also when you want to disable this. My idea is to use <strong>Foreground service</strong> for this. So when user choose when it should start and when it should end, he press start and foreground service is started. ...
I am trying to make application where you will choose when you want to start redirection of calls and also when you want to disable this. My idea is to use Foreground service for this. So when user choose when it should start and when it should end, he press start and foreground service is started. If application runs ...
android|xamarin.forms|foreground-service
0
2022-09-14T14:04:52.460Z
2,022
9
14
2
34
1
945
71
3
4
true
false
false
false
false
false
zero
73,718,239
React Native: How to store android keystore file and its password securely in CircleCI
<p>I am working on integrating circleCI in our react native project. I started with the first workflow which is android build, which requires the keystore file and it's alias and passwords, to achieve this task, I've used <code>openssl</code> to encrypt/decrypt the keystore file and store file's passwords to the circle...
I am working on integrating circleCI in our react native project. I started with the first workflow which is android build, which requires the keystore file and it's alias and passwords, to achieve this task, I've used openssl to encrypt/decrypt the keystore file and store file's passwords to the circleCI env variables...
android|react-native|circleci|cicd|circleci-workflows
0
2022-09-14T14:04:56.273Z
2,022
9
14
2
19
1
655
86
5
2
true
false
false
false
false
false
zero
73,718,265
Is there a way to save Android's Bitmap with ALPHA_8 config as a grayscale JPEG image?
<p>I have been trying to save a bitmap as grayscale. The configurations provided by android to store single channel color seems to be only <code>ALPHA_8</code>. When trying to save bitmap in <code>ALPHA_8</code> as JPEG by calling <code>Bitmap.compress</code> function, I get blank image. What is the correct way of savi...
I have been trying to save a bitmap as grayscale. The configurations provided by android to store single channel color seems to be only ALPHA_8 . When trying to save bitmap in ALPHA_8 as JPEG by calling Bitmap.compress function, I get blank image. What is the correct way of saving grayscale image in android? Please not...
android|bitmap|grayscale
0
2022-09-14T14:06:26.800Z
2,022
9
14
2
10
0
558
86
3
0
false
true
false
false
false
false
zero
73,718,391
How to add data to the firebase firestore by generating different document id after hitting submit button again and again? Android Kotlin
<p>I am trying to push the form data to the firebase-firestore. And I also did it successfully. But, the problem is that whenever I am trying to submit the form data again and again it just updates the last data with the current data.</p> <p>Actually, my requirement is that whenever the user hit the submit button. It c...
I am trying to push the form data to the firebase-firestore. And I also did it successfully. But, the problem is that whenever I am trying to submit the form data again and again it just updates the last data with the current data. Actually, my requirement is that whenever the user hit the submit button. It creates a d...
android|firebase|kotlin|google-cloud-firestore
0
2022-09-14T14:13:42.050Z
2,022
9
14
2
34
2
409
137
4
0
false
false
false
false
false
false
zero
73,718,579
geofencingEvent.geofenceTransition is always -1
<p>I'm trying to implement geofencing as mentioned here: <a href="https://developer.android.com/training/location/geofencing" rel="nofollow noreferrer">https://developer.android.com/training/location/geofencing</a></p> <p>I get my BroadcastReceiver's onReceive called, but then a weird thing happens, geofencingEvent.geo...
I'm trying to implement geofencing as mentioned here: https://developer.android.com/training/location/geofencing I get my BroadcastReceiver's onReceive called, but then a weird thing happens, geofencingEvent.geofenceTransition is always -1, instead of Geofence.GEOFENCE_TRANSITION_ENTER. In any given time i have only 1 ...
android|android-geofence
0
2022-09-14T14:27:05.317Z
2,022
9
14
2
21
0
541
47
2
2
true
true
false
false
false
false
zero
73,718,681
visual viewport resizing on Android and iOS when click on textarea
<p>When clicking on a textarea to edit the text this has a different effect on the visual viewport for Chrome on Android compared to Safari on iOS when the soft keyboard opens and maybe more importantly closes. In the case of Android Chrome, the height and width and scale of the visual viewport do not change when the t...
When clicking on a textarea to edit the text this has a different effect on the visual viewport for Chrome on Android compared to Safari on iOS when the soft keyboard opens and maybe more importantly closes. In the case of Android Chrome, the height and width and scale of the visual viewport do not change when the text...
android|ios|resize|viewport
0
2022-09-14T14:32:49.067Z
2,022
9
14
2
21
1
2,685
66
4
1
true
false
false
false
false
false
zero
73,718,744
How to host an .aar library and securely access it from gradle project?
<p>I have a library (which we will name &quot;test.aar&quot; here), and i need to implement it inside an Android Project.</p> <p>However, hosting it on Maven, as far as i know, is Open Source, and anyone can access it.</p> <p>I am looking for a way to host the &quot;test.aar&quot; library somewhere with a &quot;private...
I have a library (which we will name &quot;test.aar&quot; here), and i need to implement it inside an Android Project. However, hosting it on Maven, as far as i know, is Open Source, and anyone can access it. I am looking for a way to host the &quot;test.aar&quot; library somewhere with a &quot;private mode&quot;. What...
android|maven|gradle
0
2022-09-14T14:36:34.300Z
2,022
9
14
2
19
2
618
71
3
1
true
false
false
false
false
false
zero
73,718,825
Cannot resolve symbol BuildConfig.playCustomRingback
<p>1/Trying twilio voice apis. Getting error in below code <strong>BuildConfig.playCustomRingback</strong> Imported this line import <strong>com.twilio.audioswitch.BuildConfig</strong></p> <p>For this I am using below gradle files implementation 'com.twilio:audioswitch:1.1.4' , implementation 'com.twilio:voice-android...
1/Trying twilio voice apis. Getting error in below code BuildConfig.playCustomRingback Imported this line import com.twilio.audioswitch.BuildConfig For this I am using below gradle files implementation 'com.twilio:audioswitch:1.1.4' , implementation 'com.twilio:voice-android:6.1.2' Please help to resolve this issue.
android|twilio
0
2022-09-14T14:42:18.290Z
2,022
9
14
2
35
0
317
52
2
0
false
true
false
false
false
false
zero
73,718,907
Is there a way to click and scroll under a react native ScrollView's transparent background?
<p>What I am trying to achieve:<br/> I am trying to make it possible to click and scroll over views under a ScrollView which is over all other views with zIndex 10000.</p> <p>What is the current structure:</p> <pre><code>&lt;ScrollView contentInsetAdjustmentBehavior=&quot;automatic&quot; style={styles.alertNotification...
What I am trying to achieve: I am trying to make it possible to click and scroll over views under a ScrollView which is over all other views with zIndex 10000. What is the current structure: [CODE] What is being currently visualized: The AlertNotifications (View) can take different width. Some may take half the width o...
android|ios|react-native
0
2022-09-14T14:48:15.787Z
2,022
9
14
2
15
0
1,029
92
3
1
true
true
false
false
false
false
zero
73,718,936
how to in kotlin and regex accept enter
<p>I have a problem, I use this regex code</p> <p><code>&quot;(!)(.*?)(!)</code></p> <p>so that in the text, if it has a character at the beginning and end, the problem is that if the text that is inside, if it has an enter, it will not accept it. How can I tell it to accept the enter in the regex?</p>
I have a problem, I use this regex code &quot;(!)(.*?)(!) so that in the text, if it has a character at the beginning and end, the problem is that if the text that is inside, if it has an enter, it will not accept it. How can I tell it to accept the enter in the regex?
java|android|regex|laravel|kotlin
-1
2022-09-14T14:50:29.080Z
2,022
9
14
2
23
0
269
39
5
0
false
true
false
false
false
true
negative
73,718,958
Android Studio automatically adjusted contrast now all of my buttons are light, text color changed to black, how to change it back?
<p>Android Studio automatically adjusted contrast now all of my buttons are light, text color changed to black, how to change it back?</p> <p>ALL of my buttons were the default blue and they still show up blue in my xml/design window however when I run the app all the buttons are light grey (I think, I'm colorblind, co...
Android Studio automatically adjusted contrast now all of my buttons are light, text color changed to black, how to change it back? ALL of my buttons were the default blue and they still show up blue in my xml/design window however when I run the app all the buttons are light grey (I think, I'm colorblind, could be tea...
android-studio
0
2022-09-14T14:51:38.663Z
2,022
9
14
2
15
0
485
131
1
0
false
true
false
false
false
false
zero
73,719,045
Attempt to Invoke virtual method ... on a null object reference
<p>I get a null object reference Exception message everytime I try filter data from Firebase Database and add them into my <code>RecyclerView</code>.</p> <p>If I pass <code>when(id) { &quot;&quot; -&gt; {...}}</code> everything is fine all Items which I want will be added to the <code>RecyclerView</code>, but if I pass...
I get a null object reference Exception message everytime I try filter data from Firebase Database and add them into my RecyclerView . If I pass when(id) { &quot;&quot; -> {...}} everything is fine all Items which I want will be added to the RecyclerView , but if I pass when(id) { else -> {...}} it shows me a null obje...
android|kotlin|nullreferenceexception
0
2022-09-14T14:56:29.123Z
2,022
9
14
2
29
1
575
63
3
1
true
false
false
false
false
false
zero
73,719,062
How am I supposed to hide/auto-hide the android bottom navigation bar using Styles in android themes?
<p>My current theme -</p> <pre><code>&lt;style name=&quot;Theme.AppCompat.Light.NoActionBar.FullScreen&quot; parent=&quot;@style/Theme.AppCompat.Light.NoActionBar&quot;&gt; &lt;item name=&quot;android:windowNoTitle&quot;&gt;true&lt;/item&gt; &lt;item name=&quot;android:windowActionBar&quot;&gt;false&lt;/item&gt...
My current theme - [CODE] My activity manifest - [CODE] The issue I am facing - The only thing I haven't been able to hide is the navigation bar. The closest I came was setting android:windowTranslucentNavigation to true. uptil now I was achieving this using code which had problems of its own. So, now I want it to be a...
java|android|xml|kotlin
0
2022-09-14T14:57:26.407Z
2,022
9
14
2
20
0
372
101
4
2
true
true
false
false
false
false
zero
73,719,074
Android - move data from getApplicationDocumentsDirectory folder to another device?
<p>Does anybody know of an app that will export/import data from an app's &quot;application document directory&quot;?</p>
Does anybody know of an app that will export/import data from an app's &quot;application document directory&quot;?
android
0
2022-09-14T14:58:40.713Z
2,022
9
14
2
25
0
114
83
1
0
false
true
false
false
false
false
zero
73,719,141
App is crashing after capture image/scan QR code in android 12
<p>In my app user can capture images and scan QR code. App is working fine in all android versions expect android 12. App is crashing after capture image or scan QR code.</p> <p>Code,</p> <pre><code>Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (cameraIntent.resolveActivity(getPackageManager...
In my app user can capture images and scan QR code. App is working fine in all android versions expect android 12. App is crashing after capture image or scan QR code. Code, [CODE] logs are here, [CODE] I did't find any solution and please guide me to find proper solution. Thanks in advance.
android|cordova|android-camera|cordova-plugins|android-12
1
2022-09-14T15:03:35.273Z
2,022
9
15
2
37
0
292
62
5
2
true
true
false
false
false
false
low
73,719,250
Black screen during video playback on HUAWEI P30 Pro
<p>I have a legacy code which has been working for a long time until I received a complaint from a customer who is using a HUAWEI P30 Pro. The problem is when a video is played in app, only a black screen is shown. The resolution is set to 1028*720 and it is supported by the phone.The frame rate is also set to 30 and t...
I have a legacy code which has been working for a long time until I received a complaint from a customer who is using a HUAWEI P30 Pro. The problem is when a video is played in app, only a black screen is shown. The resolution is set to 1028*720 and it is supported by the phone.The frame rate is also set to 30 and test...
java|android|android-mediacodec
0
2022-09-14T15:10:39.963Z
2,022
9
15
2
11
0
469
52
3
1
true
true
false
false
false
false
zero
73,719,317
return value from Kotlin async Coroutine
<p>I want to return value from this function which gets data from local database:</p> <pre><code>fun getAllTodo() : LiveData&lt;List&lt;TodoModel&gt;&gt;{ viewModelScope.launch(Dispatchers.IO) { val data = async { getTodoFromDB() } data.await() } } suspend fun getTodoFromDB(): LiveData&lt;Lis...
I want to return value from this function which gets data from local database: [CODE] P.S: I am new to Coroutine, might have done something silly. Looking forward for Android community help
android|kotlin|kotlin-coroutines|android-livedata|coroutine
0
2022-09-14T15:15:11.217Z
2,022
9
15
2
35
1
189
40
5
1
true
false
false
false
false
false
zero
73,719,383
Getting error on google play console even setting Exported to true In AndroidManifest File
<p>I am getting the following error while uploading to the google play console.</p> <blockquote> <p>You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android: exported' property set. This file can't be installed on Android 12 ...
I am getting the following error while uploading to the google play console. You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android: exported' property set. This file can't be installed on Android 12 or higher. See: develop...
android|android-studio|google-play
0
2022-09-14T15:19:12.553Z
2,022
9
15
2
31
1
651
90
3
1
true
false
false
false
false
false
zero
73,719,576
An input file was expected to be present but it doesn't exist
<p>this is my first flutter app and I'm facing this problem. I have tried many solutions but didn't work!please need help. build.gradle: '<code>dependencies { classpath 'com.android.tools.build:gradle-settings:7.4.0-alpha10' classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;}</code>'</p> <p...
this is my first flutter app and I'm facing this problem. I have tried many solutions but didn't work!please need help. build.gradle: ' dependencies { classpath 'com.android.tools.build:gradle-settings:7.4.0-alpha10' classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;} ' build.radle: [1]: ht...
android|flutter|dart
0
2022-09-14T15:31:44.997Z
2,022
9
15
2
48
1
353
61
3
0
false
false
false
false
false
false
zero
73,719,595
`androidx.fragment.app.FragmentPagerAdapter` is deprecated
<p>How to fix the deprecation warning for the below?</p> <pre><code>public class SectionsPagerAdapter extends FragmentPagerAdapter { public SectionsPagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { switch (position) { case 0: ...
How to fix the deprecation warning for the below? [CODE] answers here are not useful and neither is the ambiguous documentation which recommends switching to a ViewPager2 without any useful examples or indications on how to do so, just this: [CODE]
java|android
0
2022-09-14T15:32:52.707Z
2,022
9
15
2
25
0
248
58
2
2
true
true
false
false
false
false
zero
73,719,604
How can I iterate through data class objects when there's JSON Object and not JSON Array?
<p>I am working on a project where one of the API is giving a list of items inside JSON Object and not in JSON Array. See the image below.</p> <p><a href="https://i.stack.imgur.com/1VL8k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1VL8k.png" alt="enter image description here" /></a></p> <p>When I...
I am working on a project where one of the API is giving a list of items inside JSON Object and not in JSON Array. See the image below. When I create a Kotlin data class using this JSON, it is created something similar to this: [CODE] I wanted to show all the keys and values of the &quot;rates&quot; JSON object in Recy...
android|json|kotlin|data-class
0
2022-09-14T15:33:27.410Z
2,022
9
15
2
24
1
673
89
4
2
true
false
false
false
false
false
zero
73,719,660
React Native - Android Handle click on notification to navigate to specific screen
<p>I used this library <a href="https://github.com/zo0r/react-native-push-notification" rel="nofollow noreferrer">https://github.com/zo0r/react-native-push-notification</a> for remote push notification, onNotification method fired only when receive notification, no when tapped notification , i need to handle notificati...
I used this library https://github.com/zo0r/react-native-push-notification for remote push notification, onNotification method fired only when receive notification, no when tapped notification , i need to handle notification click to open specific screen in my app.
android|react-native|push-notification|react-native-navigation|android-push-notification
0
2022-09-14T15:36:57.507Z
2,022
9
15
2
82
1
265
82
5
0
false
false
false
false
false
false
zero
73,719,706
Which version of android studio is suitable for windows 7 32 bit 2gb ram?
<p>I've searched version of Android Studio for windows 7 32 bit with 2gb ram but I couldn't find it. I can't go to android studio's main site. Of course, I couldn't find it and tried to find InteliJ IDEA but it also is not applicable for my pc. Now I have got just Netbeans IDE version 8. Now I wanna to have the suitabl...
I've searched version of Android Studio for windows 7 32 bit with 2gb ram but I couldn't find it. I can't go to android studio's main site. Of course, I couldn't find it and tried to find InteliJ IDEA but it also is not applicable for my pc. Now I have got just Netbeans IDE version 8. Now I wanna to have the suitable v...
android|eclipse|android-studio|intellij-idea|netbeans
0
2022-09-14T15:40:03.967Z
2,022
9
15
2
28
1
382
73
5
0
false
false
false
false
false
false
zero
73,719,751
How can I detect if a user is in debugging mode
<p>Is there any way to detect if a mobile session on my android app is in android USB debugging mode or developer mode, or otherwise running automation via tools such as appium</p>
Is there any way to detect if a mobile session on my android app is in android USB debugging mode or developer mode, or otherwise running automation via tools such as appium
android|mobile|appium|appium-android|usb-debugging
0
2022-09-14T15:44:24.317Z
2,022
9
15
2
20
1
173
47
5
0
false
false
false
false
false
false
zero
73,719,767
listening a NativeEventEmitter in useEffect -> Value not updating in useState hook
<p>I am trying to call a native module function on a react native button pressed. that function calls another native <code>RCTDeviceEventEmitter</code> function and emits an <code>*textColor*</code> event which captured in the javascript <code>NativeEventEmitter</code>. Each time the event is captured in listener I wan...
I am trying to call a native module function on a react native button pressed. that function calls another native RCTDeviceEventEmitter function and emits an *textColor* event which captured in the javascript NativeEventEmitter . Each time the event is captured in listener I want to toggle a ncolor useState variable an...
javascript|android|reactjs|react-native|react-hooks
1
2022-09-14T15:45:36.937Z
2,022
9
15
2
18
0
771
82
5
4
true
true
false
false
false
false
low
73,719,785
makedirs throws OSError: [Errno 107] Transport endpoint is not connected
<p>So someone who's using one of my tools (PyVZ2) is getting this error after executing this lines of code:</p> <pre><code>from os import makedirs makedirs('/storage/emulated/0/Download/Chinese obb/obb/com.popcap.pvz2cthd360_1225/assets/dynamic.rsb/PACKAGES/WORLDS', exist_ok = True) </code></pre> <pre><code>Traceback (...
So someone who's using one of my tools (PyVZ2) is getting this error after executing this lines of code: [CODE] [CODE] What does it mean? There aren't a lot of google results on this error and I can't find something relevant. I'm not using sockets ... (Also I can't reproduce it, this error is just copied from his outpu...
android|python-3.x
0
2022-09-14T15:46:33.483Z
2,022
9
15
2
8
0
322
72
2
2
true
true
false
false
false
false
zero
73,719,793
Error: '@{viewModel.date.equals(viewModel.dateOptions[2])' is incompatible with attribute checked (attr) boolean
<p>I am following the kotlin basics training camp provided by google. Currently learning shared viewmodel to build the cupcake app. I have coded exactly same as them but I am facing the below given error. For reference here is the github <a href="https://github.com/google-developer-training/android-basics-kotlin-cupcak...
I am following the kotlin basics training camp provided by google. Currently learning shared viewmodel to build the cupcake app. I have coded exactly same as them but I am facing the below given error. For reference here is the github repository . I don't know why the android studio is giving me the error. From my poin...
android|xml|kotlin|data-binding
0
2022-09-14T15:46:56.037Z
2,022
9
15
2
23
0
588
112
4
4
true
true
false
false
false
false
zero
73,719,810
How to increment a counter in Realtime Database using transactions with Kotlin Coroutines?
<p>To increment the quantity in the Realtime Database, I can simply use:</p> <pre><code>override fun incrementQuantity() = flow { try { heroIdRef.update(&quot;quantity&quot;, FieldValue.increment(1)).await() emit(Result.Success(true)) } catch (e: Exception) { emit(Result.Failure(e)) ...
To increment the quantity in the Realtime Database, I can simply use: [CODE] And works well. The problem comes when I need to check the quantity first and then increment. The above solution doesn't help, so I need to use transactions. Here is what I've tried: [CODE] And works, but I cannot see how use Kotlin Coroutines...
android|firebase|kotlin|google-cloud-firestore|kotlin-coroutines
1
2022-09-14T15:48:19.370Z
2,022
9
15
2
50
1
412
90
5
2
true
false
false
false
false
false
low
73,719,813
Maui XAML Spinner displaces fields in my form when it becomes visible
<p>I'm working on a Maui app (non-blazer) and only targeting Android.</p> <p>I have an ActivityIndicator (Spinner) that I activate and deactivate using binding.</p> <p>When the Spinner becomes visible it shifts all fields below down to make room for the spinner.</p> <p>I would think there is a way to make the spinner o...
I'm working on a Maui app (non-blazer) and only targeting Android. I have an ActivityIndicator (Spinner) that I activate and deactivate using binding. When the Spinner becomes visible it shifts all fields below down to make room for the spinner. I would think there is a way to make the spinner overlay all fields instea...
android|xaml|.net-maui
0
2022-09-14T15:48:25.820Z
2,022
9
15
2
23
0
491
69
3
1
true
true
false
false
false
false
zero
73,720,026
retrofit fails to parse inner json objects
<p>this is the model class to parse the json string coming from the server. when I use this class, network response fails but I can see the post in the logcat. I think retrofit cannot parse the inner objects.</p> <pre><code>public class ProfileResponse { @SerializedName(&quot;result&quot;) private int result; @Seriali...
this is the model class to parse the json string coming from the server. when I use this class, network response fails but I can see the post in the logcat. I think retrofit cannot parse the inner objects. [CODE] when I change this class' fields to string like below and parse them after with Gson keeping everything the...
android|json|retrofit|okhttp
0
2022-09-14T16:06:09.520Z
2,022
9
16
2
24
1
1,197
42
4
7
true
false
false
false
false
false
zero
73,720,084
Can't initialize ViewModelProvider when calling initMainViewModel()
<p>I got this error when try running this code to show the GitHub API description, name, and avatar image in the android app (still cannot figure it out to fix the error). Any help is welcome :)</p> <p>This is my app structure:</p> <p>adapter</p> <p>|--&gt; RecyclerViewAdapter</p> <p>database</p> <p>|--&gt; AppDao</p> ...
I got this error when try running this code to show the GitHub API description, name, and avatar image in the android app (still cannot figure it out to fix the error). Any help is welcome :) This is my app structure: adapter |--> RecyclerViewAdapter database |--> AppDao |--> AppDatabase dependencyinjection |--> AppMod...
kotlin|android-recyclerview|retrofit|android-room|dagger-hilt
-1
2022-09-14T16:12:00.680Z
2,022
9
16
2
15
0
908
67
5
14
true
true
false
false
false
true
negative
73,720,094
Android CustomTab in Flutter
<p>I have Flutter mobile app with a Chrome CustomTab. I would like to ask if it is possible to display a flutter/android dialog or an overlay over the CustomTab's content.</p> <p>Thank you, Gen</p>
I have Flutter mobile app with a Chrome CustomTab. I would like to ask if it is possible to display a flutter/android dialog or an overlay over the CustomTab's content. Thank you, Gen
android|flutter|chrome-custom-tabs
0
2022-09-14T16:12:20.617Z
2,022
9
16
2
27
0
183
28
3
0
false
true
false
false
false
false
zero
73,720,227
Android SDK's / Libraries Analytic Restrictions: What can I track in my distributed SDK's and Libraries?
<p>I can not find any information for this online so I have resorted to posting here. Past two years of my career as an Android dev, I have been making libraries and SDK's that clients will add as a dependency to their application. Obviously, we as platform owners want to gather any information from an analytic standpo...
I can not find any information for this online so I have resorted to posting here. Past two years of my career as an Android dev, I have been making libraries and SDK's that clients will add as a dependency to their application. Obviously, we as platform owners want to gather any information from an analytic standpoint...
android|analytics|firebase-analytics|mobile-analytics
0
2022-09-14T16:22:38.107Z
2,022
9
16
2
15
0
1,760
104
4
0
false
true
false
false
false
false
zero
73,720,329
Android EditText: Disable edit but allow copy
<p>I have created an <code>EditTextView</code> in Android Studio. I would like to disable the possibilty to edit the pre-existing text while enabling the user to select and copy the text inside.</p> <p>Before, it was possible to do it with:</p> <pre><code>android:editable=&quot;false&quot; </code></pre> <p>Now however,...
I have created an EditTextView in Android Studio. I would like to disable the possibilty to edit the pre-existing text while enabling the user to select and copy the text inside. Before, it was possible to do it with: [CODE] Now however, this is deprecated and it doesn't work anymore. I tried to use: [CODE] or [CODE] T...
android|android-edittext
1
2022-09-14T16:31:24.950Z
2,022
9
16
2
22
1
453
45
2
3
true
false
false
false
false
false
low
73,720,358
Cannot build C++ application using gradle in Android
<p>I'm an Android 11 user who is trying to build simple C++ application with gradle.</p> <p>I have gcc and clang installed and working on my phone.</p> <p>I used <code>gradle init</code> to create a C++ application using Groovy.</p> <p>When i run <code>gradle build</code> in <a href="https://termux.dev/en/" rel="nofoll...
I'm an Android 11 user who is trying to build simple C++ application with gradle. I have gcc and clang installed and working on my phone. I used gradle init to create a C++ application using Groovy. When i run gradle build in termux , i get the following message: [CODE] my build.gradle file looks like this: [CODE] Any ...
java|android|c++|gradle
0
2022-09-14T16:34:31.100Z
2,022
9
16
2
34
0
326
52
4
2
true
true
false
false
false
false
zero
73,720,501
Write and read files from SD card flutter
<p>Is there any way to Read and write files from external SD Card with flutter ,like using</p> <blockquote> <p>getExternalStorageDirectory()</p> </blockquote> <p>from path_provider package to access local storage(read,write,modify,create..)?</p>
Is there any way to Read and write files from external SD Card with flutter ,like using getExternalStorageDirectory() from path_provider package to access local storage(read,write,modify,create..)?
flutter|directory|storage|sd-card|android-external-storage
0
2022-09-14T16:47:25.427Z
2,022
9
16
2
27
0
197
41
5
0
false
true
false
false
false
false
zero
73,720,556
How to draw gradient and customize your splash screen in compose?
<p>I am trying to have a splash screen in our application and I got stuck Abit with the jetpack Compose design. So I want to have a background gradient, I am now using the image which does not fit well in the phone and want to center my logo and text in the middle of the screen how can I achieve that. Mostly centering ...
I am trying to have a splash screen in our application and I got stuck Abit with the jetpack Compose design. So I want to have a background gradient, I am now using the image which does not fit well in the phone and want to center my logo and text in the middle of the screen how can I achieve that. Mostly centering sin...
android|android-jetpack-compose|android-jetpack
1
2022-09-14T16:51:01.113Z
2,022
9
16
2
28
1
604
65
3
2
true
false
false
false
false
false
low