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,878,996 | Export Room Database File and Send it to server using retrofit kotlin | <p>I want to export my database file and tehn send it to server using retrofit.
Challenges: Cannot find the request body type for db file in retrofit to send.</p> | I want to export my database file and tehn send it to server using retrofit. Challenges: Cannot find the request body type for db file in retrofit to send. | android|database|sqlite|kotlin|retrofit2 | 0 | 2022-07-06T06:47:20.437Z | 2,022 | 7 | 6 | 2 | 53 | 1 | 155 | 69 | 5 | 0 | false | false | false | false | false | false | zero |
72,879,022 | onSlide is not called in Android Oreo when BottomSheet is initialized | <p>I'm having some issues on Devices with <strong>Android Oreo</strong> in my app i have a <code>RecyclerView</code> and a <code>BottomSheet</code>, when the <code>BottomSheet</code> is in <code>STATE_EXPANDED</code> or it's sliding i'm setting the <code>RecyclerView</code> bottom margins to fit the <code>RecyclerView<... | I'm having some issues on Devices with Android Oreo in my app i have a RecyclerView and a BottomSheet , when the BottomSheet is in STATE_EXPANDED or it's sliding i'm setting the RecyclerView bottom margins to fit the RecyclerView in remaining space. In other Android versions > Oreo there are no problems onSlide is call... | java|android|kotlin|android-recyclerview | 0 | 2022-07-06T06:49:49.553Z | 2,022 | 7 | 6 | 2 | 41 | 0 | 775 | 69 | 4 | 2 | true | true | false | false | false | false | zero |
72,879,115 | Android App running fine in Emulator but can't install in real device | <p>I'm developing an android application for simple Facial recognition. My Application build and run fine in emulator but get Cmake Error when try to install in real device.
Error Message:</p>
<blockquote>
<p>Task :engine:configureCMakeDebug[arm64-v8a] FAILED
Execution failed for task ':engine:configureCMakeDebug[arm64... | I'm developing an android application for simple Facial recognition. My Application build and run fine in emulator but get Cmake Error when try to install in real device. Error Message: Task :engine:configureCMakeDebug[arm64-v8a] FAILED Execution failed for task ':engine:configureCMakeDebug[arm64-v8a]'. [CXX1410] D:\KA... | android|cmake | 0 | 2022-07-06T06:58:10.537Z | 2,022 | 7 | 6 | 2 | 131 | 1 | 570 | 69 | 2 | 2 | true | false | false | false | false | false | zero |
72,879,241 | How can we change font colours and background colours in FCM android notifications | <p>We are using the npm library "node-gcm" for sending android notifications but these notifications seems to be very basic and hence we want to know how can we make them more customisable by changing colours and stuff, the docs does not mention any such attribute which can be used to change font colours, so ... | We are using the npm library "node-gcm" for sending android notifications but these notifications seems to be very basic and hence we want to know how can we make them more customisable by changing colours and stuff, the docs does not mention any such attribute which can be used to change font colours, so how... | firebase-cloud-messaging|android-notifications|node-gcm | 0 | 2022-07-06T07:08:43.430Z | 2,022 | 7 | 7 | 2 | 19 | 0 | 377 | 82 | 3 | 0 | false | true | false | false | false | false | zero |
72,879,349 | Rotate ImageView without clipping | <p>I want to change rotation dynamically, bud i faced with the problem. I did simple code example of my problem</p>
<p>as you can see parent cuts off piece of my image view when i set rotate</p>
<p><a href="https://i.stack.imgur.com/pZMB9.png" rel="nofollow noreferrer">click here to see emulator screen</a></p>
<p>xml v... | I want to change rotation dynamically, bud i faced with the problem. I did simple code example of my problem as you can see parent cuts off piece of my image view when i set rotate click here to see emulator screen xml very simple [CODE] Actually I want my picture to scale and not go beyond the boundaries of the ImageV... | android|imageview|scale|image-rotation | 0 | 2022-07-06T07:19:38.423Z | 2,022 | 7 | 7 | 2 | 31 | 1 | 418 | 33 | 4 | 1 | true | false | false | false | false | false | zero |
72,879,367 | android save data from background service | <p>i have a background service which is working in background and looking for new SMS and creating notification and showing SMS</p>
<pre><code>public class SmsBoradcast extends BroadcastReceiver {
private static final String SMS = "android.provider.Telephony.SMS_RECEIVED";
@Override
public void onReceive(Co... | i have a background service which is working in background and looking for new SMS and creating notification and showing SMS [CODE] everything is working and I'm receiving notification any time even if application is killed and its in background now the question is that , how can I save those notifications when app is ... | java|android|android-studio|kotlin | 0 | 2022-07-06T07:20:29.057Z | 2,022 | 7 | 7 | 2 | 42 | 1 | 521 | 41 | 4 | 1 | true | false | false | false | false | false | zero |
72,879,407 | How I can Remove the margin between two item in ViewPager2 | <p><strong>XML</strong>
I'm trying to remove the margin between viewPager2 items when I scroll the page.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent&quo... | XML I'm trying to remove the margin between viewPager2 items when I scroll the page. [CODE] I' trying to make simple application like tiktok but this an issue I'm facing while scrolling my videos. | java|android|kotlin|exoplayer|android-viewpager2 | 1 | 2022-07-06T07:24:51.097Z | 2,022 | 7 | 7 | 2 | 40 | 0 | 196 | 58 | 5 | 1 | true | true | false | false | false | false | low |
72,879,471 | Problem in building flutter projects in android studio | <p>I am trying to build Flutter Projects in Android Studio. But the process takes a lot of time and the project does not build. I keep getting following messages in the console-</p>
<p><strong>Launching lib\main.dart on SM M215F in debug mode...
Running Gradle task 'assembleDebug'...</strong></p>
<p>There are no errors... | I am trying to build Flutter Projects in Android Studio. But the process takes a lot of time and the project does not build. I keep getting following messages in the console- Launching lib\main.dart on SM M215F in debug mode... Running Gradle task 'assembleDebug'... There are no errors in any file and the usb debugging... | flutter|android-studio|dart|gradle|build.gradle | 0 | 2022-07-06T07:30:23.483Z | 2,022 | 7 | 7 | 2 | 57 | 2 | 444 | 54 | 5 | 0 | false | false | false | false | false | false | zero |
72,879,508 | In Flutter Android studio Web view Upload Image Button Not Working | <p>In Flutter Android studio Web view Upload Image Button(wordpress) Not Working but In Browser It's Working using WordPress file upload not working and how to add take photo.used all permissions.I'm a beginner at Android Studio</p>
<pre><code><uses-permission android:name="android.permission.INTERNET" /&... | In Flutter Android studio Web view Upload Image Button(wordpress) Not Working but In Browser It's Working using WordPress file upload not working and how to add take photo.used all permissions.I'm a beginner at Android Studio [CODE] Do i need add something in main dart file.So i got solution But how to integrate this w... | java|android|wordpress|flutter|android-studio | 0 | 2022-07-06T07:33:28.077Z | 2,022 | 7 | 7 | 2 | 49 | 0 | 437 | 66 | 5 | 2 | true | true | false | false | false | false | zero |
72,879,516 | How to set ListView.builder inside column in flutter | <p>I want to show List.builder inside Column but if I add List.builder inside Column.<br />
It shows me an error:- <code>RenderFlex children have non-zero flex but incoming height constraints are unbounded.</code><br />
in list view, I pull the image from API but when I tried to add that List.view widget it breaks the ... | I want to show List.builder inside Column but if I add List.builder inside Column. It shows me an error:- RenderFlex children have non-zero flex but incoming height constraints are unbounded. in list view, I pull the image from API but when I tried to add that List.view widget it breaks the layout Please see the image ... | android|flutter|flutter-layout|flutter-dependencies|flutter-listview | 0 | 2022-07-06T07:34:01.193Z | 2,022 | 7 | 7 | 2 | 61 | 3 | 832 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
72,879,538 | java.lang.NoClassDefFoundError: android/window/OnBackInvokedCallback for ComponentActivity | <p>Running Jacoco results in following error message:</p>
<pre><code>java.lang.NoClassDefFoundError: android/window/OnBackInvokedCallback
at androidx.activity.ComponentActivity.<init>(ComponentActivity.java:150)
at com.example.sheets.BottomSheetServiceTest$TestActivity.<init>(BottomSheetServiceTest.... | Running Jacoco results in following error message: [CODE] Whereas my BottomSheetServiceTest including TestActivity looks similar to: [CODE] As you can see Roboelectric is used also for tests. I tried to set compose activtiy version back to 1.5.0-beta01 but did not help. [CODE] | android-jetpack-compose|jacoco|robolectric|androidx-test | 0 | 2022-07-06T07:35:42.267Z | 2,022 | 7 | 7 | 2 | 108 | 0 | 277 | 90 | 4 | 3 | true | true | false | false | false | false | zero |
72,879,605 | How to display Image taken using Camerax API (Android) | <p>How to display the Image taken using CameraX in Android.</p>
<p>My case : I have two fragments. In one of the fragments I have implemented the CameraX functionality to take the photo and save it locally. And now I want to pass this image to an another fragment and display it there in an ImageView.</p>
<p>What should... | How to display the Image taken using CameraX in Android. My case : I have two fragments. In one of the fragments I have implemented the CameraX functionality to take the photo and save it locally. And now I want to pass this image to an another fragment and display it there in an ImageView. What should be the best appr... | android|kotlin|android-fragments|navigation|android-camerax | 0 | 2022-07-06T07:41:14.100Z | 2,022 | 7 | 7 | 2 | 114 | 0 | 1,179 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
72,879,789 | how to make Compose Preview display image/vector resources loaded from web? | <p>I use <a href="https://coil-kt.github.io/coil/compose/" rel="nofollow noreferrer">Coil</a> to load .svg resources from the web, for example:</p>
<pre class="lang-kotlin prettyprint-override"><code>@Composable
fun Widget(modifier: Modifier = Modifier) {
AsyncImage(
modifier = Modifier.fillMaxSize(),
... | I use Coil to load .svg resources from the web, for example: [CODE] It loads successfully when running on devices, but when running in Compose Preview, no resources is displayed. How to have Compose Preview load and display resources fetched from the Web? | android|android-jetpack-compose|coil|android-jetpack-compose-preview | 0 | 2022-07-06T07:56:29.343Z | 2,022 | 7 | 7 | 2 | 102 | 0 | 255 | 75 | 4 | 1 | true | true | false | false | false | false | zero |
72,879,859 | Can't get the position of item of dynamically created spinner | <p>Basically i have a method <code>createList()</code> which creates a Spinner and then i add those spinners to an arrayList <code>myList</code>. After adding them i use <code>setOnItemSelectedListener</code> on each Spinner in the array List to get the position but no matter what i select in a spinner i get the positi... | Basically i have a method createList() which creates a Spinner and then i add those spinners to an arrayList myList . After adding them i use setOnItemSelectedListener on each Spinner in the array List to get the position but no matter what i select in a spinner i get the position 0. Interestingly, if i don't add spinn... | android|arrays|arraylist|spinner|android-spinner | 0 | 2022-07-06T08:03:01.033Z | 2,022 | 7 | 8 | 2 | 31 | 1 | 639 | 61 | 5 | 1 | true | false | false | false | false | false | zero |
72,879,878 | Mapbox error [HTTP] Unable to parse resourceUrl | <p>I'm trying to integrate map in my React Native app using Mapbox</p>
<p>I follow the <a href="https://github.com/rnmapbox/maps" rel="nofollow noreferrer">instructions</a> for Android: creating access token, trying all <a href="https://github.com/rnmapbox/maps/blob/main/android/install.md" rel="nofollow noreferrer">3 ... | I'm trying to integrate map in my React Native app using Mapbox I follow the instructions for Android: creating access token, trying all 3 implementations , but I keep getting this error Mapbox error [HTTP] Unable to parse resourceUrl mapbox://styles/mapbox/streets-v11 {"level": "error", "messa... | android|react-native|mapbox | 3 | 2022-07-06T08:04:36.290Z | 2,022 | 7 | 8 | 2 | 290 | 1 | 561 | 47 | 3 | 0 | false | false | false | false | false | false | low |
72,879,919 | JaCoCo fails with "initializationError FAILED" | <p>PS D:\Projects\MyApp> ./gradlew jacocoCoverage
Configuration on demand is an incubating feature.</p>
<blockquote>
<p>Task :myLibModule:testDebugUnitTest</p>
</blockquote>
<p>com.example.sheets.BottomSheetServiceTest > initializationError FAILED
java.lang.IllegalArgumentException at RobolectricTestRunner.java:2... | PS D:\Projects\MyApp> ./gradlew jacocoCoverage Configuration on demand is an incubating feature. Task :myLibModule:testDebugUnitTest com.example.sheets.BottomSheetServiceTest > initializationError FAILED java.lang.IllegalArgumentException at RobolectricTestRunner.java:260 Caused by: java.lang.IllegalArgumentException a... | jacoco|android-sdk-tools | 0 | 2022-07-06T08:07:52.610Z | 2,022 | 7 | 8 | 2 | 42 | 0 | 548 | 46 | 2 | 2 | true | true | false | false | false | false | zero |
72,879,961 | Android Studio Chipmunk 'by viewModels()' Unresolved | <p>I am a developer who is developing Android in Korea.
This happened when I recently updated my Android Studio to the latest version of Chipmunk(2021.2.1 Patch 1).</p>
<p>The 'by viewModels()' part is starting to show a red mark, but it is running well.</p>
<p>This is mouse over message.</p>
<p><code>Unresolved refere... | I am a developer who is developing Android in Korea. This happened when I recently updated my Android Studio to the latest version of Chipmunk(2021.2.1 Patch 1). The 'by viewModels()' part is starting to show a red mark, but it is running well. This is mouse over message. Unresolved reference. None of the following can... | android|android-studio | 1 | 2022-07-06T08:11:11.013Z | 2,022 | 7 | 8 | 2 | 66 | 0 | 704 | 52 | 2 | 1 | true | true | false | false | false | false | low |
72,879,992 | I have beeen developing a small music player. I created a search field to search songs and created a button to play it | <pre><code> def Song_play(self):
self.song_title = self.music_list
if self.root.ids.search.text in self.song_title:
self.song_title= self.root.ids.search.text
print(self.music_list)
self.sound = SoundLoader.load(
'{}/{}'.format(self.music_dir, se... | [CODE] I searched a song and played. Then I searched another song to play. Now both songs are playing together. How to stop the currently playing song when I search new song click play button [CODE] | python|android|python-3.x|kivy|kivymd | 0 | 2022-07-06T08:13:13.217Z | 2,022 | 7 | 8 | 2 | 33 | 0 | 198 | 118 | 5 | 2 | true | true | false | false | false | false | zero |
72,880,076 | How do I make fully responsive SVGs in an android app | <p>I am certain there is a way to make images(probably in <strong>SVG</strong> format) fully <strong>responsive</strong> to different screen sizes in an android application, but how is that achieved?</p>
<p>I've tried increasing the width and the height of an <code>ImageView</code> to, let's say, 400dp but it is still ... | I am certain there is a way to make images(probably in SVG format) fully responsive to different screen sizes in an android application, but how is that achieved? I've tried increasing the width and the height of an ImageView to, let's say, 400dp but it is still static and won't look as big on a tablet. I am currently ... | android|android-studio|android-layout|svg|responsive-design | 0 | 2022-07-06T08:19:44.817Z | 2,022 | 7 | 8 | 2 | 31 | 0 | 498 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
72,880,186 | Can't schedule Android Notifications Unity C# | <p>I am trying to make a notification which will appear to the user at a specific time every day. That time should not be like: <code>DateTime.Now.AddMinutes(5)</code> . Also it would be nice if the user chose a specific time instead of adding minutes/hours to his current time in order to get the correct time. I don't ... | I am trying to make a notification which will appear to the user at a specific time every day. That time should not be like: DateTime.Now.AddMinutes(5) . Also it would be nice if the user chose a specific time instead of adding minutes/hours to his current time in order to get the correct time. I don't get any errors b... | c#|android|unity3d|android-notifications | 0 | 2022-07-06T08:28:02.043Z | 2,022 | 7 | 8 | 2 | 68 | 0 | 585 | 45 | 4 | 1 | true | true | false | false | false | false | zero |
72,880,230 | .NET MAUI Blazor Navigate to a specific page from MainActivity or pass url to MainPage.xaml.cs | <p>I need to pass a string from for example <code>MainActivity.cs</code> to Razor components with <code>@page</code> tag.
I've read that in Xamarin there was a method called <code>LoadApplication(myString)</code> but it's not present in MAUI.
What I tried to do I use the Preferences Api like this</p>
<pre><code>protect... | I need to pass a string from for example MainActivity.cs to Razor components with @page tag. I've read that in Xamarin there was a method called LoadApplication(myString) but it's not present in MAUI. What I tried to do I use the Preferences Api like this [CODE] and then retrieve it where needed but it doesn't seem to ... | c#|android|.net|xamarin|maui-blazor | 0 | 2022-07-06T08:30:58.817Z | 2,022 | 7 | 8 | 2 | 386 | 0 | 587 | 94 | 5 | 1 | true | true | false | false | false | false | zero |
72,880,283 | LiveData observer is not being called when changing value | <p>My observer is not being called when I change <code>LiveData</code> value. I have a <code>ViewModel</code>, a custom <code>View</code> and a <code>Fragment</code>. In <code>ViewModel</code> I set the <code>LiveData</code>, in the custom <code>View</code> is where I change the value of this <code>LiveData</code> and ... | My observer is not being called when I change LiveData value. I have a ViewModel , a custom View and a Fragment . In ViewModel I set the LiveData , in the custom View is where I change the value of this LiveData and in Fragment is where I observe the LiveData . Using breakpoints, I see that my custom View is working fi... | android|kotlin|android-fragments|android-livedata|android-mvvm | 0 | 2022-07-06T08:34:31.550Z | 2,022 | 7 | 8 | 2 | 150 | 2 | 494 | 57 | 5 | 3 | true | false | false | false | false | false | zero |
72,880,307 | Writing in front of the information listed in the React-Native QR Code | <p>This is my code where I print the information in the QR Code to the screen.I put a space after each '@' sign. I want to add a comment before each of these listed lines.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-... | This is my code where I print the information in the QR Code to the screen.I put a space after each '@' sign. I want to add a comment before each of these listed lines. [CODE] | javascript|android|list|react-native|visual-studio-code | 0 | 2022-07-06T08:36:27.993Z | 2,022 | 7 | 8 | 2 | 33 | 1 | 175 | 70 | 5 | 1 | true | false | false | false | false | false | zero |
72,880,317 | How to add random seconds delay in function (Android)? | <p>I want to add random delay between 16 to 30 seconds in sending sms in sendSMS Function, I want to know on how to integrate delay for this function and where is the right position to add the seconds delay.</p>
<p>Here is Code:</p>
<pre><code> private void sendSMSorUSSD(String to, String message, int simNumber, Stri... | I want to add random delay between 16 to 30 seconds in sending sms in sendSMS Function, I want to know on how to integrate delay for this function and where is the right position to add the seconds delay. Here is Code: [CODE] | android|postdelayed | 0 | 2022-07-06T08:37:25.183Z | 2,022 | 7 | 8 | 2 | 31 | 1 | 225 | 54 | 2 | 1 | true | false | false | false | false | false | zero |
72,880,320 | Make arcore to use heading based on our calculation | <p>The arcore heading calculation is wrong. So I created the heading calculation based on device sensor, but I dont know how to pass it to arcore so that it can use it place my ar objects</p> | The arcore heading calculation is wrong. So I created the heading calculation based on device sensor, but I dont know how to pass it to arcore so that it can use it place my ar objects | android|geospatial|arcore | 0 | 2022-07-06T08:37:32.193Z | 2,022 | 7 | 8 | 2 | 11 | 0 | 184 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
72,880,359 | is there a way to pass value from data class to another class in Kotlin? | <p><a href="https://i.stack.imgur.com/4vwkg.png" rel="nofollow noreferrer">image</a>Sorry, I'm new to Java/Kotlin mobile apps...</p>
<p>Below code snippet from RegisterFragment.kt which is the main class:-</p>
<pre><code>override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(v... | image Sorry, I'm new to Java/Kotlin mobile apps... Below code snippet from RegisterFragment.kt which is the main class:- [CODE] whereas below is the data class named RegisteredUserView.kt [CODE] I usually used toString() to the param value of "username" but I will get this bug java.lang.NullPointerException: ... | java|android|kotlin|build.gradle|kotlin-android-extensions | 1 | 2022-07-06T08:41:15.157Z | 2,022 | 7 | 8 | 2 | 119 | 1 | 844 | 72 | 5 | 2 | true | false | false | false | false | false | low |
72,880,399 | Kotlin equivalent to Swift's #file, #line, and #function | <p>In Swift, I can use the following code to log a message, and I have access to all the relevant data I need:</p>
<pre><code>class func log(type: LogType, message: String, fileName: String = #file, line: Int = #line, column: Int = #column, function: String = #function)
</code></pre>
<p>How can I do something similar i... | In Swift, I can use the following code to log a message, and I have access to all the relevant data I need: [CODE] How can I do something similar in Android Java or Kotlin (preferable)? | java|android|swift|kotlin|logging | 0 | 2022-07-06T08:44:00.807Z | 2,022 | 7 | 8 | 2 | 48 | 1 | 185 | 56 | 5 | 1 | true | false | false | false | false | false | zero |
72,880,479 | Flutter local notifications Background Listen and Save to local Db like hive, Sqlite | <p>I setup local notification on my Flutter apps and it's work well.</p>
<p>But I have also a notification page like facebook where I store my firebase push notification offline when it's appear.</p>
<p>but I don't know how can I save local notification data offline after notification appear on notification bar.</p>... | I setup local notification on my Flutter apps and it's work well. But I have also a notification page like facebook where I store my firebase push notification offline when it's appear. but I don't know how can I save local notification data offline after notification appear on notification bar. I want to save notifica... | android|flutter|hive|push-notification|notifications | 0 | 2022-07-06T08:49:51.330Z | 2,022 | 7 | 8 | 2 | 116 | 0 | 514 | 84 | 5 | 0 | false | true | false | false | false | false | zero |
72,880,481 | INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for | <p>I have this error.</p>
<pre><code>adb: failed to install ok.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for /data/app/vmdl1260875114.tmp/base.apk: Failed to collect certificates from /data/app/vmdl1260875114.tmp/base.apk: META-INF/TAPANDTU.SF indicates /data/app/vmdl1260875114.... | I have this error. [CODE] What I have done is, [CODE] then zip align [CODE] Everythin looks working fine, but I have the error above when using this command. [CODE] | android|flutter | 0 | 2022-07-06T08:49:53.587Z | 2,022 | 7 | 8 | 2 | 395 | 1 | 164 | 72 | 2 | 4 | true | false | false | false | false | false | zero |
72,880,509 | function not working inside Fragment onRequestPermissionsResult why | <pre><code>override fun onRequestPermissionsResult(
requestCode: Int,
permissions: Array<out String>,
grantResults: IntArray
) {
// super.onRequestPermissionsResult(requestCode, permissions, grantResults)
Log.wtf("here grand result" , requestCode.toString(),)
Log.wtf("here g... | [CODE] I am always get the auto toast message from here but when location granted then i wants to call a function but this override method not working inside fragment please help me ? Thanks in advance | android|kotlin|google-maps | 0 | 2022-07-06T08:52:00.647Z | 2,022 | 7 | 8 | 2 | 38 | 1 | 201 | 67 | 3 | 1 | true | false | false | false | false | false | zero |
72,880,548 | SOFT_INPUT_ADJUST_RESIZE deprecated. But other flags are not. What is the new recommended way of changing inputType mode at runtime? | <p>In my app I use single activity - MainActivity with multiple fragments. In Manifest file I set activity's windowSoftInputMode to adjustResize because I need that behaviour in majority of fragments where keyboard is shown.</p>
<pre><code><activity
android:name=".main.MainActivity"
android:configCha... | In my app I use single activity - MainActivity with multiple fragments. In Manifest file I set activity's windowSoftInputMode to adjustResize because I need that behaviour in majority of fragments where keyboard is shown. [CODE] But a couple of pages by design don't need resizing behaviour when keyboard is shown. For t... | android|keyboard|ime|windowinsets | 0 | 2022-07-06T08:54:28.683Z | 2,022 | 7 | 8 | 2 | 350 | 0 | 1,428 | 132 | 4 | 2 | true | true | false | false | false | false | zero |
72,880,602 | What is the best approach to get data from paging 3 to Nested Recyclerview? | <p>I am implementing an explore screen where I have a parent recycler view that has a title and child recycler view that load movies using paging3 from api and save them to database through Remote Mediator.</p>
<p>Now, My question is what is the best approach to handle loading the data from paging3 to each child recycl... | I am implementing an explore screen where I have a parent recycler view that has a title and child recycler view that load movies using paging3 from api and save them to database through Remote Mediator. Now, My question is what is the best approach to handle loading the data from paging3 to each child recycler view li... | android|android-recyclerview|android-room|android-paging-3 | 0 | 2022-07-06T08:57:55.323Z | 2,022 | 7 | 8 | 2 | 67 | 0 | 365 | 75 | 4 | 0 | false | true | false | false | false | false | zero |
72,880,719 | How to adding a delay before the Countdowntimer starts? | <p>I'm trying to add a 2 second delay without locking the main thread every time a resume is called in the countdown timer. Without adding a delay, this below works perfectly, but when I add a delay, the main thread hangs. Every time I call resume and add delay with sendmessage delay, the thread hang. How can I add a 2... | I'm trying to add a 2 second delay without locking the main thread every time a resume is called in the countdown timer. Without adding a delay, this below works perfectly, but when I add a delay, the main thread hangs. Every time I call resume and add delay with sendmessage delay, the thread hang. How can I add a 2 se... | android|kotlin|countdowntimer | 0 | 2022-07-06T09:07:37.377Z | 2,022 | 7 | 9 | 2 | 37 | 0 | 406 | 55 | 3 | 1 | true | true | false | false | false | false | zero |
72,880,742 | Jetpack Compose: Best way to display a start screen only the first time you start the app | <p>I am currently working on an app that has a start screen where I want to input a unique code to add a device through firebase. After adding the first device the menu screen should appear after starting the app.</p>
<p>I currently do that with two Activities and a Shared Preference that checks if I have at least one ... | I am currently working on an app that has a start screen where I want to input a unique code to add a device through firebase. After adding the first device the menu screen should appear after starting the app. I currently do that with two Activities and a Shared Preference that checks if I have at least one device and... | kotlin|android-activity|android-jetpack-compose|android-jetpack | 0 | 2022-07-06T09:09:12.507Z | 2,022 | 7 | 9 | 2 | 173 | 0 | 567 | 89 | 4 | 0 | false | true | false | false | false | false | zero |
72,880,777 | Display an excel file, which user can accept or not | <p>I need to display an Excel file that I created. What I need now is to display the .xls file to the user to see it, along with an "Accept" button and a "Cancel" button. I know I can create an Intent for the phone to open the file, but it will open in another app, and I will not be able to create t... | I need to display an Excel file that I created. What I need now is to display the .xls file to the user to see it, along with an "Accept" button and a "Cancel" button. I know I can create an Intent for the phone to open the file, but it will open in another app, and I will not be able to create that... | android|xls|startactivityforresult | 0 | 2022-07-06T09:11:39.733Z | 2,022 | 7 | 9 | 2 | 26 | 0 | 410 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
72,880,875 | E/SQLiteLog: (1) no such table: kids (DatabaseHelper) | <p>I have an error message with my app and do not know what to do with the code.</p>
<pre><code>package com.own.babyfirstword.database
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import com.own.babyfirstword.customclasses.Constant
import ... | I have an error message with my app and do not know what to do with the code. [CODE] This is the Error I am getting. [CODE] | java|android | 0 | 2022-07-06T09:18:19.110Z | 2,022 | 7 | 9 | 2 | 19 | 1 | 123 | 53 | 2 | 2 | true | false | false | false | false | false | zero |
72,880,977 | Android Dialog cropping problem on Android 12 devices | <p>We have a number of Apps on the market that use DialogFragment (the AppCompatDialogFragment version). We are finding that on certain devices, Samsung TAB S7 for one, dialogs are truncated so that information and action buttons at the bottom are not displayed. Nothing I have tried will resolve this issue in a way tha... | We have a number of Apps on the market that use DialogFragment (the AppCompatDialogFragment version). We are finding that on certain devices, Samsung TAB S7 for one, dialogs are truncated so that information and action buttons at the bottom are not displayed. Nothing I have tried will resolve this issue in a way that i... | java|android|modal-dialog | 0 | 2022-07-06T09:24:58.437Z | 2,022 | 7 | 9 | 2 | 185 | 3 | 689 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
72,881,094 | Hilt injection in leanback Presenter | <p>I'm quite new with Hilt injection. I started to migrate my whole project to DI.</p>
<p>It works almost everywhere, but I'm facing an issue when it comes to the leanback presenters. I don't know if it is related to the leanback stuff or juste Hilt</p>
<pre class="lang-kotlin prettyprint-override"><code>class LiveShow... | I'm quite new with Hilt injection. I started to migrate my whole project to DI. It works almost everywhere, but I'm facing an issue when it comes to the leanback presenters. I don't know if it is related to the leanback stuff or juste Hilt [CODE] [CODE] [CODE] The following error occurs [CODE] It means it crashes when ... | android|dependency-injection|dagger-hilt | 6 | 2022-07-06T09:32:33.073Z | 2,022 | 7 | 9 | 2 | 207 | 3 | 471 | 36 | 3 | 4 | true | false | false | false | false | false | medium |
72,881,135 | Any ui library for swipe button in android | <p>I want a swipe button on my android application,
I found a library which is good but doesn't really fit well with my use case (<a href="https://github.com/cortinico/slidetoact" rel="nofollow noreferrer">https://github.com/cortinico/slidetoact</a>)</p>
<p>So I am looking for any alternatives to this library</p> | I want a swipe button on my android application, I found a library which is good but doesn't really fit well with my use case ( https://github.com/cortinico/slidetoact ) So I am looking for any alternatives to this library | android|android-layout | 0 | 2022-07-06T09:35:19.500Z | 2,022 | 7 | 9 | 2 | 141 | 0 | 222 | 42 | 2 | 0 | false | true | false | false | false | false | zero |
72,881,172 | Android Studio can't request permission for writing all files in external storage | <p>I added <code><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" /></code> into my manifest. And I receive a window which allows me to get permission for writing media files. But I need to write .txt files in the external storage and I can... | I added <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" /> into my manifest. And I receive a window which allows me to get permission for writing media files. But I need to write .txt files in the external storage and I can get it only by my han... | java|android|permissions | 0 | 2022-07-06T09:37:18.073Z | 2,022 | 7 | 9 | 2 | 32 | 1 | 402 | 81 | 3 | 0 | false | false | false | false | false | false | zero |
72,881,365 | Flutter CarouselSlider shows Invalid value and show only 2 items | <p>I want to show 3 items per slide in <code>CarouselSlider</code> I have data from API which returns the image from the database.
But as per userid I got only one item in the database but <code>CarouselSlider</code> does not show then and gives me the error of <code>RangeError (index): Invalid value: Only valid value ... | I want to show 3 items per slide in CarouselSlider I have data from API which returns the image from the database. But as per userid I got only one item in the database but CarouselSlider does not show then and gives me the error of RangeError (index): Invalid value: Only valid value is 0: 1 Please help me how to show ... | android|flutter|flutter-layout|flutter-dependencies|flutter-slider | 0 | 2022-07-06T09:50:40.357Z | 2,022 | 7 | 9 | 2 | 20 | 0 | 626 | 64 | 5 | 1 | true | true | false | false | false | false | zero |
72,881,395 | How to handle CR and LF in the proper way in Java (android) | <p>So I have noticed that the bytes <code>CR</code> (13) and <code>LF</code> (10) are not fully being respected in Java. When there is a <code>CR</code> byte it doesn't just return the carriage but it also creates a new line. Which is weird cause <code>CR</code> literally stands for Carriage Return and <code>LF</code> ... | So I have noticed that the bytes CR (13) and LF (10) are not fully being respected in Java. When there is a CR byte it doesn't just return the carriage but it also creates a new line. Which is weird cause CR literally stands for Carriage Return and LF stand for Line Feed, thus two seperate things. Anyways, I have accep... | java|android|algorithm|optimization|carriage-return | 1 | 2022-07-06T09:53:12.797Z | 2,022 | 7 | 9 | 2 | 42 | 1 | 2,127 | 59 | 5 | 4 | true | false | false | false | false | false | low |
72,881,399 | Android studio not showing all cloned on the ide | <p>I cloned a project from git, when I try to view from the project file, it shows all the downloaded file but if I view from the project, android studio is only showing the image below.</p>
<p>I have invalidate cache and also try to pull from git but not syncing.</p>
<p>Any clue on how to solve this please</p>
<p><a h... | I cloned a project from git, when I try to view from the project file, it shows all the downloaded file but if I view from the project, android studio is only showing the image below. I have invalidate cache and also try to pull from git but not syncing. Any clue on how to solve this please | android-studio | 0 | 2022-07-06T09:53:35.877Z | 2,022 | 7 | 9 | 2 | 24 | 0 | 291 | 48 | 1 | 0 | false | true | false | false | false | false | zero |
72,881,458 | Im facing an error FAILURE: Build failed with an exception | <p>I'm having this error:</p>
<pre><code>-/C:/src/flutter/flutter/packages/flutter/lib/src/services/asset_bundle.dart:240:12: Error: A value of type 'ByteData?' can't be returned from an async function with return type 'Future<ByteData>' because 'ByteData?' is nullable and 'Future<ByteData>' isn't.
- 'Byte... | I'm having this error: [CODE] | flutter|android-studio|build.gradle | 1 | 2022-07-06T09:57:39.357Z | 2,022 | 7 | 9 | 2 | 51 | 1 | 29 | 58 | 3 | 1 | true | false | false | false | false | false | low |
72,881,461 | ScrollView: How to detect if certain View inside ScrollView is past scrolling? | <p>I have <code>ScrollView</code> and inside this <code>ScrollView</code> are some independent Views. What I want to achieve is if <code>View A</code> touches top of <code>ScrollView</code>, it will start animating - transforming instead of hiding out of <code>ScrollView</code> (visible screen).</p>
<p>It should have &... | I have ScrollView and inside this ScrollView are some independent Views. What I want to achieve is if View A touches top of ScrollView , it will start animating - transforming instead of hiding out of ScrollView (visible screen). It should have "collapse" effect but not completely collapsed. This View A is no... | android|android-layout|android-animation|android-scrollview | 0 | 2022-07-06T09:57:45.503Z | 2,022 | 7 | 9 | 2 | 22 | 0 | 606 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
72,881,530 | VPN split dns does not work on Android Emulator [Cisco AnyConnect] | <p>After connecting to a clients corporate VPN via Cisco we can access domains previously not found.<br />
This works on Desktop, Android, iOS, iOS Simulator but <strong>not</strong> on Android Emulator.</p>
<p>We have tried to both connect the local machine to the VPN and restart the emulator and to download the Cisco... | After connecting to a clients corporate VPN via Cisco we can access domains previously not found. This works on Desktop, Android, iOS, iOS Simulator but not on Android Emulator. We have tried to both connect the local machine to the VPN and restart the emulator and to download the Cisco AnyConnect app on the emulator i... | android|dns|android-emulator|vpn|cisco | -2 | 2022-07-06T10:03:41.407Z | 2,022 | 7 | 10 | 2 | 122 | 1 | 622 | 66 | 5 | 0 | false | false | false | false | false | true | negative |
72,881,617 | Dialogflow Bot not responsive | <p>The text-based web demo linked bot works on laptop but not on phone and I've tried on several devices. The web demo is enabled and I've tried to open another account but I get the same issue.</p> | The text-based web demo linked bot works on laptop but not on phone and I've tried on several devices. The web demo is enabled and I've tried to open another account but I get the same issue. | android|iphone | 0 | 2022-07-06T10:09:03.393Z | 2,022 | 7 | 10 | 2 | 12 | 0 | 191 | 29 | 2 | 0 | false | true | false | false | false | false | zero |
72,881,659 | greendao - android.database.CursorWindowAllocationException: Could not allocate CursorWindow <DBName> of size 104857600 due to error -12 | <p>So I basically parse a JSON and store ~3000 rows (no multimedia) in the <code>greendao</code> generated table and I am getting the above error from while querying data in this function:</p>
<pre><code> @Synchronized
private fun checkGroupVisibility(
dependencyList: ArrayList<Long>,
depen... | So I basically parse a JSON and store ~3000 rows (no multimedia) in the greendao generated table and I am getting the above error from while querying data in this function: [CODE] The exact error is coming when evaluating inspectionReportCarParList (i.e. the first query in the code). Here is the full stacktrace : [CODE... | android|sqlite|android-sqlite|android-cursor|greendao | 0 | 2022-07-06T10:11:17.810Z | 2,022 | 7 | 10 | 2 | 117 | 1 | 596 | 136 | 5 | 2 | true | false | false | false | false | false | zero |
72,881,666 | error: The named parameter 'child' isn't defined | <p>i try to change it in children but it doesn't change anything
i've tried</p>
<blockquote>
<ol>
<li>flutter clean</li>
<li>pub get</li>
</ol>
</blockquote>
<p>but it show the same error</p>
<pre class="lang-dart prettyprint-override"><code>
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget ... | i try to change it in children but it doesn't change anything i've tried flutter clean pub get but it show the same error [CODE] | android|flutter|dart|mobile | 0 | 2022-07-06T10:11:45.190Z | 2,022 | 7 | 10 | 2 | 35 | 3 | 128 | 48 | 4 | 1 | true | false | false | false | false | false | zero |
72,881,802 | How to set diplayName of a firebase User while using Phone Authentication | <p>I am creating an android massaging app where I am implementing Firebase Phone Authentication. When I am creating PhoneAuthOptions, I am not seeing any method to set User's displayName, and after the verification completion I need User's name to save it with phone number into Database. While setting up phoneNumber of... | I am creating an android massaging app where I am implementing Firebase Phone Authentication. When I am creating PhoneAuthOptions, I am not seeing any method to set User's displayName, and after the verification completion I need User's name to save it with phone number into Database. While setting up phoneNumber of th... | android|kotlin|firebase-realtime-database|firebase-authentication | 0 | 2022-07-06T10:20:20.947Z | 2,022 | 7 | 10 | 2 | 92 | 1 | 554 | 73 | 4 | 2 | true | false | false | false | false | false | zero |
72,881,825 | How to remove post in PagingDataAdapter android | <p>Android Paging library 3 (3.1.1)</p>
<p>I have implemented the paging3 library for Shortlisting posts. I am showing the shortlisted post in recycler view with paging, and it's working fine.</p>
<p>Now I want to remove a post from the list.</p>
<p>I looked at this issue on git but have not found any issue.</p>
<p><a ... | Android Paging library 3 (3.1.1) I have implemented the paging3 library for Shortlisting posts. I am showing the shortlisted post in recycler view with paging, and it's working fine. Now I want to remove a post from the list. I looked at this issue on git but have not found any issue. https://github.com/android/archite... | android|android-paging-3 | 0 | 2022-07-06T10:21:54.707Z | 2,022 | 7 | 10 | 2 | 29 | 0 | 368 | 47 | 2 | 0 | false | true | false | false | false | false | zero |
72,881,876 | Flutter: Non-Overlapping / Dynamic Positioning of widget | <p>Stack Widget can be used along with Positioned Widget / Align Widget / Using Stack’s Alignment Property to have multiple children widgets placed(For ex- Container widget) inside Stack.</p>
<p><strong>Example Reference:</strong></p>
<ol>
<li><a href="https://www.flutterbeads.com/flutter-position-widget-in-stack/" rel... | Stack Widget can be used along with Positioned Widget / Align Widget / Using Stack’s Alignment Property to have multiple children widgets placed(For ex- Container widget) inside Stack. Example Reference: https://www.flutterbeads.com/flutter-position-widget-in-stack/ https://medium.flutterdevs.com/stack-and-positioned-w... | android|flutter|flutter-layout|launcher|android-launcher | 1 | 2022-07-06T10:26:15.620Z | 2,022 | 7 | 10 | 2 | 56 | 0 | 1,497 | 56 | 5 | 0 | false | true | false | false | false | false | low |
72,881,955 | Android Studio Bug!? Multiple Gradle Builds | <p>Did u had something similar?
As you see, there are many Errors which not allow Gradle to Build...
But before that happens, Build was ok...
<a href="https://i.stack.imgur.com/ktV94.png" rel="nofollow noreferrer">Look at Image here:</a></p>
<p><strong>Error: Gradle sync failed: Sync failed: reason unknown (22 s 471 ms... | Did u had something similar? As you see, there are many Errors which not allow Gradle to Build... But before that happens, Build was ok... Look at Image here: Error: Gradle sync failed: Sync failed: reason unknown (22 s 471 ms) Things I Tried: Invalidate Cache/ Restart Empty .gradle/caches folder Project >> Androidview... | android-studio|gradle|static|build.gradle | 0 | 2022-07-06T10:30:57.350Z | 2,022 | 7 | 10 | 2 | 54 | 0 | 696 | 43 | 4 | 1 | true | true | false | false | false | false | zero |
72,881,996 | How do I use the name of the picture (It's already in "drawable") for use in the program? | <p>I tried to do it through "string" but it doesn't work. How to do it?</p>
<pre><code>var TestString : String = "test1.png"
var TestId : Int = R.drawable.TestString
</code></pre> | I tried to do it through "string" but it doesn't work. How to do it? [CODE] | kotlin|android-drawable | 0 | 2022-07-06T10:33:41.263Z | 2,022 | 7 | 10 | 2 | 32 | 1 | 85 | 89 | 2 | 1 | true | false | false | false | false | false | zero |
72,882,046 | How to find the exception error point of the Image Button in this log? | <p>I've been struggling with this 'android.view.InflateException' issue in this log for a long time. The issue was that an activity composed of the Room database and Recyclerview could not be executed in API level 21/22. Of course, if I adjust the minSdk 21 setting higher to 23, that's it. But I didn't want to do that.... | I've been struggling with this 'android.view.InflateException' issue in this log for a long time. The issue was that an activity composed of the Room database and Recyclerview could not be executed in API level 21/22. Of course, if I adjust the minSdk 21 setting higher to 23, that's it. But I didn't want to do that. I ... | kotlin|android-recyclerview|android-room|imagebutton | 0 | 2022-07-06T10:37:40.633Z | 2,022 | 7 | 10 | 2 | 26 | 0 | 1,397 | 70 | 4 | 1 | true | true | false | false | false | false | zero |
72,882,187 | How to get notified on Android system theme change? | <p>Android introduced Dark Theme in API level 29 and higher (<a href="https://developer.android.com/guide/topics/ui/look-and-feel/darktheme" rel="nofollow noreferrer">https://developer.android.com/guide/topics/ui/look-and-feel/darktheme</a>). To support Dark Theme in your own app your app's theme needs to inherit from ... | Android introduced Dark Theme in API level 29 and higher ( https://developer.android.com/guide/topics/ui/look-and-feel/darktheme ). To support Dark Theme in your own app your app's theme needs to inherit from DayNight theme. I have added [CODE] in Android manifest. Now when application is opened, running an activity, b... | android|android-studio|android-layout|android-dark-theme|android-darkmode | 0 | 2022-07-06T10:45:51.770Z | 2,022 | 7 | 10 | 2 | 49 | 0 | 760 | 51 | 5 | 1 | true | true | false | false | false | false | zero |
72,882,286 | My scrollview didn't scroll until the last button in android studio? | <p>I need help with my xml coding in Android Studio, having trouble with the scrollview that could not scroll far enough to show My Button at the bottom of the view or shown in the two images included. Thank you in advance for your responses.</p>
<pre><code><androidx.coordinatorlayout.widget.CoordinatorLayout xmlns... | I need help with my xml coding in Android Studio, having trouble with the scrollview that could not scroll far enough to show My Button at the bottom of the view or shown in the two images included. Thank you in advance for your responses. [CODE] This is the default view when app launches This is the maximum scroll cou... | android|xml|scrollview | 0 | 2022-07-06T10:52:42.073Z | 2,022 | 7 | 10 | 2 | 6 | 0 | 367 | 68 | 3 | 1 | true | true | false | false | false | false | zero |
72,882,288 | Android build failed, after trying to fix an error about targeting Android 12 | <p>So I uploaded a bundle in Google Play Console, and it got rejected because it was targeting Android 12 and... The error is the same as in <a href="https://stackoverflow.com/questions/70695372/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias">this post</a>.</p>
<p>Following the instructi... | So I uploaded a bundle in Google Play Console, and it got rejected because it was targeting Android 12 and... The error is the same as in this post . Following the instructions of the above post's accepted answer, when I first opened Android Studio... and pressed Merged Manifest I would see only this: [CODE] Then, afte... | android|react-native|android-manifest|android-12 | 0 | 2022-07-06T10:52:52.113Z | 2,022 | 7 | 10 | 2 | 322 | 0 | 648 | 77 | 4 | 3 | true | true | false | false | false | false | zero |
72,882,306 | Flutter CarouselSlider shows Invalid value and wants to show only 3 items per slide | <p>I want to show 3 items per slide in <code>CarouselSlider</code> I have data from API which returns the image from the database.
But as per userid I got only one item in the database but <code>CarouselSlider</code> does not show then and gives me the error of <code>RangeError (index): Invalid value: Only valid value ... | I want to show 3 items per slide in CarouselSlider I have data from API which returns the image from the database. But as per userid I got only one item in the database but CarouselSlider does not show then and gives me the error of RangeError (index): Invalid value: Only valid value is 0: 1 Please help me how to show ... | android|flutter|flutter-layout|flutter-dependencies|flutter-slider | 0 | 2022-07-06T10:53:44.100Z | 2,022 | 7 | 10 | 2 | 21 | 0 | 735 | 83 | 5 | 1 | true | true | false | false | false | false | zero |
72,882,307 | Use mobile app user base to exclude them from Google Ads campaign | <p>I have a mobile app running on Android and iOS and for marketing purposes I would like to know if setting the Google Analytics SDK in them I can make an advertising campaign through Google Ads that excludes the users that already use my app.</p>
<p>I'm not really into advertising and I wanted to ask for advice since... | I have a mobile app running on Android and iOS and for marketing purposes I would like to know if setting the Google Analytics SDK in them I can make an advertising campaign through Google Ads that excludes the users that already use my app. I'm not really into advertising and I wanted to ask for advice since I haven't... | android|ios|google-analytics|ads|google-ads-api | 2 | 2022-07-06T10:53:47.663Z | 2,022 | 7 | 10 | 2 | 30 | 0 | 362 | 65 | 5 | 0 | false | true | false | false | false | false | low |
72,882,404 | How to wait for response in request inside other request async | <p>I would like to know how to deal with my problem. I am trying to send request in android studio (using retrofit2), and in "onResponse" method send other request which assing List to object from the first request. Problem is that the first request finish before the second can download the data and assign em... | I would like to know how to deal with my problem. I am trying to send request in android studio (using retrofit2), and in "onResponse" method send other request which assing List to object from the first request. Problem is that the first request finish before the second can download the data and assign empty... | android-studio|asynchronous|retrofit2 | 0 | 2022-07-06T11:00:21.027Z | 2,022 | 7 | 11 | 2 | 28 | 0 | 472 | 62 | 3 | 2 | true | true | false | false | false | false | zero |
72,882,406 | Android - Listening to incoming messages | <p>Am working on an android app that should be able to listen to incoming SMS and then show notifications.
Later am using content://sms/inbox</p>
<pre><code> public List<Sms> getAllSms(String folderName) {
List<Sms> lstSms = new ArrayList<Sms>();
Sms objSms = new Sms();
Uri message = Uri.parse(&quo... | Am working on an android app that should be able to listen to incoming SMS and then show notifications. Later am using content://sms/inbox [CODE] Am getting empty, am working do I need to write SMS here "content://sms/inbox " when I receive it or android handles that automatically? Thanks in advance | java|android|android-studio|kotlin | 0 | 2022-07-06T11:00:41.663Z | 2,022 | 7 | 11 | 2 | 27 | 0 | 310 | 40 | 4 | 1 | true | true | false | false | false | false | zero |
72,882,424 | How to Pass react native assets file path to native modules ios/android | <p>i have some static files in my react native assets folder, i want to pass those files to native modules Android/iOS, is there any way to pass file paths to native modules</p>
<p>Actually i downloading files from s3 using <code>react-native-fs</code> to document directory and its giving absolute file path like below<... | i have some static files in my react native assets folder, i want to pass those files to native modules Android/iOS, is there any way to pass file paths to native modules Actually i downloading files from s3 using react-native-fs to document directory and its giving absolute file path like below /Users/jos/Library/Deve... | android|ios|react-native|assets|react-native-fs | 0 | 2022-07-06T11:01:28.657Z | 2,022 | 7 | 11 | 2 | 162 | 0 | 781 | 71 | 5 | 0 | false | true | false | false | false | false | zero |
72,882,505 | Want to use Recycler View Inside Nested Scroll View | <p>I am using a recycler view with multiple views nested in it recycler work fine and it also scroll smoothly but when I put recycler view inside the nested scroll view the scroll of nested view is lag or you can say delay for few second when the new item is add in recycler view
.For clarity I already set the recycler ... | I am using a recycler view with multiple views nested in it recycler work fine and it also scroll smoothly but when I put recycler view inside the nested scroll view the scroll of nested view is lag or you can say delay for few second when the new item is add in recycler view .For clarity I already set the recycler vie... | android|android-recyclerview|progress-bar|android-linearlayout|android-nestedscrollview | 0 | 2022-07-06T11:07:20.943Z | 2,022 | 7 | 11 | 2 | 64 | 1 | 554 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
72,882,609 | Using multiple buttons within dialog box with intents to change text of main button | <p>i am in a pickle at the moment to how to approach making 3 buttons within a single dialog box make the option selected change the text of the button used to show the dialog box, so far only managed to get option3 to work as i suppose its the last intent so the only button that works would be the button for option3</... | i am in a pickle at the moment to how to approach making 3 buttons within a single dialog box make the option selected change the text of the button used to show the dialog box, so far only managed to get option3 to work as i suppose its the last intent so the only button that works would be the button for option3 here... | java|android|android-intent|dialog | 0 | 2022-07-06T11:13:38.883Z | 2,022 | 7 | 11 | 2 | 76 | 0 | 467 | 83 | 4 | 4 | true | true | false | false | false | false | zero |
72,882,621 | ADB Shell is not displaying logs continously | <p>I am trying to debug a Yocto project. I have flashed cpp binaries on some device.
Now I my trying to display logs using below adb command</p>
<pre><code> adb shell tail -f /var/log/acs_main.log
</code></pre>
<p>The problem i'm facing is that logs are not displayed continuously.I have to cancel and again start to pr... | I am trying to debug a Yocto project. I have flashed cpp binaries on some device. Now I my trying to display logs using below adb command [CODE] The problem i'm facing is that logs are not displayed continuously.I have to cancel and again start to print further log statements. Anyone can help me in this ? | android|logging|adb|logcat | 0 | 2022-07-06T11:14:16.943Z | 2,022 | 7 | 11 | 2 | 22 | 0 | 306 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
72,882,630 | Markers title and Traffic view, googlemap android | <p>i am facing some problems with anable and disable traffic TYPE on the google map when OnMapReady.I have tow differents MAP_TYPE_NORMAL and MAP_TYPE_HYBRID.
what i want is to setOnclickListener when button is clicked.</p>
<p>my button code:</p>
<pre><code>maptrafic.setOnClickListener(new View.OnClickListener() {
... | i am facing some problems with anable and disable traffic TYPE on the google map when OnMapReady.I have tow differents MAP_TYPE_NORMAL and MAP_TYPE_HYBRID. what i want is to setOnclickListener when button is clicked. my button code: [CODE] also, i am working on googlemap using REST API i have successfuly create windows... | java|android|rest|google-maps|google-maps-markers | 0 | 2022-07-06T11:14:51.347Z | 2,022 | 7 | 11 | 2 | 13 | 0 | 720 | 49 | 5 | 3 | true | true | false | false | false | false | zero |
72,882,715 | Proxying an Android application to send all it's network traffic to a computer | <p>Is there a way to send network traffic from an Android application to a computer, without using another app. Something like embedding a proxy inside the application. I am currently using PCAPdroid to accomplish this, but would like to do it without an app.</p>
<p>I am currently using PCAPdroid to send traffic from a... | Is there a way to send network traffic from an Android application to a computer, without using another app. Something like embedding a proxy inside the application. I am currently using PCAPdroid to accomplish this, but would like to do it without an app. I am currently using PCAPdroid to send traffic from an app on m... | android|networking|reverse-engineering|mitmproxy | 0 | 2022-07-06T11:21:07.717Z | 2,022 | 7 | 11 | 2 | 69 | 0 | 377 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
72,882,729 | Formatting sensor event timestamp into date and time | <p>I am collecting Watch sensor data in a JSON file and I need to put a time stamp in the data to know when it was collected but I am getting time in milliseconds.
How can I convert the sensor timestamp into a readable form of date and time and then put it as a JSON object in a JSON file to store the data?</p> | I am collecting Watch sensor data in a JSON file and I need to put a time stamp in the data to know when it was collected but I am getting time in milliseconds. How can I convert the sensor timestamp into a readable form of date and time and then put it as a JSON object in a JSON file to store the data? | android|kotlin|timestamp | 0 | 2022-07-06T11:22:08.163Z | 2,022 | 7 | 11 | 2 | 21 | 0 | 304 | 52 | 3 | 0 | false | true | false | false | false | false | zero |
72,882,788 | Jetpack Compose: Bottom Sheet not showing up as expected | <p>I have a scaffold that has a <code>BottomNavigationView</code> and the content. On one of my screens, I have a filter button that navigates me to the <code>FilterScreen</code>. <code>FilterScreen</code> is a <code>bottomSheet</code> composable. When I navigate to <code>FilterScreen</code> the result is :</p>
<img sr... | I have a scaffold that has a BottomNavigationView and the content. On one of my screens, I have a filter button that navigates me to the FilterScreen . FilterScreen is a bottomSheet composable. When I navigate to FilterScreen the result is : So as you can see when I click the filter button, the BottomNavigationView is ... | android|kotlin|android-jetpack-compose|bottomnavigationview|android-bottomsheetdialog | 1 | 2022-07-06T11:26:38.237Z | 2,022 | 7 | 11 | 2 | 698 | 1 | 665 | 56 | 5 | 2 | true | false | false | false | false | false | low |
72,882,841 | Android managing ListViewItem Progressbar update in row | <p>I'm using ListView with custom list rows,where every ListItem has ProgressBar in it.</p>
<p>When the user click the ImageView,the app starts an AsyncTask to download a file from a remote server,and update the progress in progress bar.</p>
<p>I'm using Parallel async tasks,which mean app can launch multiple downloads... | I'm using ListView with custom list rows,where every ListItem has ProgressBar in it. When the user click the ImageView,the app starts an AsyncTask to download a file from a remote server,and update the progress in progress bar. I'm using Parallel async tasks,which mean app can launch multiple downloads and update them ... | java|android|json|listview | 0 | 2022-07-06T11:30:18.300Z | 2,022 | 7 | 11 | 2 | 38 | 1 | 1,194 | 55 | 4 | 1 | true | false | false | false | false | false | zero |
72,882,929 | GnssClock method getFullBiasNanos returns a decreasing number every callback when it should be increasing by definition | <p>The method <code>public long getFullBiasNanos ()</code> in the <code>GnssClock</code> class is defined to be:</p>
<blockquote>
<p>the difference between hardware clock (getTimeNanos()) inside GPS
receiver and the true GPS time since 0000Z, January 6, 1980, in
nanoseconds.</p>
</blockquote>
<p>So i assumed that every... | The method public long getFullBiasNanos () in the GnssClock class is defined to be: the difference between hardware clock (getTimeNanos()) inside GPS receiver and the true GPS time since 0000Z, January 6, 1980, in nanoseconds. So i assumed that every time i will get a callback event for the gnss measurements(from which... | android|android-location|android-gps|rtk|android-gnss | 0 | 2022-07-06T11:36:10.133Z | 2,022 | 7 | 11 | 2 | 21 | 1 | 1,229 | 119 | 5 | 0 | false | false | false | false | false | false | zero |
72,883,019 | Library using different ndk.abiFilters than main app but it compiles for both | <p>Is it possible to compile main app with</p>
<pre><code>ndk { abiFilters "armeabi-v7a", "arm64-v8a" }
</code></pre>
<p>And Library module with</p>
<pre><code>ndk { abiFilters "arm64-v8a"}
</code></pre>
<p>So that Library .so files only get compiled for arm64-v8a?
I have some other librar... | Is it possible to compile main app with [CODE] And Library module with [CODE] So that Library .so files only get compiled for arm64-v8a? I have some other libraries in another module with "armeabi-v7a" so for each cpu only that libraries that it needs. Library .gradle is always ignored and app compiles then L... | android|android-ndk | 0 | 2022-07-06T11:43:33.030Z | 2,022 | 7 | 11 | 2 | 38 | 1 | 426 | 77 | 2 | 2 | true | false | false | false | false | false | zero |
72,883,068 | How to verify if my app have ALL_FILES_ACCESS_PERMISSION? | <p>I give all files access by this method :</p>
<pre><code>if (!hasPermissionToManageFiles(myContext)){
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R){
try {
Intent intentFiles = new Intent();
intentFiles.setAction(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION);
Uri uriFiles = U... | I give all files access by this method : [CODE] This line in my manifest : [CODE] I tried to create method to verify this kind of permission but it's not working. I don't have any error, when my app has the permission to access the intent still appears. here is my method : [CODE] | java|android|permissions|scoped-storage | 1 | 2022-07-06T11:47:16.180Z | 2,022 | 7 | 11 | 2 | 47 | 1 | 280 | 57 | 4 | 3 | true | false | false | false | false | false | low |
72,883,283 | How to get the names of all files in a directory programmatically | <p>I am trying to get all files from directory, but i am getting all file types except from .zip, .apk.</p>
<pre><code> val fileDir = File(folder)
val files = fileDir.list() ?: return null
</code></pre>
<p>I don't know how to solve this problem. Can anyone help me?</p> | I am trying to get all files from directory, but i am getting all file types except from .zip, .apk. [CODE] I don't know how to solve this problem. Can anyone help me? | android|kotlin | 1 | 2022-07-06T12:05:40.403Z | 2,022 | 7 | 12 | 2 | 50 | 1 | 167 | 65 | 2 | 1 | true | false | false | false | false | false | low |
72,883,457 | Why do we need to give default value inside getBoolean() in kotlin? | <p>I'm trying to put some data whose key: "isLoggedIn" and a value: true inside a shared preference file.
I do it this way...</p>
<pre><code>sharedPreferences=getSharedPreferences(getString(R.string.preference_file_name), Context.MODE_PRIVATE)
fun savePreferences(){
sharedPreferences.edit().putBoolean("... | I'm trying to put some data whose key: "isLoggedIn" and a value: true inside a shared preference file. I do it this way... [CODE] and then if I want to retreive/store this key-value pair inside a variable it allows me only when I give the second parameter which is a value or defualt value like this. [CODE] Th... | android|android-studio|kotlin | 0 | 2022-07-06T12:19:48.997Z | 2,022 | 7 | 12 | 2 | 78 | 2 | 521 | 67 | 3 | 3 | true | false | false | false | false | false | zero |
72,883,492 | How to have a regex.match() timeout? | <p>I am looking for a way to let a <code>regex.match()</code> timeout on Android.</p>
<p>Background: I have an app using an <code>IntentService</code> to scrape HTML content and parse it with regex matchers. Sometimes the format of the HTML pages changes and then <code>regex.match()</code> operation makes my app hang.<... | I am looking for a way to let a regex.match() timeout on Android. Background: I have an app using an IntentService to scrape HTML content and parse it with regex matchers. Sometimes the format of the HTML pages changes and then regex.match() operation makes my app hang. I have tried this solution and also the following... | java|android|regex | 1 | 2022-07-06T12:22:51.257Z | 2,022 | 7 | 12 | 2 | 83 | 0 | 522 | 36 | 3 | 1 | true | true | false | false | false | false | low |
72,883,650 | Java Language user input error with importing file | <p>I am facing this problem, I have no errors in my code. Here is the code .Please remember I am writing java in android studio because I am working on app development.</p>
<p>practice.java</p>
<pre><code>package com.example.javastart;
import java.util.Scanner;
public class practice {
public static void main(String[] ... | I am facing this problem, I have no errors in my code. Here is the code .Please remember I am writing java in android studio because I am working on app development. practice.java [CODE] } Here's some error [CODE] | java|android-studio|exception|user-input|chrome-app-developer-tool | 1 | 2022-07-06T12:34:03.340Z | 2,022 | 7 | 12 | 2 | 38 | 2 | 213 | 50 | 5 | 2 | true | false | false | false | false | false | low |
72,883,767 | Automate Webactions with Selenium on physical android device | <p>i want to be able to click a button on a website which will trigger an Eventlistener from some javascript in the background.</p>
<p>I found out that when i use this command in the webconsole in firefox while i am on the website i achieve my goal:
<a href="https://i.stack.imgur.com/dned9.png" rel="nofollow noreferrer... | i want to be able to click a button on a website which will trigger an Eventlistener from some javascript in the background. I found out that when i use this command in the webconsole in firefox while i am on the website i achieve my goal: [CODE] I want to click this button every 30min and i want to click it from an an... | javascript|python|android|selenium|tasker | 0 | 2022-07-06T12:42:11.323Z | 2,022 | 7 | 12 | 2 | 29 | 0 | 1,099 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
72,883,782 | i need to develop android studio that learn from machine | <p>float[] confidences = outputFeature0.getFloatArray();</p>
<pre><code> int maxPos = 0;
float maxConfidence = 0;
for (int i = 0; i < confidences; i++){
if (confidences[(int) i] > maxConfidence){
maxConfidence = confidences[i];
maxPos = i;
... | float[] confidences = outputFeature0.getFloatArray(); [CODE] | android|tensorflow | 0 | 2022-07-06T12:43:17.463Z | 2,022 | 7 | 12 | 2 | 26 | 0 | 60 | 56 | 2 | 1 | true | true | false | false | false | false | zero |
72,883,826 | Custom Keyboard With RecyclerView | <p>How can we set recyclerview as custom keyboard view instead of the Keys inside the keyboard view. The custom keyboard that I am trying to achieve is a options picker keyboard rather than the one that types. I have seen most of the custom keyboards allows to create typeable keypad but how can we replace it with the r... | How can we set recyclerview as custom keyboard view instead of the Keys inside the keyboard view. The custom keyboard that I am trying to achieve is a options picker keyboard rather than the one that types. I have seen most of the custom keyboards allows to create typeable keypad but how can we replace it with the recy... | java|android|kotlin|mobile | 0 | 2022-07-06T12:46:46.273Z | 2,022 | 7 | 12 | 2 | 25 | 0 | 357 | 33 | 4 | 0 | false | true | false | false | false | false | zero |
72,883,851 | Can 3rd party apps access app specific external storage? | <p>I read documentation about app specific storage in Android: <a href="https://developer.android.com/training/data-storage" rel="nofollow noreferrer">https://developer.android.com/training/data-storage</a></p>
<p>In the first row of the table it's said that other apps can't access app specific files. Am I right that i... | I read documentation about app specific storage in Android: https://developer.android.com/training/data-storage In the first row of the table it's said that other apps can't access app specific files. Am I right that it's a mistake in the documentation? I think so, since in the next article , it's said that On devices ... | android|android-storage | 0 | 2022-07-06T12:48:21.323Z | 2,022 | 7 | 12 | 2 | 25 | 1 | 857 | 56 | 2 | 0 | false | false | false | false | false | false | zero |
72,884,050 | How to hide warning "The console output contains very long lines (...)" when building apk in Android Studio | <p>After I update Android Studio to chipmunk, every time I build the project it gives me this warning. Sometimes it even gives me two times in Run and Build tabs overlapping each other and consuming one click of the mouse to dismiss it, what end up being really annoying.</p>
<p>Is there a way to disable those bubble no... | After I update Android Studio to chipmunk, every time I build the project it gives me this warning. Sometimes it even gives me two times in Run and Build tabs overlapping each other and consuming one click of the mouse to dismiss it, what end up being really annoying. Is there a way to disable those bubble notification... | android-studio|android-studio-chipmunk | 0 | 2022-07-06T13:02:04.020Z | 2,022 | 7 | 13 | 2 | 34 | 1 | 456 | 107 | 2 | 0 | false | false | false | false | false | false | zero |
72,884,081 | “xvfb - Xlib: extension "RANDR" missing on display " while running redroid on cloud VM | <p>I am trying to configure redroid on GCP compute engine Ubuntu VM. The required modules ashmem and binder are also installed.
But when tried to connect with,
scrcpy --serial :5555 getting error <em>“CRITICAL: Could not initialize SDL: No available video device”</em>.</p>
<p>so, I tried setting up GNOME ubuntu and con... | I am trying to configure redroid on GCP compute engine Ubuntu VM. The required modules ashmem and binder are also installed. But when tried to connect with, scrcpy --serial :5555 getting error “CRITICAL: Could not initialize SDL: No available video device” . so, I tried setting up GNOME ubuntu and connect with VNC view... | android-emulator | 0 | 2022-07-06T13:04:30.890Z | 2,022 | 7 | 13 | 2 | 15 | 0 | 523 | 86 | 1 | 0 | false | true | false | false | false | false | zero |
72,884,087 | Android not starting Activity when started from a JobScheduler | <p>This is my issue.</p>
<ol>
<li>I have a main activity that triggers an app install if a specific apk is available. Which runs fine and shows the install dialog etc. so all good.</li>
<li>Within the main activity I setup a job scheduler with a job info and schedule it to run every 30 mins. within the job I check for ... | This is my issue. I have a main activity that triggers an app install if a specific apk is available. Which runs fine and shows the install dialog etc. so all good. Within the main activity I setup a job scheduler with a job info and schedule it to run every 30 mins. within the job I check for the apk, if present runs ... | android|xamarin|installation|service|scheduler | 0 | 2022-07-06T13:04:56.320Z | 2,022 | 7 | 13 | 2 | 31 | 0 | 705 | 62 | 5 | 3 | true | true | false | false | false | false | zero |
72,884,105 | How to Reset Material RangeSlider values Programmatically in Android? | <p>I am using <strong>com.google.android.material.slider.RangeSlider</strong> in my project in filter screen, I want to reset range from and range to sliding progress programmatically when the user clears the filter.</p>
<pre><code> <com.google.android.material.slider.RangeSlider
andr... | I am using com.google.android.material.slider.RangeSlider in my project in filter screen, I want to reset range from and range to sliding progress programmatically when the user clears the filter. [CODE] | android|material-design|rangeslider | 1 | 2022-07-06T13:06:15.567Z | 2,022 | 7 | 13 | 2 | 75 | 1 | 203 | 69 | 3 | 1 | true | false | false | false | false | false | low |
72,884,134 | How to make StateFlow<Model> polymorphic in Androd? | <p>I am at stage when I would like to expose my <code>StateFlow<Model>()</code> into the common <code>BaseViewModel()</code> class to implement common operations on it without repeating them in others implementations of <code>ViewModels</code>. I ended up with one idea, but faced with several limitations when has... | I am at stage when I would like to expose my StateFlow<Model>() into the common BaseViewModel() class to implement common operations on it without repeating them in others implementations of ViewModels . I ended up with one idea, but faced with several limitations when has built PoC. My idea and its limitations are bel... | android|kotlin|kotlin-stateflow | 0 | 2022-07-06T13:08:34.923Z | 2,022 | 7 | 13 | 2 | 44 | 1 | 1,158 | 51 | 3 | 4 | true | false | false | false | false | false | zero |
72,884,248 | I get this error when I switch from light mode to dark mode | <blockquote>
<p>I have created an app in which I have dark mode and light mode when I click the button for dark mode it switches from light mode to dark mode but I am getting this error not only that but when exiting this app it switches from dark mode to light off can I fix this if there is any solution for this Plea... | I have created an app in which I have dark mode and light mode when I click the button for dark mode it switches from light mode to dark mode but I am getting this error not only that but when exiting this app it switches from dark mode to light off can I fix this if there is any solution for this Please help This My C... | java|android | 1 | 2022-07-06T13:16:43.433Z | 2,022 | 7 | 13 | 2 | 62 | 0 | 360 | 59 | 2 | 2 | true | true | false | false | false | false | low |
72,884,262 | How do I get the flashlight on my phone to flash accurately? | <p>I am currently coding an Android application on android studio with Java. This one is simple, when the button is clicked, a series of flashing of the phone's torch is launched. I need each flash to be regulated, and last the same time, but it's not the case, each flash does not last the same.</p>
<p>For this code, f... | I am currently coding an Android application on android studio with Java. This one is simple, when the button is clicked, a series of flashing of the phone's torch is launched. I need each flash to be regulated, and last the same time, but it's not the case, each flash does not last the same. For this code, for example... | java|android|flashlight | 0 | 2022-07-06T13:17:25.737Z | 2,022 | 7 | 13 | 2 | 67 | 0 | 612 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
72,884,277 | How to edit the width of listview/recycleview on android code | <p>Im planning to create a nice listview design, I want to know how to edit divider width</p>
<p>I have no idea how to make this, I dont know the keyword to search this on google</p>
<p>My xml</p>
<pre><code><LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://sch... | Im planning to create a nice listview design, I want to know how to edit divider width I have no idea how to make this, I dont know the keyword to search this on google My xml [CODE] | java|android|listview|android-recyclerview | 0 | 2022-07-06T13:18:29.457Z | 2,022 | 7 | 13 | 2 | 20 | 0 | 182 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
72,884,304 | android viewmodel tab fragment | <p>I created a new projets with AndroidStudio -> Tabbed Activity.
This activity creates 2 tab with textview. At the init the tabs are initialized with the index.</p>
<p>In the MainActivity there is a floating button which just produces a snackbar. I would like to use this fab action to change the tabbed textview tex... | I created a new projets with AndroidStudio -> Tabbed Activity. This activity creates 2 tab with textview. At the init the tabs are initialized with the index. In the MainActivity there is a floating button which just produces a snackbar. I would like to use this fab action to change the tabbed textview text. [CODE] } a... | android|tabs|viewmodel | 0 | 2022-07-06T13:20:18.487Z | 2,022 | 7 | 13 | 2 | 29 | 1 | 420 | 30 | 3 | 2 | true | false | false | false | false | false | zero |
72,884,377 | How to run the same Specflow test for iOS and Android using Appium? | <p>I had existing UI tests using Xamarin UI Test and NUnit. In my test class I was able to decorate the class with</p>
<pre><code>[TestFixture(Platform.Android)]
[TestFixture(Platform.iOS)]
</code></pre>
<p>I could in turn use this in my test setup and execution to handle different thing per platform and the test runne... | I had existing UI tests using Xamarin UI Test and NUnit. In my test class I was able to decorate the class with [CODE] I could in turn use this in my test setup and execution to handle different thing per platform and the test runner in VS would show things like "LoginTest - iOS", "LoginTest - Android&qu... | android|ios|appium|specflow|xamarin.uitest | 0 | 2022-07-06T13:25:14.283Z | 2,022 | 7 | 13 | 2 | 39 | 1 | 1,555 | 67 | 5 | 2 | true | false | false | false | false | false | zero |
72,884,409 | How to make Scrollview automatically scroll to the bottom when RadioButton is clicked | <p><strong>How to make Scrollview automatically scroll to the bottom when RadioButton is clicked</strong>
May I know How to make the Scroll view automatically scroll down to the next_button when any of the Radio Button is clicked ,
<strong>in the same time</strong> I need to call "setMeal() method from the ViewMo... | How to make Scrollview automatically scroll to the bottom when RadioButton is clicked May I know How to make the Scroll view automatically scroll down to the next_button when any of the Radio Button is clicked , in the same time I need to call "setMeal() method from the ViewModel when the Radio Button is clicked. ... | android|kotlin | 0 | 2022-07-06T13:27:28.317Z | 2,022 | 7 | 13 | 2 | 42 | 2 | 365 | 85 | 2 | 2 | true | false | false | false | false | false | zero |
72,884,485 | API fetch gets called twice - Retrofit | <p>I'm fiddling with public imdb-api, but the free version has only 100 api calls available daily. I've noticed my function responsible for fetching data is being called twice. I'm exactly sure why is that. Any tips apprecieated.</p>
<p>ApiService interface</p>
<pre><code>interface ApiService {
/**
* Get top ... | I'm fiddling with public imdb-api, but the free version has only 100 api calls available daily. I've noticed my function responsible for fetching data is being called twice. I'm exactly sure why is that. Any tips apprecieated. ApiService interface [CODE] Repository.class [CODE] MainViewModel.class [CODE] Edit: I call g... | android|api|kotlin|retrofit|viewmodel | 0 | 2022-07-06T13:32:19.777Z | 2,022 | 7 | 13 | 2 | 51 | 0 | 480 | 38 | 5 | 5 | true | true | false | false | false | false | zero |
72,884,589 | React Native Android production build crashes on physical device | <p>I'd like to test an android production build of a React-Native (v0.67.4, Android Gradle Plugin Version 7.1.2, Gradle Version 7.2 ) app on a device but it crashes immediately.</p>
<p>It works fine on dev mode (launched with <code>npm run android:dev</code>)</p>
<p>According to RN’s doc, the command <code>cd android &... | I'd like to test an android production build of a React-Native (v0.67.4, Android Gradle Plugin Version 7.1.2, Gradle Version 7.2 ) app on a device but it crashes immediately. It works fine on dev mode (launched with npm run android:dev ) According to RN’s doc, the command cd android && ./gradlew bundleProductionRelease... | android|react-native|gradle | 1 | 2022-07-06T13:39:35.640Z | 2,022 | 7 | 13 | 2 | 286 | 0 | 1,747 | 64 | 3 | 2 | true | true | false | false | false | false | low |
72,884,592 | Error after Adding a Jar File to Android Studio | <p>I have added 3 jar files from <a href="http://developer.gauner.org/jspellcorrect/" rel="nofollow noreferrer">here</a> to my project as shown in <a href="https://stackoverflow.com/a/35241990/12143067">this answer</a>.</p>
<p>I have also checked <a href="https://stackoverflow.com/questions/33518792/error-adding-a-jar-... | I have added 3 jar files from here to my project as shown in this answer . I have also checked this question and this question but I am still getting an error: 3 files found with path 'bundle.manifest'. Adding a packagingOptions block may help, please refer to https://developer.android.com/reference/tools/gradle-api/7.... | java|android | 0 | 2022-07-06T13:39:42.773Z | 2,022 | 7 | 13 | 2 | 21 | 0 | 660 | 47 | 2 | 0 | false | true | false | false | false | false | zero |
72,884,639 | Android Room query limit optional | <p>I have a method for getting my data from table:</p>
<pre><code>@Query("SELECT * FROM user LIMIT :limit")
suspend fun getUsers(limit: Int?): List<User>
</code></pre>
<p>Now I want this behavior:
<br>If I pass 10 for limit I want getUser method return 10 users
<br>If I pass null for limit I want getUse... | I have a method for getting my data from table: [CODE] Now I want this behavior: If I pass 10 for limit I want getUser method return 10 users If I pass null for limit I want getUser method return all users. Is there any solution for this? | android|sqlite|android-room | 0 | 2022-07-06T13:42:47.717Z | 2,022 | 7 | 13 | 2 | 63 | 3 | 238 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
72,884,869 | I want to store array of alternate days of the week in correct way [PHP] | <p>The code I have right now stores alternate days of the week in an array format. The logic runs fine for daily deliveries, but breaks for next week if alternate day delivery is chosen from the app side.
Suppose, One week = 7 days. So $array gets a response from app [0,2,4,6] and stores Monday, Wednesday, Friday and S... | The code I have right now stores alternate days of the week in an array format. The logic runs fine for daily deliveries, but breaks for next week if alternate day delivery is chosen from the app side. Suppose, One week = 7 days. So $array gets a response from app [0,2,4,6] and stores Monday, Wednesday, Friday and Sund... | php|android|arrays|logic | 1 | 2022-07-06T13:56:34.677Z | 2,022 | 7 | 13 | 2 | 44 | 2 | 615 | 72 | 4 | 1 | true | false | false | false | false | false | low |
72,884,992 | Find a location that far from my by X distance in Google maps Android Studio | <p>I'm currently working on an app in Android Studio and I'm using Google Maps. What I am trying to do is have the user enter a certain distance and I will show him a location that is far from him according to the distance he has chosen. At first I thought about moving on a path or road and seeing if I had reached the ... | I'm currently working on an app in Android Studio and I'm using Google Maps. What I am trying to do is have the user enter a certain distance and I will show him a location that is far from him according to the distance he has chosen. At first I thought about moving on a path or road and seeing if I had reached the des... | android|google-maps|location|distance | 0 | 2022-07-06T14:05:34.597Z | 2,022 | 7 | 14 | 2 | 19 | 0 | 465 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
72,885,017 | Bluetooth 5.1 AoA(Angle of Arrival)/AoD(Angle of Departure) function availability in Linux/Android | <p>We focus on indoor positioning system development. We recently got two development boards with bluetooth 5.1 chip with Ubuntu 18.04 platform and Android 10 platform respectively. We have searched on the internet and we have not find blueZ and Flouride has information about ble 5.1 AOA/AOD or CTE(Constant Tone Extens... | We focus on indoor positioning system development. We recently got two development boards with bluetooth 5.1 chip with Ubuntu 18.04 platform and Android 10 platform respectively. We have searched on the internet and we have not find blueZ and Flouride has information about ble 5.1 AOA/AOD or CTE(Constant Tone Extension... | android|linux|bluetooth|bluetooth-lowenergy|bluez | 1 | 2022-07-06T14:07:58.867Z | 2,022 | 7 | 14 | 2 | 61 | 1 | 462 | 98 | 5 | 0 | false | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.