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,865,047 | onMapReady callback Geocoder is null at index 0 | <p>I don't know why this crashed mostly on OnePlus</p>
<p>the error log <a href="https://i.stack.imgur.com/723eH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/723eH.png" alt="error from google play" /></a></p>
<pre><code>Geocoder geocoder = new Geocoder(ShopLocationActivity.this, Locale.getDefault(... | I don't know why this crashed mostly on OnePlus the error log [CODE] this is the code for my geocoder callback [CODE] this is the dependency | java|android-studio|google-maps|geolocation|geocoder | 0 | 2022-07-05T06:48:47.277Z | 2,022 | 7 | 6 | 1 | 36 | 0 | 140 | 47 | 5 | 2 | true | true | false | false | false | false | zero |
72,865,054 | How to implement prebuilt CPP library and cmake configuration files in android project structure? | <p>I have one prebuilt library of CPP(abc.so) and some CMake files like the config.camke, target. cmake and the header file like a.hpp,b.hpp I want it configured with my current android project, I have successfully created the NDK project and successfully configured the native-lib.CPP library and able to print the stri... | I have one prebuilt library of CPP(abc.so) and some CMake files like the config.camke, target. cmake and the header file like a.hpp,b.hpp I want it configured with my current android project, I have successfully created the NDK project and successfully configured the native-lib.CPP library and able to print the string ... | android|c++|cmake | 0 | 2022-07-05T06:49:19.387Z | 2,022 | 7 | 6 | 1 | 30 | 0 | 879 | 97 | 3 | 2 | true | true | false | false | false | false | zero |
72,865,120 | How to hide the status bar and draw on it | <p>I know it sounds duplicate but it is not.
I have read a whole article about implementing what I want at <a href="https://developer.android.com/training/gestures/edge-to-edge" rel="nofollow noreferrer">android studio official site</a> but no help.</p>
<p>My goal is to draw behind the system bars like this photo: ( I ... | I know it sounds duplicate but it is not. I have read a whole article about implementing what I want at android studio official site but no help. My goal is to draw behind the system bars like this photo: ( I also want the hide the system bars which in this picture does not happen ) In other words I want to open my app... | android|android-statusbar|android-fullscreen|android-immersive | 0 | 2022-07-05T06:54:48.283Z | 2,022 | 7 | 6 | 1 | 154 | 2 | 920 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
72,865,194 | Use the android Ktor client for call an api with search query | <p>I want to use the android Ktor-client to run an API that has a query:</p>
<p>This is the Main Api: <code>https://www.filimo.com/api/en/v1/movie/movie/list/tagid/1000300/text/{Query}/sug/on</code></p>
<p>How can I pass the <code>{Query}</code> to request with Ktor?</p>
<p>There is the BASE_URL config:
<a href="https:... | I want to use the android Ktor-client to run an API that has a query: This is the Main Api: https://www.filimo.com/api/en/v1/movie/movie/list/tagid/1000300/text/{Query}/sug/on How can I pass the {Query} to request with Ktor? There is the BASE_URL config: | android|ktor-client | 0 | 2022-07-05T07:02:54.733Z | 2,022 | 7 | 7 | 1 | 30 | 1 | 254 | 61 | 2 | 0 | false | false | false | false | false | false | zero |
72,865,270 | flutter change setStateicon of that particular box which I click | <p>I want to change icon of that specific box in a loop that I click.
I have two icons that have onTap functionality. and on click user add to fav list and when the response id success and add to fav then the box fav icon changed. but in my case after the success response, it changed the icon of all boxes in the loop.
... | I want to change icon of that specific box in a loop that I click. I have two icons that have onTap functionality. and on click user add to fav list and when the response id success and add to fav then the box fav icon changed. but in my case after the success response, it changed the icon of all boxes in the loop. So ... | android|flutter|flutter-layout|flutter-dependencies|flutter-state | 0 | 2022-07-05T07:08:59.747Z | 2,022 | 7 | 7 | 1 | 18 | 1 | 500 | 64 | 5 | 1 | true | false | false | false | false | false | zero |
72,865,332 | Purpose of root in LayoutInflater | <p>As per my understanding,</p>
<p>LayoutInflater.inflate(resource, root, attachToRoot):- It's job is JUST to convert the XML to the Views object.</p>
<p>My question is, since inflate() is not concerned with <code>root</code> parameter if we are passing <code>attachToRoot = false</code>, then can we use <code>LayoutInf... | As per my understanding, LayoutInflater.inflate(resource, root, attachToRoot):- It's job is JUST to convert the XML to the Views object. My question is, since inflate() is not concerned with root parameter if we are passing attachToRoot = false , then can we use LayoutInflater.inflate(R.layout.my_custom_view, null, fal... | java|android|android-layout | -1 | 2022-07-05T07:12:50.947Z | 2,022 | 7 | 7 | 1 | 36 | 1 | 572 | 33 | 3 | 0 | false | false | false | false | false | true | negative |
72,865,441 | Android / Google Play in-app purchase "Item unavailable in your country" | <p>I'm trying to test the in-app purchase of a consumable item on Android, but I'm unable to do so, as the item appears as being unavailable in my country:</p>
<p><a href="https://i.stack.imgur.com/2zVs8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2zVs8.png" alt="enter image description here" /><... | I'm trying to test the in-app purchase of a consumable item on Android, but I'm unable to do so, as the item appears as being unavailable in my country: This only happens when I'm testing on a device connected to Android Studio (which I need to be able to do) - if I instead download the app onto the device, the consuma... | android|in-app-purchase|in-app-billing | 2 | 2022-07-05T07:21:42.693Z | 2,022 | 7 | 7 | 1 | 2,859 | 3 | 825 | 72 | 3 | 0 | false | false | true | false | false | false | low |
72,865,497 | wdullaer-MaterialDateTimePicker set focus to first selectable date | <p>I'm using wdullaer-MaterialDateTimePicker and is working very nicely.</p>
<p>I have created a list of selectable dates and using dpd.setSelectableDays(enabledDays). I would like to see on how the datepicker to select focus to first selectable date out of the list. How can I do it.</p> | I'm using wdullaer-MaterialDateTimePicker and is working very nicely. I have created a list of selectable dates and using dpd.setSelectableDays(enabledDays). I would like to see on how the datepicker to select focus to first selectable date out of the list. How can I do it. | android|materialdatepicker | 0 | 2022-07-05T07:25:41.560Z | 2,022 | 7 | 7 | 1 | 14 | 0 | 274 | 66 | 2 | 0 | false | true | false | false | false | false | zero |
72,865,512 | Android: Can explicit intents work without adding QUERY_ALL_PACKAGES (or package under queries tag) to my manifest? | <p>I have small code which makes sure a url is always opened in browser. It is working so far.</p>
<p>Recently, I got message from <code>Google Play Console</code> stating:</p>
<blockquote>
<p>If your app requires the QUERY_ALL_PACKAGES permission, you need to
submit the declaration form in Play Console by July 12</p>
... | I have small code which makes sure a url is always opened in browser. It is working so far. Recently, I got message from Google Play Console stating: If your app requires the QUERY_ALL_PACKAGES permission, you need to submit the declaration form in Play Console by July 12 I have checked and verified, we don't use QUERY... | android|kotlin|android-manifest | 0 | 2022-07-05T07:27:05.253Z | 2,022 | 7 | 7 | 1 | 73 | 0 | 1,318 | 115 | 3 | 1 | true | true | false | false | false | false | zero |
72,865,676 | Is there a way to autofocus keyboard in webview textinput field in flutter? | <p>I am using <a href="https://pub.dev/packages/flutter_inappwebview" rel="nofollow noreferrer">InAppWebView</a> to show the webpage in a flutter app. Here keyboard is shown only when I tap on the input field. Is there a way that the keyboard is visible before tapping on the input field? The keyboard should appear righ... | I am using InAppWebView to show the webpage in a flutter app. Here keyboard is shown only when I tap on the input field. Is there a way that the keyboard is visible before tapping on the input field? The keyboard should appear right after navigating to this screen. Here is the code: [CODE] | android|ios|flutter|flutter-inappwebview|keyboard-focus | 0 | 2022-07-05T07:41:23.230Z | 2,022 | 7 | 7 | 1 | 122 | 1 | 290 | 75 | 5 | 1 | true | false | false | false | false | false | zero |
72,865,724 | How interface can enforce "static" methods in sub-classes in Kotlin | <p>I'm implementing a customized Parcelable interface using Kotlin (Original Android's API: <a href="https://developer.android.com/reference/kotlin/android/os/Parcelable" rel="nofollow noreferrer">https://developer.android.com/reference/kotlin/android/os/Parcelable</a>). How can I enforce a static field (i.e. companion... | I'm implementing a customized Parcelable interface using Kotlin (Original Android's API: https://developer.android.com/reference/kotlin/android/os/Parcelable ). How can I enforce a static field (i.e. companion object) similar to how the CREATOR field is enforced? | android|kotlin | 0 | 2022-07-05T07:44:14.783Z | 2,022 | 7 | 7 | 1 | 25 | 0 | 263 | 67 | 2 | 0 | false | true | false | false | false | false | zero |
72,865,757 | flutter checkbox with api value | <p>I need the container in the code below to take a bool value.
the row is inside a data table and I need each column to have one check box or one tap selected. whatever works.</p>
<pre><code> Container(
height: 50.0,
child: Column(
children: row.getCells()[5].where(... | I need the container in the code below to take a bool value. the row is inside a data table and I need each column to have one check box or one tap selected. whatever works. [CODE] | android|flutter|flutter-layout|containers | 1 | 2022-07-05T07:46:55.023Z | 2,022 | 7 | 7 | 1 | 25 | 1 | 180 | 31 | 4 | 1 | true | false | false | false | false | false | low |
72,865,823 | How can I find the distance between the offset and the line? | <p>I'm creating a function to draw and edit Lines using <code>CustomPaint()</code>.
It must be able to select the line to move or delete it.</p>
<p>To do this, I need to be able to detect if the offset where I touched is included in the line or if it is close to the line.</p>
<p>Use two offsets to draw a line as shown ... | I'm creating a function to draw and edit Lines using CustomPaint() . It must be able to select the line to move or delete it. To do this, I need to be able to detect if the offset where I touched is included in the line or if it is close to the line. Use two offsets to draw a line as shown in the code below. If so, how... | android|ios|flutter|canvas | 0 | 2022-07-05T07:52:03.723Z | 2,022 | 7 | 7 | 1 | 103 | 1 | 430 | 60 | 4 | 1 | true | false | false | false | false | false | zero |
72,865,871 | Many function is unresolved after Android Studio Chipmunk(11.0.12) Update | <p>There is no problem with all codes before the update.<br/>
But After the update, many functions are unresolved.<br/>
<a href="https://i.stack.imgur.com/bzTmo.png" rel="nofollow noreferrer">My Android Studio version.</a>
<br/><br/>
<a href="https://i.stack.imgur.com/yOilw.png" rel="nofollow noreferrer"> error code1 <... | There is no problem with all codes before the update. But After the update, many functions are unresolved. My Android Studio version. error code1 error code2 error code3 All error contents are Unresolved reference:~~. my dependencies 1 my dependencies 2 There are my dependencies. There is an error in the code, but the ... | android|android-studio | 0 | 2022-07-05T07:55:46.490Z | 2,022 | 7 | 7 | 1 | 107 | 1 | 357 | 73 | 2 | 0 | false | false | false | false | false | false | zero |
72,865,887 | How to validate EditText input in custom view | <p>I'm trying to make a custom view of an EditText with a TextView under it which says the error of the validation.</p>
<p>My idea is to make a validation of min and max length in my custom view and make visible or change text the TextView if the edittext input passes this validations or not, but I'm new at custom view... | I'm trying to make a custom view of an EditText with a TextView under it which says the error of the validation. My idea is to make a validation of min and max length in my custom view and make visible or change text the TextView if the edittext input passes this validations or not, but I'm new at custom views and don'... | android|kotlin|android-edittext|android-custom-view | 1 | 2022-07-05T07:56:53.500Z | 2,022 | 7 | 7 | 1 | 97 | 1 | 426 | 45 | 4 | 0 | false | false | false | false | false | false | low |
72,866,016 | Android intent from vue application | <p>How can I send an android intent from a vue-web-app?</p>
<p>For example to start an external app to scan a barcode and return the barcode number.</p>
<p>I have a vue web app which runs in a browser environment and I want to start a native android app to scan a barcode. How can I send an "android intent" fr... | How can I send an android intent from a vue-web-app? For example to start an external app to scan a barcode and return the barcode number. I have a vue web app which runs in a browser environment and I want to start a native android app to scan a barcode. How can I send an "android intent" from this vue-web-a... | javascript|android|node.js|vue.js|vuejs2 | -1 | 2022-07-05T08:08:06.400Z | 2,022 | 7 | 8 | 1 | 61 | 1 | 380 | 35 | 5 | 0 | false | false | false | false | false | true | negative |
72,866,145 | Flutter - Dropdown list on click display Textfield | <p>I'm quite new in Flutter, so how do I show a textfield widget below right after an user click one of the dropdown list value?</p>
<p>Here is the codes for my Dropdown button</p>
<pre><code>final items = ['Healthy', 'Unhealthy'];
...
DropdownMenuItem<String> buildMenuItem(String item) => DropdownMenuIt... | I'm quite new in Flutter, so how do I show a textfield widget below right after an user click one of the dropdown list value? Here is the codes for my Dropdown button [CODE] Here's how it's look now (without the textfield): I've been looking for the solution on the internet but none seems to help me understand. Thank y... | java|android|flutter|android-emulator | 0 | 2022-07-05T08:17:46.457Z | 2,022 | 7 | 8 | 1 | 79 | 1 | 334 | 50 | 4 | 1 | true | false | false | false | false | false | zero |
72,866,222 | How to trigger Google Password Manager in native XML view to show popup to save user's password to use later in AutofillService? | <p>I have a usual screen with "email" and "password" EditText fields. I have marked my fields with autofillHints, so that Android AutofillService could propose user already saved passwords. It's working. But looks like it only propose only that passwords which where previously entered in browser or ... | I have a usual screen with "email" and "password" EditText fields. I have marked my fields with autofillHints, so that Android AutofillService could propose user already saved passwords. It's working. But looks like it only propose only that passwords which where previously entered in browser or som... | android|android-jetpack-compose|autofill|android-autofill-manager|password-manager | 1 | 2022-07-05T08:24:37.347Z | 2,022 | 7 | 8 | 1 | 107 | 0 | 1,452 | 128 | 5 | 0 | false | true | false | false | false | false | low |
72,866,234 | How to change the icon color of PopupMenu (Material Design 3 )in Android? | <p>I am trying to implement a <code>PopupMenu</code> in my app following this <a href="https://m3.material.io/components/menus/implementation" rel="nofollow noreferrer">example</a>.
It works, but I can't change the icon color. How would I achieve that?</p>
<p>Meanwhile I could change the background color:</p>
<pre><cod... | I am trying to implement a PopupMenu in my app following this example . It works, but I can't change the icon color. How would I achieve that? Meanwhile I could change the background color: [CODE] I am using the new Material Design 3 library from Google. Also, I tried to find something on Internet and I could only find... | android|popupmenu|material-design-3 | 0 | 2022-07-05T08:25:48.993Z | 2,022 | 7 | 8 | 1 | 39 | 0 | 443 | 73 | 3 | 1 | true | true | false | false | false | false | zero |
72,866,409 | Room livedata , databinding issue : UI doesn't update when data changes | <p>I am now developing an application where I use MVVM pattern for UI and repository interaction. In other words, I receive live data object with a list of models from my ROOM data base query via repository, then assign it to my live data variable in viewmodel. After that, this data should be populated to my xml layou... | I am now developing an application where I use MVVM pattern for UI and repository interaction. In other words, I receive live data object with a list of models from my ROOM data base query via repository, then assign it to my live data variable in viewmodel. After that, this data should be populated to my xml layout re... | android|kotlin|android-layout|data-binding|android-room | 0 | 2022-07-05T08:39:51.090Z | 2,022 | 7 | 8 | 1 | 48 | 1 | 553 | 71 | 5 | 5 | true | false | false | false | false | false | zero |
72,866,430 | Android studio not showing light bulb(yellow bulb) in flutter project for somewhere like wrap a widget with another widget | <p>I use android studio for developing my projects, but it has been a while the studio not showing lightbulb(yellow bulb) for suggestion like wrap widget with another widget or modifying.</p>
<p>I tested many solution and of course used from Alt + Enter, also set true check for Soft-Wrap, but it still doesn't work.</p>... | I use android studio for developing my projects, but it has been a while the studio not showing lightbulb(yellow bulb) for suggestion like wrap widget with another widget or modifying. I tested many solution and of course used from Alt + Enter, also set true check for Soft-Wrap, but it still doesn't work. my android st... | flutter|android-studio|dart | -1 | 2022-07-05T08:40:48.557Z | 2,022 | 7 | 8 | 1 | 116 | 2 | 575 | 122 | 3 | 0 | false | false | false | false | false | true | negative |
72,866,433 | Using the Epoxy ModelView causes Inflate errors and NullPoint errors | <p>I'm using the <code>@ModelView</code> annotation from the <code>Epoxy</code> library to create a <code>CustomView</code>.</p>
<p>I'm making it with reference to another example, but the following error keeps coming up.</p>
<pre><code>android.view.InflateException: Binary XML file line #2 in com.example.testepoxy:lay... | I'm using the @ModelView annotation from the Epoxy library to create a CustomView . I'm making it with reference to another example, but the following error keeps coming up. [CODE] [CODE] Isn't it automatically inflated when using defaultlayout ? Where did I go wrong? item_custom_view [CODE] Model [CODE] Controller [CO... | android|kotlin|epoxy | 0 | 2022-07-05T08:41:22.520Z | 2,022 | 7 | 8 | 1 | 43 | 1 | 323 | 68 | 3 | 5 | true | false | false | false | false | false | zero |
72,866,459 | Search bar editview not working when using with custom array adapter | <p>So i tried implementing a search bar to my app for my listview and it does work but it only takes the first result in a array. I am using a custom array adapter and I am going crazy trying to figure this out.</p>
<p>This is where the listview is called and where i added the editview code. I followed a simple youtube... | So i tried implementing a search bar to my app for my listview and it does work but it only takes the first result in a array. I am using a custom array adapter and I am going crazy trying to figure this out. This is where the listview is called and where i added the editview code. I followed a simple youtube tutorial ... | java|android|listview|custom-arrayadapter | 0 | 2022-07-05T08:43:27.360Z | 2,022 | 7 | 8 | 1 | 22 | 0 | 634 | 68 | 4 | 2 | true | true | false | false | false | false | zero |
72,866,484 | How to access to a folder within my app using java in android studio | <p>I'm new to Android Studio, and been working on a little project, but I'm stuck on a function.
Inside my app, I created an "assets" folder, which has another folder inside containing images(.png). Also, I can't use the drawable folder as this folder needs to only contain these images.
I want to use a cycle ... | I'm new to Android Studio, and been working on a little project, but I'm stuck on a function. Inside my app, I created an "assets" folder, which has another folder inside containing images(.png). Also, I can't use the drawable folder as this folder needs to only contain these images. I want to use a cycle to ... | java|android|android-studio | 1 | 2022-07-05T08:45:35.390Z | 2,022 | 7 | 8 | 1 | 17 | 0 | 730 | 68 | 3 | 0 | false | true | false | false | false | false | low |
72,866,521 | get all software's permission via android accessibility access service automatically | <p>I want to write an application witch can get android accessibility and then allow all of the permission witch needed, when android accessibility allowed.
this software is for old man who can't manage this application for him self.
please help me</p> | I want to write an application witch can get android accessibility and then allow all of the permission witch needed, when android accessibility allowed. this software is for old man who can't manage this application for him self. please help me | android|accessibility | 0 | 2022-07-05T08:49:01.933Z | 2,022 | 7 | 8 | 1 | 19 | 0 | 245 | 84 | 2 | 0 | false | true | false | false | false | false | zero |
72,866,587 | Drawable's size with Coil | <p><strong>CONTEXT</strong></p>
<p>In my app I need to get the full size of my drawables, so I the Glide's library like that :</p>
<pre class="lang-kotlin prettyprint-override"><code>val bitmap = GlideApp
.with(context)
.asBitmap()
.load(path)
.submit()
.get()
</code></pre>
<p>But I'm on the road to... | CONTEXT In my app I need to get the full size of my drawables, so I the Glide's library like that : [CODE] But I'm on the road to change Glide for Coil, so my request becomes : [CODE] ISSUE The issue is that with Coil I haven't the full size of my bitmap, in contrary to Glide . For exemple with an image in 4000x6000, w... | android|bitmap|android-glide|android-bitmap|coil | 1 | 2022-07-05T08:53:52.997Z | 2,022 | 7 | 8 | 1 | 94 | 1 | 402 | 25 | 5 | 2 | true | false | false | false | false | false | low |
72,866,685 | onSaveInstanceState doesn't handle the state | <p>I'm trying to get my edittext1.text while clicking on the getName button after screen flipped but it doesn't work.
<strong>How it should work</strong></p>
<ol>
<li>adding some text to the et1</li>
<li>click setName then tv1 appears
(tv1.text = et1.text, var "name" = tv1.text)</li>
<li>flip the screen</li>
... | I'm trying to get my edittext1.text while clicking on the getName button after screen flipped but it doesn't work. How it should work adding some text to the et1 click setName then tv1 appears (tv1.text = et1.text, var "name" = tv1.text) flip the screen click getName (at the et1 have to be value "name&qu... | android|kotlin|onsaveinstancestate | 0 | 2022-07-05T09:00:41.023Z | 2,022 | 7 | 9 | 1 | 34 | 1 | 433 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
72,866,738 | Sonarqube for XML | <p>After integrating sonarqube with my Android app xml code and resources analysis given me 0 code smells while there is. I tried to violate the xml rule set of sonarqube but it still give me 0 code smells.
Any Recommendations?
thanks</p> | After integrating sonarqube with my Android app xml code and resources analysis given me 0 code smells while there is. I tried to violate the xml rule set of sonarqube but it still give me 0 code smells. Any Recommendations? thanks | android|xml|android-layout|sonarqube|lint | 0 | 2022-07-05T09:04:51.407Z | 2,022 | 7 | 9 | 1 | 20 | 0 | 231 | 17 | 5 | 0 | false | true | false | false | false | false | zero |
72,866,761 | Android webview javascript interface not working from Angular 12 | <p>We have loaded ionic/angular site inside the Android using webview.</p>
<p>It was worked till Angular 11 version without any issues. Recently we have tried the Angular version upgrade to 13+.</p>
<p>From that, we are not able to access the javascript interface object. Code sample below.</p>
<p><strong>Android</stron... | We have loaded ionic/angular site inside the Android using webview. It was worked till Angular 11 version without any issues. Recently we have tried the Angular version upgrade to 13+. From that, we are not able to access the javascript interface object. Code sample below. Android object return null after angular migra... | android|angular|android-webview|hybrid-mobile-app | 1 | 2022-07-05T09:06:38.823Z | 2,022 | 7 | 9 | 1 | 136 | 0 | 445 | 64 | 4 | 1 | true | true | false | false | false | false | low |
72,866,853 | Cannot get rid of "Please select Android SDK" error when trying to profile APK file in Android Studio | <p>I have found plenty of similar issues like this but none of the solutions worked for me or profiling environments specifically. What I have tried:</p>
<ul>
<li>Installed the correct version under <code>File -> Settings -> Android SDK</code>,</li>
<li>Set the correct version under <code>Open Module Settings -&g... | I have found plenty of similar issues like this but none of the solutions worked for me or profiling environments specifically. What I have tried: Installed the correct version under File -> Settings -> Android SDK , Set the correct version under Open Module Settings -> Modules -> Dependencies , setting either default ... | android|android-studio|android-profiler | 0 | 2022-07-05T09:15:07.220Z | 2,022 | 7 | 9 | 1 | 61 | 2 | 504 | 101 | 3 | 0 | false | false | false | false | false | false | zero |
72,866,924 | Facebook SDK : 'Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared' | <p>I use the Android Facebook SDK. I get the following message in Logcat:</p>
<pre><code>com.facebook.internal.NativeProtocol: Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow https://developers.facebook.com/docs/android/trou... | I use the Android Facebook SDK. I get the following message in Logcat: [CODE] What does that mean? Do I need to add in the manifest the item mentioned on facebook page mentioned in this error message, that is to say : [CODE] Nota: I use no facebook dialog boxes in my app. Thanks for your help. | android|facebook|kotlin|facebook-android-sdk|facebook-sdk-4.0 | 2 | 2022-07-05T09:20:09.273Z | 2,022 | 7 | 9 | 1 | 671 | 1 | 294 | 145 | 5 | 2 | true | false | false | false | false | false | low |
72,866,951 | How to fix max drawn entries on Line Chart? | <p>I'm putting a lot of entries to chart. Like 100-200 of them. It's running stats at each second. So my graph looks very messy when we getting bigger and bigger reached range. So is it possible to fix X axis values that will be drawn on graph? For example if we have 200+ values of 10 km just draw 30 of them also at 10... | I'm putting a lot of entries to chart. Like 100-200 of them. It's running stats at each second. So my graph looks very messy when we getting bigger and bigger reached range. So is it possible to fix X axis values that will be drawn on graph? For example if we have 200+ values of 10 km just draw 30 of them also at 10 km... | mpandroidchart | 0 | 2022-07-05T09:22:13.863Z | 2,022 | 7 | 9 | 1 | 32 | 1 | 392 | 43 | 1 | 0 | false | false | false | false | false | false | zero |
72,866,974 | How to handle google sign in flow on flask api rest backend? | <h2>Preface:</h2>
<p>I known there are a lot of tutorials and answers about this question but i think there is a bit of confusion. My question is not only about some code but instead on architectural choices</p>
<h2>Context:</h2>
<p>We have an android mobile app and a backend API server that store users and some domain... | Preface: I known there are a lot of tutorials and answers about this question but i think there is a bit of confusion. My question is not only about some code but instead on architectural choices Context: We have an android mobile app and a backend API server that store users and some domain model datas. Users can use ... | android|api|flask|google-oauth|flask-user | 0 | 2022-07-05T09:23:35.613Z | 2,022 | 7 | 9 | 1 | 51 | 1 | 1,275 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
72,867,040 | Facebook SDK (Android): events can be seen in 'test events' debug view but are not reported in campaign manager | <p>When I test my app (either by launching it from Android Studio or the app in production on Google Play), I see the events in in 'test events' debug of the Facebook console, as can be seen here:</p>
<p><a href="https://i.stack.imgur.com/B8itM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B8itM.pn... | When I test my app (either by launching it from Android Studio or the app in production on Google Play), I see the events in in 'test events' debug of the Facebook console, as can be seen here: Nevertheless, no installs are reported in the AdsManager (but I know that I have installs from my Facebook campaigns even if t... | android|facebook|kotlin|facebook-android-sdk|facebook-sdk-4.0 | 1 | 2022-07-05T09:28:37.527Z | 2,022 | 7 | 9 | 1 | 61 | 0 | 629 | 111 | 5 | 0 | false | true | false | false | false | false | low |
72,867,084 | How navigate from nested fragment | <p>I have a fragment that has a FragmentContainerView, and when I try to navigate from a nested fragment, I get an error Navigation action/destination cannot be found from the current destination Destination. When trying to navigate from the fragment in which the FragmentContainerView lies, everything works. How I can ... | I have a fragment that has a FragmentContainerView, and when I try to navigate from a nested fragment, I get an error Navigation action/destination cannot be found from the current destination Destination. When trying to navigate from the fragment in which the FragmentContainerView lies, everything works. How I can fix... | java|android|kotlin | 0 | 2022-07-05T09:31:08.197Z | 2,022 | 7 | 9 | 1 | 29 | 1 | 358 | 33 | 3 | 2 | true | false | false | false | false | false | zero |
72,867,098 | Best practice to call a variable from ViewModel | <p>I have this variable in my ViewModel:</p>
<pre><code>private String chosenDay;
</code></pre>
<p>and when I want to set the chosen day I use setter function:</p>
<pre><code>public void setChosenDate(String date){
chosenDay = date;
}
</code></pre>
<p>and when I want to use it,I use getter:</p>
<pre><code>p... | I have this variable in my ViewModel: [CODE] and when I want to set the chosen day I use setter function: [CODE] and when I want to use it,I use getter: [CODE] My question is: Do you think its a good practice to use getter and setters for the viewModel or I can just access the variable directly from the activity? [CODE... | java|android|kotlin|mvvm|android-viewmodel | 1 | 2022-07-05T09:31:56.880Z | 2,022 | 7 | 9 | 1 | 132 | 3 | 333 | 47 | 5 | 4 | true | false | false | false | false | false | low |
72,867,190 | Compose MDC Theme Adapter doesn't convert every color correctly | <p>I'm following <a href="https://github.com/material-components/material-components-android-compose-theme-adapter" rel="nofollow noreferrer">this guide</a> to convert my xml colors to Compose Theme. Unfortunately, I couldn't manage to get the correct colors. Somehow I receive the default android color palette.</p>
<p>... | I'm following this guide to convert my xml colors to Compose Theme. Unfortunately, I couldn't manage to get the correct colors. Somehow I receive the default android color palette. I tested Checkbox and Switch Composable widgets. The tinted color of theirs is wrong. Am I doing something wrong? For Checkbox checkedColor... | android|android-jetpack-compose|android-theme|android-styles | 1 | 2022-07-05T09:38:52.960Z | 2,022 | 7 | 9 | 1 | 113 | 0 | 725 | 63 | 4 | 5 | true | true | false | false | false | false | low |
72,867,244 | How to get a username on GitHub by token | <p>I am writing an android application on kotlin to view the user's repositories on GitHub, <strong>only a token</strong> is entered for authorization, according to which you need to get a username. Please help me write a request via retrofit</p> | I am writing an android application on kotlin to view the user's repositories on GitHub, only a token is entered for authorization, according to which you need to get a username. Please help me write a request via retrofit | android|kotlin|retrofit|github-api | 0 | 2022-07-05T09:43:06.280Z | 2,022 | 7 | 9 | 1 | 34 | 0 | 222 | 40 | 4 | 0 | false | true | false | false | false | false | zero |
72,867,278 | Video not playing from Uri link in VideoView | <p>I have been trying to play a video inside VideoView which seems to be working fine in case when video is kept in res/raw folder but when using url of a video to fetch and play video, it doesn't seem to work.
I have given the internet permission in manifest file:</p>
<p><code><uses-permission android:name="an... | I have been trying to play a video inside VideoView which seems to be working fine in case when video is kept in res/raw folder but when using url of a video to fetch and play video, it doesn't seem to work. I have given the internet permission in manifest file: <uses-permission android:name="android.permission.IN... | android|android-videoview | 0 | 2022-07-05T09:45:41.700Z | 2,022 | 7 | 9 | 1 | 27 | 0 | 906 | 44 | 2 | 2 | true | true | false | false | false | false | zero |
72,867,352 | Gradle build running a long time in task "processDebugResources" | <p>My android project runs Gradle build running in about 7 min every time.</p>
<p>And the "Task :launcher:processDebugResources" takes 5 min.</p>
<p>What did it do?</p>
<p>I read and try all the answer in
<a href="https://stackoverflow.com/questions/29391421/android-studio-gradle-takes-too-long-to-build">Andr... | My android project runs Gradle build running in about 7 min every time. And the "Task :launcher:processDebugResources" takes 5 min. What did it do? I read and try all the answer in Android Studio gradle takes too long to build But no use, sadly. And how to fix it please? The full log: Task :launcher:bundleDeb... | android|gradle | 0 | 2022-07-05T09:50:41.243Z | 2,022 | 7 | 9 | 1 | 40 | 1 | 1,075 | 64 | 2 | 0 | false | false | false | false | false | false | zero |
72,867,394 | Android webView open web page using openvpn | <p>Good day.
There is a site that works only through openvpn.
I installed the openvpn program and established a connection.
When I try to open this site inside a web view, I get "access denied" but the site opens in a normal browser</p>
<p>Tell me how to make the web view "use" openvpn?
Thanks a lot... | Good day. There is a site that works only through openvpn. I installed the openvpn program and established a connection. When I try to open this site inside a web view, I get "access denied" but the site opens in a normal browser Tell me how to make the web view "use" openvpn? Thanks a lot. | android|webview|android-webview | 0 | 2022-07-05T09:54:05.667Z | 2,022 | 7 | 9 | 1 | 19 | 0 | 311 | 43 | 3 | 0 | false | true | false | false | false | false | zero |
72,867,396 | Revert Android app if API29 is not allowed anymore | <p>So we finally upgraded our React native app, turns out that the app immediately crashes on "some" recent Android versions.</p>
<p>We would like to revert to the previous Android app version, although uploading the exact same version, with adjusted version numbers is no longer allowed because the old versio... | So we finally upgraded our React native app, turns out that the app immediately crashes on "some" recent Android versions. We would like to revert to the previous Android app version, although uploading the exact same version, with adjusted version numbers is no longer allowed because the old version uses API... | android|react-native|expo | 0 | 2022-07-05T09:54:29.190Z | 2,022 | 7 | 9 | 1 | 22 | 0 | 526 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,867,517 | An exception has occurred in the compiler (1.8.0_242-release) | <p>I am not able to build my project, it gives me this error:</p>
<p>compileSdkVersion: 31<br />
targetSdkVersion: 31</p>
<p>[Output of flutter doctor -v][1]</p>
<pre class="lang-none prettyprint-override"><code>An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler v... | I am not able to build my project, it gives me this error: compileSdkVersion: 31 targetSdkVersion: 31 [Output of flutter doctor -v][1] [CODE] | java|android | 0 | 2022-07-05T10:02:18.490Z | 2,022 | 7 | 10 | 1 | 224 | 0 | 141 | 61 | 2 | 1 | true | true | false | false | false | false | zero |
72,867,547 | How to send a file to fast api through android | <pre><code>@app.post("/predict")
async def predict(
file: UploadFile = File(...)
):
image = read_file_as_image(await file.read())
img_batch = np.expand_dims(image, 0)
predictions = MODEL.predict(img_batch)
predicted_class = CLASS_NAMES[np.argmax(predictions[0])]
confidence = np.max(predictions[0])
retu... | [CODE] I need to send image file to this api endpoint from android app (Java). How to do this. Type should be file | python|android | 0 | 2022-07-05T10:04:45.617Z | 2,022 | 7 | 10 | 1 | 18 | 0 | 114 | 46 | 2 | 1 | true | true | false | false | false | false | zero |
72,867,672 | How to create animate*AsState list in jetpack compose | <p>There are a set of images. I want to animated change the image size I clicked, but it does not work.</p>
<pre><code>val targetSizeList = remember {
MutableList(list.size){0.5f}
}
val sizeList = List(list.size){
val state by animateFloatAsState(targetValue = targetSizeList[it])
state
}
Column {
...
... | There are a set of images. I want to animated change the image size I clicked, but it does not work. [CODE] | android-jetpack-compose | 0 | 2022-07-05T10:14:34.253Z | 2,022 | 7 | 10 | 1 | 86 | 1 | 107 | 53 | 1 | 1 | true | false | false | false | false | false | zero |
72,867,840 | Is there any way to update data from a sql database from a api using android studio with java? | <p>I have a sql database where i store products, and then i send it to a api, which my android application uses to parse their info and present it in a listview when pressing a button.</p>
<p>What i want to know is, can i change a sql database table from the android application using the API? If not, what are my best o... | I have a sql database where i store products, and then i send it to a api, which my android application uses to parse their info and present it in a listview when pressing a button. What i want to know is, can i change a sql database table from the android application using the API? If not, what are my best options to ... | java|android|mysql|api | 0 | 2022-07-05T10:25:51.773Z | 2,022 | 7 | 10 | 1 | 42 | 0 | 326 | 94 | 4 | 0 | false | true | false | false | false | false | zero |
72,867,883 | Not able to run emulator in Android Studio due to error | <p><strong>I get the following error whenever I try to run the emulator in android studio.
I am using the latest version of android studio.</strong></p>
<p>WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator. init: Could not find wglGetExtensionsStri... | I get the following error whenever I try to run the emulator in android studio. I am using the latest version of android studio. WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator. init: Could not find wglGetExtensionsString! arbFound 0 listarbNull/... | android|flutter|android-studio|android-emulator|emulation | 0 | 2022-07-05T10:28:48.927Z | 2,022 | 7 | 10 | 1 | 46 | 0 | 2,147 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
72,867,944 | Unable to add code to a new thread and return string | <p>I have a method called receive data which can successfully log onto MySQL database and retrieve data from database, however i am unable to return that data out of the method to display in text view on android app. When i have it running in a thread which android forces me to do i cant return a value as string and wh... | I have a method called receive data which can successfully log onto MySQL database and retrieve data from database, however i am unable to return that data out of the method to display in text view on android app. When i have it running in a thread which android forces me to do i cant return a value as string and when ... | java|android|mysql | 1 | 2022-07-05T10:32:40.220Z | 2,022 | 7 | 10 | 1 | 28 | 1 | 862 | 52 | 3 | 1 | true | false | false | false | false | false | low |
72,867,945 | when I run my project the buttoms situation changes | <p>todays when i make a project and design it all of the situasion of buttoms in android studio is OK but when I run it the buttoms situation changes can any one help me?</p> | todays when i make a project and design it all of the situasion of buttoms in android studio is OK but when I run it the buttoms situation changes can any one help me? | android-studio|kotlin | 0 | 2022-07-05T10:32:42.233Z | 2,022 | 7 | 10 | 1 | 20 | 0 | 167 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
72,867,952 | I have found a way o extract source files from android resource.arsc but I dont know how to archive them back to arsc | <p><a href="https://i.stack.imgur.com/wGd9z.jpg" rel="nofollow noreferrer">resource.arsc in Android application</a></p>
<p>I wanted to edit a certain android resource files so there is a site that can extract all files in the resource.arsc but it cannot archive them back to arsc file format.. how can I archive these fi... | resource.arsc in Android application I wanted to edit a certain android resource files so there is a site that can extract all files in the resource.arsc but it cannot archive them back to arsc file format.. how can I archive these files back to arsc file | android|android-studio|apk|android-resources|apktool | 0 | 2022-07-05T10:33:28.997Z | 2,022 | 7 | 10 | 1 | 25 | 0 | 255 | 117 | 5 | 0 | false | true | false | false | false | false | zero |
72,867,953 | How to set default value for string in attributes at declare-styleable | <p>I'm setting some attributes with declare-styleable to make a custom view. One of this attributes is a string. What I want to do, is that if I dont set a value in XML for thiks attribute, give it a default value but I don't know how to do it.</p>
<pre><code><?xml version="1.0" encoding ="utf-8"... | I'm setting some attributes with declare-styleable to make a custom view. One of this attributes is a string. What I want to do, is that if I dont set a value in XML for thiks attribute, give it a default value but I don't know how to do it. [CODE] In my custom view Im doing this: [CODE] In some XML: [CODE] | android|kotlin|android-custom-view | 0 | 2022-07-05T10:33:36.267Z | 2,022 | 7 | 10 | 1 | 27 | 1 | 308 | 70 | 3 | 3 | true | false | false | false | false | false | zero |
72,867,993 | I want it not to revert to previous fragment | <p>I'm new to android, I want it not to return to fragment1 when I press the back button after switching from Fragment1 to fragment2. Instead, when I press the back button 2 times, the application should exit completely. How can I do that?</p>
<p>my first 2 fragment blocks are like this</p>
<pre><code>
ImageVie... | I'm new to android, I want it not to return to fragment1 when I press the back button after switching from Fragment1 to fragment2. Instead, when I press the back button 2 times, the application should exit completely. How can I do that? my first 2 fragment blocks are like this [CODE] | java|android | 1 | 2022-07-05T10:36:55.957Z | 2,022 | 7 | 10 | 1 | 26 | 0 | 284 | 44 | 2 | 1 | true | true | false | false | false | false | low |
72,868,171 | Fcm Invalid Registration on Ionic-vue Android | <p>I'm using ionic-vue and fcm is working fine on ios. But on android returned token cannot using to send the notification. It always says
"{"multicast_id":62279612766420011,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InvalidRegist... | I'm using ionic-vue and fcm is working fine on ios. But on android returned token cannot using to send the notification. It always says "{"multicast_id":62279612766420011,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InvalidRegistrat... | android|firebase|cordova-plugin-fcm|capacitor-plugin|ionic-vue | 0 | 2022-07-05T10:50:43.257Z | 2,022 | 7 | 10 | 1 | 32 | 0 | 397 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
72,868,201 | I am building an android app using flutter code and i am facing this issue | <p>I am deploying an app using flutter code in android studio everything is working perfect but i am new to flutter and i am facing this issue.
I have purchased this app code from some third party.
can you help me with this?
error: The argument type 'MaterialApp Function()' can't be assigned to the parameter type 'Widg... | I am deploying an app using flutter code in android studio everything is working perfect but i am new to flutter and i am facing this issue. I have purchased this app code from some third party. can you help me with this? error: The argument type 'MaterialApp Function()' can't be assigned to the parameter type 'Widget ... | flutter|android-studio|android-appwidget|android-app-bundle|android-developer-api | 0 | 2022-07-05T10:52:30.787Z | 2,022 | 7 | 10 | 1 | 18 | 0 | 421 | 74 | 5 | 1 | true | true | false | false | false | false | zero |
72,868,208 | Bluetooth connection with arduino uno | <p>I'm trying to build an app that connects to an arduino board using bluetooth. I have managed to turn on bluetooth, get paired devices but the function for connecting to the device using mmsocket.connect() is not working on the client side.I'm trying to make it work without creating a socket on the server side if its... | I'm trying to build an app that connects to an arduino board using bluetooth. I have managed to turn on bluetooth, get paired devices but the function for connecting to the device using mmsocket.connect() is not working on the client side.I'm trying to make it work without creating a socket on the server side if its po... | java|android-studio|bluetooth | 0 | 2022-07-05T10:53:18.753Z | 2,022 | 7 | 10 | 1 | 24 | 0 | 421 | 37 | 3 | 0 | false | true | false | false | false | false | zero |
72,868,212 | Android Compose How to scale and rotate an image by dragging border? | <p>I'm trying to make a photo editor that can be scale, rotate and drag to any place.<br />
But I want to control the <code>scale</code> and <code>rotate</code> behavior via the <code>corner rotate icon</code>
not by the image itself.<br />
I know it must to be using <code>pointerInput</code> from the modifier, but not... | I'm trying to make a photo editor that can be scale, rotate and drag to any place. But I want to control the scale and rotate behavior via the corner rotate icon not by the image itself. I know it must to be using pointerInput from the modifier, but not sure how to implement it. Can anybody help with that and give some... | android|kotlin|android-jetpack-compose|android-jetpack|translate-animation | 1 | 2022-07-05T10:53:32.673Z | 2,022 | 7 | 10 | 1 | 163 | 0 | 329 | 68 | 5 | 0 | false | true | false | false | false | false | low |
72,868,325 | why android compiler generate different MethodRef for same code | <p>i happened to encounter some wired compiled bytecode which i believe both sharing the same source code like below</p>
<pre class="lang-java prettyprint-override"><code>class SomeWebView extends WebView {
SomeWebView() {
this.getSettings();
}
}
</code></pre>
<p>version 1 (above code write in app a)... | i happened to encounter some wired compiled bytecode which i believe both sharing the same source code like below [CODE] version 1 (above code write in app a) emits code like: [CODE] version 2 (with same code copied to app b) emits code like: [CODE] although this changes nothing in correctness(?), but i want to know wh... | android|javac|android-r8|android-d8|devirtualization | 0 | 2022-07-05T11:02:03.957Z | 2,022 | 7 | 11 | 1 | 12 | 0 | 482 | 63 | 5 | 3 | true | true | false | false | false | false | zero |
72,868,331 | React Native TextInput Not trigger lodash debounce on android devices. IOS working | <p>I have an issue with React Native Textinput with lodash debounce. Here is my code,</p>
<pre><code>const SearchBar: React.FC<SearchBarComponentType> = ({onHandleSearch}) => {
const theme = useContext(ThemeContext);
const styles = getStyles(theme);
const debounceFn = useCallback(_debounce(handleDebounc... | I have an issue with React Native Textinput with lodash debounce. Here is my code, [CODE] This component works well on IOS devices but, on Android, debounce function does not trigger. Does anyone have an idea? | android|typescript|react-native|lodash|debounce | 0 | 2022-07-05T11:02:34.683Z | 2,022 | 7 | 11 | 1 | 48 | 0 | 209 | 82 | 5 | 1 | true | true | false | false | false | false | zero |
72,868,338 | How to track users from and retrieve user information without using cookies? | <p>I have a web application that sends a SMS link and when the user clicks on the link it is redirected to another webpage. When the user lands on another webpage somehow my cookies are getting lost. The cookies are used to retrieve users email address and pre populate it.
I found several possible reasons.</p>
<ol>
<li... | I have a web application that sends a SMS link and when the user clicks on the link it is redirected to another webpage. When the user lands on another webpage somehow my cookies are getting lost. The cookies are used to retrieve users email address and pre populate it. I found several possible reasons. Found different... | android|ios|web|cookies|httpcookie | 0 | 2022-07-05T11:03:01.027Z | 2,022 | 7 | 11 | 1 | 20 | 0 | 588 | 76 | 5 | 0 | false | true | false | false | false | false | zero |
72,868,363 | Renderbox was not laid out: Horizontal ListView inside Column | <p>I want to achive this layout:</p>
<p><em>ListView (vertical) -> ListView (horizontal) -> Card item (with fixed size)</em></p>
<p>But I can't understand why show renderbox error.</p>
<p>Main ListView:</p>
<pre><code>return ListView(
children: [
...
HorizontalList()
...
],
);
</code></pre>
<p>Horizonta... | I want to achive this layout: ListView (vertical) -> ListView (horizontal) -> Card item (with fixed size) But I can't understand why show renderbox error. Main ListView: [CODE] Horizontal ListView: [CODE] | android|flutter|flutter-layout|flutter-listview|flutter-column | 0 | 2022-07-05T11:05:24.527Z | 2,022 | 7 | 11 | 1 | 30 | 1 | 204 | 61 | 5 | 2 | true | false | false | false | false | false | zero |
72,868,386 | Google Play Instant with commont project structure | <p>I have an application that is designed in the usual way: a base module, several feature modules
(that depends on the base module) and the app module (that depends on the feature modules).</p>
<p>I want to make a Google Play Instant dynamic feature in my app (let's call it dynamic_feature). I have seen that to do tha... | I have an application that is designed in the usual way: a base module, several feature modules (that depends on the base module) and the app module (that depends on the feature modules). I want to make a Google Play Instant dynamic feature in my app (let's call it dynamic_feature). I have seen that to do that the dyna... | android|android-instant-apps|android-architecture | 0 | 2022-07-05T11:07:05.887Z | 2,022 | 7 | 11 | 1 | 32 | 0 | 838 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,868,414 | How to reject an incoming call on my mobile number automatically | <p>I am developing an android app using java and i need a way to reject an incoming call on my mobile number automatically. I have tried multiple ways available on stackoverflow to implement it like by using telecom manager etc but not able to achieve the solution.
The methods were too old, is there anything new availa... | I am developing an android app using java and i need a way to reject an incoming call on my mobile number automatically. I have tried multiple ways available on stackoverflow to implement it like by using telecom manager etc but not able to achieve the solution. The methods were too old, is there anything new available... | java|android | 0 | 2022-07-05T11:09:09.597Z | 2,022 | 7 | 11 | 1 | 20 | 0 | 336 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
72,868,457 | Android ABI's: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader | <p>When testing my android app agaisnt a few different phones i've ran into the following error:</p>
<pre><code>Fatal Exception: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/base.apk"],nativeLibraryDirectories= [/lib/arm, /system/lib, /product/lib]]] couldn't find &quo... | When testing my android app agaisnt a few different phones i've ran into the following error: [CODE] After reading a similar post about this: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader And looking at the android docs on ABIs: https://developer.android.com/ndk/guides/abis#gradle I'm a little confused ... | android|android-ndk|abi | 0 | 2022-07-05T11:12:29.397Z | 2,022 | 7 | 11 | 1 | 66 | 0 | 562 | 76 | 3 | 3 | true | true | false | false | false | false | zero |
72,868,466 | Trouble Getting Custom Android App Actions To Work | <p>I have been trying for some time to create a custom app action. I was able to get a successful response with the App Actions Tool and then proceeded to upload the app to the PlayStore. After downloading the app, I noticed that my custom queries did not work. From here I contacted the Google team and was informed tha... | I have been trying for some time to create a custom app action. I was able to get a successful response with the App Actions Tool and then proceeded to upload the app to the PlayStore. After downloading the app, I noticed that my custom queries did not work. From here I contacted the Google team and was informed that m... | android|app-actions | 1 | 2022-07-05T11:12:56.187Z | 2,022 | 7 | 11 | 1 | 41 | 0 | 620 | 50 | 2 | 3 | true | true | false | false | false | false | low |
72,868,491 | No SDK signal found for Facebook bidding through Google Ad Manager | <p>I'm trying to ad facebook as a mediation partner with GAM (Google Ad Manager) and followed the doc from <a href="https://developers.facebook.com/docs/audience-network/setting-up/platform-setup/android/add-sdk" rel="nofollow noreferrer">FB</a> and <a href="https://developers.google.com/admob/android/mediation/meta" r... | I'm trying to ad facebook as a mediation partner with GAM (Google Ad Manager) and followed the doc from FB and GAM . But when I try to test this using Ad Inspector, I'm getting that No sdk signal found error. I know this process includes lots of steps/changes but please let me know if you've faced this or any clue what... | android|google-ad-manager|mobile-ad-mediation|facebook-ads | 0 | 2022-07-05T11:15:08.107Z | 2,022 | 7 | 11 | 1 | 34 | 0 | 341 | 66 | 4 | 0 | false | true | false | false | false | false | zero |
72,868,526 | What can I do so that no matter how long the text all will have same starting alignment? | <p>I do a stateless widget category_card which is going to use four times.</p>
<pre><code>import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
class CategoryCard extends StatelessWidget {
final String svgSrc;
final String title;
final VoidCallback press;
const CategoryCard(
{Key... | I do a stateless widget category_card which is going to use four times. [CODE] My output is alright, but the text part for long text such as medical condition the word is not align with the shorter word such as allergy. What can I do so that no matter how long the text all will have same starting alignment? enter image... | android|ios|flutter|dart|mobile | 0 | 2022-07-05T11:18:07.580Z | 2,022 | 7 | 11 | 1 | 36 | 1 | 337 | 88 | 5 | 1 | true | false | false | false | false | false | zero |
72,868,528 | Can we programmatically dismiss the screen cast message in android? When MediaProjection.getScreenCaptureIntent() is called? | <p>Is it possible to programmatically dismiss the screen sharing prompt message that pops up when we call MediaProjection.getScreenCaptureIntent()?</p> | Is it possible to programmatically dismiss the screen sharing prompt message that pops up when we call MediaProjection.getScreenCaptureIntent()? | android|android-mediaprojection|screencast|mediaprojectionmanager | 0 | 2022-07-05T11:18:10.183Z | 2,022 | 7 | 11 | 1 | 24 | 1 | 144 | 124 | 4 | 0 | false | false | false | false | false | false | zero |
72,868,541 | My Android app text size is changing if user decrease or increase size from mobile setting | <p>I have website using Webview I created Android application. I want the <strong>text size same as website in android application.</strong> And text size should not change if user increase or decrease text size from mobile setting.</p> | I have website using Webview I created Android application. I want the text size same as website in android application. And text size should not change if user increase or decrease text size from mobile setting. | android|android-webview|android-debug | 0 | 2022-07-05T11:18:41.080Z | 2,022 | 7 | 11 | 1 | 32 | 2 | 212 | 90 | 3 | 0 | false | false | false | false | false | false | zero |
72,868,699 | The Y coordinate is returning an inverted value | <p>I'm trying to get <strong>X</strong> and <strong>Y</strong> coordinates when I call <code>onTouchListener()</code> method.</p>
<p>In my app, I've a <code>GLSuerfaceView</code> called <code>renderView</code> contains <code>mainBitmap</code>, I'm tying to move a drawn object in <code>renderView</code> using finger :</... | I'm trying to get X and Y coordinates when I call onTouchListener() method. In my app, I've a GLSuerfaceView called renderView contains mainBitmap , I'm tying to move a drawn object in renderView using finger : [CODE] The projectedX is returning the correct value, but projectedY is returning an inverted value. For exam... | java|android|coordinates | 0 | 2022-07-05T11:29:50.210Z | 2,022 | 7 | 11 | 1 | 25 | 0 | 416 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
72,868,702 | Run specific system webview on android emulator (Mac) | <p>I need to test a few specific WebView versions that are apparently throwing errors for my website viewers. I have the emulator up and working, but I'm having trouble figuring out how to install different WebView versions.</p>
<p>I found two questions on here about how to do it, but they're both from about 7 years ag... | I need to test a few specific WebView versions that are apparently throwing errors for my website viewers. I have the emulator up and working, but I'm having trouble figuring out how to install different WebView versions. I found two questions on here about how to do it, but they're both from about 7 years ago: for and... | webview|android-emulator | 0 | 2022-07-05T11:29:57.430Z | 2,022 | 7 | 11 | 1 | 74 | 0 | 2,883 | 53 | 2 | 4 | true | true | false | false | false | false | zero |
72,868,723 | How to implement foreground service on android version less than android Oreo(O) using Kotlin | <p>I am collecting raw sensor data (HeartRate, accelerometer, gyroscope, etc.) with Samsung Watch 4 which has Android version 6. I need to run my data collection application continuously in the background. However, it seems the watch OS kills the application after some time. So I need to implement a <strong>foreground ... | I am collecting raw sensor data (HeartRate, accelerometer, gyroscope, etc.) with Samsung Watch 4 which has Android version 6. I need to run my data collection application continuously in the background. However, it seems the watch OS kills the application after some time. So I need to implement a foreground service to ... | android|kotlin|wear-os|foreground-service|background-foreground | 2 | 2022-07-05T11:31:04.727Z | 2,022 | 7 | 11 | 1 | 55 | 0 | 539 | 93 | 5 | 0 | false | true | false | false | false | false | low |
72,868,844 | Change timeout for runOnUiThread(new Runnable() | <p>I would like to make the change timeout for runOnUiThread(new Runnable()) wait longer. After 14 seconds I get the message "Connection failed". I would like it to wait at least 30 seconds before the message appears.</p>
<pre><code>client.newCall(request).enqueue(new Callback() {
@Override
pu... | I would like to make the change timeout for runOnUiThread(new Runnable()) wait longer. After 14 seconds I get the message "Connection failed". I would like it to wait at least 30 seconds before the message appears. [CODE] | java|android | 0 | 2022-07-05T11:41:19.613Z | 2,022 | 7 | 11 | 1 | 29 | 0 | 231 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
72,868,867 | White space is coming on top of my activity Android | <p>I am using fragments in my activity and loading web view inside a fragment. For login I am using oauth2 and opening URL in web view in a dialog fragment on top of previous fragment. After successful signing when I am coming back to previous activity and closing the dialog and moving user to next screen unnecessary w... | I am using fragments in my activity and loading web view inside a fragment. For login I am using oauth2 and opening URL in web view in a dialog fragment on top of previous fragment. After successful signing when I am coming back to previous activity and closing the dialog and moving user to next screen unnecessary whit... | android|android-studio | 1 | 2022-07-05T11:43:44.353Z | 2,022 | 7 | 11 | 1 | 35 | 0 | 564 | 51 | 2 | 1 | true | true | false | false | false | false | low |
72,869,067 | How can an image within a grid in xamarin.forms be centered | <p>I'm developing a Xamarin. Form mobile apps and trying to center and image above 2 buttons, how can I center and image in a grid XAML tag, see XAML code below in which I'm using, and having difficulty place it in the center of the mobile app screen.</p>
<pre><code><?xml version="1.0" encoding="utf-8... | I'm developing a Xamarin. Form mobile apps and trying to center and image above 2 buttons, how can I center and image in a grid XAML tag, see XAML code below in which I'm using, and having difficulty place it in the center of the mobile app screen. [CODE] | xaml|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-07-05T11:59:14Z | -1 | -1 | -1 | -1 | 70 | 1 | 255 | 59 | 5 | 1 | true | false | false | false | false | false | zero |
72,869,088 | How to add a dismiss on a listener argument in a AlertDialog | <p>I'm doing a method to create a custom AlertDialog in which I can call this method passing text, and listener to open a dialog in everywhere.</p>
<p>My problem is that when I'm use it, I need to call a dismiss in every button of the custom view, but when I call this method the system no need to know anything about th... | I'm doing a method to create a custom AlertDialog in which I can call this method passing text, and listener to open a dialog in everywhere. My problem is that when I'm use it, I need to call a dismiss in every button of the custom view, but when I call this method the system no need to know anything about the dialog. ... | android|kotlin|android-alertdialog|onclicklistener | 0 | 2022-07-05T12:00:10.270Z | 2,022 | 7 | 12 | 1 | 63 | 1 | 544 | 60 | 4 | 2 | true | false | false | false | false | false | zero |
72,869,111 | In My Webview Upload Image Button Not Working But In Browser It's Working | <p>In My Webview Upload Image Button Not Working But In Browser It's Working .Using WordPress file upload not working using flutter.rest all working fine</p>
<p>used all permissions</p>
<pre><code><uses-permission android:name="android.permission.INTERNET" />
<uses-permission
android:name="andr... | In My Webview Upload Image Button Not Working But In Browser It's Working .Using WordPress file upload not working using flutter.rest all working fine used all permissions [CODE] Do i need add something in main dart file | android|flutter|performance|android-studio|woocommerce | 0 | 2022-07-05T12:01:29.967Z | 2,022 | 7 | 12 | 1 | 42 | 0 | 220 | 73 | 5 | 1 | true | true | false | false | false | false | zero |
72,869,122 | Saving some data in Kotlin fragments | <p>I have 2 fragments, first(start_fragment) should shows when app starts and have 2 buttons, 1 which close app(declineButton), and second which hide this fragment and show main fragment(webview_fragment). If user press agreeButton, next time app will starts already in main fragment(webview_fragment). How could i save ... | I have 2 fragments, first(start_fragment) should shows when app starts and have 2 buttons, 1 which close app(declineButton), and second which hide this fragment and show main fragment(webview_fragment). If user press agreeButton, next time app will starts already in main fragment(webview_fragment). How could i save tha... | android|kotlin|android-fragments | 0 | 2022-07-05T12:02:35.257Z | 2,022 | 7 | 12 | 1 | 27 | 1 | 532 | 36 | 3 | 2 | true | false | false | false | false | false | zero |
72,869,124 | Not able to get user's profile picture of Whatsapp from mobile Notification using NotificationListnerService | <p>Hi I am trying to get user's profile photo of WhatsApp from NotificationListnerService, But it gives ClassCastException error if I am casing EXTRA_LARGE_ICON with bitmap. So is it possible to get large icon from notification ?</p>
<pre><code>String ticker ="";
if(sbn.getNotification().tickerText !=... | Hi I am trying to get user's profile photo of WhatsApp from NotificationListnerService, But it gives ClassCastException error if I am casing EXTRA_LARGE_ICON with bitmap. So is it possible to get large icon from notification ? [CODE] If I used sbn.getNotification().largeIcon I will get large icon in below OS 10, but In... | android|notifications | 3 | 2022-07-05T12:02:41.923Z | 2,022 | 7 | 12 | 1 | 42 | 0 | 350 | 108 | 2 | 1 | true | true | false | false | false | false | low |
72,869,237 | IntelliJ IDEA memory consumption | <p>Planning on getting an 8gb ram laptop, at least 256gb ssd, with core i5(at least 8th gen) with financial management, I have seen post of some people saying 8gb ram is not enough to run <em>intelliJ IDEA</em>, some even say 16gb is just manageable and as I only intend to run just the ide before moving to android stud... | Planning on getting an 8gb ram laptop, at least 256gb ssd, with core i5(at least 8th gen) with financial management, I have seen post of some people saying 8gb ram is not enough to run intelliJ IDEA , some even say 16gb is just manageable and as I only intend to run just the ide before moving to android studio for buil... | performance|android-studio|intellij-idea|ram|solid-state-drive | 0 | 2022-07-05T12:12:14.783Z | 2,022 | 7 | 12 | 1 | 76 | 0 | 1,019 | 32 | 5 | 0 | false | true | false | false | false | false | zero |
72,869,241 | How to show highlight in LineChart only when chart in press state or drag state? | <p>I need to repeat similar behavior to Google Fit charts. When chart is pressed or dragging - we show highlighter on chart. Right after finger don't touch chart - remove highlighter. I found "onTap" variable for tap on chart - but it's work only when we tap and then remove finger from screen. But i need to s... | I need to repeat similar behavior to Google Fit charts. When chart is pressed or dragging - we show highlighter on chart. Right after finger don't touch chart - remove highlighter. I found "onTap" variable for tap on chart - but it's work only when we tap and then remove finger from screen. But i need to show... | mpandroidchart | 1 | 2022-07-05T12:12:25.427Z | 2,022 | 7 | 12 | 1 | 123 | 1 | 365 | 80 | 1 | 0 | false | false | false | false | false | false | low |
72,869,300 | How to create a List from data in a SQL database using java? | <p>I am struggling to find an anwser to this question : how do I create a List with data from a SQL database in Java ? (I am using Android Studio)</p>
<p>I need to create :</p>
<ul>
<li><p>lists for dropdown menus and autoCompleteTextView. For these, I need all the values of a specific column, not the whole line ("... | I am struggling to find an anwser to this question : how do I create a List with data from a SQL database in Java ? (I am using Android Studio) I need to create : lists for dropdown menus and autoCompleteTextView. For these, I need all the values of a specific column, not the whole line ("what are the different br... | java|android|sql | 0 | 2022-07-05T12:17:40.897Z | 2,022 | 7 | 12 | 1 | 56 | 0 | 2,166 | 60 | 3 | 5 | true | true | false | false | false | false | zero |
72,869,338 | Is it allowed to put ActivityContext/ApplicationContext in a variable? | <p>Please tell me is it allowed to put <strong>ActivityContext/ApplicationContext</strong> in a variable as shown in the code below?</p>
<pre><code>class MainActivity : Activity() {
private val context = applicationContext
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInst... | Please tell me is it allowed to put ActivityContext/ApplicationContext in a variable as shown in the code below? [CODE] As you know in Android, the roots of the garbage collector are: static variables and active threads. Case 1. We put applicationContext in the context variable. [CODE] Will there be memory leak? I don'... | android|kotlin|memory-leaks|static | 0 | 2022-07-05T12:20:19.320Z | 2,022 | 7 | 12 | 1 | 46 | 1 | 864 | 70 | 4 | 4 | true | false | false | false | false | false | zero |
72,869,363 | Kotlin, embed root_preferences in existing fragment | <p>Kotlin, I want to embed root_preferences.xml in a fragment with existing content. I navigate using <navigation..> I want to embed the preferences like this:</p>
<pre><code>// ... existing items
<include
android:id="@+id/summaryPrefs"
layout="@layout/fragment_container_settings... | Kotlin, I want to embed root_preferences.xml in a fragment with existing content. I navigate using <navigation..> I want to embed the preferences like this: [CODE] What I did Create new Settings Fragment. This does NOT create a layout file, but an XML file at res/xml/root_preferences.xml, make no changes to code. Creat... | kotlin|android-jetpack | 0 | 2022-07-05T12:22:49.067Z | 2,022 | 7 | 12 | 1 | 30 | 1 | 930 | 51 | 2 | 2 | true | false | false | false | false | false | zero |
72,869,420 | Cannot access to lifecycle owner in project Android Studio | <p>I just started learning android studio and I just can't get out of this problem... If anybody can help I would appreciate :)</p>
<p>The error I get in main activity:
Cannot access 'androidx.lifecycle.LifecycleOwner' which is a supertype of 'com.<em>my package</em>.base.MainActivity'.
Check your module classpath for ... | I just started learning android studio and I just can't get out of this problem... If anybody can help I would appreciate :) The error I get in main activity: Cannot access 'androidx.lifecycle.LifecycleOwner' which is a supertype of 'com. my package .base.MainActivity'. Check your module classpath for missing or confli... | android|android-lifecycle | 0 | 2022-07-05T12:25:59.673Z | 2,022 | 7 | 12 | 1 | 93 | 0 | 534 | 58 | 2 | 0 | false | true | false | false | false | false | zero |
72,869,445 | Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)' after updating java version to 11 | <p>I am not able make build after changing jdk to jdk11.0.15.1.</p>
<p>It gives following error:</p>
<blockquote>
<p>Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.</p>
</blockquote>
<p>When I check in cmd with command "java -version" it says java 11 is current version and when I comm... | I am not able make build after changing jdk to jdk11.0.15.1. It gives following error: Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'. When I check in cmd with command "java -version" it says java 11 is current version and when I command "javac -version" it gives javac 11 as... | java|android | 0 | 2022-07-05T12:28:26.143Z | 2,022 | 7 | 12 | 1 | 58 | 0 | 337 | 105 | 2 | 0 | false | true | false | false | false | false | zero |
72,869,730 | Error :org.gradle.api.GradleException: Compilation error. See log for more details | <p>I am using jetpack with navigation and I implemented dependency which was in google dev's website
and I am getting error when I lunch the app please have a look and tell me what is wrong.</p>
<p>my Gradle:</p>
<pre><code>plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
</code></pre>
<p>}</p>
... | I am using jetpack with navigation and I implemented dependency which was in google dev's website and I am getting error when I lunch the app please have a look and tell me what is wrong. my Gradle: [CODE] } android { compileSdk 32 [CODE] } dependencies { [CODE] // navigation [CODE] } Error: Caused by: org.gradle.api.G... | java|android|kotlin | 2 | 2022-07-05T12:48:43.707Z | 2,022 | 7 | 12 | 1 | 355 | 1 | 379 | 82 | 3 | 4 | true | false | false | false | false | false | low |
72,869,764 | How to run SQL script in React Native app on SQLite database? | <p>I want to combine data from two applications. One is written in C# Windows Forms and is a database, the other that accepts data is written in React Native. The Forms application runs on Firebird, while the React Native application runs on SQLite.</p>
<p>I generated an SQL file from the WinForms application with data... | I want to combine data from two applications. One is written in C# Windows Forms and is a database, the other that accepts data is written in React Native. The Forms application runs on Firebird, while the React Native application runs on SQLite. I generated an SQL file from the WinForms application with data to be imp... | reactjs|react-native|sqlite|android-sqlite | 1 | 2022-07-05T12:52:13.983Z | 2,022 | 7 | 12 | 1 | 65 | 0 | 524 | 61 | 4 | 0 | false | true | false | false | false | false | low |
72,869,821 | Notification does not show on lock screen on Xiomi devices | <p>I'm using <a href="https://www.npmjs.com/package/react-native-push-notification" rel="nofollow noreferrer">push notifications by zo0r</a>. Notifications are working fine but neither they show up on lockscreen nor they wake up mobile even though i've set priority to high and visibility to public. any solution?</p>
<p... | I'm using push notifications by zo0r . Notifications are working fine but neither they show up on lockscreen nor they wake up mobile even though i've set priority to high and visibility to public. any solution? [CODE] | android|firebase|react-native|firebase-cloud-messaging|android-notifications | 0 | 2022-07-05T12:56:27.173Z | 2,022 | 7 | 12 | 1 | 153 | 1 | 217 | 58 | 5 | 1 | true | false | false | false | false | false | zero |
72,869,832 | how to remove the third permission option | <p>I've already googled this question but haven't found anything yet, so I need your help. How to remove the third option of permission to the memory, because if the user accidentally clicks on it, it will be necessary to go to the settings and allow the permission to the program manually, and since in general 30-40% o... | I've already googled this question but haven't found anything yet, so I need your help. How to remove the third option of permission to the memory, because if the user accidentally clicks on it, it will be necessary to go to the settings and allow the permission to the program manually, and since in general 30-40% of u... | java|android|android-permissions | -1 | 2022-07-05T12:57:04.200Z | 2,022 | 7 | 12 | 1 | 38 | 1 | 391 | 41 | 3 | 0 | false | false | false | false | false | true | negative |
72,869,845 | splash screen doesn't load on real device - android 12 flutter | <p>I'm stuck on this issue for one week now. I'm creating a flutter application, everything works perfectly on ios and android versions below 12.
Whenever I try to run apk on real android device, version 12, the splash screen never shows. I followed different tutorials, I tried the flutter native splash as below:</p>
<... | I'm stuck on this issue for one week now. I'm creating a flutter application, everything works perfectly on ios and android versions below 12. Whenever I try to run apk on real android device, version 12, the splash screen never shows. I followed different tutorials, I tried the flutter native splash as below: [CODE] u... | android|flutter|mobile | 0 | 2022-07-05T12:57:53.490Z | 2,022 | 7 | 12 | 1 | 111 | 1 | 517 | 62 | 3 | 1 | true | false | false | false | false | false | zero |
72,869,871 | Get File from Coil | <p>In my app I've to use File from images, with the greatest quality, that I get from urls. For that I use <code>Glide</code> :</p>
<pre class="lang-kotlin prettyprint-override"><code>GlideApp
.with(App.context)
.asFile()
.format(DecodeFormat.PREFER_ARGB_8888)
.load(url)
.submit()
.get()
</code>... | In my app I've to use File from images, with the greatest quality, that I get from urls. For that I use Glide : [CODE] But for some reasons, I will use Coil instead of Glide . So I have to update my code, for now I do : [CODE] I'm not sure about the quality of this code, so anyone has any suggestion to accomplish my go... | android|file|bitmap|android-glide|coil | 0 | 2022-07-05T12:59:18.530Z | 2,022 | 7 | 12 | 1 | 54 | 0 | 324 | 18 | 5 | 2 | true | true | false | false | false | false | zero |
72,869,987 | Jetpack Compose Button padding outside of border: why? | <p>Using Button, I want to make its diminensions such that its border hugs its width, with a minimum width and height of 40dp. In the sample below, I like the looks of the BigNumber preview. It does not have any outside horizontal padding. The Default preview does have padding outside the border. How do I fix this with... | Using Button, I want to make its diminensions such that its border hugs its width, with a minimum width and height of 40dp. In the sample below, I like the looks of the BigNumber preview. It does not have any outside horizontal padding. The Default preview does have padding outside the border. How do I fix this without... | android|android-jetpack-compose | 0 | 2022-07-05T13:07:03.940Z | 2,022 | 7 | 13 | 1 | 188 | 1 | 376 | 54 | 2 | 1 | true | false | false | false | false | false | zero |
72,870,099 | Crash when using Handler/addView in Android Studio | <p>so basically i have 2 problems.. 1st problem is the handler and runnable..
i have an image and i want to make it move..
so i wrote this</p>
<pre class="lang-java prettyprint-override"><code>ImageView a = findViewById(R.id.os);
final Handler handler = new Handler();
final Runnable run = new Runnable() {
... | so basically i have 2 problems.. 1st problem is the handler and runnable.. i have an image and i want to make it move.. so i wrote this [CODE] when i run it, the app crashes...my layout is ConstraintLayout. and i wrote this code in a method "onClick" so after clicking the button the image starts moving. .. 2n... | java|android-studio|android-view|android-constraintlayout|android-handler | 0 | 2022-07-05T13:15:25.290Z | 2,022 | 7 | 13 | 1 | 33 | 0 | 985 | 50 | 5 | 2 | true | true | false | false | false | false | zero |
72,870,129 | On Android 12L, my app won't resize properly (missing resize controls at the top) | <p>I have an app that's designed to run on Android 12 (<code>compileSdk</code>=32, <code>targetSdk</code>=32, <code>minSdk</code>=26). I've set <code>android:resizeableActivity="true"</code> on both the App, and all the Activities in the manifest. And it behaves perfectly fine on older Tablets (tested with AP... | I have an app that's designed to run on Android 12 ( compileSdk =32, targetSdk =32, minSdk =26). I've set android:resizeableActivity="true" on both the App, and all the Activities in the manifest. And it behaves perfectly fine on older Tablets (tested with API=26), and phones (testes on all APIs between 26 an... | android|android-12l | -1 | 2022-07-05T13:17:17.530Z | 2,022 | 7 | 13 | 1 | 79 | 1 | 924 | 81 | 2 | 0 | false | false | false | false | false | true | negative |
72,870,176 | Try to install gtk-broadway on Android Termux | <p>I have tried to install gtk-broadway on termux, but I have no idea if it get.</p>
<p>I thought about a own buil of gtk-broadway, but this not the easiest way</p> | I have tried to install gtk-broadway on termux, but I have no idea if it get. I thought about a own buil of gtk-broadway, but this not the easiest way | android|gtk|termux | 0 | 2022-07-05T13:20:30.337Z | 2,022 | 7 | 13 | 1 | 30 | 0 | 150 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
72,870,348 | Retrofit Android POST request with Header, Body, Path and Query | <p>I need to do a Retrofit POST request by Android Kotlin code and the format is as:</p>
<pre><code>[End Url]/api/customers/1/venues/55/abcfiles/sasfordownload?licenseid=01234567890&ispreproduction=true
</code></pre>
<p>Headers:</p>
<p>authorization -> Bearer someToken</p>
<p>Body:</p>
<p>{ "some_field"... | I need to do a Retrofit POST request by Android Kotlin code and the format is as: [CODE] Headers: authorization -> Bearer someToken Body: { "some_field" : {"55" : "29"}} -- Response: "Some String Value" POST request: [CODE] Retrofit Builder: [CODE] Retrofit API request: [CODE] Ge... | android|api|kotlin|retrofit2 | 0 | 2022-07-05T13:33:10.377Z | 2,022 | 7 | 13 | 1 | 114 | 1 | 576 | 63 | 4 | 4 | true | false | false | false | false | false | zero |
72,870,462 | API response time slow when running Android device on WIFI | <p>We are currently building a custom Android app running on a small Android device.
The app makes API calls to a Node server, running on an Azure App service.</p>
<p>When we connect the device with an ethernet cable, the response time is pretty quick (around 1 second - the server does a lot of processing) and also con... | We are currently building a custom Android app running on a small Android device. The app makes API calls to a Node server, running on an Azure App service. When we connect the device with an ethernet cable, the response time is pretty quick (around 1 second - the server does a lot of processing) and also consistent. H... | android|retrofit|android-wifi|response-time | 0 | 2022-07-05T13:40:58.873Z | 2,022 | 7 | 13 | 1 | 108 | 0 | 873 | 58 | 4 | 0 | false | true | false | false | false | false | zero |
72,870,586 | My android application rejected for using MANAGE_EXTERNAL_STORAGE permission. How to fix it? | <p>My app targetting API 30. My app is integrated with <code>com.github.barteksc:android-pdf-viewer:2.8.2</code> which uses InputStream & OutputStream to download & display file in pdfview.
Using <code>Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS)</code> to store downloaded file... | My app targetting API 30. My app is integrated with com.github.barteksc:android-pdf-viewer:2.8.2 which uses InputStream & OutputStream to download & display file in pdfview. Using Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS) to store downloaded files. I have included these permission i... | android|google-play|android-permissions | -1 | 2022-07-05T13:49:59.360Z | 2,022 | 7 | 13 | 1 | 66 | 1 | 633 | 92 | 3 | 1 | true | false | false | false | false | true | negative |
72,870,790 | Incorrect RectF On Canvas Created From Composable | <p>I'm trying to highlight a view by grabbing the <code>layoutCoordinate</code> from a <code>Box</code> using <code>.onGloballyPositioned</code>. I receive the following coordinates:</p>
<pre><code>val viewLeft = layoutCoordinates.boundsInWindow().left
val viewTop = layoutCoordinates.boundsInWindow().top
val viewRight ... | I'm trying to highlight a view by grabbing the layoutCoordinate from a Box using .onGloballyPositioned . I receive the following coordinates: [CODE] When I try to create a highlight with this code, it is always off by a bit: [CODE] This is the result that I am getting: Any idea what I may be doing incorrect? Thanks! | android|canvas|android-jetpack-compose | 2 | 2022-07-05T14:03:59.263Z | 2,022 | 7 | 14 | 1 | 31 | 1 | 317 | 49 | 3 | 2 | true | false | false | false | false | false | low |
72,870,871 | Set Fixed Orientation of Android tablet from Source Code in Android 11 | <p>Currently I am working on custom android project with Android 11.</p>
<p>In current scenario my android tablet is booting in landscape mode.</p>
<p>I want to set default orination as portrait mode.</p>
<p>I have set <strong>SF_PRIMARY_DISPLAY_ORIENTATION</strong> to 270 in BoardConfig.mk in the source code. Using th... | Currently I am working on custom android project with Android 11. In current scenario my android tablet is booting in landscape mode. I want to set default orination as portrait mode. I have set SF_PRIMARY_DISPLAY_ORIENTATION to 270 in BoardConfig.mk in the source code. Using this tablet is booting in portrait mode, Bu... | android|android-layout|android-source|android-framelayout | 0 | 2022-07-05T14:09:31.843Z | 2,022 | 7 | 14 | 1 | 52 | 0 | 396 | 70 | 4 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.