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,908,134 | Going through a class in my flutter course but unable to run this following code | <p>Im trying to get items from firestore to be shown in Listview on the app but getting "build function returned null.The offending widget is: StreamBuilder,Build functions must never return null". I just want the list 'post' from firstore shown in listview.</p>
<blockquote>
<p>a build function returned null.... | Im trying to get items from firestore to be shown in Listview on the app but getting "build function returned null.The offending widget is: StreamBuilder,Build functions must never return null". I just want the list 'post' from firstore shown in listview. a build function returned null. the offending widget i... | android|flutter|firebase|google-cloud-firestore|stream-builder | 0 | 2022-07-08T07:32:39.023Z | 2,022 | 7 | 7 | 4 | 32 | 1 | 437 | 80 | 5 | 1 | true | false | false | false | false | false | zero |
72,908,145 | Room update how to update only new filed is not null ,skip null new field | <p>there is a table :</p>
<pre><code>@Entity(tableName = "users")
data class UserEntity(
@PrimaryKey(autoGenerate = false) var id: String,
@ColumnInfo(name = "username") var name: String?,
var onlineShowOpen: Boolean?,
var summary:String?
)
</code></pre>
<p>,first I insert a data ,li... | there is a table : [CODE] ,first I insert a data ,like this UserEntity(id:"12",name:"123",onlineShowOpen:false,summary:"123") , then I want to use UserEntity(id:"12",name:"123",onlineShowOpen:true,summary:null) to update by [CODE] ,then I find the result is UserEntity(i... | android-room | 0 | 2022-07-08T07:33:24.773Z | 2,022 | 7 | 7 | 4 | 22 | 1 | 587 | 73 | 1 | 2 | true | false | false | false | false | false | zero |
72,908,184 | Using Base Adapter for gallery in HorizontalScrollView | <p>I'm a rookie developer working on a Quiz app but with some additional features such as rewards (collectibles). The idea is that after the user finishes a quiz, they get a card (a picture of the hero) as a reward and then they can check those in a sort of a gallery. But my problem is with the gallery itself.
The Gall... | I'm a rookie developer working on a Quiz app but with some additional features such as rewards (collectibles). The idea is that after the user finishes a quiz, they get a card (a picture of the hero) as a reward and then they can check those in a sort of a gallery. But my problem is with the gallery itself. The Gallery... | java|android|gallery|baseadapter | 0 | 2022-07-08T07:38:08.307Z | 2,022 | 7 | 7 | 4 | 26 | 1 | 1,396 | 54 | 4 | 2 | true | false | false | false | false | false | zero |
72,908,185 | Difference between BluetoothSocket.connect and actual bluetooth connection | <p>I am making an android app which connects the phone to the elm adapter using Bluetooth. the issue is that when the device is not connected (but paired) and I call socket.connect, the connection seems fine but when the device is connected through the phone settings app, the socket connection fails. Why is that and ho... | I am making an android app which connects the phone to the elm adapter using Bluetooth. the issue is that when the device is not connected (but paired) and I call socket.connect, the connection seems fine but when the device is connected through the phone settings app, the socket connection fails. Why is that and how i... | android|bluetooth | 0 | 2022-07-08T07:38:24.590Z | 2,022 | 7 | 7 | 4 | 15 | 0 | 394 | 74 | 2 | 1 | true | true | false | false | false | false | zero |
72,908,187 | Intent filter launches a second instance of application | <p>I'm trying to add file association on my Android application. For that, I added the intent-filters to propose my app for the file extension needed.
The AndroidManifest.xml looks as follow:</p>
<pre><code><application ...>
<activity android:configChanges="orientation|uiMode|screenLayout|screenSi... | I'm trying to add file association on my Android application. For that, I added the intent-filters to propose my app for the file extension needed. The AndroidManifest.xml looks as follow: [CODE] That work smoothly when the application is not running (i.e. the application is started with the intent that let me get the ... | android|intentfilter | 1 | 2022-07-08T07:38:43.860Z | 2,022 | 7 | 7 | 4 | 29 | 0 | 786 | 55 | 2 | 1 | true | true | false | false | false | false | low |
72,908,194 | How to get user purchases from Play Store in Flutter | <p>I am trying to use <a href="https://pub.dev/packages/in_app_purchase" rel="nofollow noreferrer">in_app_purchase</a> Flutter package to implement paid version of my app. This should turn off ads.</p>
<p>I don't want to listen for purchases as it seems like an unnecessary overhead for my very simple app.</p>
<p><a hre... | I am trying to use in_app_purchase Flutter package to implement paid version of my app. This should turn off ads. I don't want to listen for purchases as it seems like an unnecessary overhead for my very simple app. Google Play Billing has queryPurchasesAsync method. Is it possible to do this from Flutter, either with ... | android|flutter|google-play | 1 | 2022-07-08T07:39:19.040Z | 2,022 | 7 | 7 | 4 | 87 | 1 | 363 | 52 | 3 | 0 | false | false | false | false | false | false | low |
72,908,211 | How to get app carrier signed for achieving EAP based offload | <p>We are working on WiFi offload app for MNO.
As per Android developer site <strong>On Android 12 (API level 31) and higher:</strong></p>
<blockquote>
<p>The framework enforces ownership requirements for EAP-SIM based
Enterprise suggestions (EAP-SIM, EAP-AKA, EAP-AKA-PRIME); such
suggestions are allowed only by apps t... | We are working on WiFi offload app for MNO. As per Android developer site On Android 12 (API level 31) and higher: The framework enforces ownership requirements for EAP-SIM based Enterprise suggestions (EAP-SIM, EAP-AKA, EAP-AKA-PRIME); such suggestions are allowed only by apps that are carrier-signed. Any idea how do ... | android|android-wifi | 0 | 2022-07-08T07:41:20.517Z | 2,022 | 7 | 7 | 4 | 17 | 0 | 347 | 61 | 2 | 0 | false | true | false | false | false | false | zero |
72,908,230 | How do I stop my Android code from sending Arabic text when sending a date timestamp using the Java Util Date? | <p>In the app we are trying to send telemetry events to our API but users in Iran are sending through the timestamp formatted as such <code>"۲۰۲۲-۰۷-۰۶T۰۰:۰۳:۳۳.۳۹۰Z"</code>.</p>
<pre class="lang-none prettyprint-override"><code>Exception while executing function:
LogTelemetry Could not convert string to Date... | In the app we are trying to send telemetry events to our API but users in Iran are sending through the timestamp formatted as such "۲۰۲۲-۰۷-۰۶T۰۰:۰۳:۳۳.۳۹۰Z" . [CODE] The above is the exception the API is returning, the Locale is set to the Default, but I also have not been able to replicate the error by usin... | android|kotlin|date|timestamp|locale | 0 | 2022-07-08T07:43:27.657Z | 2,022 | 7 | 7 | 4 | 52 | 1 | 557 | 110 | 5 | 3 | true | false | false | false | false | false | zero |
72,908,271 | How to implement hybrid recyclerview with multiple adapter and show item in order? | <p>I want to achieve exactly same as show in picture.</p>
<p><a href="https://i.stack.imgur.com/xa2Np.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xa2Np.png" alt="enter image description here" /></a></p>
<p>I have multiple adapters for multiple recyclerview. I want to combine them in single fragme... | I want to achieve exactly same as show in picture. I have multiple adapters for multiple recyclerview. I want to combine them in single fragment. I want to achieve the result from each adapter item show sequetially butt not recyclerview in sequence. I don't have viewtype stored in database, so can't use multiple view h... | android|android-recyclerview|sectionedrecyclerviewadapter | 0 | 2022-07-08T07:48:39.603Z | 2,022 | 7 | 7 | 4 | 20 | 0 | 476 | 82 | 3 | 0 | false | true | false | false | false | false | zero |
72,908,294 | My app craches when I open fragment from notification | <p>I am developing Android polling app. Admin sends notification to all the users and they open the notification that gets them to polling fragment. For some reason when admin sends the notification, only the device from which it has been sent can access the polling fragment and other users app crashes. This is stack t... | I am developing Android polling app. Admin sends notification to all the users and they open the notification that gets them to polling fragment. For some reason when admin sends the notification, only the device from which it has been sent can access the polling fragment and other users app crashes. This is stack trac... | android|firebase | 0 | 2022-07-08T07:51:30.620Z | 2,022 | 7 | 7 | 4 | 41 | 0 | 1,790 | 53 | 2 | 2 | true | true | false | false | false | false | zero |
72,908,324 | Gradle plugin for Android that generates native library | <p>I'm trying to create a gradle plugin for Android that generates code.</p>
<p>I want the gradle plugin to generate code that will be compiled to a native library at application build time.</p>
<p>Generating the code is easy but I'm not sure how I can compile it to a native library. I've tried using kotlin native. How... | I'm trying to create a gradle plugin for Android that generates code. I want the gradle plugin to generate code that will be compiled to a native library at application build time. Generating the code is easy but I'm not sure how I can compile it to a native library. I've tried using kotlin native. However, I can't see... | android|gradle|android-gradle-plugin|gradle-plugin|android-native-library | 1 | 2022-07-08T07:54:04.750Z | 2,022 | 7 | 7 | 4 | 135 | 1 | 408 | 55 | 5 | 0 | false | false | false | false | false | false | low |
72,908,334 | How to add a button at the end of a recycler view (kotlin)? | <p>I'm gonna add a button at the end of my recycler view
and i don't know how to do it .
i will appreciate you if you teach me .</p>
<p>this is my main activity code :</p>
<pre><code>class MainActivity : AppCompatActivity() {
private var number: Int = 0
private lateinit var name: String
override fun onCreate(savedInst... | I'm gonna add a button at the end of my recycler view and i don't know how to do it . i will appreciate you if you teach me . this is my main activity code : [CODE] and this is my adapter code : [CODE] and my holder class : [CODE] | android|xml|kotlin | 0 | 2022-07-08T07:55:14.093Z | 2,022 | 7 | 7 | 4 | 82 | 3 | 230 | 59 | 3 | 3 | true | false | false | false | false | false | zero |
72,908,407 | navigation icon here maps is missing during Turn by Turn Navigation in HERE SDK | <p>When the application is opened, sometimes the pointer will be displayed and sometimes not.
In the case where a pointer is displayed , when we navigate to another screen (Activity/Fragment) and come back to the Map screen, the pointer will disappear. No error is traced in logcat</p>
<p>Here SDK used - heresdk-navigat... | When the application is opened, sometimes the pointer will be displayed and sometimes not. In the case where a pointer is displayed , when we navigate to another screen (Activity/Fragment) and come back to the Map screen, the pointer will disappear. No error is traced in logcat Here SDK used - heresdk-navigate-android-... | here-api|heremaps|heremaps-android-sdk | 1 | 2022-07-08T08:03:13.330Z | 2,022 | 7 | 8 | 4 | 40 | 1 | 394 | 79 | 3 | 0 | false | false | false | false | false | false | low |
72,908,462 | I need to Control the bottom sheet swipe area in Kotlin | <p><a href="https://i.stack.imgur.com/iA1DX.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>I had a webview in bottom sheet. I'm showing pdf file in webview. While user try to zoom pdf the bottom sheet's swipe is working to. I want to swipe down the bottom sheet with only thouching the head of th... | enter image description here I had a webview in bottom sheet. I'm showing pdf file in webview. While user try to zoom pdf the bottom sheet's swipe is working to. I want to swipe down the bottom sheet with only thouching the head of the bottom sheet. | android|kotlin|webview|swipe|bottom-sheet | 0 | 2022-07-08T08:07:59.257Z | 2,022 | 7 | 8 | 4 | 72 | 0 | 249 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
72,908,509 | Play Store - App Access - Providing credentials for banking or similar applications | <p>Play Store expects from us to complete <strong>Data Safety Form</strong> before <strong>July 20th</strong>. In my opinion, it is logical thing to expect from Application Owners. But One of the 'Data Safety' segment is '<strong>App Access</strong>' and Google expects credentials from us (if your app has restricted fu... | Play Store expects from us to complete Data Safety Form before July 20th . In my opinion, it is logical thing to expect from Application Owners. But One of the 'Data Safety' segment is ' App Access ' and Google expects credentials from us (if your app has restricted functions). For Banking Application or any similar ki... | android|google-play|google-play-console | 0 | 2022-07-08T08:13:40.733Z | 2,022 | 7 | 8 | 4 | 58 | 0 | 933 | 83 | 3 | 0 | false | true | false | false | false | false | zero |
72,908,630 | How to translate 2-D list of Strings using ML-Kit in Android (Java) | <p>I have created and downloaded Translation model for the Gujarati language. Now .translate() function is working fine for individual Strings but is there any way to translate whole 2D List of Strings at once using Google's ML-Kit?</p> | I have created and downloaded Translation model for the Gujarati language. Now .translate() function is working fine for individual Strings but is there any way to translate whole 2D List of Strings at once using Google's ML-Kit? | android|translate|google-mlkit | 0 | 2022-07-08T08:23:01.140Z | 2,022 | 7 | 8 | 4 | 41 | 1 | 229 | 67 | 3 | 0 | false | false | false | false | false | false | zero |
72,908,634 | extractDebugAnnotations task failed | <p>I have a very strange issue when building my android app. On one of the build machine, when I build my multi module app, one of the module fails to build on Task :XXXXXX:extractDebugAnnotations</p>
<p>my setup is as follows</p>
<ul>
<li>kotlin version: 1.7.0</li>
<li>gradle version : 7.4.2</li>
<li>android gradle pl... | I have a very strange issue when building my android app. On one of the build machine, when I build my multi module app, one of the module fails to build on Task :XXXXXX:extractDebugAnnotations my setup is as follows kotlin version: 1.7.0 gradle version : 7.4.2 android gradle plugin version: 7.2.1 complete stack trace ... | android|android-gradle-plugin|lint|kapt | 1 | 2022-07-08T08:23:37.550Z | 2,022 | 7 | 8 | 4 | 139 | 0 | 752 | 35 | 4 | 2 | true | true | false | false | false | false | low |
72,908,647 | how to clear value in getxcontroller in flutter? | <p>how can I clear value in get x controller?
for now I need to restart my app every time I need to input different value.</p>
<p>my text controller class :</p>
<pre><code>import 'package:get/get.dart';
class TextControllers extends GetxController {
Rx<TextEditingController> usernameController = TextEditingCon... | how can I clear value in get x controller? for now I need to restart my app every time I need to input different value. my text controller class : [CODE] | android|flutter|flutter-getx | 0 | 2022-07-08T08:24:54.987Z | 2,022 | 7 | 8 | 4 | 79 | 2 | 153 | 48 | 3 | 1 | true | false | false | false | false | false | zero |
72,908,683 | Android Room: "Each bind variable in the query must have a matching method parameter" | <p>I'm using room database for android. It was working fine until I updated to Kotlin 1.7.0 recently.
Now I get the following error:</p>
<pre><code>Each bind variable in the query must have a matching method parameter. Cannot find method parameters for :limit, :offset.
</code></pre>
<p>Here is my dao:</p>
<pre><code>@Q... | I'm using room database for android. It was working fine until I updated to Kotlin 1.7.0 recently. Now I get the following error: [CODE] Here is my dao: [CODE] Here my build.gradle [CODE] When I downgrade Kotlin to 1.6.21 it works fine. Is this a Kotlin Bug or am I doing something wrong? | android|kotlin|android-room | 1 | 2022-07-08T08:27:40.870Z | 2,022 | 7 | 8 | 4 | 139 | 1 | 288 | 85 | 3 | 3 | true | false | false | false | false | false | low |
72,908,685 | LazyPagingItems not collecting for LazyVerticalGrid with Search Query Funtional Paging 3.0 Jetpack Compose | <p>I want to update list from paging with search query result,basically I had success to display item paging to lazyverticalgrid without searchQuery variable. The problem is when I click search button from keyboard virtual, the items not update in compose</p>
<p><strong>HomeViewModel.kt</strong></p>
<pre><code>@HiltVie... | I want to update list from paging with search query result,basically I had success to display item paging to lazyverticalgrid without searchQuery variable. The problem is when I click search button from keyboard virtual, the items not update in compose HomeViewModel.kt [CODE] The collectAsLazyPagingItems function for p... | state|android-jetpack-compose|kotlin-flow|android-paging-3 | 0 | 2022-07-08T08:27:48.050Z | 2,022 | 7 | 8 | 4 | 108 | 0 | 474 | 106 | 4 | 2 | true | true | false | false | false | false | zero |
72,908,707 | Problem with updating compose version to 1.3.0-alpha01 | <p>I have an Android Studio project that works fine when I'm using Kotlin version <code>1.6.21</code> and compose version <code>1.2.0-rc01</code>. The problem arises when I want to update both dependencies to the latest versions, which are <a href="https://kotlinlang.org/docs/releases.html" rel="noreferrer"><code>1.7.1... | I have an Android Studio project that works fine when I'm using Kotlin version 1.6.21 and compose version 1.2.0-rc01 . The problem arises when I want to update both dependencies to the latest versions, which are 1.7.10 for Kotlin and 1.3.0-alpha01 for compose. The error that I get is: Could not resolve all files for co... | android|kotlin|android-jetpack-compose | 6 | 2022-07-08T08:29:45.713Z | 2,022 | 7 | 8 | 4 | 1,098 | 4 | 766 | 54 | 3 | 1 | true | false | false | false | false | false | medium |
72,908,738 | How to take date through google voice input in dd/mm/yyyy format? | <p>I want to take the date as a text from the user through google voice input.
So when user says:</p>
<blockquote>
<p>8 July 2022</p>
</blockquote>
<p>Then it will splits that string in <code>dd-mm-yyyy</code> format. How to get it?
Should I use any other method to get the date through speech input?</p>
<pre class="lan... | I want to take the date as a text from the user through google voice input. So when user says: 8 July 2022 Then it will splits that string in dd-mm-yyyy format. How to get it? Should I use any other method to get the date through speech input? [CODE] | java|android | 1 | 2022-07-08T08:32:40.223Z | 2,022 | 7 | 8 | 4 | 64 | 1 | 250 | 65 | 2 | 1 | true | false | false | false | false | false | low |
72,908,766 | Permission Denied Error in Android Emulator when Enforcing App Check for Flutter App | <p>After spending hours for getting App Check working on the physical devices (iOS and Android) of my Flutter app i also tried the provided documentation steps in order to get it working for Android emulator as well.
Whatever i try i always get the following error for all my listening streams that are invoked against t... | After spending hours for getting App Check working on the physical devices (iOS and Android) of my Flutter app i also tried the provided documentation steps in order to get it working for Android emulator as well. Whatever i try i always get the following error for all my listening streams that are invoked against the ... | flutter|firebase|android-emulator|firebase-app-check | 3 | 2022-07-08T08:35:15.343Z | 2,022 | 7 | 8 | 4 | 272 | 1 | 1,017 | 84 | 4 | 5 | true | false | false | false | false | false | low |
72,908,769 | RTSP server in xamarin android | <p>I am trying to setup a RTSP server in Xamarin android..
Actually already setup RTSP server ,but this server is expecting
raw sps,pps data (bytes data) to stream...
so my question is how to collect byte data from camera/Surface view
I tried with old codes like onpreviewframe,previewcallback which is working ,
but the... | I am trying to setup a RTSP server in Xamarin android.. Actually already setup RTSP server ,but this server is expecting raw sps,pps data (bytes data) to stream... so my question is how to collect byte data from camera/Surface view I tried with old codes like onpreviewframe,previewcallback which is working , but these ... | android|xamarin|xamarin.android | 0 | 2022-07-08T08:35:23.260Z | 2,022 | 7 | 8 | 4 | 25 | 0 | 485 | 30 | 3 | 1 | true | true | false | false | false | false | zero |
72,908,860 | What is the name of the theme of the sample code on the Android Developer site? | <p>Like the code theme on this image below (<a href="https://developer.android.com/topic/architecture/domain-layer#use-cases-kotlin" rel="nofollow noreferrer">https://developer.android.com/topic/architecture/domain-layer#use-cases-kotlin</a>) :</p>
<p><a href="https://i.stack.imgur.com/abHsa.png" rel="nofollow noreferr... | Like the code theme on this image below ( https://developer.android.com/topic/architecture/domain-layer#use-cases-kotlin ) : The Light Code Theme The Dark Code Theme It looks really nice and I want to use the theme in AndroidStudio. | android|android-studio|coding-style|android-theme | 0 | 2022-07-08T08:44:37.667Z | 2,022 | 7 | 8 | 4 | 28 | 1 | 232 | 79 | 4 | 0 | false | false | false | false | false | false | zero |
72,908,881 | I am simply not able to bring the PAHO / Eclipse MQTT Android Service into an Android Studio project | <p>I am simply not able to bring the PAHO / Eclipse MQTT Android Service into an Android Studio project. It says "A problem occurred evaluating project ':app'." I have added the required dependencies in the build.gragle(module) file.
Bellow, I will add the full build.gradle file. including the full error.<... | I am simply not able to bring the PAHO / Eclipse MQTT Android Service into an Android Studio project. It says "A problem occurred evaluating project ':app'." I have added the required dependencies in the build.gragle(module) file. Bellow, I will add the full build.gradle file. including the full error. [CODE]... | java|android-studio|android-gradle-plugin | 0 | 2022-07-08T08:46:11.593Z | 2,022 | 7 | 8 | 4 | 40 | 1 | 333 | 100 | 3 | 2 | true | false | false | false | false | false | zero |
72,908,882 | Jetpack Compose: cached ComposeView can not show in Fragment | <p>I use viewPager2 in my project the parent is HomeFragment and one of child Fragment is Fragmentone . I cached the root View of HomeFragment so next time I goto HomeFragment I can reuse it . ComposeView is add to Fragmentone. it can not show when I goto HomeFragment again.</p>
<p>class HomeFragment : BaseTrackFragmen... | I use viewPager2 in my project the parent is HomeFragment and one of child Fragment is Fragmentone . I cached the root View of HomeFragment so next time I goto HomeFragment I can reuse it . ComposeView is add to Fragmentone. it can not show when I goto HomeFragment again. class HomeFragment : BaseTrackFragment() { [COD... | android|android-jetpack-compose | 0 | 2022-07-08T08:46:27.723Z | 2,022 | 7 | 8 | 4 | 71 | 0 | 331 | 60 | 2 | 2 | true | true | false | false | false | false | zero |
72,908,894 | Is there any difference between the two? | <p>Is there any difference between creating a separate thread within the activity class and creating a separate thread in a non activity class and then get the reference of it ? or it doesn't matter where the separate thread is as long as the operation is done on a separate thread ?</p> | Is there any difference between creating a separate thread within the activity class and creating a separate thread in a non activity class and then get the reference of it ? or it doesn't matter where the separate thread is as long as the operation is done on a separate thread ? | android|multithreading|android-activity|thread-safety|android-multithreading | 0 | 2022-07-08T08:47:37.923Z | 2,022 | 7 | 8 | 4 | 38 | 0 | 280 | 40 | 5 | 0 | false | true | false | false | false | false | zero |
72,908,922 | MapView shows blank google maps on debug build | <p>I am new to React Native, I have a managed Expo workflow and want to build just for preview with EAS and as Expo docs say -
<a href="https://docs.expo.dev/versions/latest/sdk/map-view/" rel="nofollow noreferrer">https://docs.expo.dev/versions/latest/sdk/map-view/</a>
I need an API key restricted to Android apps, Map... | I am new to React Native, I have a managed Expo workflow and want to build just for preview with EAS and as Expo docs say - https://docs.expo.dev/versions/latest/sdk/map-view/ I need an API key restricted to Android apps, Maps SDK for Android enabled, package name and a debug keystore fingerprint which is the same for ... | react-native|google-maps|expo|android-mapview|eas | 0 | 2022-07-08T08:49:40.047Z | 2,022 | 7 | 8 | 4 | 216 | 0 | 992 | 46 | 5 | 0 | false | true | false | false | false | false | zero |
72,909,049 | Malayalam font is not rendering when creating pdf in flutter | <p>I am using Malayalam custom font in my flutter project and it is rendering in android and iOS is fine. But when we try to create a pdf it will not showing the Malayalam content and showing the corresponding English characters</p>
<p>await Printing.convertHtml( html:content ).then((value) { bytes1=value; // showLoade... | I am using Malayalam custom font in my flutter project and it is rendering in android and iOS is fine. But when we try to create a pdf it will not showing the Malayalam content and showing the corresponding English characters await Printing.convertHtml( html:content ).then((value) { bytes1=value; // showLoader(); Navig... | android|ios|flutter|dart|pdf | 0 | 2022-07-08T09:00:34.207Z | 2,022 | 7 | 9 | 4 | 80 | 0 | 828 | 60 | 5 | 0 | false | true | false | false | false | false | zero |
72,909,160 | Unable to navigate items on menu drawer | <p>I am trying to navigate different activity using menu drawer but nothing happens after clicking on any item of the menu drawer. It would be great if anyone could help me in finding out what I am missing. I have attached my code below.</p>
<p>Thanks in advance</p>
<p>Here's the code :</p>
<p>MainActivity.java</p>
<pr... | I am trying to navigate different activity using menu drawer but nothing happens after clicking on any item of the menu drawer. It would be great if anyone could help me in finding out what I am missing. I have attached my code below. Thanks in advance Here's the code : MainActivity.java [CODE] activity_main.xml [CODE]... | java|android|menu|navigation|drawer | 1 | 2022-07-08T09:10:50.517Z | 2,022 | 7 | 9 | 4 | 31 | 1 | 336 | 39 | 5 | 3 | true | false | false | false | false | false | low |
72,909,263 | How do I ask for permission in a dialog in android studio? | <pre><code>private void buildDialog() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
View view = getLayoutInflater().inflate(R.layout.dialog, null);
cameraButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
askCamera... | [CODE] I am quite new to programming. I want to open the camera inside a dialog. However, the onRequestPermissionsResult and onActivityResult are greyed. Are there any methods or alternatives to fix it? Thank you! | java|android-studio|permissions | 0 | 2022-07-08T09:20:19.407Z | 2,022 | 7 | 9 | 4 | 27 | 0 | 213 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
72,909,372 | Difference between SDK and OS | <p>I'm noobed to android IDE.</p>
<p>Getting in it, most confusing one was words that 'API level' and 'SDK version'.</p>
<p>Now, I see the difference between 'API level' and 'SDK version'.</p>
<p>But I still have one question that 'SDK' is similar concept with 'OS'(operating-system)??</p>
<p>If not, could you explain t... | I'm noobed to android IDE. Getting in it, most confusing one was words that 'API level' and 'SDK version'. Now, I see the difference between 'API level' and 'SDK version'. But I still have one question that 'SDK' is similar concept with 'OS'(operating-system)?? If not, could you explain to me with easy words? I think t... | android|sdk|operating-system | 0 | 2022-07-08T09:28:49.963Z | 2,022 | 7 | 9 | 4 | 20 | 0 | 391 | 29 | 3 | 0 | false | true | false | false | false | false | zero |
72,909,409 | Is there a way in which we can swipe the recycler view all the item at once on button click with the help of ItemTouchHelper? | <p>There is button in which user can tap then all the recycler view item get swiped at once. And also have capability of manual swipe on recycler view item.</p> | There is button in which user can tap then all the recycler view item get swiped at once. And also have capability of manual swipe on recycler view item. | android|kotlin | 0 | 2022-07-08T09:31:37.210Z | 2,022 | 7 | 9 | 4 | 25 | 0 | 153 | 125 | 2 | 0 | false | true | false | false | false | false | zero |
72,909,622 | How can set my Android Project SDK for particular project | <p><a href="https://i.stack.imgur.com/YLGxq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YLGxq.png" alt="enter image description here" /></a></p>
<p><strong>How can do set my project SDK for particular project</strong><br>
I just want to set particular Android SDK for particular project.</p> | How can do set my project SDK for particular project I just want to set particular Android SDK for particular project. | java|android|android-studio | 1 | 2022-07-08T09:50:33.607Z | 2,022 | 7 | 9 | 4 | 38 | 1 | 118 | 57 | 3 | 0 | false | false | false | false | false | false | low |
72,909,679 | What am I doing wrong here for that I am encountering in my MainAcitvity while connecting it to ViewModel and Adapter? | <p>I am trying to show list of elements in Recyclerview from Adapter class while connecting it function in ViewModel class. i am using mvvm architecture, when I execute the program, I am getting 'java.lang.RuntimeException: Cannot create an instance of class com.example.mvvmnetwork.viewmodel.Mainviewmodel' error in my... | I am trying to show list of elements in Recyclerview from Adapter class while connecting it function in ViewModel class. i am using mvvm architecture, when I execute the program, I am getting 'java.lang.RuntimeException: Cannot create an instance of class com.example.mvvmnetwork.viewmodel.Mainviewmodel' error in my Log... | android|android-recyclerview|android-adapter|android-mvvm | 0 | 2022-07-08T09:55:08.113Z | 2,022 | 7 | 9 | 4 | 37 | 1 | 466 | 118 | 4 | 3 | true | false | false | false | false | false | zero |
72,909,720 | when i run idegen.sh,show File system loop detected | <p>When I execute ./development/tools/idegen/idegen.sh ,
show
find: File system loop detected; xxx is part of the same file system loop as `xxx is part of the same file system loop as xxx
<a href="https://i.stack.imgur.com/DjMrj.png" rel="nofollow noreferrer">enter image description here</a></p> | When I execute ./development/tools/idegen/idegen.sh , show find: File system loop detected; xxx is part of the same file system loop as `xxx is part of the same file system loop as xxx enter image description here | android | 1 | 2022-07-08T09:59:19.733Z | 2,022 | 7 | 9 | 4 | 15 | 0 | 213 | 51 | 1 | 0 | false | true | false | false | false | false | low |
72,909,795 | What graphic element is this? | <p>Hi I should implement a filter in a recyclerview graphically I wanted to introduce such a thing but what element is it? a spinner? if yes how can i make it similar to this play store example thank you</p>
<p><a href="https://i.stack.imgur.com/58eIO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5... | Hi I should implement a filter in a recyclerview graphically I wanted to introduce such a thing but what element is it? a spinner? if yes how can i make it similar to this play store example thank you | android|android-studio|kotlin | 0 | 2022-07-08T10:04:58.147Z | 2,022 | 7 | 10 | 4 | 34 | 1 | 200 | 29 | 3 | 0 | false | false | false | false | false | false | zero |
72,909,865 | How to get Cellular signal strength (dbm, asu) on Android | <p>To detect cellular signal strength (dbm, asu) on Android I found the following APIs:</p>
<ol>
<li><code>telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS)</code>
where callback is <code>override fun onSignalStrengthsChanged(signalStrength: SignalStrength)</code> So, we can get si... | To detect cellular signal strength (dbm, asu) on Android I found the following APIs: telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS) where callback is override fun onSignalStrengthsChanged(signalStrength: SignalStrength) So, we can get signal strength from signalStrength.cellSign... | android|cellular-network|signal-strength | 0 | 2022-07-08T10:10:37.420Z | 2,022 | 7 | 10 | 4 | 88 | 0 | 986 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
72,909,954 | How to enable Rndis and MTP together on Android | <p>I need to share wifi and storage from android to windiws, that is eable mtp and rndis at the same time.
Now I have modify th init.msm.usb.confifs.rc, add a new config "mtp,rndis,adb" in it.MTP can work correctlly, but there is a yellow excalmatory mark on device management on Windows.</p>
<p>I would like t... | I need to share wifi and storage from android to windiws, that is eable mtp and rndis at the same time. Now I have modify th init.msm.usb.confifs.rc, add a new config "mtp,rndis,adb" in it.MTP can work correctlly, but there is a yellow excalmatory mark on device management on Windows. I would like to ask how ... | android|windows|android-10.0|mtp|rndis | 1 | 2022-07-08T10:18:17.057Z | 2,022 | 7 | 10 | 4 | 48 | 0 | 380 | 47 | 5 | 0 | false | true | false | false | false | false | low |
72,910,003 | error: Not sure how to convert a Cursor to this method's return type (java.lang.String) | <p>Face the following error while writing a query for a table in Android Room Database using Java.</p>
<blockquote>
<p>error: Not sure how to convert a Cursor to this method's return type (java.lang.String). LiveData<List<String>></p>
</blockquote>
<p>Query:</p>
<pre><code>@Query("SELECT timeStamp FROM... | Face the following error while writing a query for a table in Android Room Database using Java. error: Not sure how to convert a Cursor to this method's return type (java.lang.String). LiveData<List<String>> Query: [CODE] I notice that this error doesn't occur for Lists holding custom classes. Edit: It works after chan... | android|sql|android-room | 0 | 2022-07-08T10:22:12.563Z | 2,022 | 7 | 10 | 4 | 97 | 0 | 345 | 87 | 3 | 2 | true | true | false | false | false | false | zero |
72,910,174 | Flutter parse unicode characters not working | <p>I have the following string coming from my backend server <code>\u25CF\u25CF\u25CF</code> and when I decode it with UTF-8 it's working fine in the iOS native app, But when I try to parse it in flutter I'm not able to get the converted value. I have tried the following approaches but none worked</p>
<pre><code>String... | I have the following string coming from my backend server \u25CF\u25CF\u25CF and when I decode it with UTF-8 it's working fine in the iOS native app, But when I try to parse it in flutter I'm not able to get the converted value. I have tried the following approaches but none worked [CODE] Does anyone know how we can fi... | android|ios|flutter|character-encoding|flutter-web | 0 | 2022-07-08T10:36:36.657Z | 2,022 | 7 | 10 | 4 | 249 | 2 | 445 | 44 | 5 | 3 | true | false | false | false | false | false | zero |
72,910,365 | My app with PROCESS_TEXT intent does not appear in all apps' copy-paste menu | <p>I am trying to extend the copy/paste menu to open a specific activity in my app.</p>
<p>The problem is, that my app appears in some applications, and in most of them do not.</p>
<p>AndroidManifest.xml:</p>
<pre class="lang-xml prettyprint-override"><code><manifest ....>
<queries>
<intent>... | I am trying to extend the copy/paste menu to open a specific activity in my app. The problem is, that my app appears in some applications, and in most of them do not. AndroidManifest.xml: [CODE] Is there anything wrong with my implementation? I have tested it with WhatsApp, Instagram, Facebook, FB messenger. Only works... | android|android-11|popupmenu | 0 | 2022-07-08T10:54:19.247Z | 2,022 | 7 | 10 | 4 | 52 | 1 | 555 | 76 | 3 | 1 | true | false | false | false | false | false | zero |
72,910,402 | How to lock drawer menu only on some screens of my stack? | <p>What I need to do is just block the swipe action to open the menu on a specific screen of my stack</p>
<p>Stack:</p>
<pre><code>const SignedInStack = () => (
<Stack.Navigator>
<Stack.Screen name='Confluence' component={Confluence} />
<Stack.Screen name='QRCode' component={Main} />
... | What I need to do is just block the swipe action to open the menu on a specific screen of my stack Stack: [CODE] DrawerMenu: [CODE] App.js: [CODE] | android|react-native|react-navigation|navigation-drawer|stack-navigator | 1 | 2022-07-08T10:57:18.083Z | 2,022 | 7 | 10 | 4 | 47 | 1 | 146 | 57 | 5 | 3 | true | false | false | false | false | false | low |
72,910,523 | How should I remove static datatype warning | <p><a href="https://i.stack.imgur.com/fhCEe.png" rel="nofollow noreferrer">ScreenShot</a></p>
<p>How should I remove static datatype warning in my project.
<br>Static datatype is necessary in my project, how should I can fix this warning without deleting code</p> | ScreenShot How should I remove static datatype warning in my project. Static datatype is necessary in my project, how should I can fix this warning without deleting code | java|android|android-studio | 0 | 2022-07-08T11:09:30.233Z | 2,022 | 7 | 11 | 4 | 51 | 1 | 169 | 43 | 3 | 0 | false | false | false | false | false | false | zero |
72,910,550 | open front camera using kivy python on android | <p>I want open front android camera using kivy .in kivy document written index =0 is for back camera and index=1 is for front camera .when I use index=0 and covert code by buildozer to apk it is ok and app not crashed but when I change index=1 and convert it by buildozer app will be crashed .
can someone help me please... | I want open front android camera using kivy .in kivy document written index =0 is for back camera and index=1 is for front camera .when I use index=0 and covert code by buildozer to apk it is ok and app not crashed but when I change index=1 and convert it by buildozer app will be crashed . can someone help me please ? | python|android|kivy|front-camera | 1 | 2022-07-08T11:11:31.067Z | 2,022 | 7 | 11 | 4 | 50 | 0 | 319 | 46 | 4 | 0 | false | true | false | false | false | false | low |
72,910,631 | Why do I need to wrap navActions.navigateToPurchase() with LaunchedEffect in fun NavGraph when use Jetpack Compose? | <p>In my plan, I hope to display Home UI when I run an app first, a user can open Purchase UI by clicking a button on Home UI. And more, Purchase UI will be displayed automatically if the app is expired when I run the app first.</p>
<p>In Code A, <code>navActions.navigateToPurchase()</code> is invoked in both <code>fun... | In my plan, I hope to display Home UI when I run an app first, a user can open Purchase UI by clicking a button on Home UI. And more, Purchase UI will be displayed automatically if the app is expired when I run the app first. In Code A, navActions.navigateToPurchase() is invoked in both fun NavGraph(...) and fun Screen... | android-studio|kotlin|android-jetpack-compose | 1 | 2022-07-08T11:19:35.733Z | 2,022 | 7 | 11 | 4 | 78 | 1 | 506 | 115 | 3 | 2 | true | false | false | false | false | false | low |
72,910,661 | Child check in Database firebase not working correctly - Java | <p>Everything seems to be correct, but it does not work correctly. It says that the alias is busy even when it is not busy. It checks "players", it doesn't get to the name in it.</p>
<p><img src="https://i.imgur.com/rqr6CuA.png" alt="" /></p>
<pre><code>DatabaseReference rootRef = FirebaseDatabase.getInstance... | Everything seems to be correct, but it does not work correctly. It says that the alias is busy even when it is not busy. It checks "players", it doesn't get to the name in it. [CODE] | java|android|firebase|firebase-realtime-database | 1 | 2022-07-08T11:22:47.023Z | 2,022 | 7 | 11 | 4 | 48 | 0 | 192 | 61 | 4 | 1 | true | true | false | false | false | false | low |
72,910,671 | how can I consume LiveData<PagedList<Letter>> in a dataRopsitory from an Application class? | <p>I'm working on a feature for a letter vault project that helps keeps a letter till a latter time you want it opened...the idea is that the user receives a notification once a letter is ready to be opened. I have a function in the DataRepository that helps letter from the database with the help of paging library.
cla... | I'm working on a feature for a letter vault project that helps keeps a letter till a latter time you want it opened...the idea is that the user receives a notification once a letter is ready to be opened. I have a function in the DataRepository that helps letter from the database with the help of paging library. class ... | android|kotlin | 0 | 2022-07-08T11:23:12.850Z | 2,022 | 7 | 11 | 4 | 28 | 0 | 887 | 91 | 2 | 4 | true | true | false | false | false | false | zero |
72,910,705 | Can not extract resource from com.android.aaptcompiler.ParsedResource@4510599a | <p><a href="https://i.stack.imgur.com/oMCho.jpg" rel="nofollow noreferrer">enter image description here</a>Resource compilation failed (Failed to compile values resource file E:\AndroidStudioProjects\AuthenticApp2\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.la... | enter image description here Resource compilation failed (Failed to compile values resource file E:\AndroidStudioProjects\AuthenticApp2\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompil... | android|android-studio | 0 | 2022-07-08T11:26:21.530Z | 2,022 | 7 | 11 | 4 | 651 | 2 | 377 | 78 | 2 | 0 | false | false | false | false | false | false | zero |
72,910,777 | How to create a new destination in Android Studio using a screen reader | <p>I am following the Android Fundamentals using Kotlin codelabs, and one of the tasks is to create a new destination in the navigation editor. It's written that I have to press the New Destination button, but I can't find it. I am blind, and I use the NVDA screen reader under Windows. A possible solution that came to ... | I am following the Android Fundamentals using Kotlin codelabs, and one of the tasks is to create a new destination in the navigation editor. It's written that I have to press the New Destination button, but I can't find it. I am blind, and I use the NVDA screen reader under Windows. A possible solution that came to my ... | android-studio|accessibility | 0 | 2022-07-08T11:33:01.733Z | 2,022 | 7 | 11 | 4 | 15 | 0 | 440 | 71 | 2 | 0 | false | true | false | false | false | false | zero |
72,910,834 | How to configure org.slf4j:slf4j-simple in android studio for generic unit test (not android unit test)? | <p>I am using android's unit test tool to test my application. Since a part of the code is not related to Android platform, I don't want to use android's logcat related API directly.</p>
<p>I'm using <code>io.github.microutils:kotlin-logging-jvm</code> as my logger wrapper. i want to use <code>org.slf4j:slf4j-android</... | I am using android's unit test tool to test my application. Since a part of the code is not related to Android platform, I don't want to use android's logcat related API directly. I'm using io.github.microutils:kotlin-logging-jvm as my logger wrapper. i want to use org.slf4j:slf4j-android as the backend implementation ... | android-studio|slf4j|android-unit-testing | 0 | 2022-07-08T11:38:52.893Z | 2,022 | 7 | 11 | 4 | 34 | 0 | 770 | 104 | 3 | 1 | true | true | false | false | false | false | zero |
72,910,868 | Audio player gets auto disposed | <p>The audio player gets disposed when changing audio files. The app plays sequential audio in files in the shared\audio folder. The first file plays ok but stops after first audio. Im using Plugin.SimpleAudioplayer
Here's the code, what am i doing wrong.</p>
<pre><code> public partial class MainPage : ContentPage
{
... | The audio player gets disposed when changing audio files. The app plays sequential audio in files in the shared\audio folder. The first file plays ok but stops after first audio. Im using Plugin.SimpleAudioplayer Here's the code, what am i doing wrong. [CODE] | android|ios|xamarin | 1 | 2022-07-08T11:42:00.757Z | 2,022 | 7 | 11 | 4 | 35 | 1 | 259 | 31 | 3 | 1 | true | false | false | false | false | false | low |
72,910,888 | How to disable MD5 signature for Android apk? | <p>when trying to upload our apk to our Mobile Device Management I get an error saying that "Apps signed with MD5 are not supported anymore".</p>
<p>I am not sure about the signing process. How do I disable MD5 signing?</p>
<p>Greetings</p> | when trying to upload our apk to our Mobile Device Management I get an error saying that "Apps signed with MD5 are not supported anymore". I am not sure about the signing process. How do I disable MD5 signing? Greetings | android|gradle|apk|md5|signing | 0 | 2022-07-08T11:43:32.133Z | 2,022 | 7 | 11 | 4 | 43 | 1 | 229 | 45 | 5 | 0 | false | false | false | false | false | false | zero |
72,910,991 | Custom separator is causing exception | <p>I have custom View separator and for some reason its background color selector is causing Exception. If I change background color to static value its working perfectly.</p>
<p>What is the cause of this issue?</p>
<pre><code> <include
layout="@layout/field_underline"
android:id="@+id/input_und... | I have custom View separator and for some reason its background color selector is causing Exception. If I change background color to static value its working perfectly. What is the cause of this issue? [CODE] field_underline.xml [CODE] field_underline_color.xml [CODE] Exception: [CODE] | android|android-layout | 0 | 2022-07-08T11:53:29.810Z | 2,022 | 7 | 11 | 4 | 31 | 2 | 286 | 37 | 2 | 4 | true | false | false | false | false | false | zero |
72,911,014 | Error when minting JWTs with JJWT - Unable to Load Class Named [io.jsonwebtoken.impl.DefaultJwtParser] | <p>I use JJWT to mint JWTs. However, I get the following error:</p>
<p>"Unable to load class named [io.jsonwebtoken.impl.DefaultJwtBuilder] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found. Have you remembered to include the jjwt-... | I use JJWT to mint JWTs. However, I get the following error: "Unable to load class named [io.jsonwebtoken.impl.DefaultJwtBuilder] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found. Have you remembered to include the jjwt-impl.jar in y... | android|jjwt | 0 | 2022-07-08T11:55:53.530Z | 2,022 | 7 | 11 | 4 | 107 | 0 | 452 | 102 | 2 | 1 | true | true | false | false | false | false | zero |
72,911,021 | Android Widget set on click pending intent after reboot | <p>i've a simple android widget, it is a button that performs an operation on click action.</p>
<p>I'm using this code for set the Intent on Click :</p>
<pre><code>static void updateAppWidget(Context context, AppWidgetManager appWidgetManager,
int appWidgetId) {
RemoteViews views = new ... | i've a simple android widget, it is a button that performs an operation on click action. I'm using this code for set the Intent on Click : [CODE] The code is working. The issue is that after a reboot this method is called after 120/140 seconds! So, for the first 120 seconds I can't click on the widget. Is there a bette... | android|widget|click | 0 | 2022-07-08T11:57:05.910Z | 2,022 | 7 | 11 | 4 | 31 | 0 | 633 | 55 | 3 | 1 | true | true | false | false | false | false | zero |
72,911,096 | How to solve "Null check operator used on a null value"-error? | <p>I want to add data from database on <code>List<String> _names = [];</code> element. so for that, I add my API response data to that list but when I tried to initialize that widget which stores the List item it gave an error of <code>Null check operator used on a null value</code> and I don't know what type of ... | I want to add data from database on List<String> _names = []; element. so for that, I add my API response data to that list but when I tried to initialize that widget which stores the List item it gave an error of Null check operator used on a null value and I don't know what type of error is this I tried much time to ... | android|flutter|dart|flutter-layout|flutter-dependencies | 1 | 2022-07-08T12:02:37.823Z | 2,022 | 7 | 12 | 4 | 51 | 1 | 805 | 62 | 5 | 1 | true | false | false | false | false | false | low |
72,911,101 | Add a gradle repository to an expo app build with eas build / managed workflow | <p>I have the following...</p>
<p><strong>Situation:</strong></p>
<p>I have a react native app (lets call it "MyApp") build on the expo platform. I use <code>eas build</code> to build the project.</p>
<p>Lately I forked the expo-camera package to update the iOS part to be able to use the ultra wide camera. Fo... | I have the following... Situation: I have a react native app (lets call it "MyApp") build on the expo platform. I use eas build to build the project. Lately I forked the expo-camera package to update the iOS part to be able to use the ultra wide camera. For now I left the android part untouched. I uploaded my... | android|gradle|expo|eas | 2 | 2022-07-08T12:03:00.257Z | 2,022 | 7 | 12 | 4 | 369 | 1 | 1,271 | 78 | 4 | 2 | true | false | false | false | false | false | low |
72,911,132 | Navigation to local HTML Android Studio | <p>The idea is to make the link (in this photo) navigate to a local HTML:</p>
<p><a href="https://i.stack.imgur.com/jVwnI.png" rel="nofollow noreferrer">Photo</a></p>
<p>So when you click on <strong>Privacy Policy</strong>, it opens the local HTML.</p>
<p>This message is stored in an strings.xml code like this:</p>
<pr... | The idea is to make the link (in this photo) navigate to a local HTML: Photo So when you click on Privacy Policy , it opens the local HTML. This message is stored in an strings.xml code like this: [CODE] And in the layout i reference to it like this: [CODE] But it doesn't work due to the fact that i don't know how to m... | android|html|file|kotlin | 0 | 2022-07-08T12:05:35.487Z | 2,022 | 7 | 12 | 4 | 62 | 0 | 436 | 39 | 4 | 3 | true | true | false | false | false | false | zero |
72,911,146 | Fragment IllegalStateException when reusing inflated fragment | <p>I cache the fragments (have very few of them) as they are view intensive and inflate takes time which i am trying to avoid.</p>
<p>So in each fragment class we have static View currentView = null; which is populated once that fragment calls on ViewCreate.</p>
<pre><code> if (currentView == null)
currentVi... | I cache the fragments (have very few of them) as they are view intensive and inflate takes time which i am trying to avoid. So in each fragment class we have static View currentView = null; which is populated once that fragment calls on ViewCreate. [CODE] Now i am 99% sure this worked before that i could do the followi... | android|android-fragments|android-activity | 0 | 2022-07-08T12:06:32.413Z | 2,022 | 7 | 12 | 4 | 126 | 0 | 1,607 | 61 | 3 | 7 | true | true | false | false | false | false | zero |
72,911,308 | How to set up Android Icons in Flutter | <p>I am trying to set up icons for Android in Flutter.</p>
<p>I want an icon to show in the launch screen (when the app is starting) and a different icon to show on the home screen in Android.</p>
<p>First I have configured this using <code>launch_screen.xml</code> and <code>drawable</code> folders.
<code>launch_screen... | I am trying to set up icons for Android in Flutter. I want an icon to show in the launch screen (when the app is starting) and a different icon to show on the home screen in Android. First I have configured this using launch_screen.xml and drawable folders. launch_screen.xml in res\layout folder I configured like so: [... | android|flutter | 0 | 2022-07-08T12:18:31.697Z | 2,022 | 7 | 12 | 4 | 34 | 1 | 1,473 | 38 | 2 | 1 | true | false | false | false | false | false | zero |
72,911,398 | React Native Expo Android crashes only in production and is also not catchable in Sentry | <p>Already tried to look into all different problems here on StackOverflow with related titles, like this <a href="https://stackoverflow.com/questions/65437414/react-native-expo-app-crashes-in-production-mode">one</a>. But no success.</p>
<p>Here is the piece of code where the problem happens:</p>
<pre class="lang-js p... | Already tried to look into all different problems here on StackOverflow with related titles, like this one . But no success. Here is the piece of code where the problem happens: [CODE] So what happens is, on iOS I have no problem at all here, either on DEV or PROD, using real device or simulator, everything works fine,... | android|react-native|expo|sentry | 0 | 2022-07-08T12:25:37.767Z | 2,022 | 7 | 12 | 4 | 153 | 1 | 1,882 | 88 | 4 | 2 | true | false | false | false | false | false | zero |
72,911,406 | White border around app icon on Android 10 | <p>I keep getting this white border on my app icon "App Name" - does anyone know how I can get my icon to look like e.g. the "Settings" or "Messages" app icon that doesn't have a white border?</p>
<p><a href="https://i.stack.imgur.com/yWiK2.png" rel="nofollow noreferrer"><img src="https://... | I keep getting this white border on my app icon "App Name" - does anyone know how I can get my icon to look like e.g. the "Settings" or "Messages" app icon that doesn't have a white border? I have tried using the following filenames but these all seem to add a white border: ic_launcher ic_... | android|android-layout | 0 | 2022-07-08T12:26:34.953Z | 2,022 | 7 | 12 | 4 | 119 | 1 | 490 | 42 | 2 | 0 | false | false | false | false | false | false | zero |
72,911,525 | How can I use Github Copilot in Android Studio? | <p>Is it possible to use the new <a href="https://github.com/features/copilot" rel="noreferrer">Copilot</a> plugin from GitHub in Android Studio? I see they advertise it for Visual Code, but I am working in Android Studio and I would like to test it.</p>
<p>GitHub (<a href="https://github.com/features/copilot?utm_mediu... | Is it possible to use the new Copilot plugin from GitHub in Android Studio? I see they advertise it for Visual Code, but I am working in Android Studio and I would like to test it. GitHub ( https://github.com/features/copilot?utm_medium=email&utm_source=announcement&utm_campaign=copilot-technical-preview ) GitHub Copil... | android|android-studio|github-copilot | 5 | 2022-07-08T12:35:50.720Z | 2,022 | 7 | 12 | 4 | 1,404 | 2 | 460 | 47 | 3 | 0 | false | false | false | false | false | false | low |
72,911,555 | Capturing camera feed .net maui | <p>I'm new to Xamarin and Maui, I've been working on an app and now I need a way to access the camera feed.</p>
<p>I want to be able to preview the camera, for android first, within the app and capture an image when a buton is pressed. I have it working with the native camera app (media selector) but this isn't what wo... | I'm new to Xamarin and Maui, I've been working on an app and now I need a way to access the camera feed. I want to be able to preview the camera, for android first, within the app and capture an image when a buton is pressed. I have it working with the native camera app (media selector) but this isn't what would fulfil... | c#|android|.net-core|.net-maui | 2 | 2022-07-08T12:38:26.257Z | 2,022 | 7 | 12 | 4 | 1,051 | 2 | 617 | 31 | 4 | 0 | false | false | false | false | false | false | low |
72,911,558 | How to add offline screen in flutter? | <p>hey I have created an app in flutter it has a download page just like youtube<br />
what I want to do is when the app loads it should check the internet connection and if it is not there it should redirect the user to the download screen</p>
<pre><code>
This is the error
../../../../../.pub-cache/hosted/pu... | hey I have created an app in flutter it has a download page just like youtube what I want to do is when the app loads it should check the internet connection and if it is not there it should redirect the user to the download screen [CODE] | android|flutter|dart|flutter-dependencies|mobile-development | 0 | 2022-07-08T12:38:44.910Z | 2,022 | 7 | 12 | 4 | 95 | 1 | 238 | 37 | 5 | 1 | true | false | false | false | false | false | zero |
72,911,631 | How to resign an APK in Dart | <p>I am working on an app that installs mods on Ren'Py Android apps (you usually have to do it manually, which is very tedious!), I've got everything ready to go, however, I am stuck in one place... Signing the APK file... To give you an idea of what I want to accomplish, this <a href="https://zipsigner.fileplanet.com/... | I am working on an app that installs mods on Ren'Py Android apps (you usually have to do it manually, which is very tedious!), I've got everything ready to go, however, I am stuck in one place... Signing the APK file... To give you an idea of what I want to accomplish, this ZipSigner app does it, and I want to be able ... | android|flutter|dart|apk | 3 | 2022-07-08T12:44:33.233Z | 2,022 | 7 | 12 | 4 | 138 | 1 | 526 | 28 | 4 | 0 | false | false | false | false | false | false | low |
72,911,797 | Android Studio: Lock Screen Notification click Show Activity and Unlock Phone | <p>I have a Lock Screen Notification that must call an Activity unlock the device.</p>
<p>I have tried addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD) this make the activity shows but lock screen continues.</p>
<p>I also tried lock.disableKeyguard(); it is deprecate and also I cant, for some android reason, ... | I have a Lock Screen Notification that must call an Activity unlock the device. I have tried addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD) this make the activity shows but lock screen continues. I also tried lock.disableKeyguard(); it is deprecate and also I cant, for some android reason, reenable it. The ... | android|screen | 0 | 2022-07-08T13:00:04.563Z | 2,022 | 7 | 13 | 4 | 56 | 1 | 471 | 77 | 2 | 1 | true | false | false | false | false | false | zero |
72,911,838 | Android Kotlin Fragments: ''Attempt to invoke virtual method on a null object reference'' | <p>My code in MainActivity:</p>
<pre><code> val buttonbckbrowse = findViewById<Button>(R.id.buttonbck)
buttonbckbrowse.setOnClickListener {
val webView = findViewById<WebView>(R.id.webViewBrowse)
webView.goBack()
Toast.makeText(baseContext, "Back", Toast.LENGTH_SHORT... | My code in MainActivity: [CODE] buttonbck is in a different fragment. When trying to run my app I get ''Exception: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference'' on the second line in the code above. I can't figure out wha... | android|android-studio|kotlin|android-fragments|android-tablayout | 0 | 2022-07-08T13:03:06.213Z | 2,022 | 7 | 13 | 4 | 74 | 1 | 338 | 89 | 5 | 1 | true | false | false | false | false | false | zero |
72,912,014 | Sending UDP packets continuously in the background from a Java app | <p>I want to send button states, joystick values, and other data continuously in the background to a python flask server using Datagram. For now receiving only one time, I have used a Java client to send data, the code is given below.
I will be grateful if someone answers what should I add or remove from the client or ... | I want to send button states, joystick values, and other data continuously in the background to a python flask server using Datagram. For now receiving only one time, I have used a Java client to send data, the code is given below. I will be grateful if someone answers what should I add or remove from the client or rec... | java|android|android-studio|sockets|flask | 0 | 2022-07-08T13:17:13.813Z | 2,022 | 7 | 13 | 4 | 29 | 0 | 414 | 66 | 5 | 2 | true | true | false | false | false | false | zero |
72,912,028 | Access capacitor angular web application with espresso ui test on android - No views in hierarchy found matching Webview | <p>I try to access my capacitor angular web application with espresso ui tests, but always get the following error:</p>
<pre><code>androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: an instance of android.webkit.WebView and webView.getSettings().getJavaScriptEnabled() is <true>
... | I try to access my capacitor angular web application with espresso ui tests, but always get the following error: [CODE] The activity and webview is accessable throw capacitor, but how can I let espresso know, which webview to use? Test source code: [CODE] | angular|android-espresso|capacitor | 0 | 2022-07-08T13:18:26.297Z | 2,022 | 7 | 13 | 4 | 38 | 1 | 255 | 120 | 3 | 2 | true | false | false | false | false | false | zero |
72,912,038 | Xamarin Forms - GoToAsync back button not working on Android but fine on iOS | <p>Found similar issues to this but none of the solutions have fixed this, currently, an issue on Android when using the GoToAsync navigation I am able to navigate to a page, but when trying to use the back button this error appears (Works on iOS with no issue)</p>
<pre><code>[0:] Shell: Failed to Navigate Back: System... | Found similar issues to this but none of the solutions have fixed this, currently, an issue on Android when using the GoToAsync navigation I am able to navigate to a page, but when trying to use the back button this error appears (Works on iOS with no issue) [CODE] Page Navigation to generic map page (Back button doesn... | c#|android|xamarin.forms|xamarin.android | 0 | 2022-07-08T13:19:14.600Z | 2,022 | 7 | 13 | 4 | 114 | 0 | 573 | 76 | 4 | 3 | true | true | false | false | false | false | zero |
72,912,127 | How to read/parse dynamically generated client side content in Android using Java | <p>I want to parse some dynamically generated client side data of a website ( data is generated in JavaScript using several <code>fetch()</code> commands ) in Android application using Java. Is there any way to access and parse these data. I want to get final HTML source after all client side JavaScript generation is f... | I want to parse some dynamically generated client side data of a website ( data is generated in JavaScript using several fetch() commands ) in Android application using Java. Is there any way to access and parse these data. I want to get final HTML source after all client side JavaScript generation is finished. I suppo... | android|web-scraping|jsoup|dynamic-data | 0 | 2022-07-08T13:27:29.533Z | 2,022 | 7 | 13 | 4 | 32 | 1 | 385 | 81 | 4 | 0 | false | false | false | false | false | false | zero |
72,912,148 | Android BillingClient com.android.billingclient:billing 4.1.0 to 5.0.0 update issues | <p>I'm not a programmer and I have an app (codecanyon template) for my website with subscription billing that has an old Google Billing Client library. I would like to update to version 5.0.0, I did it by changing the build.gradle, but I'm facing difficulties in adapting the java code snippet because I know very little... | I'm not a programmer and I have an app (codecanyon template) for my website with subscription billing that has an old Google Billing Client library. I would like to update to version 5.0.0, I did it by changing the build.gradle, but I'm facing difficulties in adapting the java code snippet because I know very little ab... | java|android | 0 | 2022-07-08T13:29:35.307Z | 2,022 | 7 | 13 | 4 | 75 | 0 | 520 | 84 | 2 | 1 | true | true | false | false | false | false | zero |
72,912,286 | App crashes when I run app with navigation drawer | <p>I want to make a drawer navigation but app crashes when I run it</p>
<p>MainActivity.java</p>
<pre><code>public class MainActivity extends AppCompatActivity {
Toolbar toolbar;
MenuItem menuItem;
DrawerLayout drawerLayout;
NavigationView navigationView;
@Override
protected void onCreate(Bundle savedInstanceState) {
... | I want to make a drawer navigation but app crashes when I run it MainActivity.java [CODE] } activity_main.xml [CODE] navigation_drawer.xml [CODE] header.xml [CODE] menu_drawer_navigation.xml [CODE] this is the code when I run it app crashes .................................................................................. | java|android | 0 | 2022-07-08T13:39:57.607Z | 2,022 | 7 | 13 | 4 | 11 | 0 | 439 | 49 | 2 | 5 | true | true | false | false | false | false | zero |
72,912,326 | Fill HTML form via TWebBrowser in Delphi on Android | <p>On a website's <code><form></code> I want to set the text of an <code><input></code> and submit that form using <code>TWebBrowser</code>. I want this for Delphi on Android similar to <a href="https://stackoverflow.com/a/28955227/19510606">this answer</a>, but that only works on Windows.</p> | On a website's <form> I want to set the text of an <input> and submit that form using TWebBrowser . I want this for Delphi on Android similar to this answer , but that only works on Windows. | android|forms|delphi|twebbrowser | 0 | 2022-07-08T13:42:55.923Z | 2,022 | 7 | 13 | 4 | 89 | 0 | 190 | 51 | 4 | 0 | false | true | false | false | false | false | zero |
72,912,393 | Action Bar on Android is still showing despite using NoActionBar theme | <p>I am using the theme <code>Theme.MaterialComponents.DayNight.NoActionBar</code> (<a href="https://github.com/material-components/material-components-android/blob/master/docs/getting-started.md#material3-themes" rel="nofollow noreferrer">docs</a>) for my Android app.</p>
<p>I am also calling <code>getActionBar().hide... | I am using the theme Theme.MaterialComponents.DayNight.NoActionBar ( docs ) for my Android app. I am also calling getActionBar().hide() in the MainActivity. On nearly all my devices, the Action Bar is not displaying. However on one device, a Pixel 6 running Android 12, I still see the Action Bar. I am sure I've install... | android|android-actionbar|android-12|google-pixel | 2 | 2022-07-08T13:47:39.697Z | 2,022 | 7 | 13 | 4 | 26 | 0 | 425 | 70 | 4 | 0 | false | true | false | false | false | false | low |
72,912,478 | How to compare to home screen in splash screen on flutter | <p>Suppose, I have two users on this App (Teacher & Student). Their platform or home screen is different and so is the login, and registration section. Now I want the login status (student or teacher) to compare the splash screen to see who has the login and send it to its home screen. How can do this?<a href="http... | Suppose, I have two users on this App (Teacher & Student). Their platform or home screen is different and so is the login, and registration section. Now I want the login status (student or teacher) to compare the splash screen to see who has the login and send it to its home screen. How can do this? enter image descrip... | android|flutter|firebase|flutter-layout|iso | 2 | 2022-07-08T13:54:18.430Z | 2,022 | 7 | 13 | 4 | 39 | 2 | 329 | 57 | 5 | 0 | false | false | false | false | false | false | low |
72,912,568 | IDE shows no tasks available while running a simple test class in android studio | <p>created a simple test class to check the statistics of a TO-DO List app.
refer - <a href="https://learn.udacity.com/courses/ud940/lessons/d6e700ab-b5d9-4b7b-8bab-64ab79c88f87/concepts/e4e37d5c-2b18-403d-83d9-1646949396f4" rel="nofollow noreferrer">https://learn.udacity.com/courses/ud940/lessons/d6e700ab-b5d9-4b7b-8b... | created a simple test class to check the statistics of a TO-DO List app. refer - https://learn.udacity.com/courses/ud940/lessons/d6e700ab-b5d9-4b7b-8bab-64ab79c88f87/concepts/e4e37d5c-2b18-403d-83d9-1646949396f4 the IDE shows no tasks available even though tasks have been added! new to testing please help me out. [CODE... | android|testing|junit | 0 | 2022-07-08T14:01:10.027Z | 2,022 | 7 | 14 | 4 | 49 | 0 | 343 | 80 | 3 | 1 | true | true | false | false | false | false | zero |
72,912,596 | Google play console how to "detach", "unrelease" old builds apk | <p>This question is about Google play console and the App bundle explorer; how to detach or remove from a release so that I can delete a old apk ???</p>
<p>Issue : when I upload a new version, it gets rejected because of older builds, in the appeal they say version 3 and 4 don't comply blablabla, but I'm sending like b... | This question is about Google play console and the App bundle explorer; how to detach or remove from a release so that I can delete a old apk ??? Issue : when I upload a new version, it gets rejected because of older builds, in the appeal they say version 3 and 4 don't comply blablabla, but I'm sending like build 20 ho... | android-studio|google-play-console | 1 | 2022-07-08T14:03:52.123Z | 2,022 | 7 | 14 | 4 | 41 | 1 | 394 | 63 | 2 | 0 | false | false | false | false | false | false | low |
72,912,651 | How can i navigate to different fragments from my MainActivity action bar menu icon? | <p>I want to have control over the menu item navigation to different fragments from the main activity.
Here's the main activity</p>
<pre><code> class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val binding =
DataBinding... | I want to have control over the menu item navigation to different fragments from the main activity. Here's the main activity [CODE] } activity_main.xml : [CODE] The current code produces the following IllegalArgumentException error. the error wraps up in that the fragment cannot be accessed from the main activity ?: [C... | android|kotlin|audacity | 0 | 2022-07-08T14:08:34.693Z | 2,022 | 7 | 14 | 4 | 34 | 0 | 324 | 84 | 3 | 3 | true | true | false | false | false | false | zero |
72,912,804 | Mercado Pago SDK for Android: an error occurred doing POST card_token | <p>I am trying to get the card token to proceed with Mercado Pago transparent checkout.</p>
<p>Below is the code I am using to request the card token:</p>
<pre><code>CardToken cardToken = new CardToken("5031433215406351",11,2025,"123","Test","CPF","49647428065");
new Me... | I am trying to get the card token to proceed with Mercado Pago transparent checkout. Below is the code I am using to request the card token: [CODE] Below is log: [CODE] It is important to mention that I am not looking for the suggested way of doing payments, which is creating a preference and later starting payment. So... | android|mercadopago|mercadopagosdk | 0 | 2022-07-08T14:19:59.527Z | 2,022 | 7 | 14 | 4 | 67 | 0 | 413 | 69 | 3 | 2 | true | true | false | false | false | false | zero |
72,912,832 | Gradle task assembleDebug failed with exit code 1" because "Could not find or load main class org.gradle.wrapper.GradleWrapperMain | <p>I'm new to flutter and want to make the default flutter app appear on my Android emulator. The emulator starts up fine but the process fails at "Gradle task assembly debug". I reinstalled everything ranging from Android Studio to flutter and dart and deleted the AVD from Android Studio then created it agai... | I'm new to flutter and want to make the default flutter app appear on my Android emulator. The emulator starts up fine but the process fails at "Gradle task assembly debug". I reinstalled everything ranging from Android Studio to flutter and dart and deleted the AVD from Android Studio then created it again b... | android|flutter|gradle|flutter-layout | 0 | 2022-07-08T14:21:25.687Z | 2,022 | 7 | 14 | 4 | 50 | 0 | 639 | 130 | 4 | 0 | false | true | false | false | false | false | zero |
72,912,841 | check internet using ping | <p>I am using this code for checking internet connectivity. It works fine and when the device is offline, the screen just blanks out. Is there a method to show some screen during the wait?</p>
<pre><code>public boolean isConnected() throws InterruptedException, IOException {
String command = "ping -c 1 google.... | I am using this code for checking internet connectivity. It works fine and when the device is offline, the screen just blanks out. Is there a method to show some screen during the wait? [CODE] The source of this code is taken from [CODE] I have increased the number of ping packets and found that it is proportionally bl... | android|networking|android-networking | 0 | 2022-07-08T14:22:01.697Z | 2,022 | 7 | 14 | 4 | 66 | 0 | 513 | 25 | 3 | 2 | true | true | false | false | false | false | zero |
72,912,859 | Which is considered better to pass information between Activities on Android project, send a model or only an id? | <p>I have an android app and I have 3 screens that the user must fill some fields. Each screen have 7 fields to be filled. At the end of the process, I submit the information to the server using Retrofit with an API.</p>
<p>This is how I pass the information between Activities in my first project</p>
<pre><code>// firs... | I have an android app and I have 3 screens that the user must fill some fields. Each screen have 7 fields to be filled. At the end of the process, I submit the information to the server using Retrofit with an API. This is how I pass the information between Activities in my first project [CODE] I have another project th... | java|android | 0 | 2022-07-08T14:23:15.350Z | 2,022 | 7 | 14 | 4 | 33 | 1 | 644 | 113 | 2 | 2 | true | false | false | false | false | false | zero |
72,912,874 | How can I display last message time of firebase at the top in recyclerView in AndroidStudio | <p>As now i am working on a chat application, here i have a problem that how can i display my <strong>last recent chat on the top of the recyclerview in ChatlistFragment</strong>,
for example if i had recently sent my last message to any user they have to displayed at the top of my recyclerview, here is my code</p>
<pr... | As now i am working on a chat application, here i have a problem that how can i display my last recent chat on the top of the recyclerview in ChatlistFragment , for example if i had recently sent my last message to any user they have to displayed at the top of my recyclerview, here is my code [CODE] if you need to refe... | android|firebase-realtime-database|android-recyclerview|firebaseui | 0 | 2022-07-08T14:24:22.637Z | 2,022 | 7 | 14 | 4 | 31 | 0 | 478 | 91 | 4 | 1 | true | true | false | false | false | false | zero |
72,912,928 | How to set text in recyclerview to the center with animation? | <p>I have a <code>recyclerview</code> with expandable elements. When it expands I would like to have the text to align center-horizontally. I have tried to setGravity, but it is in <code>ConstraintLayout</code> and maybe because of that, it doesn't work.</p>
<p>Additionally, is it possible to add during this process wi... | I have a recyclerview with expandable elements. When it expands I would like to have the text to align center-horizontally. I have tried to setGravity, but it is in ConstraintLayout and maybe because of that, it doesn't work. Additionally, is it possible to add during this process with any fancy animation? | android|kotlin|animation|android-recyclerview | 0 | 2022-07-08T14:28:34.980Z | 2,022 | 7 | 14 | 4 | 31 | 0 | 307 | 61 | 4 | 0 | false | true | false | false | false | false | zero |
72,912,953 | Scrollview not scrolling full Activity when it focus on editText when FLAG_LAYOUT_NO_LIMITS is set | <p>I have an ImageView,2 EditTexts and a button vertically inside ScrollView with FLAG_LAYOUT_NO_LIMITS is set. My problem is when I focus on edittext keyboard, hides edittexts and button, ScrollView doesn't scrollup to show edittexts and button. If I omit FLAG_LAYOUT_NO_LIMITS flag, scrollview works fine. I tried andr... | I have an ImageView,2 EditTexts and a button vertically inside ScrollView with FLAG_LAYOUT_NO_LIMITS is set. My problem is when I focus on edittext keyboard, hides edittexts and button, ScrollView doesn't scrollup to show edittexts and button. If I omit FLAG_LAYOUT_NO_LIMITS flag, scrollview works fine. I tried android... | android|scrollview | 1 | 2022-07-08T14:31:04.873Z | 2,022 | 7 | 14 | 4 | 15 | 0 | 426 | 98 | 2 | 0 | false | true | false | false | false | false | low |
72,913,048 | How to save Webview state when switching between different Fragments in a Tablayout? | <p>I am making a very simple webview app that places different subpages of a website under different tabs (using tablayout), i.e. messages, orders etc. The individual webviews are created using fragments. The idea is that the user can quickly switch back and forth between pages. While testing, when I switch to the tab ... | I am making a very simple webview app that places different subpages of a website under different tabs (using tablayout), i.e. messages, orders etc. The individual webviews are created using fragments. The idea is that the user can quickly switch back and forth between pages. While testing, when I switch to the tab dir... | android|android-studio|kotlin|android-fragments|android-tablayout | 0 | 2022-07-08T14:38:01.557Z | 2,022 | 7 | 14 | 4 | 50 | 1 | 915 | 84 | 5 | 2 | true | false | false | false | false | false | zero |
72,913,125 | changing MinSdk after launcing in Store for flutter App and error in install | <p>I have launched a app this 2 month ago with signing and this properties:</p>
<pre><code>defaultConfig {
minSdkVersion 18
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
</code></pre>
<p>Now i added some new features like firebase messaging and firebase... | I have launched a app this 2 month ago with signing and this properties: [CODE] Now i added some new features like firebase messaging and firebase notification that require at least MinSdk 19 ; So i changed MinSdk to => 19 and change version from [CODE] to [CODE] But when i release new version and try to update last ve... | flutter|firebase-cloud-messaging|release|android-min-sdk | 0 | 2022-07-08T14:43:51.233Z | 2,022 | 7 | 14 | 4 | 15 | 1 | 535 | 76 | 4 | 3 | true | false | false | false | false | false | zero |
72,913,142 | Image path for EXIFInterface | <p>I use this code to get an image's path and then try to get it's EXIF data to check rotation but the code crashes with the message
"Caused by: java.io.FileNotFoundException: /external/images/media/12729 (No such file or directory)" at line</p>
<pre><code>val ei = selectedImage.path?.let { ExifInterface(it) ... | I use this code to get an image's path and then try to get it's EXIF data to check rotation but the code crashes with the message "Caused by: java.io.FileNotFoundException: /external/images/media/12729 (No such file or directory)" at line [CODE] My code is [CODE] | android | 1 | 2022-07-08T14:44:37.797Z | 2,022 | 7 | 14 | 4 | 20 | 1 | 273 | 28 | 1 | 2 | true | false | false | false | false | false | low |
72,913,179 | Android. Is it always necessary to use DiffUtils with RecyclerView? | <p>I'm using RecyclerView and I know that my list can only contain about thirty items at most. In addition, the recycler view will be updated only once, that is, there will be no list updates. In order to pass data to the recycler view, I wrote the following method in the adapter:</p>
<pre><code>fun setItems(items: Lis... | I'm using RecyclerView and I know that my list can only contain about thirty items at most. In addition, the recycler view will be updated only once, that is, there will be no list updates. In order to pass data to the recycler view, I wrote the following method in the adapter: [CODE] But Android Studio says me: It wil... | android|android-recyclerview|android-adapter|notifydatasetchanged|android-diffutils | 0 | 2022-07-08T14:47:44.773Z | 2,022 | 7 | 14 | 4 | 25 | 0 | 613 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
72,913,263 | can i use a virtual machine and an android emulator? | <p>i cant use a VM and a emulator at same time, if I want to use VM I have to enable hyper-v and when open the emulator I get a bluescreen and have to disable hyper-v for use it, is this normal?</p> | i cant use a VM and a emulator at same time, if I want to use VM I have to enable hyper-v and when open the emulator I get a bluescreen and have to disable hyper-v for use it, is this normal? | windows|android-emulator|virtual-machine|virtualbox|hyper | 0 | 2022-07-08T14:53:41.440Z | 2,022 | 7 | 14 | 4 | 26 | 0 | 191 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
72,913,390 | How to reduce the use of viewBinding, to call (text,edit)views From layout | <p>I want to decrease the use of binding in my code</p>
<pre><code>fun setVisibility() {
binding.tvFact.visibility = View.VISIBLE
binding.tvTimeStamp.visibility = View.VISIBLE
binding.progressBar.visibility = View.GONE
}
</code></pre> | I want to decrease the use of binding in my code [CODE] | android|kotlin|binding | 0 | 2022-07-08T15:04:01.257Z | 2,022 | 7 | 15 | 4 | 50 | 2 | 55 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
72,913,451 | How to save and restore navigation state in Jetpack Compose? | <p>I want to navigate to another screen, but i want to save current state, and then restore it. I tried to do as described in the <a href="https://developer.android.com/jetpack/compose/navigation#bottom-nav" rel="nofollow noreferrer">bottom navigation documentation</a>:</p>
<pre><code>navController.navigate(Screen.Came... | I want to navigate to another screen, but i want to save current state, and then restore it. I tried to do as described in the bottom navigation documentation : [CODE] But it doesn't work. | android|android-jetpack-compose|android-jetpack-navigation | 2 | 2022-07-08T15:08:05.610Z | 2,022 | 7 | 15 | 4 | 544 | 1 | 188 | 60 | 3 | 1 | true | false | false | false | false | false | low |
72,913,495 | Android Studio material library causes cannot convert String to Boolean crash | <p>I've just bumped the material library in one of my apps to the latest (1.6.1) from 1.4.0.</p>
<pre><code>implementation 'com.google.android.material:material:1.6.1'
</code></pre>
<p>With 1.4.0 everything worked fine, but now my app crashes on launch with the following error:</p>
<pre><code>2022-07-05 17:13:17.784 17... | I've just bumped the material library in one of my apps to the latest (1.6.1) from 1.4.0. [CODE] With 1.4.0 everything worked fine, but now my app crashes on launch with the following error: [CODE] If I comment out the following line in my onCreate() the app opens fine (though the Google Play check is not being run, wh... | java|android|android-studio|material-components-android | 0 | 2022-07-08T15:12:42.180Z | 2,022 | 7 | 15 | 4 | 40 | 0 | 1,202 | 77 | 4 | 5 | true | true | false | false | false | false | zero |
72,913,602 | What is the difference between Base station and Correction inputs in RTKLIB? | <p>I am trying to configure the inputs for RTKNAVI (one of RTKLIB AP's) and that's what i see:<br />
<a href="https://i.stack.imgur.com/YDrx5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YDrx5.png" alt="enter image description here" /></a></p>
<p>The rover part i get, that's my GPS receiver,<br />... | I am trying to configure the inputs for RTKNAVI (one of RTKLIB AP's) and that's what i see: The rover part i get, that's my GPS receiver, But i always thought that Base station nothing more than a supplier of Correction data, So it's hard for me to see the difference between those two Any thoughts? | gps|location|android-gps|rtk | 0 | 2022-07-08T15:20:31.917Z | 2,022 | 7 | 15 | 4 | 24 | 0 | 299 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
72,913,623 | Call Disconnect Reason - Android | <p>Is there any way to find out the reason for a call disconnect?</p>
<p>My app is used for call testing i.e. I can make calls and disconnect calls, but not able to figure out if the call disconnect was from user end or due to network problem.</p>
<p>I tried using <a href="https://developer.android.com/reference/androi... | Is there any way to find out the reason for a call disconnect? My app is used for call testing i.e. I can make calls and disconnect calls, but not able to figure out if the call disconnect was from user end or due to network problem. I tried using link to implement it but was not successful. Also I do not see much info... | android|api|networking|call|telecom | 0 | 2022-07-08T15:22:10.470Z | 2,022 | 7 | 15 | 4 | 14 | 0 | 528 | 32 | 5 | 0 | false | true | false | false | false | false | zero |
72,913,808 | Add tabbed bar somewhere other than MainPage | <p>I would like to know how I can put a tabbed bar on a specific page, since the user must first log in to enter the rewards part where the tabbed bar is located, but apparently I can only load it on the main page, how can I do that this tabbed bar is loaded on the rewards page and not on the mainpage, thanks in advanc... | I would like to know how I can put a tabbed bar on a specific page, since the user must first log in to enter the rewards part where the tabbed bar is located, but apparently I can only load it on the main page, how can I do that this tabbed bar is loaded on the rewards page and not on the mainpage, thanks in advance, ... | android|xamarin | 0 | 2022-07-08T15:37:15.103Z | 2,022 | 7 | 15 | 4 | 15 | 1 | 677 | 44 | 2 | 2 | true | false | 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.