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,928,452 | How to configure flutter ffmpeg | <p>I am developing a flutter app with flutter_ffmpeg package , I want to compress video and using this function</p>
<p>FFmpeg.execute('-i input.mp4 -c:v lib*264 crf 0 output.mp4')</p>
<p>Now , the ffmpeg is saying unrecognised option CRF after removing it , it says unknown encoder lib*264</p>
<p>After googling , I foun... | I am developing a flutter app with flutter_ffmpeg package , I want to compress video and using this function FFmpeg.execute('-i input.mp4 -c:v lib*264 crf 0 output.mp4') Now , the ffmpeg is saying unrecognised option CRF after removing it , it says unknown encoder lib*264 After googling , I found that I have to --enabl... | flutter|ffmpeg|flutter-dependencies|android-ffmpeg|mobile-ffmpeg | 0 | 2022-07-10T12:25:53.080Z | 2,022 | 7 | 12 | 6 | 71 | 0 | 366 | 31 | 5 | 0 | false | true | false | false | false | false | zero |
72,928,458 | How to add OnClickListener with databinding in recycleView buttons? | <p>I am fetching the categories from an API and I would like to fire up a new fragment by passing the category name to retrofit on the button click. I am thinking of doing it in my UI with <code>getText()</code> on the button clicked and firing up the API call which will display the result on a new fragment.
The API I ... | I am fetching the categories from an API and I would like to fire up a new fragment by passing the category name to retrofit on the button click. I am thinking of doing it in my UI with getText() on the button clicked and firing up the API call which will display the result on a new fragment. The API I am using is http... | android|android-studio|kotlin|android-fragments|android-recyclerview | 1 | 2022-07-10T12:27:12.507Z | 2,022 | 7 | 12 | 6 | 65 | 1 | 764 | 67 | 5 | 6 | true | false | false | false | false | false | low |
72,928,511 | Unity error at the export. How can i fix it? | <p>In Unity is the following error how can I fix it because I want to export my program:
FileNotFoundException: Failed to find $C:/Program Files/Unity/Hub/Editor/2021.3.6f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\GradleTemplates\mainTemplate.gradle
UnityEditor.Android.AndroidBuildPostprocessor.GetTemplate (Syst... | In Unity is the following error how can I fix it because I want to export my program: FileNotFoundException: Failed to find $C:/Program Files/Unity/Hub/Editor/2021.3.6f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\GradleTemplates\mainTemplate.gradle UnityEditor.Android.AndroidBuildPostprocessor.GetTemplate (System.... | c#|android|unity3d|export | 1 | 2022-07-10T12:37:14.270Z | 2,022 | 7 | 12 | 6 | 1,683 | 4 | 400 | 44 | 4 | 0 | false | false | false | false | false | false | low |
72,928,604 | How to transfer data via USB cable on Android? - Like DroidCam | <p>I tried tons of different ways to transfer a frame from my android to my laptop python program, but they all failed!
<br/>
The error here is that I can't find the IP address of the connected USB android phone to create a socket on it.
<br/>
So how can I do that with Python? Please show all your scripts!</p> | I tried tons of different ways to transfer a frame from my android to my laptop python program, but they all failed! The error here is that I can't find the IP address of the connected USB android phone to create a socket on it. So how can I do that with Python? Please show all your scripts! | python|android|python-3.x|usb|android-camera | 0 | 2022-07-10T12:52:29Z | -1 | -1 | -1 | -1 | 45 | 0 | 292 | 62 | 5 | 0 | false | true | false | false | false | false | zero |
72,928,622 | Material 3 NavigationBarItem: How to change selected and unselected icons? | <p>Can the image of a <code>NavigationBarItem</code> icon be changed whenever the <code>NavigationBarItem</code> is selected or unselected?</p>
<p><strong>Current result</strong></p>
<p><a href="https://i.stack.imgur.com/37vQY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/37vQY.png" alt="enter imag... | Can the image of a NavigationBarItem icon be changed whenever the NavigationBarItem is selected or unselected? Current result Expected result [CODE] | android|kotlin|android-jetpack-compose | 0 | 2022-07-10T12:54:50.250Z | 2,022 | 7 | 12 | 6 | 38 | 1 | 148 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
72,928,637 | use two ordebychild() functions in firebase | <p>I am trying to get data of "fromuser" equals to "moeez" and "status" equals to "pending" in firebase
using query</p>
<pre><code>Query query1 = databaseReference.child("fromuser").equalTo(name).orderByChild("status").equalTo(status_value);
</code></pre>
<p>g... | I am trying to get data of "fromuser" equals to "moeez" and "status" equals to "pending" in firebase using query [CODE] gives error java.lang.IllegalArgumentException: You can't combine multiple orderBy calls! Now how can i retrieve both values at same time to display sorted data... | android|firebase|firebase-realtime-database | 0 | 2022-07-10T12:57:46.870Z | 2,022 | 7 | 12 | 6 | 21 | 0 | 322 | 43 | 3 | 1 | true | true | false | false | false | false | zero |
72,928,643 | Unable to use methods such as findElementByAccessibilityId(String) in Appium with Java | <p>I am new to Appium and have configured my project to use Appium Java Client v8.1.1
When I try to use methods such as findElementByAccessibilityId(String), Eclipse thows me this error - The method findElementByAccessibilityId(String) is undefined for the type AndroidDriver</p>
<p>driver initialization is as below:</p... | I am new to Appium and have configured my project to use Appium Java Client v8.1.1 When I try to use methods such as findElementByAccessibilityId(String), Eclipse thows me this error - The method findElementByAccessibilityId(String) is undefined for the type AndroidDriver driver initialization is as below: AndroidDrive... | appium-android|appium-java | 0 | 2022-07-10T12:59:04.693Z | 2,022 | 7 | 12 | 6 | 67 | 0 | 413 | 86 | 2 | 0 | false | true | false | false | false | false | zero |
72,928,682 | How to check if a composable is on top of the back stack or not? | <p>I have a navigation graph containing a <code>HomeScreen</code> and a <code>MyBottomSheet</code>. For bottom sheets I am using Accompanist Navigation.
Both of the destinations share a common ViewModel which is scoped to that navigation graph. From that ViewModel I am exposing a <code>Flow<MyEvent></code> where ... | I have a navigation graph containing a HomeScreen and a MyBottomSheet . For bottom sheets I am using Accompanist Navigation. Both of the destinations share a common ViewModel which is scoped to that navigation graph. From that ViewModel I am exposing a Flow<MyEvent> where MyEvent is: [CODE] The two composables look lik... | android|kotlin|android-jetpack-compose|android-jetpack-navigation|jetpack-compose-accompanist | 0 | 2022-07-10T13:04:29.060Z | 2,022 | 7 | 13 | 6 | 98 | 1 | 936 | 64 | 5 | 3 | true | false | false | false | false | false | zero |
72,928,694 | How to change only info/System.out color in Android Studio? | <p>I am using <code>println</code> for debug. How to change only this output color in Android Studio?</p>
<pre><code>println("Test")
</code></pre>
<p>Logcat (i want to change color of only this red box);
<a href="https://i.stack.imgur.com/r09fz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | I am using println for debug. How to change only this output color in Android Studio? [CODE] Logcat (i want to change color of only this red box); | android-studio | 0 | 2022-07-10T13:06:39.170Z | 2,022 | 7 | 13 | 6 | 17 | 0 | 146 | 59 | 1 | 1 | true | true | false | false | false | false | zero |
72,928,820 | download Android Studio and the SDK is missing | <p>I just download Android studio and flutter
<strong>flutter doctor gave the error</strong>
" Unable to locate Android SDK.
Install Android Studio from: <a href="https://developer.android.com/studio/index.html" rel="nofollow noreferrer">https://developer.android.com/studio/index.html</a>
On first launch it will a... | I just download Android studio and flutter flutter doctor gave the error " Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/w... | android|sdk | 0 | 2022-07-10T13:23:21.007Z | 2,022 | 7 | 13 | 6 | 23 | 0 | 533 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
72,928,880 | How to Retrieve Image/ Screenshot from Application Document Directory Flutter? | <p>I'm trying to build an in app gallery function where I can screenshot certain widgets in the app and then display it inside the app's internal gallery screen. Currently, I am using the Flutter screenshot package and then I save the screenshot to the Application document directory path. But how do I retrieve the imag... | I'm trying to build an in app gallery function where I can screenshot certain widgets in the app and then display it inside the app's internal gallery screen. Currently, I am using the Flutter screenshot package and then I save the screenshot to the Application document directory path. But how do I retrieve the images ... | android|flutter|dart|screenshot | 0 | 2022-07-10T13:34:44.463Z | 2,022 | 7 | 13 | 6 | 42 | 1 | 365 | 78 | 4 | 0 | false | false | false | false | false | false | zero |
72,928,899 | How to fix 'ARGUMENTS_NOT_ALLOWED' error Realm SDK for Kotlin? | <p>I am using MongoDB to save data from my Android app which I am developing with Kotlin Jetpack Compose. I am using MongoClient to access the database and save the data, but when I try to insert a Document I get this error:</p>
<blockquote>
<p>Error: ARGUMENTS_NOT_ALLOWED(realm::app::ServiceError:13) : insert not perm... | I am using MongoDB to save data from my Android app which I am developing with Kotlin Jetpack Compose. I am using MongoClient to access the database and save the data, but when I try to insert a Document I get this error: Error: ARGUMENTS_NOT_ALLOWED(realm::app::ServiceError:13) : insert not permitted This is my code w... | java|android|mongodb|kotlin|realm | 0 | 2022-07-10T13:37:31.317Z | 2,022 | 7 | 13 | 6 | 40 | 0 | 487 | 62 | 5 | 2 | true | true | false | false | false | false | zero |
72,928,909 | FrameLayout not displaying elements | <p>I am trying to create a <em>FrameLayout</em> that contains other <em>FrameLayouts</em>. I have created an EditorView class that extends FrameLayout, and I want it to display <em>FileView</em>, another class that extends <em>FrameLayout</em>. But in Android Studio preview I get an blank view. What am I doing wrong.</... | I am trying to create a FrameLayout that contains other FrameLayouts . I have created an EditorView class that extends FrameLayout, and I want it to display FileView , another class that extends FrameLayout . But in Android Studio preview I get an blank view. What am I doing wrong. This is the ediorview_activity.xml: [... | java|android | 0 | 2022-07-10T13:39:00.930Z | 2,022 | 7 | 13 | 6 | 24 | 0 | 421 | 35 | 2 | 3 | true | true | false | false | false | false | zero |
72,928,925 | Alarm gets trigger immediately before the scheduled time | <p>I am working on reminder app where I am using AlarmManager , But when I schedule a certain reminder with particular time it immediately triggers the notification.Is there any bug with AlarmManager.RTC_WAKEUP on Android 5 (Lollipop) . For storing date, time, and text values I have used sqlite database.
Below is my co... | I am working on reminder app where I am using AlarmManager , But when I schedule a certain reminder with particular time it immediately triggers the notification.Is there any bug with AlarmManager.RTC_WAKEUP on Android 5 (Lollipop) . For storing date, time, and text values I have used sqlite database. Below is my code:... | java|android | 0 | 2022-07-10T13:41:15.660Z | 2,022 | 7 | 13 | 6 | 28 | 0 | 380 | 56 | 2 | 3 | true | true | false | false | false | false | zero |
72,929,017 | Android Studio Kotlin how to make a Constraint Layout scrollable with Scroll View? | <p>Basically I want to make the screen scrollable when the keyboard appears during text input, but no matter what I do it refuses to work. I made a Scroll View and put a Constraint Layout with all the elements in it. But it just refuses to scroll when the keyboard pops up.</p>
<p>This is the .xml</p>
<pre><code><?xm... | Basically I want to make the screen scrollable when the keyboard appears during text input, but no matter what I do it refuses to work. I made a Scroll View and put a Constraint Layout with all the elements in it. But it just refuses to scroll when the keyboard pops up. This is the .xml [CODE] and this is how the activ... | xml|android-studio|kotlin|scrollview | 0 | 2022-07-10T13:54:54.857Z | 2,022 | 7 | 13 | 6 | 43 | 1 | 513 | 82 | 4 | 1 | true | false | false | false | false | false | zero |
72,929,035 | How to create a button to clear android app cache | <p>I want to create a button in Android studio that should be part of the menu in my android WebView app, which automatically clears the cache of the application whenever a user clicks it.</p>
<p>How do I do that please? I am a beginner, so detailed explanation will be much appreciated!</p> | I want to create a button in Android studio that should be part of the menu in my android WebView app, which automatically clears the cache of the application whenever a user clicks it. How do I do that please? I am a beginner, so detailed explanation will be much appreciated! | android|kotlin|caching | 0 | 2022-07-10T13:56:19.670Z | 2,022 | 7 | 13 | 6 | 48 | 1 | 277 | 49 | 3 | 0 | false | false | false | false | false | false | zero |
72,929,050 | Android mapbox view annotation in fragment not working | <p>Android Mapbox view annotation in fragment not working:</p>
<p>I try to use Mapbox in fragment and add view annotation to it, the map works, but the view annotation does not appear on the map. (The code is the same as the example in the documents: <a href="https://docs.mapbox.com/android/maps/guides/annotations/view... | Android Mapbox view annotation in fragment not working: I try to use Mapbox in fragment and add view annotation to it, the map works, but the view annotation does not appear on the map. (The code is the same as the example in the documents: https://docs.mapbox.com/android/maps/guides/annotations/view-annotations/ ) my ... | kotlin|mapbox-android | 0 | 2022-07-10T13:58:51.370Z | 2,022 | 7 | 13 | 6 | 79 | 0 | 357 | 54 | 2 | 1 | true | true | false | false | false | false | zero |
72,929,056 | X-compiling on Linux with NDK/clang++ and boost to Android | <p>I have developed a library that wraps <a href="https://github.com/svgpp/svgpp" rel="nofollow noreferrer">svg++</a>.<br/>
svg++ is a header only library that utilises parts of boost, and these parts it pulls in are also header files only.
It does not require linking with any boost pre-built binaries.</p>
<p>I have b... | I have developed a library that wraps svg++ . svg++ is a header only library that utilises parts of boost, and these parts it pulls in are also header files only. It does not require linking with any boost pre-built binaries. I have built my library for Linux and for Windows. I need to also x-compile to Android. Questi... | android|c++|linux|boost | 0 | 2022-07-10T13:59:53.597Z | 2,022 | 7 | 13 | 6 | 48 | 1 | 1,023 | 58 | 4 | 4 | true | false | false | false | false | false | zero |
72,929,070 | How to update data item in RecyclerView responded by a ClickListener in another activity | <p>I am trying to make a RecyclerView in which I can delete or edit the individual item. I could find how to implement the delete function, but not the edit.</p>
<p>I have the first activity 'EmergencyCallActivity' which contains the list of items in the form of RecyclerView.</p>
<p>If I click the edit icon of each ite... | I am trying to make a RecyclerView in which I can delete or edit the individual item. I could find how to implement the delete function, but not the edit. I have the first activity 'EmergencyCallActivity' which contains the list of items in the form of RecyclerView. If I click the edit icon of each item, the activity c... | android|kotlin|android-recyclerview|sql-update | 0 | 2022-07-10T14:02:10.277Z | 2,022 | 7 | 14 | 6 | 36 | 0 | 1,088 | 88 | 4 | 4 | true | true | false | false | false | false | zero |
72,929,124 | How to get JVM in a new process on Android? | <p>I'm working on an Android project on Android 11. Now I use <code>Runtime.getRuntime().exec()</code> to generate a new process to run some commands. However these commands will call JNI functions in the new process, where I found it pretty difficult to do so because the new process cannot access my cached JVM pointer... | I'm working on an Android project on Android 11. Now I use Runtime.getRuntime().exec() to generate a new process to run some commands. However these commands will call JNI functions in the new process, where I found it pretty difficult to do so because the new process cannot access my cached JVM pointer in the main pro... | java|android|multiprocessing|java-native-interface | 0 | 2022-07-10T14:09:19.087Z | 2,022 | 7 | 14 | 6 | 47 | 0 | 644 | 43 | 4 | 1 | true | true | false | false | false | false | zero |
72,929,194 | Firebase Functions: Push Notifications are triggered multiple times when writing in Realtime Database (Android, Java) | <p>I'm having a problem with FCM. I have some notification functions that are triggered when something happens in Realtime Database. They all work as they should, but at one point in the App, there a new meeting is generated automatically, with its meeting details. Some of these details are triggers for some push notif... | I'm having a problem with FCM. I have some notification functions that are triggered when something happens in Realtime Database. They all work as they should, but at one point in the App, there a new meeting is generated automatically, with its meeting details. Some of these details are triggers for some push notifica... | android|push-notification|firebase-cloud-messaging | 0 | 2022-07-10T14:21:31.983Z | 2,022 | 7 | 14 | 6 | 51 | 0 | 1,402 | 117 | 3 | 3 | true | true | false | false | false | false | zero |
72,929,364 | adb: failed to install split_config.en.apk: Error: must specify a APK size | <p><code>split_config.en.apk</code> this is not corrupted packages at all but still adb giving me this response.</p>
<pre><code>adb: failed to install split_config.en.apk: Error: must specify a APK size
</code></pre>
<p>how can i install that package.</p> | split_config.en.apk this is not corrupted packages at all but still adb giving me this response. [CODE] how can i install that package. | android|apk|adb|fastboot | 0 | 2022-07-10T14:46:16.927Z | 2,022 | 7 | 14 | 6 | 180 | 0 | 135 | 74 | 4 | 1 | true | true | false | false | false | false | zero |
72,929,378 | Display healthService data such as step in AmbientMode (Android wear) | <p>I want to display health-service data such as step, pace, etc in AmbientMode.</p>
<p>But HealthServices(using ExerciseClient <a href="https://developer.android.com/training/wearables/health-services/active" rel="nofollow noreferrer">https://developer.android.com/training/wearables/health-services/active</a>) seems t... | I want to display health-service data such as step, pace, etc in AmbientMode. But HealthServices(using ExerciseClient https://developer.android.com/training/wearables/health-services/active ) seems to go into Sleep state when entering ambient mode. I tried using AmbientUpdate with AlarmManager, but HealthServices did n... | android|kotlin|wear-os|watch | 0 | 2022-07-10T14:48:48.393Z | 2,022 | 7 | 14 | 6 | 57 | 1 | 482 | 69 | 4 | 0 | false | false | false | false | false | false | zero |
72,929,456 | How to optimize a complex activity has more than 80 views | <p><strong>Overview:</strong>
I am trying to create this activity where it has <strong>X subjects</strong> (in this case 12) each subject has its own <strong>CardView</strong>, each card has three <strong>TextEdit</strong>s that calculate the average of that subject and show it in the <strong>TextView</strong> of that ... | Overview: I am trying to create this activity where it has X subjects (in this case 12) each subject has its own CardView , each card has three TextEdit s that calculate the average of that subject and show it in the TextView of that card, and by the end after a button click it shows the average of all the subjects tog... | android|xml|android-studio|kotlin|android-listview | 0 | 2022-07-10T14:59:15.920Z | 2,022 | 7 | 14 | 6 | 43 | 1 | 823 | 57 | 5 | 2 | true | false | false | false | false | false | zero |
72,929,692 | creating notifications with AwesomeNotifitcations without using Atleast one NotificationButton in NotificationLayout.MediaPlayer style causes error | <p>creating notifications with AwesomeNotifitcations without using Atleast one NotificationButton in NotificationLayout.MediaPlayer style causes following error:</p>
<pre><code> java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
[ ] W/System.... | creating notifications with AwesomeNotifitcations without using Atleast one NotificationButton in NotificationLayout.MediaPlayer style causes following error: [CODE] | android|flutter|notifications | 0 | 2022-07-10T15:32:01.937Z | 2,022 | 7 | 15 | 6 | 13 | 1 | 165 | 147 | 3 | 1 | true | false | false | false | false | false | zero |
72,929,721 | How do I include required aar and jar files in a Xamarin Android app? What is the AndroidLibrary build action for? | <p>We use Xamarin Forms and I have been tasked with integrating a 3rd party AAR library from a business partner and I don't have control over the library or its dependencies. This library itself is distributed using Maven, which works great in Android Studio but is a pain in Xamarin, and it has many dependencies on bo... | We use Xamarin Forms and I have been tasked with integrating a 3rd party AAR library from a business partner and I don't have control over the library or its dependencies. This library itself is distributed using Maven, which works great in Android Studio but is a pain in Xamarin, and it has many dependencies on both l... | android|xamarin|xamarin.forms|binding | 0 | 2022-07-10T15:35:51.670Z | 2,022 | 7 | 15 | 6 | 66 | 0 | 2,369 | 114 | 4 | 0 | false | true | false | false | false | false | zero |
72,929,798 | Hidden sound files on the settings list | <p>I have a Samsung Galaxy S22 running Android 12...</p>
<p>I moved a new notification sound file I have into the notification folder. Now I can't get it to show up in the list of choices when I try to change my notification sound in any app.</p>
<p>It's an MP3 file. I also converted it to a WAV but it still doesn't sh... | I have a Samsung Galaxy S22 running Android 12... I moved a new notification sound file I have into the notification folder. Now I can't get it to show up in the list of choices when I try to change my notification sound in any app. It's an MP3 file. I also converted it to a WAV but it still doesn't show up in the list... | android | 0 | 2022-07-10T15:46:44.223Z | 2,022 | 7 | 15 | 6 | 15 | 0 | 816 | 39 | 1 | 0 | false | true | false | false | false | false | zero |
72,929,881 | Hash of a CA Certificate | <p>I am trying to sniff network traffic for a particular beta app on MEMU, a Windows-based Android Emulator. Accordingly, I set up <a href="https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler" rel="nofollow noreferrer">Fiddler Proxy</a> and installed the Fiddler Root Certificate to analyze <code>H... | I am trying to sniff network traffic for a particular beta app on MEMU, a Windows-based Android Emulator. Accordingly, I set up Fiddler Proxy and installed the Fiddler Root Certificate to analyze HTTPS data. However, not unsurprisingly, almost all apps (except Chrome) fail to connect since they do not trust user-instal... | openssl|android-emulator|sniffing | 0 | 2022-07-10T15:59:46.977Z | 2,022 | 7 | 15 | 6 | 32 | 0 | 833 | 24 | 3 | 0 | false | true | false | false | false | false | zero |
72,929,946 | Flutter Group items in a ListViewBuilder and Count Total | <p>I have a Product class that contains many properties include the name property,</p>
<pre><code>final List<Product> listViewProductsRecordList = snapshot.data;
</code></pre>
<p>I have a list view builder which I use to display each product</p>
<pre><code> ListView.builder(
padding: EdgeInsets.zero,
sc... | I have a Product class that contains many properties include the name property, [CODE] I have a list view builder which I use to display each product [CODE] I get the correct output: [CODE] Here come where I am stuck in implementation, I want to display something like this: [CODE] What I have tried is the following: [C... | android|flutter | 1 | 2022-07-10T16:08:55.477Z | 2,022 | 7 | 16 | 6 | 23 | 2 | 461 | 56 | 2 | 6 | true | false | false | false | false | false | low |
72,930,090 | Loading of GoogleMap in Compose is really slow | <p>I am using the <a href="https://developers.google.com/maps/documentation/android-sdk/maps-compose" rel="nofollow noreferrer">Maps Compose Library</a> to display a map:</p>
<pre><code>@Composable
fun Maps(latLng: LatLng, radius: Float) {
val uiSettings = remember { MapUiSettings(zoomControlsEnabled = false, rotat... | I am using the Maps Compose Library to display a map: [CODE] however, the initial loading is very slow: Skipped 51 frames! The application may be doing too much work on its main thread. So, I was wondering if there is a way to fix this so that the user can interact with the other elements on the screen while the map is... | google-maps|android-jetpack-compose|google-maps-android-api-2 | 0 | 2022-07-10T16:26:20.617Z | 2,022 | 7 | 16 | 6 | 127 | 1 | 329 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
72,930,185 | Flutter app crash only on Xperia 10 III, how to simulate on android studio? | <p>I tested my app bundle with firebase test lab, on some device and I test also with my real device at home and with friends. All run are OK except an Sony Xperia 10 III</p>
<p>Version Android : 12</p>
<p>Version de bande de base : bitra.gen-00411-25,bitra.gen-00411-25</p>
<p>Version du noyau :
4.19.157-perf+#1 Fri Ap... | I tested my app bundle with firebase test lab, on some device and I test also with my real device at home and with friends. All run are OK except an Sony Xperia 10 III Version Android : 12 Version de bande de base : bitra.gen-00411-25,bitra.gen-00411-25 Version du noyau : 4.19.157-perf+#1 Fri Apr 22 19:25:04 JST 2022 N... | android|flutter | 0 | 2022-07-10T16:41:19.503Z | 2,022 | 7 | 16 | 6 | 55 | 2 | 450 | 75 | 2 | 1 | true | false | false | false | false | false | zero |
72,930,196 | How do you add cn1libs to the CodeRAD app generated by start.codenameone.com | <p>Looking through the documentation for Codename One, the instructions for using the cn1libs indicate using the IDE plugins and the Codename One Preferences/Settings dialogs. When I follow this process and review the resulting project, I do not see any references to the libraries where I would expect to see them in t... | Looking through the documentation for Codename One, the instructions for using the cn1libs indicate using the IDE plugins and the Codename One Preferences/Settings dialogs. When I follow this process and review the resulting project, I do not see any references to the libraries where I would expect to see them in the p... | java|android|ios|codenameone | 1 | 2022-07-10T16:42:18.030Z | 2,022 | 7 | 16 | 6 | 25 | 1 | 845 | 76 | 4 | 0 | false | false | false | false | false | false | low |
72,930,239 | How to skip loginScreen and passwordScreen after launch the app | <p><strong>Hello i would like to know How to skip the loginScreen and the passwordScreen and move to homeScreen after launching the app because i have Stored the username and password in Datastore, So how can i do that?</strong></p>
<p><strong>Here is my code:</strong></p>
<p>MainActivity.kt</p>
<pre><code>setContent {... | Hello i would like to know How to skip the loginScreen and the passwordScreen and move to homeScreen after launching the app because i have Stored the username and password in Datastore, So how can i do that? Here is my code: MainActivity.kt [CODE] Screen Class [CODE] Navigation.kt [CODE] LoginScreen.kt [CODE] Password... | android|kotlin|android-jetpack-compose|android-jetpack|jetpack-compose-navigation | 1 | 2022-07-10T16:47:49.320Z | 2,022 | 7 | 16 | 6 | 60 | 1 | 380 | 63 | 5 | 7 | true | false | false | false | false | false | low |
72,930,258 | How do I set up automatic updates via the source code in my Android Studio app? | <p>How do I set up automatic updates via the source code in my Android Studio app?
The app is not in the PlayStore.</p> | How do I set up automatic updates via the source code in my Android Studio app? The app is not in the PlayStore. | android|android-studio|kotlin | 0 | 2022-07-10T16:50:38.400Z | 2,022 | 7 | 16 | 6 | 46 | 1 | 112 | 79 | 3 | 0 | false | false | false | false | false | false | zero |
72,930,348 | Meteor: Why does this command fail? Android target: Command failed with EACCES: avdmanager list target | <p>I'm not able to run my meteor app on Android as the Android target command failed. Could this be a permissions issue somewhere? The Android SDK installed to <code>/root</code> and I moved it to <code>/etc</code>, could that be part of the problem?</p>
<p>Why does this command fail and how can I resolve this?</p>
<... | I'm not able to run my meteor app on Android as the Android target command failed. Could this be a permissions issue somewhere? The Android SDK installed to /root and I moved it to /etc , could that be part of the problem? Why does this command fail and how can I resolve this? [CODE] These are my paths set in my .bashr... | android-studio|meteor | 0 | 2022-07-10T17:02:02.330Z | 2,022 | 7 | 17 | 6 | 49 | 2 | 359 | 102 | 2 | 2 | true | false | false | false | false | false | zero |
72,930,395 | How to get background RunningTasks for other apps in java? | <p>I want get background <code>RunningTask</code> for other apps by <code>specified Package</code>.
Example:
If 'com.example.app' is running on background, than show toast 'App is Running'
else
Show toast 'App is not running'<br>
Thanks in advance.</p>
<p>here is my code example</p>
<pre><code>public boolean isRunningA... | I want get background RunningTask for other apps by specified Package . Example: If 'com.example.app' is running on background, than show toast 'App is Running' else Show toast 'App is not running' Thanks in advance. here is my code example [CODE] | java|android | 0 | 2022-07-10T17:10:01.803Z | 2,022 | 7 | 17 | 6 | 28 | 0 | 247 | 58 | 2 | 1 | true | true | false | false | false | false | zero |
72,930,475 | Class referenced in the manifest | <h2>Class referenced in the manifest, <code>com.theartofdev.edmodo.cropper.CropImageActivity</code>, was not found in the project or the libraries.</h2>
<p><a href="https://i.stack.imgur.com/TLUm5.png" rel="nofollow noreferrer">pic</a></p> | Class referenced in the manifest, com.theartofdev.edmodo.cropper.CropImageActivity , was not found in the project or the libraries. pic | android|android-studio|android-manifest|manifest|android-library | 0 | 2022-07-10T17:23:28.717Z | 2,022 | 7 | 17 | 6 | 81 | 1 | 135 | 32 | 5 | 0 | false | false | false | false | false | false | zero |
72,930,584 | Firestore - RecycleView - Image holder | <p>I don't know how to write a holder for an image. I already have 2 texts set, but I don't know what the holder for the image should look like. Can you help me tell what the writeup for the image should look like in order for it to appear correctly?</p>
<pre><code>holder.artistImage.setImageResource(model.getArtistIma... | I don't know how to write a holder for an image. I already have 2 texts set, but I don't know what the holder for the image should look like. Can you help me tell what the writeup for the image should look like in order for it to appear correctly? [CODE] My code: [CODE] | java|android|android-recyclerview | 0 | 2022-07-10T17:39:10.613Z | 2,022 | 7 | 17 | 6 | 44 | 1 | 270 | 38 | 3 | 2 | true | false | false | false | false | false | zero |
72,930,643 | Developing Augmented Reality Apps for Android Studio 2022 | <p>I want to create an Android App which supports Augmted reality but it seems that the technologies are getting worse.</p>
<p>Since Google stopped working on Sceneform there are only 2 options left: Using ARCore with OpenGL which is basically impossible because there are hardly any docs out there.
Or using AR Foundati... | I want to create an Android App which supports Augmted reality but it seems that the technologies are getting worse. Since Google stopped working on Sceneform there are only 2 options left: Using ARCore with OpenGL which is basically impossible because there are hardly any docs out there. Or using AR Foundation but tha... | android|android-studio|unity3d|opengl-es|augmented-reality | 0 | 2022-07-10T17:48:24.517Z | 2,022 | 7 | 17 | 6 | 49 | 0 | 808 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
72,930,889 | I want to add fragment button but it is not working | <p>i am new to android, i want to add fragment button like in activity, but i can't add it where do i add it (findViewById is not coming out when i try to add it anywhere)</p>
<pre><code>
private ImageView walleticon;
private static final String ARG_PARAM1 = "param1";
private static final String A... | i am new to android, i want to add fragment button like in activity, but i can't add it where do i add it (findViewById is not coming out when i try to add it anywhere) [CODE] | java|android|android-fragments|mobile|android-button | 0 | 2022-07-10T18:24:57.750Z | 2,022 | 7 | 18 | 6 | 20 | 2 | 175 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
72,931,047 | .Net Maui Mobile App w SQLite - Android Emulator - Error System.TypeIntializationException | <p>I'm attempting to add local SQLite CRUD functionality to a .Net Maui Mobile App. I've been testing using the Android Emulator. The app complies but when I navigate to the page with local storage I receive the following error/exception:</p>
<p>System.TypeIntializationException</p>
<p>Looking at the call stack it ap... | I'm attempting to add local SQLite CRUD functionality to a .Net Maui Mobile App. I've been testing using the Android Emulator. The app complies but when I navigate to the page with local storage I receive the following error/exception: System.TypeIntializationException Looking at the call stack it appears the SQLite As... | sqlite|android-emulator|android-sqlite|maui | 0 | 2022-07-10T18:49:51.597Z | 2,022 | 7 | 18 | 6 | 144 | 0 | 598 | 90 | 4 | 4 | true | true | false | false | false | false | zero |
72,931,068 | How do I use EditableFactory in Xamarin Forms? | <p>My EditorFactory is crashing under Google Play testing. The class is embedded in a Renderer I have wrote to extend the Xamarin Forms Editor control.</p>
<pre><code>Error:
FATAL EXCEPTION: Thread-3
Process: com.MyApp.MyApp, PID: 23307
android.runtime.JavaProxyThrowable: System.InvalidCastException: Specified cas... | My EditorFactory is crashing under Google Play testing. The class is embedded in a Renderer I have wrote to extend the Xamarin Forms Editor control. [CODE] A skeleton of my renderer code is below. I hope it's enough to give a rough idea of how I'm using the factory: [CODE] Any ideas of why it might be crashing? | c#|android|xamarin.forms|spannable | 0 | 2022-07-10T18:52:14.300Z | 2,022 | 7 | 18 | 6 | 72 | 2 | 312 | 46 | 4 | 2 | true | false | false | false | false | false | zero |
72,931,070 | Add custom android libraries to react native library | <p>i wanted to use a github android library (camerakit-android) in my own react-native-library to access the camera natively. Is there any possibility to achieve that? I have experience in creating an own native library for android, but I never actually created a library using a native component. Can I fetch the images... | i wanted to use a github android library (camerakit-android) in my own react-native-library to access the camera natively. Is there any possibility to achieve that? I have experience in creating an own native library for android, but I never actually created a library using a native component. Can I fetch the images fr... | android|reactjs|camera|native|android-library | 0 | 2022-07-10T18:52:34.633Z | 2,022 | 7 | 18 | 6 | 50 | 0 | 522 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
72,931,181 | What is the proper way to do an HTTP GET on older versions of Android? | <p>I've been having an issue making HTTP GET requests consistent between versions of Android. On Android 7-12, this code works perfectly for accessing my remote server, and gets a response back relatively quickly.</p>
<pre class="lang-kotlin prettyprint-override"><code> executor.execute { //send an HTTP GET ... | I've been having an issue making HTTP GET requests consistent between versions of Android. On Android 7-12, this code works perfectly for accessing my remote server, and gets a response back relatively quickly. [CODE] However, when I try to run the exact same code under android 6.01, for example, I get returned a FileN... | android|android-networking | 0 | 2022-07-10T19:09:04.263Z | 2,022 | 7 | 19 | 6 | 26 | 1 | 431 | 70 | 2 | 1 | true | false | false | false | false | false | zero |
72,931,227 | a button in a data grid table flutter with a bool value | <p>i need to make a button for each row that changes the state of the
bool "that can't be a widget" from false to true
the data table takes info from an api
i need the button to work so that i can change the state as i explained above.</p>
<p>*edit from last time
i added a Container () with a child ,
*not to ... | i need to make a button for each row that changes the state of the bool "that can't be a widget" from false to true the data table takes info from an api i need the button to work so that i can change the state as i explained above. *edit from last time i added a Container () with a child , *not to forget the... | android|flutter|flutter-layout|flutter-dependencies|flutter-test | 1 | 2022-07-10T19:17:04.653Z | 2,022 | 7 | 19 | 6 | 42 | 0 | 571 | 55 | 5 | 2 | true | true | false | false | false | false | low |
72,931,239 | Time delay in unity even when app not active - Calendar app in unity | <p>so I'm making a calendar app in unity, but not just any calendar.. it's a custom calendar app for my friend because he doesn't like georgian, anyway my question is:
I have Date.TimeNow.Hour set to get the current hour in the device and i did the calculations for the calendar, the only thing im struggling with is cal... | so I'm making a calendar app in unity, but not just any calendar.. it's a custom calendar app for my friend because he doesn't like georgian, anyway my question is: I have Date.TimeNow.Hour set to get the current hour in the device and i did the calculations for the calendar, the only thing im struggling with is callin... | android|unity3d|time|calendar|timedelay | -1 | 2022-07-10T19:18:38.210Z | 2,022 | 7 | 19 | 6 | 45 | 1 | 811 | 68 | 5 | 2 | true | false | false | false | false | true | negative |
72,931,245 | How to simulate an Android hardware back button press in Jest with Angular? | <p>I'm trying to do some unit testing with my Android code for an app but I'm not sure how to simulate an actual hardware back button press. I've created a mock Platform and have called "mockPlatform.backButton.subscribeWithPriority", but when I run the Jest command and get back my code report, I see that it ... | I'm trying to do some unit testing with my Android code for an app but I'm not sure how to simulate an actual hardware back button press. I've created a mock Platform and have called "mockPlatform.backButton.subscribeWithPriority", but when I run the Jest command and get back my code report, I see that it has... | android|angular|jestjs | 0 | 2022-07-10T19:20:03.383Z | 2,022 | 7 | 19 | 6 | 60 | 0 | 760 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
72,931,340 | Finding reference to ImageView via an include tag in Android xml layout | <p>I am inflating a layout inside an Android Fragment. The layout to be inflated has the following include tag:</p>
<pre><code><include layout="@layout/middle_multi_game_card" //NEED TO LOCATE VIEW INSIDE THIS LAYOUT
android:id="@+id/includeID"
android:tag="@+id/big_game_card_tag&qu... | I am inflating a layout inside an Android Fragment. The layout to be inflated has the following include tag: [CODE] The layout in which the view reference I need has the following structure: [CODE] I have thought of using a ViewTreeObserver object to get the reference to the view, but I already use the ViewTreeObserver... | android|android-layout|view | 1 | 2022-07-10T19:34:04.470Z | 2,022 | 7 | 19 | 6 | 30 | 2 | 532 | 71 | 3 | 3 | true | false | false | false | false | false | low |
72,931,445 | Set color of LottieAnimationView with a color state selector | <p>I'd like to be able to enable and disable a LottieAnimationView. When disabled, it will be grayed out. I thought I could just use a simple color state selector like so:</p>
<pre><code><selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#FFFFFF" ... | I'd like to be able to enable and disable a LottieAnimationView. When disabled, it will be grayed out. I thought I could just use a simple color state selector like so: [CODE] Then set the app:lottie_colorFilter attribute to the above color resource: [CODE] Then set the LottieAnimationView enabled or disabled in code: ... | android|lottie | 0 | 2022-07-10T19:49:34.593Z | 2,022 | 7 | 19 | 6 | 41 | 0 | 787 | 60 | 2 | 4 | true | true | false | false | false | false | zero |
72,931,480 | Showing dynamically elements from a thread in java/android | <p>I'm debuting with Java developpment on Android, and I'm encountering a difficulty.</p>
<p>I want to fetch some elements from a database and then display them.</p>
<p>My app is composed of :
MainActivity, which displays MainFragment. On MainActivity there is a button changing MainFragment to SecondFragment, or Second... | I'm debuting with Java developpment on Android, and I'm encountering a difficulty. I want to fetch some elements from a database and then display them. My app is composed of : MainActivity, which displays MainFragment. On MainActivity there is a button changing MainFragment to SecondFragment, or SecondFragment to MainF... | java|android|view | 0 | 2022-07-10T19:55:34.803Z | 2,022 | 7 | 19 | 6 | 20 | 1 | 885 | 58 | 3 | 1 | true | false | false | false | false | false | zero |
72,931,492 | Sharedpreferences first startup, handling all values being null initially. Flutter | <p>First time a user starts an app, all SharedPreferences values are null.</p>
<p>If I set a color based on a sharedpreference value, it will crash before choosing the color in my settings.</p>
<p>What is the better way of these alternatives, are there other alternatives?</p>
<p><strong>1</strong>. use <code>color: sp.... | First time a user starts an app, all SharedPreferences values are null. If I set a color based on a sharedpreference value, it will crash before choosing the color in my settings. What is the better way of these alternatives, are there other alternatives? 1 . use color: sp.getint != null : Color(sp.getint) : Colors.whi... | android|flutter|dart|sharedpreferences | 0 | 2022-07-10T19:57:28.510Z | 2,022 | 7 | 19 | 6 | 35 | 1 | 456 | 82 | 4 | 1 | true | false | false | false | false | false | zero |
72,931,501 | mocking actual API call during unittesting retrofit interface | <p>learning about retrofit but couldn't write the tests for it. I came from jest background and struggling to test two things:</p>
<p>that the call was making to a specific end point and its status.</p>
<pre><code>import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter... | learning about retrofit but couldn't write the tests for it. I came from jest background and struggling to test two things: that the call was making to a specific end point and its status. [CODE] Test file: [CODE] it fails because there is no token. How can i mock the actual api call to return say 200 on the test and c... | android|kotlin|retrofit2 | 3 | 2022-07-10T19:58:50.413Z | 2,022 | 7 | 19 | 6 | 44 | 0 | 354 | 61 | 3 | 3 | true | true | false | false | false | false | low |
72,931,538 | Android Package Signing for .NET MAUI app | <p>I'm trying to upload the bundle file for my .NET MAUI app to Google Play but I'm getting the following error:</p>
<blockquote>
<p>Your Android App Bundle is signed with the wrong key. Ensure that your
App Bundle is signed with the correct signing key and try again. Your
App Bundle is expected to be signed with the c... | I'm trying to upload the bundle file for my .NET MAUI app to Google Play but I'm getting the following error: Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again. Your App Bundle is expected to be signed with the certificate with fingerp... | android|xamarin|xamarin.forms|maui|.net-maui | 0 | 2022-07-10T20:04:18.697Z | 2,022 | 7 | 20 | 6 | 213 | 1 | 856 | 41 | 5 | 0 | false | false | false | false | false | false | zero |
72,931,726 | How to pass a value to a function in flutter | <p>I created a <code>StatefulWidget</code> and get the index value here:</p>
<p><a href="https://i.stack.imgur.com/q68NR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q68NR.png" alt="enter image description here" /></a></p>
<p>But the index is not accessible in the function, how can I access the in... | I created a StatefulWidget and get the index value here: But the index is not accessible in the function, how can I access the index in the Fetchingredient function. | android|flutter|dart | 0 | 2022-07-10T20:36:47.430Z | 2,022 | 7 | 20 | 6 | 36 | 1 | 165 | 44 | 3 | 0 | false | false | false | false | false | false | zero |
72,931,746 | How to adjust microphone volume using seekbar programatically in Android? | <p>I am unable to find suitable code for adjusting Microphone volume using the seekbar programmatically. Please help me and provide me perfectly working code.</p> | I am unable to find suitable code for adjusting Microphone volume using the seekbar programmatically. Please help me and provide me perfectly working code. | android|android-studio | -1 | 2022-07-10T20:39:17.123Z | 2,022 | 7 | 20 | 6 | 29 | 1 | 155 | 73 | 2 | 0 | false | false | false | false | false | true | negative |
72,931,750 | Adding links to websites using an imagebutton in Android Studio | <p>I am attempting to link to websites inside my app. I am using fragments, so I need to use binding. I have the ImageButtons set up already. I need the Java code that links to the website. I dont quite understand where everything goes</p>
<p>'''
public class DashboardFragment extends Fragment {
private FragmentDashboa... | I am attempting to link to websites inside my app. I am using fragments, so I need to use binding. I have the ImageButtons set up already. I need the Java code that links to the website. I dont quite understand where everything goes ''' public class DashboardFragment extends Fragment { private FragmentDashboardBinding ... | java|android|android-studio | 0 | 2022-07-10T20:40:18.537Z | 2,022 | 7 | 20 | 6 | 26 | 0 | 1,007 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
72,931,968 | Android Groupie - context menu on long press | <p>Using Groupie, along with view bindings, I can't figure out how to open a context menu when long pressing a <code>Item</code>.</p>
<p>I have a couple of overrides in the fragment which has the <code>GroupieAdapter</code>:</p>
<pre class="lang-kotlin prettyprint-override"><code>override fun onCreateContextMenu(
m... | Using Groupie, along with view bindings, I can't figure out how to open a context menu when long pressing a Item . I have a couple of overrides in the fragment which has the GroupieAdapter : [CODE] and a OnItemLongClickListener [CODE] However I'm not sure how I actually "open" the menu? When long pressing the... | android|kotlin | 0 | 2022-07-10T21:18:49.723Z | 2,022 | 7 | 21 | 6 | 18 | 0 | 973 | 44 | 2 | 4 | true | true | false | false | false | false | zero |
72,932,093 | [JETPACK COMPOSE]: is there a way to restart whole app programmatically? | <p>I need a way to make my app close and opens again. Or just restart everything inside of it.
Since the issue with my app can be fixed by closing app and opening again (When creating user the loading function to firebase the collection inside user document does not load for some reason)</p> | I need a way to make my app close and opens again. Or just restart everything inside of it. Since the issue with my app can be fixed by closing app and opening again (When creating user the loading function to firebase the collection inside user document does not load for some reason) | kotlin|android-jetpack-compose | 1 | 2022-07-10T21:43:32.887Z | 2,022 | 7 | 21 | 6 | 149 | 2 | 285 | 72 | 2 | 0 | false | false | false | false | false | false | low |
72,932,121 | Unexpected EOF exception when reading from ObjectInputStream | <p>so I'm making a messenger app in Android Studio. I have basically set up a server on my pc (a program running in Java) and a client (the android code). These 2 maintain an object input stream and an object output stream. When the client's code is executed (it's an async task), it writes some things to its output str... | so I'm making a messenger app in Android Studio. I have basically set up a server on my pc (a program running in Java) and a client (the android code). These 2 maintain an object input stream and an object output stream. When the client's code is executed (it's an async task), it writes some things to its output stream... | java|android|sockets|client-server|eof | 0 | 2022-07-10T21:50:32.800Z | 2,022 | 7 | 21 | 6 | 134 | 0 | 1,002 | 60 | 5 | 3 | true | true | false | false | false | false | zero |
72,932,184 | adaptive freeze-panes in a data grid with flutter | <p>i read what sync fusion had about the freeze panes situation and there code but it seems like it won't be working with me .
That's why i will be adding my code below incase some one got intrested or someone knew how to solve this.</p>
<pre><code> Future<ProductDataGridSource> getProductDataSource() async {
... | i read what sync fusion had about the freeze panes situation and there code but it seems like it won't be working with me . That's why i will be adding my code below incase some one got intrested or someone knew how to solve this. [CODE] and below is how the table is filled note: that there is a button that i need to a... | android|flutter|flutter-layout|flutter-dependencies|flutter-test | 0 | 2022-07-10T22:04:33.423Z | 2,022 | 7 | 22 | 6 | 20 | 0 | 342 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
72,932,199 | Issue with Termux bootstrap | <p>After downloading Termux from the Google Play store, FDroid, and Github, I got the error</p>
<pre><code>Unable to Install
Termux was unable to install the bootstrap packages.
Check your network connection and try again.
</code></pre>
<p>I looked through Github and found this <a href="https://github.com/termux/termux... | After downloading Termux from the Google Play store, FDroid, and Github, I got the error [CODE] I looked through Github and found this this reply saying to try to connect to http://termux.net/bootstrap/ in a browser. I tried with the phone I'm trying to put Termux on (Galaxy s5 with Android 6.0.1) and got a response sa... | android|termux | 2 | 2022-07-10T22:08:36.407Z | 2,022 | 7 | 22 | 6 | 1,590 | 2 | 688 | 27 | 2 | 1 | true | false | false | false | false | false | low |
72,932,256 | My app restart to first activity when I press a button | <p>I'm developing an registration part of my app and I'm having a problem once I started to pass the array dados[] to another activity, since then, when I click do proceed, the app verify the informations and change to next activity, but right now it just come back to the main activity, how can I solve this?</p>
<p><st... | I'm developing an registration part of my app and I'm having a problem once I started to pass the array dados[] to another activity, since then, when I click do proceed, the app verify the informations and change to next activity, but right now it just come back to the main activity, how can I solve this? CODE cadastro... | android|restart | 0 | 2022-07-10T22:20:23.460Z | 2,022 | 7 | 22 | 6 | 34 | 0 | 367 | 54 | 2 | 3 | true | true | false | false | false | false | zero |
72,932,438 | How to set JSONObject to textview | <p>I have been trying to set textview to "name" value from the json array responds but not working but if I run this code</p>
<pre><code>@Override
protected void onPostExecute(String s) {
super.onPostExecute(s);
//view_member__progressBar.setVisibility(View.GONE);
try {
... | I have been trying to set textview to "name" value from the json array responds but not working but if I run this code [CODE] I will get this result [CODE] but if I run this code below I will get nothing [CODE] this is the value of s [CODE] 34 Tokai, Abuja. 7999.","util":"Demo Utility"... | java|android | 0 | 2022-07-10T23:08:26.023Z | 2,022 | 7 | 23 | 6 | 39 | 1 | 444 | 33 | 2 | 4 | true | false | false | false | false | false | zero |
72,932,748 | Bottom Navigation View colors not updating based on dynamic theme | <p>I have a bottom navigation view in my app. I also have dynamic coloring enabled by extending the Application class like so:</p>
<pre><code>public class BottomNavBarApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
DynamicColors.applyToActivitiesIfAvailable... | I have a bottom navigation view in my app. I also have dynamic coloring enabled by extending the Application class like so: [CODE] And modifying AndroidManifest to have android:name=".BottomNavBarApplication" . All elements including buttons, top app bar, ... update with dynamic theme change. However, the but... | android|material-ui|material-design|android-theme|bottomnavigationview | 1 | 2022-07-11T00:30:39.193Z | 2,022 | 7 | 0 | 0 | 80 | 1 | 860 | 65 | 5 | 3 | true | false | false | false | false | false | low |
72,932,857 | Android Kotlin LazyThreadSafetyMode.NONE | <p>In most of the samples regarding Android View Model and lazy init nobody refers to the parameters which can be used in by Lazy.</p>
<p>From the <a href="https://kotlinlang.org/docs/delegated-properties.html#lazy-properties" rel="nofollow noreferrer">Kotlin docu</a>:
If you're sure that the initialization will always... | In most of the samples regarding Android View Model and lazy init nobody refers to the parameters which can be used in by Lazy. From the Kotlin docu : If you're sure that the initialization will always happen in the same thread as the one where you use the property, you can use LazyThreadSafetyMode.NONE. It doesn't inc... | android|kotlin|android-lazyloading | 0 | 2022-07-11T01:06:42.550Z | 2,022 | 7 | 1 | 0 | 46 | 0 | 797 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
72,932,904 | displaying live result from edit text to text view | <p>I am creating a small golf app that includes a score card. I am facing an issue displaying the user's live score in a text view. The live score consists of their score for the hole - the par. I am using <code>editText.setOnEditorActionListener</code> in a for loop with the goal that it will keep doing the subtractio... | I am creating a small golf app that includes a score card. I am facing an issue displaying the user's live score in a text view. The live score consists of their score for the hole - the par. I am using editText.setOnEditorActionListener in a for loop with the goal that it will keep doing the subtraction until all the ... | java|android | 0 | 2022-07-11T01:20:14.337Z | 2,022 | 7 | 1 | 0 | 44 | 1 | 817 | 50 | 2 | 1 | true | false | false | false | false | false | zero |
72,932,996 | How to prevent user for going new line when the current line is empty in edittext android? | <p><strong>I have this code for printing bullet and number in my edit text</strong></p>
<blockquote>
<p>XML File</p>
</blockquote>
<pre><code><com.example.nutrifood.myEditText
android:id="@+id/mealIngredientsInput"
android:layout_width="match_parent"
android:la... | I have this code for printing bullet and number in my edit text XML File [CODE] myEditText.java public class myEditText extends androidx.appcompat.widget.AppCompatEditText { [CODE] } This will give me the output like this. • One • Two • • • Is there a way to disable the new line in keyboard when the current line is emp... | java|android|xml | 0 | 2022-07-11T01:40:38.700Z | 2,022 | 7 | 1 | 0 | 37 | 1 | 323 | 90 | 3 | 2 | true | false | false | false | false | false | zero |
72,933,060 | How to add images to DB Browser for sqlite that are stored in drawable folder? | <p>I am trying to pre-populate a room database with some data using DB Browser for sqlite.</p>
<p>I have a table defined with (name: String, score:Int, image:Int). That image field stores an image from drawable folder so the example for an insert would be :</p>
<pre><code>INSERT INTO player (name,score,image) VALUES (&... | I am trying to pre-populate a room database with some data using DB Browser for sqlite. I have a table defined with (name: String, score:Int, image:Int). That image field stores an image from drawable folder so the example for an insert would be : [CODE] Since the table field is Int, DB Browser wont let me store R.draw... | android-studio|kotlin|android-room|db-browser-sqlite | 0 | 2022-07-11T01:59:49.030Z | 2,022 | 7 | 1 | 0 | 33 | 0 | 734 | 78 | 4 | 2 | true | true | false | false | false | false | zero |
72,933,065 | Why I get null when I try to access view by ID? | <p>I have a function, cauntMe() that is triggered when the button is clicked.</p>
<pre><code>fun cauntMe(view: View){
val textView = view.findViewById<TextView>(R.id.textView)
val countString = textView.text.toString()
var count: Int = Integer.parseInt(countString)
count++
textView.text = cou... | I have a function, cauntMe() that is triggered when the button is clicked. [CODE] Here is XML declaration of the view: [CODE] In triggered function this row return null: [CODE] Here is class: [CODE] Here is the activity: [CODE] Why textView view is null? | android|kotlin | 0 | 2022-07-11T02:00:37.977Z | 2,022 | 7 | 2 | 0 | 25 | 1 | 254 | 47 | 2 | 5 | true | false | false | false | false | false | zero |
72,933,153 | When should one use Modifier.then? | <p>What is the purpose or when is it useful to use <a href="https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#then(androidx.compose.ui.Modifier)" rel="nofollow noreferrer">Modifier.then</a> in jetpack compose?</p> | What is the purpose or when is it useful to use Modifier.then in jetpack compose? | android|kotlin|android-jetpack-compose | 0 | 2022-07-11T02:22:12.717Z | 2,022 | 7 | 2 | 0 | 49 | 2 | 81 | 34 | 3 | 0 | false | false | false | false | false | false | zero |
72,933,158 | converting this sql query to correlated subquery | <pre><code>"SELECT *,RANK () OVER" + "( " +"ORDER BY " + TOTALSCORE_COL+ " )" + SP + " FROM " + STUDENT_TABLES ;
</code></pre>
<p>I learnt that below is the correlated version of the above code</p>
<pre><code> "SELECT s1.*, " +
"(SELECT COUNT(*) ... | [CODE] I learnt that below is the correlated version of the above code [CODE] please please help me convert this similar code to corelated subquery. [CODE] Same code code but this time Dense Rank. I want an output of the whole table plus a virtual(fake) column ranking the students. | android|sql|database|sqlite | -2 | 2022-07-11T02:23:49.010Z | 2,022 | 7 | 2 | 0 | 80 | 1 | 282 | 48 | 4 | 3 | true | false | false | false | false | true | negative |
72,933,305 | Android Kotlin AlertDialog.Builder() usage and context. "this" not working | <p>This is my very first time using Kotlin/Android App Development, so I apologise if I am missing something simple. I have a background in Java and C#.</p>
<p>I'm trying to display an AlertBox containing X information. All the tutorials I am reading/watching stay that the constructor should be:</p>
<pre><code>val buil... | This is my very first time using Kotlin/Android App Development, so I apologise if I am missing something simple. I have a background in Java and C#. I'm trying to display an AlertBox containing X information. All the tutorials I am reading/watching stay that the constructor should be: [CODE] This issue I am having tro... | android|kotlin|android-alertdialog | 1 | 2022-07-11T03:04:11.043Z | 2,022 | 7 | 3 | 0 | 81 | 2 | 1,020 | 74 | 3 | 2 | true | false | false | false | false | false | low |
72,933,417 | How to find unused classes in android project that using Hilt | <p>I have tried this post</p>
<p><a href="https://stackoverflow.com/questions/37066506/remove-all-unused-classes-methods-from-android-studio-project">Remove all unused classes,methods from Android Studio project</a></p>
<p>We can find some of unused classes by the method mentioned in the post:</p>
<p>Analyze -> Run ... | I have tried this post Remove all unused classes,methods from Android Studio project We can find some of unused classes by the method mentioned in the post: Analyze -> Run inspection by name...-> Unused declaration Since our project is using Hilt framework, hilt would generate XXX_GeneratedInjector something that use t... | android|android-studio|dagger-hilt | 1 | 2022-07-11T03:31:22.473Z | 2,022 | 7 | 3 | 0 | 29 | 0 | 470 | 61 | 3 | 0 | false | true | false | false | false | false | low |
72,933,613 | What is this pop up by Samsungs clock? | <p>pardon my lack of knowledge. Can anyone tell me what this popup from Samsungs clock is when an alarm goes off? Is it a fragment, or an activity of its own? I was reading and android.com says that starting activities when the user is on screen is restricted. It can't be done because it is obtrusive. Could you please ... | pardon my lack of knowledge. Can anyone tell me what this popup from Samsungs clock is when an alarm goes off? Is it a fragment, or an activity of its own? I was reading and android.com says that starting activities when the user is on screen is restricted. It can't be done because it is obtrusive. Could you please tel... | android|kotlin|popup|floating|identification | 0 | 2022-07-11T04:10:44.767Z | 2,022 | 7 | 4 | 0 | 32 | 0 | 401 | 38 | 5 | 0 | false | true | false | false | false | false | zero |
72,933,645 | Problem detection when retrofit2 onFailure | <p>I have been trying to solve the problem for 3-4 months, PLEASE read carefully and help, thank you.</p>
<p>I am using retrofit2 to retrieve data from the server.</p>
<pre><code>public void onFailure(Throwable t) {
Toast.makeText(MainActivity.this, t.getMessage(), Toast.LENGTH_SHORT).show();
}
</code></pre>
<p>OnFailu... | I have been trying to solve the problem for 3-4 months, PLEASE read carefully and help, thank you. I am using retrofit2 to retrieve data from the server. [CODE] OnFailure I saw something strange. First, I set the toast "internet is off" to onFailure. But then I look and the domain doesn't exist. It is giving ... | java|android|retrofit2 | 0 | 2022-07-11T04:15:30.387Z | 2,022 | 7 | 4 | 0 | 47 | 1 | 683 | 42 | 3 | 2 | true | false | false | false | false | false | zero |
72,933,653 | Showing results of subtractions using Two-Way Data binding | <p>Is it possible to subtract the values of two EditTexts together, and displaying their result in a TextView using two-way data binding?</p> | Is it possible to subtract the values of two EditTexts together, and displaying their result in a TextView using two-way data binding? | java|android|android-layout|two-way-binding | 0 | 2022-07-11T04:17:15.193Z | 2,022 | 7 | 4 | 0 | 38 | 0 | 134 | 58 | 4 | 0 | false | true | false | false | false | false | zero |
72,933,816 | Android Development - Can somebody help me explain the error when starting the app - RN 0.60.4 | <p><strong>UPDATE:</strong></p>
<p>If you are trying to update your old react-native project:</p>
<ul>
<li>Create a new project and put your codes from previous project to that one</li>
<li>May sound really exhausting, but this is more sane to do than updating</li>
<li>Also use Android Studio when debugging, it tells y... | UPDATE: If you are trying to update your old react-native project: Create a new project and put your codes from previous project to that one May sound really exhausting, but this is more sane to do than updating Also use Android Studio when debugging, it tells you the error Typescript React Native, you can easily selec... | android|react-native|x86-64|apple-m1 | 1 | 2022-07-11T04:43:32.890Z | 2,022 | 7 | 4 | 0 | 254 | 0 | 869 | 94 | 4 | 1 | true | true | false | false | false | false | low |
72,933,837 | (React Native) How can I make child of Scrollview responsive? | <pre><code> const dummy = [1, 2, 3, 4, 5, 6, 7, 8, 9];
<View style={{flex:1}}>
<ScrollView
contentContainerStyle={{backgroundColor: 'blue'}}
style={{backgroundColor: 'red',height:'100%'}}
>
{
dummy.map((item, key) => {
return (
&... | [CODE] I want to make Pressable components' height responsively depend on the height of screen.. But above code is not working... the scrollview is not scrolled and There still should show more pressable components by map but it only shows until 4 The Image of scrollview (android) | android|react-native | 0 | 2022-07-11T04:48:50.357Z | 2,022 | 7 | 4 | 0 | 47 | 2 | 281 | 61 | 2 | 1 | true | false | false | false | false | false | zero |
72,933,920 | Is there any other option rather that switch case statement? | <p>I am making one simple bank transfer Android application with Google voice input. So, basically, in my app I have created one method layoutclicked() for number of clicks on the layout. I have initialized numberOfclicks as 0 initially, so when user taps on the screen it increments. It will start voice input as well.<... | I am making one simple bank transfer Android application with Google voice input. So, basically, in my app I have created one method layoutclicked() for number of clicks on the layout. I have initialized numberOfclicks as 0 initially, so when user taps on the screen it increments. It will start voice input as well. [CO... | java|android|loops | 0 | 2022-07-11T05:04:16.237Z | 2,022 | 7 | 5 | 0 | 59 | 1 | 862 | 60 | 3 | 3 | true | false | false | false | false | false | zero |
72,934,187 | Exclude a device which is rooted to install the from google play console | <p>I want to exclude all root device to install my mobile application directly from google play console.</p>
<p>I have checked the device <strong>catalog section</strong> in google play console which allows us to restrict group of devices but i am unable to understand how to filter the root device there and how to dire... | I want to exclude all root device to install my mobile application directly from google play console. I have checked the device catalog section in google play console which allows us to restrict group of devices but i am unable to understand how to filter the root device there and how to directly restrict the device to... | android|android-studio|google-play-console | 0 | 2022-07-11T05:46:16.660Z | 2,022 | 7 | 5 | 0 | 27 | 0 | 353 | 72 | 3 | 0 | false | true | false | false | false | false | zero |
72,934,215 | How to convert custom callback to coroutine | <p>I am using Stripe library which provides me with custom callback functionality.</p>
<p>I want a custom callback convert to Kotlin coroutine</p>
<p>Here is the code</p>
<pre><code> override fun retrievePaymentIntent(clientSecret: String): Flow<Resource<PaymentIntent>> = flow{
emit(Resource.Loadi... | I am using Stripe library which provides me with custom callback functionality. I want a custom callback convert to Kotlin coroutine Here is the code [CODE] The problem is I can't call emit function inside onSuccess/onFailure. The error shown in the picture. Is it possible to change something here to make it work or ho... | android|kotlin|kotlin-coroutines | 0 | 2022-07-11T05:49:50.860Z | 2,022 | 7 | 5 | 0 | 83 | 1 | 367 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
72,934,221 | Android Scrollview inside constraint layout is not working. How do i fix this? | <p>Adding a scroll view inside a constraint layout is not working. Can anyone please help me to solve this issue? Here is the layout for your reference. Even after having one child linear layout inside a Scroll view is also not working. It overlaps out of the toolbar. They've also used constraint layout guidelines and ... | Adding a scroll view inside a constraint layout is not working. Can anyone please help me to solve this issue? Here is the layout for your reference. Even after having one child linear layout inside a Scroll view is also not working. It overlaps out of the toolbar. They've also used constraint layout guidelines and it'... | android|android-linearlayout|android-constraintlayout|android-scrollview|constraintlayout-guideline | 0 | 2022-07-11T05:50:39.603Z | 2,022 | 7 | 5 | 0 | 42 | 1 | 365 | 78 | 5 | 1 | true | false | false | false | false | false | zero |
72,934,279 | (Flutter) How to track user location(lat,long) when the app is killed and store in database after every 1min? | <p>I want to create a project that tracks the user's location when the app is closed or the app is running and then sends user data to mysql database. I chose Flutter to create this project. I'm new in flutter. How to I develop this application? Help me with some advice or related guidelines so I can develop this appli... | I want to create a project that tracks the user's location when the app is closed or the app is running and then sends user data to mysql database. I chose Flutter to create this project. I'm new in flutter. How to I develop this application? Help me with some advice or related guidelines so I can develop this applicat... | android|flutter|geolocation|location|background-process | 0 | 2022-07-11T06:00:18.490Z | 2,022 | 7 | 6 | 0 | 53 | 0 | 324 | 109 | 5 | 0 | false | true | false | false | false | false | zero |
72,934,363 | How to pass data from a alertDialog to ActivityResultLauncher | <p>I am creating an android app with a activity of showing an alertDialog to let user take a photo of a item.</p>
<pre><code>// Inside AlertDialog on a Button Onclick function:
Intent camIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
camIntent.putExtra("GET_PRODUCT_ID", product_id);
activityResultLaunc... | I am creating an android app with a activity of showing an alertDialog to let user take a photo of a item. [CODE] On activityResultLauncher, how can i get the "product_id" ? [CODE] I need to check if there is a same image file created before and delete it after the user complete to take a new images. | java|android|android-activity | 0 | 2022-07-11T06:12:07.573Z | 2,022 | 7 | 6 | 0 | 48 | 1 | 311 | 61 | 3 | 2 | true | false | false | false | false | false | zero |
72,934,421 | Google Map Clustering | <p>I have implemented google map clustering in my app. Since all the locations are very close to each other, the clustering is shown even when zoomed in. I need the map to show the default markers upon zooming in. How can I do this?</p> | I have implemented google map clustering in my app. Since all the locations are very close to each other, the clustering is shown even when zoomed in. I need the map to show the default markers upon zooming in. How can I do this? | android|kotlin | 0 | 2022-07-11T06:19:45.113Z | 2,022 | 7 | 6 | 0 | 20 | 0 | 229 | 21 | 2 | 0 | false | true | false | false | false | false | zero |
72,934,514 | Deletion of multiple items(Including last item) from recyclerview list It throws error IndexOutOfBound | <p>Below code to select multiple items from the Recyclerview list.</p>
<pre><code> holder.itemView.setOnLongClickListener(View.OnLongClickListener {
// if (selectedPosition == position) {
// selectedPosition = -1
// notifyItemChanged(position);
... | Below code to select multiple items from the Recyclerview list. [CODE] performing delet action on the list on selected item position. [CODE] } On ButtonClick deleting the selected items from recycler view list [CODE] Deleting multiple item including last item in any order until last item is selected it is throwing erro... | android|android-studio|android-recyclerview|android-adapter|recyclerlistview | 0 | 2022-07-11T06:30:32.740Z | 2,022 | 7 | 6 | 0 | 115 | 1 | 473 | 102 | 5 | 4 | true | false | false | false | false | false | zero |
72,934,636 | What is missing? | <p>Good day! I've been trying to add a simple GET Request for logging purposes manually to an App I'm trying to hunt bugs for. And yes it sounds stupid but I'm doing it for a bet with my pal haha.</p>
<p>I've tried 3 approaches so far:</p>
<ol>
<li>using java.net</li>
<li>using okhttpclient</li>
</ol>
<pre><code>.metho... | Good day! I've been trying to add a simple GET Request for logging purposes manually to an App I'm trying to hunt bugs for. And yes it sounds stupid but I'm doing it for a bet with my pal haha. I've tried 3 approaches so far: using java.net using okhttpclient [CODE] When I save the dex file and run it to jadx, here is ... | android|smali | 0 | 2022-07-11T06:43:59.233Z | 2,022 | 7 | 6 | 0 | 27 | 0 | 367 | 16 | 2 | 2 | true | true | false | false | false | false | zero |
72,934,670 | Jetpack Compose navigation animation overlap | <p>I am using accompanist navigation animation library.</p>
<p>framework versions:</p>
<pre><code> compose version = '1.1.1'
accompanist version = '0.23.1'
</code></pre>
<p>The problem when we going back:</p>
<p><a href="https://i.stack.imgur.com/VMG8J.gif" rel="nofollow noreferrer"><img src="https://i.stack.img... | I am using accompanist navigation animation library. framework versions: [CODE] The problem when we going back: My current animations: [CODE] Is there anything that can be done here? | android-jetpack-compose|jetpack-compose-navigation|jetpack-compose-accompanist|jetpack-compose-animation | 0 | 2022-07-11T06:47:40.740Z | 2,022 | 7 | 6 | 0 | 72 | 0 | 182 | 44 | 4 | 2 | true | true | false | false | false | false | zero |
72,934,688 | best method to refresh live data value in fragment in kotlin | <p>I have all lists in fragment - Live Data values obtained from the Room, through the Repository.
I want to reload the values in every 30 minutes in fragment page. How to do it in kotlin.</p> | I have all lists in fragment - Live Data values obtained from the Room, through the Repository. I want to reload the values in every 30 minutes in fragment page. How to do it in kotlin. | repository|fragment|android-room|android-livedata|reload | 0 | 2022-07-11T06:49:05.060Z | 2,022 | 7 | 6 | 0 | 56 | 1 | 185 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
72,934,717 | Authentification in Android App without user login | <p>I am trying to implement a dialogsystem (Google Dialogflow CX) into an Android App. I am trying to connect via REST. Appparently, CX doesn't support API keys and the library commonly used is not supported in Android either, so I am facing problems.</p>
<p>With the credentials available in raw (implementation as prev... | I am trying to implement a dialogsystem (Google Dialogflow CX) into an Android App. I am trying to connect via REST. Appparently, CX doesn't support API keys and the library commonly used is not supported in Android either, so I am facing problems. With the credentials available in raw (implementation as previously use... | android|google-oauth | 0 | 2022-07-11T06:52:03.717Z | 2,022 | 7 | 6 | 0 | 30 | 0 | 805 | 50 | 2 | 1 | true | true | false | false | false | false | zero |
72,934,807 | Jetpack Compose - Issue with Flow inside VIewModel | <p>Using a Flow inside a ViewModel and observing its state in a Compose function.
The ViewModel keeps listening to flow events even when compose screens are changed. (For Activities and Fragments we have lifecycle events to handle this).</p>
<p>One interesting point while using NavControllerHost for navigating to anoth... | Using a Flow inside a ViewModel and observing its state in a Compose function. The ViewModel keeps listening to flow events even when compose screens are changed. (For Activities and Fragments we have lifecycle events to handle this). One interesting point while using NavControllerHost for navigating to another compose... | state|android-jetpack-compose|android-viewmodel | 0 | 2022-07-11T07:01:04.243Z | 2,022 | 7 | 7 | 0 | 70 | 0 | 600 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,934,843 | Displaying the value of the EditText in the TextView at the Simultaneous(online) in kotlin | <p>I want the text written inside the EditText to be displayed simultaneously in the TextView without pressing the button
(kotlin)</p>
<p>thank you</p> | I want the text written inside the EditText to be displayed simultaneously in the TextView without pressing the button (kotlin) thank you | kotlin|textview|android-edittext | 0 | 2022-07-11T07:03:22.407Z | 2,022 | 7 | 7 | 0 | 30 | 1 | 137 | 90 | 3 | 0 | false | false | false | false | false | false | zero |
72,934,872 | How to connect my current authentication system to Firebase? | <p>I am integrating a <strong>Group Chat</strong> feature in our current app using Firebase. I am trying to use Firebase AuthStateListener to check whether user is logged in or not. But I have another backend on Laravel which manages Authentication of users. In this case <strong>how should I check the login status of u... | I am integrating a Group Chat feature in our current app using Firebase. I am trying to use Firebase AuthStateListener to check whether user is logged in or not. But I have another backend on Laravel which manages Authentication of users. In this case how should I check the login status of users and sync it with fireba... | java|android|firebase | 0 | 2022-07-11T07:07:28.973Z | 2,022 | 7 | 7 | 0 | 17 | 0 | 332 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
72,934,917 | how to get full image path via image picker android | <p>I am selecting a image from gallery and trying to covert it into pdf using itext , but when i selecting the image its app crashes with null pointer excetion
<a href="https://i.stack.imgur.com/YLN5g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YLN5g.png" alt="enter image description here" /><... | I am selecting a image from gallery and trying to covert it into pdf using itext , but when i selecting the image its app crashes with null pointer excetion when i logged the picture path getting null( String picturePath = cursor.getString(columnIndex);) code for the same [CODE] error [CODE] | java|android|android-studio|itext | 0 | 2022-07-11T07:13:33.460Z | 2,022 | 7 | 7 | 0 | 121 | 1 | 292 | 51 | 4 | 2 | true | false | false | false | false | false | zero |
72,934,932 | How to get the full model name of a device on android programmatically? | <p>I have Samsung galaxy s22 ultra (same problem has and with other samsungs), it has model name SM-S908B/DS (I see it in settings, in phone about section).
This smartphone may have other model name endings (SM-S908B, SM-S908B/DS, SM-S908U, SM-S908U1, SM-S908W, SM-S908N, SM-S9080, SM-S908E, SM-S908E/DS). See this <a hr... | I have Samsung galaxy s22 ultra (same problem has and with other samsungs), it has model name SM-S908B/DS (I see it in settings, in phone about section). This smartphone may have other model name endings (SM-S908B, SM-S908B/DS, SM-S908U, SM-S908U1, SM-S908W, SM-S908N, SM-S9080, SM-S908E, SM-S908E/DS). See this https://... | android|model|device|android-hardware | 0 | 2022-07-11T07:14:59.273Z | 2,022 | 7 | 7 | 0 | 47 | 0 | 489 | 71 | 4 | 0 | false | true | false | false | false | false | zero |
72,934,955 | Play integrity - Get a token in debug mode | <p>I am building an android app from scratch. So, the app does not exist on Play store yet. I want to use Play Integrity to make sure that the app binary is a genuine one.
Going through the docs of Integrity API (<a href="https://developer.android.com/google/play/integrity/setup" rel="nofollow noreferrer">link to docs<... | I am building an android app from scratch. So, the app does not exist on Play store yet. I want to use Play Integrity to make sure that the app binary is a genuine one. Going through the docs of Integrity API ( link to docs ), it seems that it requires that my app be on Play Store. If so, then I infer that I cannot deb... | android|google-play-integrity-api | 0 | 2022-07-11T07:18:14.073Z | 2,022 | 7 | 7 | 0 | 122 | 1 | 778 | 42 | 2 | 0 | false | false | false | false | false | false | zero |
72,935,016 | Jacoco report on Jenkins doesn’t allow to clik on files | <p>I'm working with Android/gradle project. I reached the moment in which both xml and html reports that are generated locally and they look good. Local html report allows to view files with marks which part of code are not tested. But Jenkins doesn’t display detailed version of the report. You can view only a list of ... | I'm working with Android/gradle project. I reached the moment in which both xml and html reports that are generated locally and they look good. Local html report allows to view files with marks which part of code are not tested. But Jenkins doesn’t display detailed version of the report. You can view only a list of fil... | android|jenkins|jacoco|jacoco-plugin|android-jacoco | 0 | 2022-07-11T07:24:53.743Z | 2,022 | 7 | 7 | 0 | 17 | 0 | 508 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
72,935,096 | Using DataClient.getDataItem as storage for wear (over DataStore)? | <p>Please consider a scenario where some data is being transferred between a phone & watch app using <code>DataClient</code> and <code>PutDataRequest</code>. For simplicity, the data is just a string of "Hello".</p>
<pre><code>val client = Wearable.getDataClient(context)
val data = "Hello".enco... | Please consider a scenario where some data is being transferred between a phone & watch app using DataClient and PutDataRequest . For simplicity, the data is just a string of "Hello". [CODE] My go to solution for storing this on the wear side of things would be using DataStore . But, DataClient has a similar ... | android|wear-os|android-wear-data-api | 0 | 2022-07-11T07:32:05.837Z | 2,022 | 7 | 7 | 0 | 22 | 0 | 1,013 | 66 | 3 | 2 | true | true | false | false | false | false | zero |
72,935,115 | Kivy RecycleView of Labels without clipping text or huge spaces between | <p>How can I make a RecycleView in a <a href="https://en.wikipedia.org/wiki/Kivy_(framework)" rel="nofollow noreferrer">Kivy python app</a> display all its labels without truncating the text contents of the label nor adding huge spaces in-between the labels?</p>
<p>I'm trying to display a very large amount of text in a... | How can I make a RecycleView in a Kivy python app display all its labels without truncating the text contents of the label nor adding huge spaces in-between the labels? I'm trying to display a very large amount of text in a Kivy (5+ MB) without causing it to lock-up. I think objectively the best solution here is to use... | python|user-interface|android-recyclerview|kivy | 0 | 2022-07-11T07:34:16.483Z | 2,022 | 7 | 7 | 0 | 36 | 1 | 1,223 | 71 | 4 | 3 | true | false | false | false | false | false | zero |
72,935,132 | How to create an intent for email only with a file attachment | <p>Here's what I want to achieve - I should only be able to see email client apps like gmail and outlook in the options segment. Don't want the rest of the apps.</p>
<pre><code>intent.addCategory(Intent.CATEGORY_APP_EMAIL)
</code></pre>
<p>the code above was one of the suggestions that I saw while searching for how to ... | Here's what I want to achieve - I should only be able to see email client apps like gmail and outlook in the options segment. Don't want the rest of the apps. [CODE] the code above was one of the suggestions that I saw while searching for how to achieve this. But, here's the issue when I use it... Also, [CODE] was anot... | android|android-intent | 0 | 2022-07-11T07:35:58.110Z | 2,022 | 7 | 7 | 0 | 29 | 0 | 651 | 61 | 2 | 3 | true | 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.