id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,267,707 | Android marquee animation restart at a first time | <p>when I test android marquee animation in android textview
but first marqee animation started
animation is always one or two times restarted</p>
<p>anyone know why restart at a first time? marquee animation</p>
<p><img src="https://i.stack.imgur.com/6Kmts.gif" alt="enter image description here" /></p>
<p>this code is... | when I test android marquee animation in android textview but first marqee animation started animation is always one or two times restarted anyone know why restart at a first time? marquee animation this code is too simple for test MainActivity.kt [CODE] activity_main.xml [CODE] | android|animation|textview | 0 | 2022-08-07T13:09:43.580Z | 2,022 | 8 | 13 | 6 | 24 | 0 | 279 | 49 | 3 | 2 | true | true | false | false | false | false | zero |
73,267,821 | TaskExecutionException: Execution failed for task ':app:kaptDebugKotlin ' in Android studio Chipmunk | <p>this is the project's <code>root build.gradle file</code></p>
<pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetb... | this is the project's root build.gradle file [CODE] app/build.gradle file [CODE] and the error shown in build output tab of android studio [CODE] | android|android-gradle-plugin|dagger-hilt | 0 | 2022-08-07T13:23:27.137Z | 2,022 | 8 | 13 | 6 | 90 | 1 | 145 | 100 | 3 | 3 | true | false | false | false | false | false | zero |
73,267,829 | AndroidStudio USB: EXTRA_PERMISSION_GRANTED returns false - always | <p>I want to connect an USB CDC Device (an FTDI chip or a CD2010 or a custom made) to my Galaxy A12 (Android SDK 30) using the following code (AndroidStudio Chipmunk):</p>
<pre><code>public class MainActivity extends AppCompatActivity {
public static final String ACTION_USB_PERMISSION = "com.example.usbtestapp.US... | I want to connect an USB CDC Device (an FTDI chip or a CD2010 or a custom made) to my Galaxy A12 (Android SDK 30) using the following code (AndroidStudio Chipmunk): [CODE] } // class After connecting a FTDI FT232 - CDC Device this happens: 2022-08-07 14:19:44.206 15767-15767/com.social.usbtestapp V/usbtestapp: Waiting ... | android|usb|cdc | 0 | 2022-08-07T13:24:03.753Z | 2,022 | 8 | 13 | 6 | 69 | 1 | 1,413 | 66 | 3 | 1 | true | false | false | false | false | false | zero |
73,267,840 | does mutableStateOf function like LiveData? | <p>I am trying to store the data in mutableStateOf() to view it in my compose function, I receive the response in my variable and assign it to State<List?> but in my compose function I recieve no data at all, yet the init block in viewmodel when I debug showes that my data is recieved?
I dont understand how Mutab... | I am trying to store the data in mutableStateOf() to view it in my compose function, I receive the response in my variable and assign it to State<List?> but in my compose function I recieve no data at all, yet the init block in viewmodel when I debug showes that my data is recieved? I dont understand how MutablStates w... | android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-08-07T13:25:43.650Z | 2,022 | 8 | 13 | 6 | 66 | 1 | 768 | 43 | 4 | 2 | true | false | false | false | false | false | zero |
73,267,863 | Android Studio Tap and Swipe | <p>Sorry if this has been answered before. Im new to java coding in android studio in general</p>
<p>On an image view, i am trying to have both swipe and tap using the android:onClick</p>
<p>but it only does swipe instead of tap.</p>
<p>Context: An <code>ImageView</code> (album cover) acts as the navigation through son... | Sorry if this has been answered before. Im new to java coding in android studio in general On an image view, i am trying to have both swipe and tap using the android:onClick but it only does swipe instead of tap. Context: An ImageView (album cover) acts as the navigation through songs with swipe up being last song, swi... | java|android | 0 | 2022-08-07T13:29:41.643Z | 2,022 | 8 | 13 | 6 | 26 | 0 | 401 | 28 | 2 | 1 | true | true | false | false | false | false | zero |
73,267,904 | react-native run-android failed M1 | <p>~/RNSTAMPY react-native run-android 1 ✘ ╱ took 41s ╱ at 10:24:15 PM
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
(node:4459) Warning: Accessing non-existent property 'pad... | ~/RNSTAMPY react-native run-android 1 ✘ ╱ took 41s ╱ at 10:24:15 PM info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. (node:4459) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warning... | android|react-native|gradle | 0 | 2022-08-07T13:36:00.513Z | 2,022 | 8 | 13 | 6 | 56 | 1 | 2,622 | 34 | 3 | 1 | true | false | false | false | false | false | zero |
73,267,979 | java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{flutter.project} | <p>I can run my app on iOS Simulator but not on Android Emulator.</p>
<pre><code>E/AndroidRuntime(16430): FATAL EXCEPTION: main
E/AndroidRuntime(16430): Process: com.fiyboz.sedil.sedil, PID: 16430
E/AndroidRuntime(16430): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.fiyboz.sedil.sedil/an... | I can run my app on iOS Simulator but not on Android Emulator. [CODE] When I want to run my app I'm facing this error and I really don't know anything to do. | java|android|flutter | 0 | 2022-08-07T13:48:11.983Z | 2,022 | 8 | 13 | 6 | 32 | 1 | 157 | 89 | 3 | 1 | true | false | false | false | false | false | zero |
73,268,001 | Does Managed Published work with Open test track in Google Play Console? | <p>I'm trying to time the release of our beta app on both Play Store and iOS (TestFlight) to happen at the same time.</p>
<p>The problem right now is the android release happens automatically whenever the app gets reviewed - and this time has varied vastly from a few hours to several days.</p>
<p>The app does not have ... | I'm trying to time the release of our beta app on both Play Store and iOS (TestFlight) to happen at the same time. The problem right now is the android release happens automatically whenever the app gets reviewed - and this time has varied vastly from a few hours to several days. The app does not have a production rele... | android|google-play|google-play-console | 0 | 2022-08-07T13:51:17.823Z | 2,022 | 8 | 13 | 6 | 39 | 0 | 651 | 72 | 3 | 0 | false | true | false | false | false | false | zero |
73,268,086 | How to add Progress Bar in Splash Screen | <p>I want to add a Progress Bar to my splash screen but my splash screen is not an Activity.<br />
I have added <code>windowBackground</code> to my style</p>
<pre><code><style name="Theme" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:windowBackground&qu... | I want to add a Progress Bar to my splash screen but my splash screen is not an Activity. I have added windowBackground to my style [CODE] It is a PDF Viewer App which takes more time to load since it has to check for all the PDFs on the device | android|progress-bar|splash-screen|android-progressbar|android-splashscreen | 0 | 2022-08-07T14:03:25.310Z | 2,022 | 8 | 14 | 6 | 70 | 1 | 244 | 40 | 5 | 1 | true | false | false | false | false | false | zero |
73,268,163 | How to Hoist Mutiple States in compose? | <p>I have been trying to figure out how to hoist multiple states in 1 single composable/ viewModel but without any luck.</p>
<p>Whenever I type in one of the fields, it types in all fields at the same time. Like this:
<a href="https://gyazo.com/b3aae51a92a00478dd228f69dc8c12ac" rel="nofollow noreferrer">https://gyazo.c... | I have been trying to figure out how to hoist multiple states in 1 single composable/ viewModel but without any luck. Whenever I type in one of the fields, it types in all fields at the same time. Like this: https://gyazo.com/b3aae51a92a00478dd228f69dc8c12ac Also, if I add extra parameters to the UI composable (UserPro... | android|kotlin|android-jetpack-compose|hoisting | 1 | 2022-08-07T14:12:47.407Z | 2,022 | 8 | 14 | 6 | 59 | 1 | 714 | 39 | 4 | 4 | true | false | false | false | false | false | low |
73,268,184 | Android Studio Kotlin - @Volatile annotation does not show as an annotation | <p>I am following a tutorial <a href="https://www.youtube.com/watch?v=BCSlZIUj18Y&t=257s" rel="nofollow noreferrer">Android Development(Kotlin) Full Course For Beginners 2022</a> on Youtube and duplicating his code. There is a section thatuse the annotation called <strong>@Volatile</strong> and I noticed it was a c... | I am following a tutorial Android Development(Kotlin) Full Course For Beginners 2022 on Youtube and duplicating his code. There is a section thatuse the annotation called @Volatile and I noticed it was a common used annotation during Android Application programming. However, the annotation is not available as shown in ... | android|kotlin | 0 | 2022-08-07T14:15:41.490Z | 2,022 | 8 | 14 | 6 | 65 | 1 | 939 | 75 | 2 | 0 | false | false | false | false | false | false | zero |
73,268,209 | What conditions to publish my app in playstore which uses glide | <p>I created an app which internally uses glide(<a href="https://github.com/bumptech/glide" rel="nofollow noreferrer">https://github.com/bumptech/glide</a>).
But I am not sure what conditions I need to follow to publish it to the play store like should I have to provide glide licence link in about of my app or should I... | I created an app which internally uses glide( https://github.com/bumptech/glide ). But I am not sure what conditions I need to follow to publish it to the play store like should I have to provide glide licence link in about of my app or should I mention the glide licence in any other place? | android | 0 | 2022-08-07T14:19:14.517Z | 2,022 | 8 | 14 | 6 | 25 | 0 | 291 | 63 | 1 | 0 | false | true | false | false | false | false | zero |
73,268,220 | Android WebView flickering on scroll Flutter | <p>When I scroll a WebView on android, that is inside a Column which is inside SingleChildScrollView, it flickers and glitches.</p>
<p>Video: <a href="https://drive.google.com/file/d/1-201aaZmPHJTdaM2teBCHWu7luHADYvO/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1-201aaZmPHJTdaM2teBCHWu7lu... | When I scroll a WebView on android, that is inside a Column which is inside SingleChildScrollView, it flickers and glitches. Video: https://drive.google.com/file/d/1-201aaZmPHJTdaM2teBCHWu7luHADYvO/view?usp=sharing I have found the solution but for Java and Kotlin but can not implement it in flutter. The link to the so... | android|flutter|android-webview|flutterwebviewplugin | 0 | 2022-08-07T14:20:12.587Z | 2,022 | 8 | 14 | 6 | 88 | 0 | 517 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
73,268,249 | How i can create object view-model from GeofenceBroadcastReceiver class. || Android - Kotlin | <p>I want change some of the colors in my app directly when user enter the geofence area and then when they leave the geofence the colors return to normal.</p>
<p>My problem.</p>
<p><img src="https://i.stack.imgur.com/MxXqh.png" alt="1" /></p> | I want change some of the colors in my app directly when user enter the geofence area and then when they leave the geofence the colors return to normal. My problem. | android|kotlin|viewmodel|android-jetpack|geofence | 0 | 2022-08-07T14:24:34.210Z | 2,022 | 8 | 14 | 6 | 34 | 0 | 164 | 92 | 5 | 0 | false | true | false | false | false | false | zero |
73,268,296 | How to apply XD design using Jetpack Compose | <p>I do not know how to deal with pixel value and convert it to Dp Unit or percentage Unit.
And even the text, I do not know how to make it adaptive.
How can Jetpack Compose help me with these issues?
Thanks all</p> | I do not know how to deal with pixel value and convert it to Dp Unit or percentage Unit. And even the text, I do not know how to make it adaptive. How can Jetpack Compose help me with these issues? Thanks all | android-jetpack-compose | 0 | 2022-08-07T14:31:20.880Z | 2,022 | 8 | 14 | 6 | 49 | 0 | 208 | 44 | 1 | 0 | false | true | false | false | false | false | zero |
73,268,306 | I can't get data in fragment By Using Bundle() | <p>in recycler view when click item work and clicked and the fragment open successfully but the date can't send or error is show in fragment when call the date in Bundle()</p>
<p><strong>//This Code In RecyclerView</strong></p>
<pre><code> holder.setItemClickListener(object:IItemClickListenerQuran{
override ... | in recycler view when click item work and clicked and the fragment open successfully but the date can't send or error is show in fragment when call the date in Bundle() //This Code In RecyclerView [CODE] //This Code In Fragment [CODE] | android|android-studio|kotlin | -1 | 2022-08-07T14:32:23.957Z | 2,022 | 8 | 14 | 6 | 43 | 3 | 234 | 46 | 3 | 2 | true | false | false | false | false | true | negative |
73,268,337 | Black pixels on my Android Emulator upon boot up | <p>so I have a problem with my Android Emulator. It shows black pixels on the screen upon boot up. I'm just learning Flutter but it's so irritating to see this:</p>
<p><a href="https://i.stack.imgur.com/5hdVg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5hdVg.png" alt="enter image description here... | so I have a problem with my Android Emulator. It shows black pixels on the screen upon boot up. I'm just learning Flutter but it's so irritating to see this: Is there something I must do to fix this? Been googling this for 2 days and no answers can be found..am I the only one encountering this? Hoping for your guys hel... | android|flutter|android-studio | 0 | 2022-08-07T14:35:13.543Z | 2,022 | 8 | 14 | 6 | 34 | 0 | 614 | 48 | 3 | 0 | false | true | false | false | false | false | zero |
73,268,354 | how to redirect user to android home when an app is opened with (AccessibilityService.GLOBAL_ACTION_HOME) | <p>how can redirect the user to the android home page whenever a particular app is opened example com.example and whenever the user opens this app it will redirect the user to android home page with the help of accessibility
I got to know this could be done with</p>
<pre><code>performGlobalAction(AccessibilityService.G... | how can redirect the user to the android home page whenever a particular app is opened example com.example and whenever the user opens this app it will redirect the user to android home page with the help of accessibility I got to know this could be done with [CODE] now I need help how can I run this whenever the com.e... | java|android|android-activity|accessibility | 0 | 2022-08-07T14:36:59.367Z | 2,022 | 8 | 14 | 6 | 16 | 0 | 423 | 105 | 4 | 1 | true | true | false | false | false | false | zero |
73,268,365 | Create signed bundle release. Error: Android resource linking failed | <p>I am a beginner in java android.</p>
<p>The following error occurs when releasing Java project "Create signed bundle" in Android Studio (When I choose debug they are builded normally):</p>
<p>I searched for a solution on google search engine and stackoverflow.
None of the provided answers helped solve this... | I am a beginner in java android. The following error occurs when releasing Java project "Create signed bundle" in Android Studio (When I choose debug they are builded normally): I searched for a solution on google search engine and stackoverflow. None of the provided answers helped solve this problem. [CODE] ... | java|android|bundle|release | 0 | 2022-08-07T14:38:14.977Z | 2,022 | 8 | 14 | 6 | 68 | 2 | 365 | 68 | 4 | 2 | true | false | false | false | false | false | zero |
73,268,415 | mapbox in flutter has an error : SDK is null | <p>I want to use mapbox in flutter and that's the error I get :</p>
<p>A problem occurred evaluating project ':mapbox_flutter'.</p>
<blockquote>
<p>SDK Registry token is null.</p>
</blockquote>
<p>and another error :
What went wrong:
A problem occurred configuring project ':mapbox_flutter'.</p>
<blockquote>
<p>Failed t... | I want to use mapbox in flutter and that's the error I get : A problem occurred evaluating project ':mapbox_flutter'. SDK Registry token is null. and another error : What went wrong: A problem occurred configuring project ':mapbox_flutter'. Failed to notify project evaluation listener. Could not get unknown property 'a... | android|flutter|sdk|mapbox | 0 | 2022-08-07T14:45:14.963Z | 2,022 | 8 | 14 | 6 | 25 | 0 | 625 | 44 | 4 | 3 | true | true | false | false | false | false | zero |
73,268,504 | Easy way to import data from android mobile phone? | <p>I want to create a program that can take data that is logged from mobile and convert the into api / or anything else , from where I can use that data on my systems input to my dashboards .
I am trying to create a personal logging app which can create real time charts from my daily logs of day to day activity, like</... | I want to create a program that can take data that is logged from mobile and convert the into api / or anything else , from where I can use that data on my systems input to my dashboards . I am trying to create a personal logging app which can create real time charts from my daily logs of day to day activity, like Dail... | android|import|dashboard|analysis | 0 | 2022-08-07T14:57:56.603Z | 2,022 | 8 | 14 | 6 | 20 | 0 | 805 | 50 | 4 | 0 | false | true | false | false | false | false | zero |
73,268,516 | Preventing firebase Out of memory exception using Realtime database | <p>I am trying to get data of a specific user when they log in, currently this is working well using the <code>.child(userId)</code> & <code>.get()</code> methods for a small amount of data/records. However, I created over 50,000+ test users & it ended up crashing on the android app.</p>
<p><strong>My simple co... | I am trying to get data of a specific user when they log in, currently this is working well using the .child(userId) & .get() methods for a small amount of data/records. However, I created over 50,000+ test users & it ended up crashing on the android app. My simple code for retrieving user data: [CODE] I've checked out... | android|firebase|firebase-realtime-database|memory-management|out-of-memory | 1 | 2022-08-07T14:59:08.410Z | 2,022 | 8 | 14 | 6 | 37 | 0 | 799 | 67 | 5 | 3 | true | true | false | false | false | false | low |
73,268,523 | SwipeRefreshLayout with OverScrollView | <p>I want to ask, how can I implement SwipeRefreshLayout with OverScrollView like the one in this application example.</p>
<p><a href="https://i.stack.imgur.com/mcyIw.jpg" rel="nofollow noreferrer">Here's the picture</a></p> | I want to ask, how can I implement SwipeRefreshLayout with OverScrollView like the one in this application example. Here's the picture | android | 0 | 2022-08-07T14:59:55.220Z | 2,022 | 8 | 14 | 6 | 17 | 0 | 134 | 38 | 1 | 0 | false | true | false | false | false | false | zero |
73,268,551 | Camera rotation not rotating correctly on mobile | <p>I'm making a FPS and I want the player to rotate the camera, my code works for PC, but on mobile if I'm rotating the camera and I also touching the fire button (or anywhere else with my other finger) the camera rotates to right (here where my fire button is) and I don't know if I can do something about it, or I need... | I'm making a FPS and I want the player to rotate the camera, my code works for PC, but on mobile if I'm rotating the camera and I also touching the fire button (or anywhere else with my other finger) the camera rotates to right (here where my fire button is) and I don't know if I can do something about it, or I need to... | android|unity3d | 2 | 2022-08-07T15:03:41.483Z | 2,022 | 8 | 15 | 6 | 119 | 2 | 415 | 48 | 2 | 1 | true | false | false | false | false | false | low |
73,268,655 | How to handle error on outlined edit text checking regex in compose | <p>I have this outlined edit text, and I want to display a red error color when user tries to put <code>'@'</code> on the outline edit text when they're trying to sign in. I was wondering how I can handle error on an edit text in jetpack compose</p>
<pre><code>UserInputTextField(
fieldState = userna... | I have this outlined edit text, and I want to display a red error color when user tries to put '@' on the outline edit text when they're trying to sign in. I was wondering how I can handle error on an edit text in jetpack compose [CODE] | android-jetpack-compose | 0 | 2022-08-07T15:18:16.997Z | 2,022 | 8 | 15 | 6 | 33 | 1 | 236 | 67 | 1 | 1 | true | false | false | false | false | false | zero |
73,269,039 | can PopupWindow stay when changing activities? | <p><a href="https://developer.android.com/reference/android/widget/PopupWindow" rel="nofollow noreferrer">https://developer.android.com/reference/android/widget/PopupWindow</a></p>
<p>I am trying to keep my popupWindow when changing activities, and not recreating it each time I change activity.
Is this possible?</p>
<p... | https://developer.android.com/reference/android/widget/PopupWindow I am trying to keep my popupWindow when changing activities, and not recreating it each time I change activity. Is this possible? In the docs it says that - This class represents a popup window that can be used to display an arbitrary view. The popup wi... | android|popupwindow | 0 | 2022-08-07T16:08:45.183Z | 2,022 | 8 | 16 | 6 | 17 | 0 | 521 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
73,269,041 | How to get PCM bit depth from MediaCodec decoder output MediaFormat? | <p>I'm decoding an online AAC stream with <code>MediaCodec</code> and trying to play it with <code>AudioTrack</code>. <code>AudioTrack</code> requires an <code>AudioFormat</code> which requires knowing the details of PCM encoding. I was able to get the audio to play correctly by configuring it as <code>ENCODING_PCM_16B... | I'm decoding an online AAC stream with MediaCodec and trying to play it with AudioTrack . AudioTrack requires an AudioFormat which requires knowing the details of PCM encoding. I was able to get the audio to play correctly by configuring it as ENCODING_PCM_16BIT but is that guaranteed to always be 16-bit PCM encoding? ... | android|audio|android-audio-streams | 0 | 2022-08-07T16:08:48.573Z | 2,022 | 8 | 16 | 6 | 22 | 0 | 858 | 68 | 3 | 1 | true | true | false | false | false | false | zero |
73,269,095 | Why does getBackStackEntryCount() always return 0? | <p>Do i understand correctly that <code>getBackStackEntryCount()</code> returns a number of transactions which have been commited ? If it's so why does the following code return 0 ?</p>
<pre><code>FragmentManager fm = getSupportFragmentManager();
Fragment fragment = new CrimeFragment();
fm.beginTransaction().add(R.id.f... | Do i understand correctly that getBackStackEntryCount() returns a number of transactions which have been commited ? If it's so why does the following code return 0 ? [CODE] I want to note: I tried to use commitNow() insted of the commit() I tried to use fm.executePendingTransactions(); after the commit() and before get... | android|android-fragments|android-fragmentactivity | 0 | 2022-08-07T16:16:38.717Z | 2,022 | 8 | 16 | 6 | 12 | 0 | 455 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
73,269,202 | Cannot resolve symbol 'osmdroid' when importing (import org.osmdroid.tileprovider.tilesource.TileSourceFactory; & import org.osmdroid.views.MapView;) | <p>I'm a beginner and I'm trying to use OSM for my app and I can't find any solution to this. I followed every step of this site <a href="https://osmdroid.github.io/osmdroid/How-to-use-the-osmdroid-library.html" rel="nofollow noreferrer">https://osmdroid.github.io/osmdroid/How-to-use-the-osmdroid-library.html</a> but I... | I'm a beginner and I'm trying to use OSM for my app and I can't find any solution to this. I followed every step of this site https://osmdroid.github.io/osmdroid/How-to-use-the-osmdroid-library.html but I got stuck with that error. I don't understand why it doesn't import. Hoping someone can help. Thanks | android|mobile|osmdroid | 0 | 2022-08-07T16:34:56.123Z | 2,022 | 8 | 16 | 6 | 26 | 0 | 305 | 149 | 3 | 0 | false | true | false | false | false | false | zero |
73,269,208 | How to make android studio autofill proper parameters | <p>When implementing some interfaces, android studio autofills the methods with non descriptive parameters like below</p>
<pre><code>override fun onDateSet(p0: TimePicker?, p1: Int, p2: Int,p3: Int) {
//code
}
</code></pre>
<p>What I expect</p>
<pre><code>override fun onDateSet(view: TimePicker?, year: Int,... | When implementing some interfaces, android studio autofills the methods with non descriptive parameters like below [CODE] What I expect [CODE] I'm not sure where to reset this. | android-studio | 0 | 2022-08-07T16:35:52.250Z | 2,022 | 8 | 16 | 6 | 12 | 0 | 176 | 53 | 1 | 2 | true | true | false | false | false | false | zero |
73,269,246 | Implementing search view gives null error in Flutter | <p>I am trying to implement a search view in my newly created application I am doing this by creating a custom search delegate that extends the search delegate, and it gives the error</p>
<p>it says, <code>child!=null is not true</code> I am not a fan of the ternary operator, and I am a newbie, so I don't have any idea... | I am trying to implement a search view in my newly created application I am doing this by creating a custom search delegate that extends the search delegate, and it gives the error it says, child!=null is not true I am not a fan of the ternary operator, and I am a newbie, so I don't have any idea what that means glad t... | flutter|android-studio|dart|user-interface|search | -1 | 2022-08-07T16:40:47.450Z | 2,022 | 8 | 16 | 6 | 37 | 1 | 391 | 52 | 5 | 3 | true | false | false | false | false | true | negative |
73,269,282 | java.lang.UnsatisfiedLinkError: No implementation found for void com.netdatasoft.android.divvydrive.scanner.views.CameraView.decode | <p>I had an image scanning activity with openCV infrastructure before. However, even though there is no code change at the moment, it gives an error and restarts the application. It gives a warning to a method in Asynctask.</p>
<p><code>java.lang.UnsatisfiedLinkError: No implementation found for void com.netdatasoft.an... | I had an image scanning activity with openCV infrastructure before. However, even though there is no code change at the moment, it gives an error and restarts the application. It gives a warning to a method in Asynctask. java.lang.UnsatisfiedLinkError: No implementation found for void com.netdatasoft.android.divvydrive... | java|android|unsatisfiedlinkerror | 0 | 2022-08-07T16:44:47.503Z | 2,022 | 8 | 16 | 6 | 36 | 0 | 384 | 131 | 3 | 1 | true | true | false | false | false | false | zero |
73,269,330 | Animate Compose GoogleMap to a Specified Location | <p>I am working on a simple Maps App and I am trying to make <a href="https://developers.google.com/maps/documentation/android-sdk/maps-compose" rel="nofollow noreferrer">GoogleMap</a> composable <em><strong>zoom-inanimation</strong></em> over 1000 ms duration.</p>
<p>So far I have this code:</p>
<pre><code>Column( ..... | I am working on a simple Maps App and I am trying to make GoogleMap composable zoom-inanimation over 1000 ms duration. So far I have this code: [CODE] In the old good GoogleMap view I could animate the camera with this sample code. [CODE] However, in Compose I am unable to re-engineer this to achieve the zoom-in animat... | android|google-maps|android-jetpack-compose|google-maps-compose | 0 | 2022-08-07T16:50:03.927Z | 2,022 | 8 | 16 | 6 | 117 | 1 | 502 | 49 | 4 | 2 | true | false | false | false | false | false | zero |
73,269,353 | adding LINQ tool from "code tools" but it is not reflecting in Add new items from Solution | <p>I am trying to build an APP in xamarin bu i am facing a simple yet critical problem.</p>
<p>I am adding LINQ tool from "code tools" but it is not reflecting in Add new items from Solution</p>
<p>Linq installed_codetool</p>
<p><img src="https://i.stack.imgur.com/fpqnj.jpg" alt="1" /></p>
<p>linq_notshowing_... | I am trying to build an APP in xamarin bu i am facing a simple yet critical problem. I am adding LINQ tool from "code tools" but it is not reflecting in Add new items from Solution Linq installed_codetool linq_notshowing_NewItem_Solution | visual-studio|xamarin.android|linq-to-sql | 1 | 2022-08-07T16:54:02.703Z | 2,022 | 8 | 16 | 6 | 25 | 1 | 247 | 90 | 3 | 0 | false | false | false | false | false | false | low |
73,269,393 | Multiselect recycle view but with contact list | <p>Iam trying to make a multi select list for contacts , i followed this here first answer <a href="https://stackoverflow.com/questions/36369913/how-to-implement-multi-select-in-recyclerview/40551984#40551984">How to implement multi-select in RecyclerView?</a></p>
<p>But it only shows how to make it for text view , can... | Iam trying to make a multi select list for contacts , i followed this here first answer How to implement multi-select in RecyclerView? But it only shows how to make it for text view , can anyone please help making it import and show contacts | android|android-studio | 0 | 2022-08-07T16:58:57.307Z | 2,022 | 8 | 16 | 6 | 20 | 1 | 241 | 46 | 2 | 0 | false | false | false | false | false | false | zero |
73,269,402 | Is there guranteed Pixel Format in android SDL | <p>I'm making application in SDL for Android. The application uses software rendering and it would be nice if I could assume that one pixel format always will work.</p>
<p>On all my android devices pixel format that SDL reports is RGBX_8888.</p>
<p>I would like to know:</p>
<ul>
<li>is this pixel format(RGBX_8888) guar... | I'm making application in SDL for Android. The application uses software rendering and it would be nice if I could assume that one pixel format always will work. On all my android devices pixel format that SDL reports is RGBX_8888. I would like to know: is this pixel format(RGBX_8888) guaranteed on modern devices? if n... | android|sdl|pixelformat | 0 | 2022-08-07T16:59:59.377Z | 2,022 | 8 | 16 | 6 | 33 | 0 | 479 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
73,269,429 | Flutter doesn't run for android: Waiting for observatory port to be available | <p>I am using the flutter game template to build a game as flutter practice.
The game works without problem and is on the app store, but I can't seem to get it running on android.</p>
<p><code>flutter run --verbose</code> gives the following error:</p>
<pre><code>Waiting for observatory port to be available...
E/Androi... | I am using the flutter game template to build a game as flutter practice. The game works without problem and is on the app store, but I can't seem to get it running on android. flutter run --verbose gives the following error: [CODE] I've done the usual: flutter clean, flutter repair cache, etc. I also recreated the and... | android|flutter | 0 | 2022-08-07T17:03:54.343Z | 2,022 | 8 | 17 | 6 | 39 | 1 | 385 | 77 | 2 | 1 | true | false | false | false | false | false | zero |
73,269,553 | Data not transferring between classes | <p>I have three linked lists called "Titles" (String linked list), "Descriptions" (String linked list), and "Pictures" (Bitmap linked list). I'm 100% sure that they are full of data. I've printed out their data just before the line <code>MyAdapter myAdapter = new MyAdapter(this, Titles, De... | I have three linked lists called "Titles" (String linked list), "Descriptions" (String linked list), and "Pictures" (Bitmap linked list). I'm 100% sure that they are full of data. I've printed out their data just before the line MyAdapter myAdapter = new MyAdapter(this, Titles, Description... | android-studio|class|methods|singly-linked-list | 1 | 2022-08-07T17:20:35.873Z | 2,022 | 8 | 17 | 6 | 19 | 1 | 752 | 37 | 4 | 3 | true | false | false | false | false | false | low |
73,269,561 | Is there a way to set an Icon URL in FCM? | <p>I am using Firebase Cloud Messaging to deliver push notifications for my social media app.</p>
<p>I would like to change the icon (my app logo) with a user profile photo for example like in TikTok or iMessage.</p>
<p>I can't find anywhere to change this <code>icon</code> parameter in the admin SDK (i am sending push... | I am using Firebase Cloud Messaging to deliver push notifications for my social media app. I would like to change the icon (my app logo) with a user profile photo for example like in TikTok or iMessage. I can't find anywhere to change this icon parameter in the admin SDK (i am sending push notifications from my server ... | android|ios|flutter|firebase|firebase-cloud-messaging | 1 | 2022-08-07T17:21:41.640Z | 2,022 | 8 | 17 | 6 | 78 | 1 | 482 | 41 | 5 | 1 | true | false | false | false | false | false | low |
73,269,574 | State hosting in jetpack compose | <p>I am learning <a href="https://developer.android.com/jetpack/compose/state#state-hoisting" rel="nofollow noreferrer">State hosting</a> in jetpack compose. I am trying to separate my variable in single function and view logic to separate function. But I am getting weird issue in my code. Can someone guide me on this?... | I am learning State hosting in jetpack compose. I am trying to separate my variable in single function and view logic to separate function. But I am getting weird issue in my code. Can someone guide me on this? PulsePressure [CODE] InputWithUnitContainer [CODE] Error on Textfield [CODE] | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-08-07T17:23:56.360Z | 2,022 | 8 | 17 | 6 | 119 | 1 | 287 | 32 | 4 | 3 | true | false | false | false | false | false | zero |
73,269,616 | How to use CustomView in Android | <p>In my application I create one custom view for show <strong>TextView</strong> and <strong>FontAwesome</strong>!<br>
I write below codes, but not set values and just show default values!<br>
<strong>TextWithIcon class :</strong> <br></p>
<pre><code>class TextWithIcon @JvmOverloads constructor(
context: Context,
... | In my application I create one custom view for show TextView and FontAwesome ! I write below codes, but not set values and just show default values! TextWithIcon class : [CODE] CustomViewLayout file : [CODE] And I used this class with code in XML : [CODE] I set value with this code : app:customText="wegwergewrg&qu... | android|kotlin|android-custom-view | 0 | 2022-08-07T17:30:08.203Z | 2,022 | 8 | 17 | 6 | 50 | 1 | 401 | 32 | 3 | 4 | true | false | false | false | false | false | zero |
73,269,652 | How can i Skip fragments when going D to A on backpressed? | <p>Hey I am working on an application where I m using 6 fragments now when on the back button I want to skip all the other fragments like when I am on the 6th fragment(the last fragment) and the user presses the back button I want to go to fragment one directly without going through the other fragments
like 6->1.
I ... | Hey I am working on an application where I m using 6 fragments now when on the back button I want to skip all the other fragments like when I am on the 6th fragment(the last fragment) and the user presses the back button I want to go to fragment one directly without going through the other fragments like 6->1. I am new... | java|android|android-fragments|onbackpressed | 0 | 2022-08-07T17:34:25.583Z | 2,022 | 8 | 17 | 6 | 29 | 1 | 374 | 58 | 4 | 0 | false | false | false | false | false | false | zero |
73,269,655 | How can i addFlag to activity window on Jetpack Compose? | <p>i want to addFlag to activity window.If i call this function before setContent method in Activity that's works but when i call this function in any Composable function that's not working.
I read all message writed before related this but not working in my case
<a href="https://i.stack.imgur.com/1SHh2.png" rel="nofol... | i want to addFlag to activity window.If i call this function before setContent method in Activity that's works but when i call this function in any Composable function that's not working. I read all message writed before related this but not working in my case | android-jetpack-compose | 1 | 2022-08-07T17:34:41.497Z | 2,022 | 8 | 17 | 6 | 25 | 0 | 260 | 56 | 1 | 0 | false | true | false | false | false | false | low |
73,269,714 | Implementing multiple navigation actions on a single menuitem button in Kotlin(android) | <p>I am trying to implement a way for the <code>menuitem</code> button to navigate to a different fragment based on the current fragment.</p>
<p>For example, if I am in the <code>fragment_home</code>, I can access the <code>dog_fragment</code> and from the <code>dog_fragment</code> I can access another fragment like <c... | I am trying to implement a way for the menuitem button to navigate to a different fragment based on the current fragment. For example, if I am in the fragment_home , I can access the dog_fragment and from the dog_fragment I can access another fragment like cat_fragment and vice versa. So far I am only able to navigate ... | android|kotlin|user-interface | 0 | 2022-08-07T17:42:04.287Z | 2,022 | 8 | 17 | 6 | 24 | 1 | 553 | 87 | 3 | 1 | true | false | false | false | false | false | zero |
73,269,742 | Output a list in using Kotlin in Android Studio | <p>I am teaching myself Kotlin and Android app development. I am running into a small issue trying to print a list using reduce.</p>
<pre><code> override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val findBeer = findV... | I am teaching myself Kotlin and Android app development. I am running into a small issue trying to print a list using reduce. [CODE] Android Studio is giving me None of the following candidates is applicable because of receiver type mismatch error. | android|kotlin | 0 | 2022-08-07T17:45:08.550Z | 2,022 | 8 | 17 | 6 | 28 | 0 | 248 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
73,269,796 | Why Firebase Email Verification not working - Android Studio | <p>I am trying to <strong>verify the email</strong> by firebase but the problem is that <strong>no email is sent to the user</strong>. Please Help</p>
<p>this is my code:</p>
<pre><code> private void userLogin() {
progressBar.setVisibility(View.VISIBLE);
mAuth.signInWithEmailAndPassword(emailString, ... | I am trying to verify the email by firebase but the problem is that no email is sent to the user . Please Help this is my code: [CODE] | java|android|firebase|firebase-authentication | 0 | 2022-08-07T17:54:05.327Z | 2,022 | 8 | 17 | 6 | 19 | 0 | 134 | 60 | 4 | 1 | true | true | false | false | false | false | zero |
73,269,837 | Unable to locate adb from AVD Manager (Nexus 6p api 28) | <p><a href="https://i.stack.imgur.com/jeHJ5.png" rel="nofollow noreferrer">Android Studio gives me this error</a></p>
<p>In don't know what going on in did the installation and downloading of all the sdk, android studio, flutter sdk and dart multiples times but stuck in this error. Did a lot of research on this see mul... | Android Studio gives me this error In don't know what going on in did the installation and downloading of all the sdk, android studio, flutter sdk and dart multiples times but stuck in this error. Did a lot of research on this see multiple YouTube videos' but still cant get rid of it. | android|flutter|dart | -1 | 2022-08-07T17:59:12.257Z | 2,022 | 8 | 17 | 6 | 27 | 1 | 285 | 55 | 3 | 0 | false | false | false | false | false | true | negative |
73,269,867 | How to stop scrolling in ListView? | <p>I want the <code>listview</code> not to be scrolled and the items to be displayed in it normally; then I can manage the scrolling with <code>ScrollView</code>.</p>
<p><strong>look the codes:</strong></p>
<pre><code> <ScrollView
android:layout_width="match_parent"
android:layout_height... | I want the listview not to be scrolled and the items to be displayed in it normally; then I can manage the scrolling with ScrollView . look the codes: [CODE] | xml|android-studio | 0 | 2022-08-07T18:04:56.423Z | 2,022 | 8 | 18 | 6 | 18 | 1 | 157 | 34 | 2 | 1 | true | false | false | false | false | false | zero |
73,269,921 | React Native - External javascript library not working in Webview | <p>I'm trying to use, in my React Native application, the Webview component to simulate the functionality of an HTML web screen. The javascript code snippet below works normally in a web application, the callback passed to PagSeguroDirectPayment.onSenderHashReady receives the senderHash at the appropriate time.</p>
<pr... | I'm trying to use, in my React Native application, the Webview component to simulate the functionality of an HTML web screen. The javascript code snippet below works normally in a web application, the callback passed to PagSeguroDirectPayment.onSenderHashReady receives the senderHash at the appropriate time. [CODE] But... | javascript|android|react-native|webview | 0 | 2022-08-07T18:12:28.207Z | 2,022 | 8 | 18 | 6 | 23 | 0 | 564 | 65 | 4 | 2 | true | true | false | false | false | false | zero |
73,269,923 | Android get approximate acceleration of sensor | <p>I want to get approximate (the best as much accurate as it is possible) value of Android acceleration from sensor on to top to bottom axis. Then I want to calculate distance from start position (phone should bo on the ground and moving up when button clicked) to end position. I tried to do my implementation of this ... | I want to get approximate (the best as much accurate as it is possible) value of Android acceleration from sensor on to top to bottom axis. Then I want to calculate distance from start position (phone should bo on the ground and moving up when button clicked) to end position. I tried to do my implementation of this but... | java|android|accelerometer|kalman-filter | 0 | 2022-08-07T18:12:31.300Z | 2,022 | 8 | 18 | 6 | 17 | 0 | 701 | 46 | 4 | 2 | true | true | false | false | false | false | zero |
73,269,959 | After a call to native code (kotlin) from dart, Sqflite stopped working | <p>After struggling with the package [device info plus][1], I decided to call Kotlin code Myself to get "android_id".
so this is the code on the Kotlin side in MainActivity.kt :</p>
<pre><code> import android.provider.Settings
import androidx.annotation.NonNull
import io.flutter.embedding.android.FlutterAc... | After struggling with the package [device info plus][1], I decided to call Kotlin code Myself to get "android_id". so this is the code on the Kotlin side in MainActivity.kt : [CODE] the code on dart side : [CODE] and I just print the result on the console : [CODE] this works fine and I get the id normally. th... | android|flutter|kotlin|dart|flutter-method-channel | 0 | 2022-08-07T18:17:18.987Z | 2,022 | 8 | 18 | 6 | 82 | 0 | 658 | 71 | 5 | 3 | true | true | false | false | false | false | zero |
73,270,195 | SearchBar Pass Data to Screen | <p>I search and get the information from the api and you can see that it shows in the log, now I want this new information to replace the old information. How do I do this?</p>
<p>u see in my code</p>
<p>my fun MainScreen</p>
<pre><code>@Composable
fun MainScreen(
navController: NavController,
mainViewModel: Ma... | I search and get the information from the api and you can see that it shows in the log, now I want this new information to replace the old information. How do I do this? u see in my code my fun MainScreen [CODE] fu MainScaffold [CODE] and my fun MainAppbar [CODE] okey this my code ... here [CODE] i have one text . When... | android|kotlin|retrofit|android-jetpack-compose|android-jetpack-navigation | 0 | 2022-08-07T18:52:00.027Z | 2,022 | 8 | 18 | 6 | 39 | 0 | 551 | 29 | 5 | 5 | true | true | false | false | false | false | zero |
73,270,200 | Adding Flutter module step error in Android Studio | <p>I am trying to add a flutter module in existing Android app (I did implement in iOS as Im an iOS dev) with <a href="https://docs.flutter.dev/development/add-to-app/android/project-setup" rel="nofollow noreferrer">https://docs.flutter.dev/development/add-to-app/android/project-setup</a> <strong>Option B - Depend on t... | I am trying to add a flutter module in existing Android app (I did implement in iOS as Im an iOS dev) with https://docs.flutter.dev/development/add-to-app/android/project-setup Option B - Depend on the module’s source code Now when add below under build.gradle [CODE] I am getting below error message Caused by: org.grad... | android|flutter|kotlin|build.gradle | 0 | 2022-08-07T18:52:48.047Z | 2,022 | 8 | 18 | 6 | 44 | 0 | 662 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
73,270,236 | Sqlite, ArrayList and Spinner | <p>I am adding the data in sqlite to arraylist and then adding it to spinner but i need to close and open the application to make it appear in spinner</p>
<pre><code>mainList.clear()
val DataBase = openOrCreateDatabase("Park", Context.MODE_PRIVATE, null)
val cursor = DataBase.rawQuery("SELECT * FROM BT_M... | I am adding the data in sqlite to arraylist and then adding it to spinner but i need to close and open the application to make it appear in spinner [CODE] Spinner Adapter [CODE] | android|kotlin | 0 | 2022-08-07T18:57:14.743Z | 2,022 | 8 | 18 | 6 | 22 | 0 | 177 | 29 | 2 | 2 | true | true | false | false | false | false | zero |
73,270,239 | Flutter: Open social media apps with account links | <p>I want to redirect users to social media apps (Facebook, Instagram, LinkedIn) when they have the apps installed. I've been using the <code>url_launcher</code> package with the following implementation.</p>
<pre><code> Future<void> _openFacebook() async {
try {
Uri fbBundleUri = Uri.parse(
... | I want to redirect users to social media apps (Facebook, Instagram, LinkedIn) when they have the apps installed. I've been using the url_launcher package with the following implementation. [CODE] After upgrading the package and the project to Flutter 3, the implementation seems to be broken. On Android devices, it redi... | android|flutter|facebook|linkedin|url-launcher | 0 | 2022-08-07T18:57:32.453Z | 2,022 | 8 | 18 | 6 | 72 | 1 | 694 | 50 | 5 | 1 | true | false | false | false | false | false | zero |
73,270,266 | Android snackbar looks to be attached to a nested scrollview | <p>I have a weird problem where the <code>Snackbar</code> is being attached to the scroll view, so when a user scrolls the snackbar moves with the scrolling instead of staying position on the bottom of the screen.</p>
<p>I know it's caused by how I've set up my layout but I don't know a solution to either better setup ... | I have a weird problem where the Snackbar is being attached to the scroll view, so when a user scrolls the snackbar moves with the scrolling instead of staying position on the bottom of the screen. I know it's caused by how I've set up my layout but I don't know a solution to either better setup my layout, or stop this... | android | 0 | 2022-08-07T19:01:19.840Z | 2,022 | 8 | 19 | 6 | 25 | 0 | 891 | 60 | 1 | 2 | true | true | false | false | false | false | zero |
73,270,373 | I am getting an Empty List after my app was working before? | <p>So I have finished a weather app where it was fully working a month ago. Then yesterday, I ran the app again and I ended up getting a blank screen. This app is using an API, so I checked it and the API is still available and working. Not sure why I'm getting a blank screen.</p>
<p>P.S. I am using Jetpack Compose</p>... | So I have finished a weather app where it was fully working a month ago. Then yesterday, I ran the app again and I ended up getting a blank screen. This app is using an API, so I checked it and the API is still available and working. Not sure why I'm getting a blank screen. P.S. I am using Jetpack Compose Here's the co... | android|rest|android-studio|kotlin|android-jetpack-compose | 0 | 2022-08-07T19:17:23.543Z | 2,022 | 8 | 19 | 6 | 104 | 2 | 613 | 59 | 5 | 4 | true | false | false | false | false | false | zero |
73,270,412 | Preparing a C++ .so (which has it's own dependency; another C++ .so), to be used within Xamarin app | <h1>Background information</h1>
<p>I am working as an intern on an Android app for an aerospace company, & they want me to build an app which grabs data from sensors they purchased, & display it real-time on a mobile app wirelessly (<em>over wifi</em>). The manufacturer of the sensors supplied us with their dri... | Background information I am working as an intern on an Android app for an aerospace company, & they want me to build an app which grabs data from sensors they purchased, & display it real-time on a mobile app wirelessly ( over wifi ). The manufacturer of the sensors supplied us with their driver files to use to make my... | c#|android|c++|xamarin|shared-libraries | 1 | 2022-08-07T19:23:54.330Z | 2,022 | 8 | 19 | 6 | 36 | 1 | 1,687 | 99 | 5 | 0 | false | false | false | false | false | false | low |
73,270,549 | Android APP with kivy error: I python : Message: 'Unable to open directory </>' | <p>Ive created an app for android and i used buildozer to create the apk file.
When I opened the app on my smartphone I got a blackscreen.
So I checked the log with: adb logcat -s python and got the following error:</p>
<pre><code>08-04 21:35:14.383 16483 16559 I python : --- Logging error ---
08-04 21:35:14.385 16483... | Ive created an app for android and i used buildozer to create the apk file. When I opened the app on my smartphone I got a blackscreen. So I checked the log with: adb logcat -s python and got the following error: [CODE] I would be happy if someone could help me with this error | python|android|python-2.7|kivy|buildozer | 0 | 2022-08-07T19:44:03.960Z | 2,022 | 8 | 19 | 6 | 35 | 0 | 277 | 79 | 5 | 1 | true | true | false | false | false | false | zero |
73,270,689 | Getting Error in building the project using Dao interface and room library | <p>I am stuck with this issue since couple of days. I have gone through many threads where people faced similar issues but did not find any work around on this.
Im getting the error because of using suspend in dao interface but when i remove the error goes away but the app crashes when i try to open it after installati... | I am stuck with this issue since couple of days. I have gone through many threads where people faced similar issues but did not find any work around on this. Im getting the error because of using suspend in dao interface but when i remove the error goes away but the app crashes when i try to open it after installation.... | android|android-room|kotlin-coroutines|dao|suspend | 1 | 2022-08-07T20:09:38.893Z | 2,022 | 8 | 20 | 6 | 66 | 1 | 700 | 74 | 5 | 8 | true | false | false | false | false | false | low |
73,270,814 | The preview of the custom view I created with Constraint Layout is not visible (Failed to instantiate one or more classes) | <p>I created a custom view with Constraint Layout. I used databinding for the management of the elements in the layout. But since I'm using databinding, it doesn't show up in the layout preview. I did not have such a problem with the custom views I made without using databinding. How do i fix this.</p>
<p>I am using da... | I created a custom view with Constraint Layout. I used databinding for the management of the elements in the layout. But since I'm using databinding, it doesn't show up in the layout preview. I did not have such a problem with the custom views I made without using databinding. How do i fix this. I am using databinding ... | android|android-layout|android-constraintlayout|android-databinding | 0 | 2022-08-07T20:29:03.710Z | 2,022 | 8 | 20 | 6 | 54 | 0 | 613 | 122 | 4 | 3 | true | true | false | false | false | false | zero |
73,270,820 | Android Studio - Drawing / Creating shapes (dynamically?) | <p>fledgling here, asking my very first question on Stack Overflow :)</p>
<p>Question:
I'd like to create a shape with number of points according to the user's input.
For example, if a user inputs 5, I'd like to come up with a pentagon. How should I approach this?</p>
<p>What I have in mind: diagrams that show various ... | fledgling here, asking my very first question on Stack Overflow :) Question: I'd like to create a shape with number of points according to the user's input. For example, if a user inputs 5, I'd like to come up with a pentagon. How should I approach this? What I have in mind: diagrams that show various stats of an objec... | java|android|design-patterns|graph | 0 | 2022-08-07T20:29:40.943Z | 2,022 | 8 | 20 | 6 | 29 | 0 | 1,073 | 57 | 4 | 0 | false | true | false | false | false | false | zero |
73,270,922 | Qt Android Service problems | <p>I have several problems with Qt Android services.</p>
<ol>
<li>The service isnt starting immediately. It runs after 1-2 minutes delay.</li>
<li>The service stops after some time and the app crashes.</li>
<li>QTimer in the service doesn't work.</li>
<li>QTcpSocket client doesn't work.
( I added android.permission.INT... | I have several problems with Qt Android services. The service isnt starting immediately. It runs after 1-2 minutes delay. The service stops after some time and the app crashes. QTimer in the service doesn't work. QTcpSocket client doesn't work. ( I added android.permission.INTERNET and still not works ) Im using the sa... | android|c++|qt|service|qtandroidextras | -1 | 2022-08-07T20:45:09.730Z | 2,022 | 8 | 20 | 6 | 57 | 1 | 630 | 27 | 5 | 5 | true | false | false | false | false | true | negative |
73,270,925 | google tells me that my app crashes on (only) Google Pixel 2 (virtuel) | <p>I'm trying to publish my app in google play console.
But it tells me that it crashes on Google Pixel 2 (virtuel) (works on the 9 others) with 2 errors (very similar)</p>
<pre><code>Google Pixel 2 (virtuel) 1080x1920 Android 12 (SDK 31) - x86_64 en_US
</code></pre>
<p><strong>Error</strong>:</p>
<pre><code>java.lang.... | I'm trying to publish my app in google play console. But it tells me that it crashes on Google Pixel 2 (virtuel) (works on the 9 others) with 2 errors (very similar) [CODE] Error : [CODE] Detail : [CODE] My code is explained (and the reason why) startActivityForResult migration, call registerForActivityResult outside a... | java|android|nullpointerexception | 0 | 2022-08-07T20:45:26.723Z | 2,022 | 8 | 20 | 6 | 81 | 1 | 531 | 70 | 3 | 4 | true | false | false | false | false | false | zero |
73,271,134 | Support RTL for only one specific language | <p>I have an app with translations in English and Arabic, so I go with <code>android:supportsRtl="true"</code> in <code>AndroidManifest.xml</code>.<br />
The problem is that some users are using some RTL languages out of Arabic that has no translation in my app, e.g. Hebrew, so it shows the English translatio... | I have an app with translations in English and Arabic, so I go with android:supportsRtl="true" in AndroidManifest.xml . The problem is that some users are using some RTL languages out of Arabic that has no translation in my app, e.g. Hebrew, so it shows the English translation with RTL. How can I avoid that a... | android|kotlin|right-to-left | 1 | 2022-08-07T21:19:14.727Z | 2,022 | 8 | 21 | 6 | 30 | 1 | 446 | 42 | 3 | 0 | false | false | false | false | false | false | low |
73,271,217 | Gathering logs without using adb | <p>I am trying to troubleshoot a bug on my app, and need to access the logs.</p>
<p>I normally would do this by connecting my device and using <code>adb logcat</code> (either by USB or WiFi).</p>
<p>The problem I have is, the bug I am looking into is not reproduced when the device is connected to the USB or connected t... | I am trying to troubleshoot a bug on my app, and need to access the logs. I normally would do this by connecting my device and using adb logcat (either by USB or WiFi). The problem I have is, the bug I am looking into is not reproduced when the device is connected to the USB or connected to adb via WiFi. So in other wo... | android|adb|logcat | 0 | 2022-08-07T21:34:13.113Z | 2,022 | 8 | 21 | 6 | 41 | 2 | 474 | 32 | 3 | 0 | false | false | false | false | false | false | zero |
73,271,265 | Modifier weight not available in jetpack compose 1.1.1 | <p>I am using compose 1.1.1 in my jetpack compose. I cannot update to latest version. I am want something like this <a href="https://stackoverflow.com/a/70905133/11560810">solution</a>. I am getting error on my <code>weight</code> modifier. Can someone guide me how can I get my <code>weight</code> modifier in <code>Row... | I am using compose 1.1.1 in my jetpack compose. I cannot update to latest version. I am want something like this solution . I am getting error on my weight modifier. Can someone guide me how can I get my weight modifier in Row ? [CODE] Row.kt [CODE] Error [CODE] Many Thanks UPDATE I am adding my whole code here please ... | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-08-07T21:44:33.907Z | 2,022 | 8 | 21 | 6 | 145 | 1 | 456 | 54 | 4 | 5 | true | false | false | false | false | false | zero |
73,271,275 | Keep virtual keyboard open even if no text is selected | <p>When creating an Android virtual keyboard, is it possible to have the keyboard stay open even if no text is selected?</p>
<p>If not, is it possible to occupy the area where the keyboard is when it's open, so that the layouts of the opened app don't change?</p>
<p>Reason being that I am working on a physical keyboard... | When creating an Android virtual keyboard, is it possible to have the keyboard stay open even if no text is selected? If not, is it possible to occupy the area where the keyboard is when it's open, so that the layouts of the opened app don't change? Reason being that I am working on a physical keyboard attachment, and ... | android|android-11|virtual-keyboard|android-12 | 0 | 2022-08-07T21:47:11.730Z | 2,022 | 8 | 21 | 6 | 20 | 0 | 740 | 54 | 4 | 0 | false | true | false | false | false | false | zero |
73,271,311 | ViewCompat.getWindowInsetsController is deprecated - which alternative to use? | <p>After updating to Android Gradle plugin version <code>7.2.2</code> a warning is being given on the default <code>Theme.kt</code> file for Jetpack Compose projects:</p>
<pre><code>ViewCompat.getWindowInsetsController is deprecated
</code></pre>
<p>This warning comes from a default implementation provided during Proje... | After updating to Android Gradle plugin version 7.2.2 a warning is being given on the default Theme.kt file for Jetpack Compose projects: [CODE] This warning comes from a default implementation provided during Project Scaffolding: [CODE] Documentation recommends one to use the WindowCompat.getInsetsController instead -... | android|kotlin|android-jetpack-compose|material-components-android | 2 | 2022-08-07T21:52:49.747Z | 2,022 | 8 | 21 | 6 | 302 | 1 | 456 | 78 | 4 | 2 | true | false | false | false | false | false | low |
73,271,339 | Why does my Android Webview app with a Hls.js video player freezes after 3-4 hours? | <p>Im at the breaking point with this error. I developed a svelte webapp with an <code>hls.js</code> video player which I packaged in an android webview for Firesticks. The App works great except for one odd issue where after about 3-4 hours of playback the video freezes. I was able to catch some logs using <code>adb</... | Im at the breaking point with this error. I developed a svelte webapp with an hls.js video player which I packaged in an android webview for Firesticks. The App works great except for one odd issue where after about 3-4 hours of playback the video freezes. I was able to catch some logs using adb . The error does not ha... | android|html5-video|android-webview|svelte|hls.js | 0 | 2022-08-07T21:58:45.963Z | 2,022 | 8 | 21 | 6 | 145 | 1 | 1,135 | 83 | 5 | 3 | true | false | false | false | false | false | zero |
73,271,385 | Deserialization issue when consuming ASMX Web Service from Xamarin Android .NET6 App | <p><strong>Android application type:</strong> Android for .NET (net6.0-android)</p>
<p><strong>Affected platform version:</strong> VS 2022 Version 17.3.0 Preview 5.0 (64 bit)</p>
<p>I'm upgrading an existing Xamarin Traditional (Android) application into .NET 6 but I'm running into deserialization problems. Our Android... | Android application type: Android for .NET (net6.0-android) Affected platform version: VS 2022 Version 17.3.0 Preview 5.0 (64 bit) I'm upgrading an existing Xamarin Traditional (Android) application into .NET 6 but I'm running into deserialization problems. Our Android app integrates with a .NET Framework 4.8 ASMX Web ... | web-services|xamarin.android|.net-6.0 | 0 | 2022-08-07T22:09:02.197Z | 2,022 | 8 | 22 | 6 | 64 | 0 | 2,673 | 84 | 3 | 2 | true | true | false | false | false | false | zero |
73,271,425 | Calculate position of an Image in Absolutelayout when zooming | <p>I have a Page which contains an <code>AbsoluteLayout</code> with a <code>PinchZoomContainer</code> (like the one from microsoft docs). In this Container is an image that fills the entire screen. When the user tapes on the image, another image (a pin) is positioned at the tappostion. So far this works. My problem is,... | I have a Page which contains an AbsoluteLayout with a PinchZoomContainer (like the one from microsoft docs). In this Container is an image that fills the entire screen. When the user tapes on the image, another image (a pin) is positioned at the tappostion. So far this works. My problem is, that i couldn't figure out, ... | android|xamarin|xamarin.forms | 0 | 2022-08-07T22:16:09.563Z | 2,022 | 8 | 22 | 6 | 62 | 0 | 898 | 61 | 3 | 1 | true | true | false | false | false | false | zero |
73,271,432 | Admob RewardedAd how to know if the user closed the video before receiving the award? | <p>I'm migrating the app to new version of <strong>'com.google.firebase:firebase-ads:21.1.0'</strong></p>
<p>Before, I used the "<code>onRewardedVideoAdClosed</code>" method to find out if the user had finished displaying the video.</p>
<p>Now I check if the user received the award in the listener:</p>
<pre><... | I'm migrating the app to new version of 'com.google.firebase:firebase-ads:21.1.0' Before, I used the " onRewardedVideoAdClosed " method to find out if the user had finished displaying the video. Now I check if the user received the award in the listener: [CODE] My question is how can I know if the user watche... | java|android|admob | -1 | 2022-08-07T22:17:50.153Z | 2,022 | 8 | 22 | 6 | 45 | 1 | 513 | 85 | 3 | 1 | true | false | false | false | false | true | negative |
73,271,433 | AndroidJUnitRunner cannot find extra class com.squareup.leakcanary.FailTestOnLeakRunListener | <p>I am trying to run leak canary along with my Android Instrumentation tests. I followed the LeakCanary documentation <a href="https://square.github.io/leakcanary/upgrading-to-leakcanary-2.0/#running-leakcanary-in-instrumentation-tests" rel="nofollow noreferrer">https://square.github.io/leakcanary/upgrading-to-leakcan... | I am trying to run leak canary along with my Android Instrumentation tests. I followed the LeakCanary documentation https://square.github.io/leakcanary/upgrading-to-leakcanary-2.0/#running-leakcanary-in-instrumentation-tests However, the instrumentation test app fails to start with the following error: [CODE] I have th... | memory-leaks|android-instrumentation|leakcanary|androidjunitrunner | 0 | 2022-08-07T22:17:52.067Z | 2,022 | 8 | 22 | 6 | 16 | 0 | 403 | 92 | 4 | 2 | true | true | false | false | false | false | zero |
73,271,527 | Passing Data Class To Other Composable Screen | <p>i have a data class</p>
<p><code>data class Holder(uri: String, title: String, desc: String, source: String, color: String?)</code> that i have from screen a, that i want to pass along to screen b. i have the code set up as follows:</p>
<pre><code>@Composable
fun A(navigateToScreenB: (holder: Holder) -> Unit) {..... | i have a data class data class Holder(uri: String, title: String, desc: String, source: String, color: String?) that i have from screen a, that i want to pass along to screen b. i have the code set up as follows: [CODE] any insight on this? | android|kotlin|android-jetpack-compose|android-jetpack|data-class | 0 | 2022-08-07T22:39:35.770Z | 2,022 | 8 | 22 | 6 | 189 | 1 | 240 | 45 | 5 | 1 | true | false | false | false | false | false | zero |
73,271,863 | Android : Layout width gets automatically changed to wrap_content from match_parent | <p>I have set the layout width as "match_parent" and can see it as matching parent width in Design & Blueprint, but during execution the layout width gets automatically changed to "wrap_content".</p>
<p>Could someone help explain what's wrong with my code?
Layout code:</p>
<pre><code> <?xm... | I have set the layout width as "match_parent" and can see it as matching parent width in Design & Blueprint, but during execution the layout width gets automatically changed to "wrap_content". Could someone help explain what's wrong with my code? Layout code: [CODE] Fragment: [CODE] Layout displayed... | android-layout | 0 | 2022-08-08T00:10:29.263Z | 2,022 | 8 | 0 | 0 | 18 | 1 | 398 | 83 | 1 | 2 | true | false | false | false | false | false | zero |
73,272,113 | onCreateViewHolder() of child recycler view not being called in Android [Kotlin] | <p>I have a nested recycler view structure. The data for the recycler view is coming from Room Database and it follows MVVM architecture with repositories and viewmodels.</p>
<p>I am able to inflate the parent recycler view and get the list on screen but the child recycler view is not being inflated. I can see the valu... | I have a nested recycler view structure. The data for the recycler view is coming from Room Database and it follows MVVM architecture with repositories and viewmodels. I am able to inflate the parent recycler view and get the list on screen but the child recycler view is not being inflated. I can see the value being pa... | android|xml|kotlin|android-layout|android-recyclerview | 0 | 2022-08-08T01:22:24.397Z | 2,022 | 8 | 1 | 0 | 89 | 1 | 798 | 80 | 5 | 10 | true | false | false | false | false | false | zero |
73,272,189 | Click Event for MaterialButton on C# Xamarin Android App | <p>The application is attempting to pull data from <code>edittext1</code> and <code>edittime</code> and use that data once the <code>button1</code> has been pressed.</p>
<p>The issue I'm having is that I do not know how to get the <code>FindTranslator</code> function to execute upon pressing the button or how to pull d... | The application is attempting to pull data from edittext1 and edittime and use that data once the button1 has been pressed. The issue I'm having is that I do not know how to get the FindTranslator function to execute upon pressing the button or how to pull data from those textfields. C# Code: [CODE] Layout Code: [CODE] | c#|android|xamarin|button | 1 | 2022-08-08T01:41:03.590Z | 2,022 | 8 | 1 | 0 | 46 | 0 | 320 | 56 | 4 | 2 | true | true | false | false | false | false | low |
73,272,204 | Trouble converting multi-module gradle script to kotlin dsl | <p>Consider a simple multi module Android project setup similar to:</p>
<pre><code>app
common
</code></pre>
<p>Where the <code>app</code> module and <code>common</code> module both need to implement some shared gradle logic, i.e.:</p>
<pre><code>android {
testOptions {
unitTests {
returnDefaultV... | Consider a simple multi module Android project setup similar to: [CODE] Where the app module and common module both need to implement some shared gradle logic, i.e.: [CODE] When I use the groovy dsl to specify the above logic, and then use apply from: rootProject.file('common.gradle') the project works fine. But when I... | android|kotlin|gradle | 0 | 2022-08-08T01:44:08.660Z | 2,022 | 8 | 1 | 0 | 36 | 0 | 609 | 59 | 3 | 3 | true | true | false | false | false | false | zero |
73,272,261 | Update user location right after being prompted to turn on location | <p>I'm currently debugging my attendance app. Like any other employee apps, it should be capable to locate user location. How do I update/relocate user location after my app prompt them to turned on/allow location access?</p>
<p>I'm using this dep. in pubspec.yaml:</p>
<pre><code> geocoding: ^2.0.4
geolocator: ^... | I'm currently debugging my attendance app. Like any other employee apps, it should be capable to locate user location. How do I update/relocate user location after my app prompt them to turned on/allow location access? I'm using this dep. in pubspec.yaml: [CODE] location_services.dart [CODE] Below is the code in LoginP... | android|flutter|geolocation|location|geolocator | 0 | 2022-08-08T01:55:31.800Z | 2,022 | 8 | 1 | 0 | 28 | 0 | 490 | 67 | 5 | 4 | true | true | false | false | false | false | zero |
73,272,378 | How to solve intent redirection? | <p>We added option 3 by <a href="https://support.google.com/faqs/answer/9267555?hl=en" rel="nofollow noreferrer">Remediation for Intent Redirection Vulnerability</a></p>
<pre><code>Intent intent = this.activity.getIntent();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
intent.removeFlags(Intent.FLAG_... | We added option 3 by Remediation for Intent Redirection Vulnerability [CODE] But still rejected our app. Could anyone help? Thanks. | android|android-security | 0 | 2022-08-08T02:20:34.757Z | 2,022 | 8 | 2 | 0 | 44 | 1 | 131 | 32 | 2 | 1 | true | false | false | false | false | false | zero |
73,272,416 | How can I resolve min SDK version error in flutter for android development? | <p>I am developing a bluetooth app using flutter in android studio. I am getting the following error:
The plugin <code>flutter_blue</code> uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Othe... | I am developing a bluetooth app using flutter in android studio. I am getting the following error: The plugin flutter_blue uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider ... | android|flutter|gradle|bluetooth|bluetooth-lowenergy | 0 | 2022-08-08T02:32:26.390Z | 2,022 | 8 | 2 | 0 | 61 | 1 | 1,437 | 75 | 5 | 0 | false | false | false | false | false | false | zero |
73,272,461 | how to add "Rate The App" link in Google Play store app (jetpack compose) | <p>I have a button that I want it to send me to the Play Store to rate the app. couldn't find any about jetpack compose</p> | I have a button that I want it to send me to the Play Store to rate the app. couldn't find any about jetpack compose | android|kotlin|android-jetpack-compose | 0 | 2022-08-08T02:40:50.807Z | 2,022 | 8 | 2 | 0 | 86 | 2 | 116 | 73 | 3 | 0 | false | false | false | false | false | false | zero |
73,272,466 | Folding screen Items cannot be tiled | <p>One of my projects cannot be tiled on a foldable phone. I used the official solution and it didn't work, but after I modified the package name of the applicationId, the problem disappeared. Creating a blank project with the same package name will also exist. This problem, there is no problem on the emulator of Andro... | One of my projects cannot be tiled on a foldable phone. I used the official solution and it didn't work, but after I modified the package name of the applicationId, the problem disappeared. Creating a blank project with the same package name will also exist. This problem, there is no problem on the emulator of Android ... | android|folding | 0 | 2022-08-08T02:42:17.070Z | 2,022 | 8 | 2 | 0 | 22 | 0 | 376 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,272,517 | React Native 0.64 - Make password manager suggest password for app | <p>I have the following problem:
I have got a React Native application with login feature. The current way it works is that upon login the user has to scroll till they find their login for an app in password manager.</p>
<p>Is it possible to make password manager suggest password for the app, i.e. the app password be a... | I have the following problem: I have got a React Native application with login feature. The current way it works is that upon login the user has to scroll till they find their login for an app in password manager. Is it possible to make password manager suggest password for the app, i.e. the app password be at the top ... | android|ios|react-native|mobile|passwords | 0 | 2022-08-08T02:53:58.187Z | 2,022 | 8 | 2 | 0 | 64 | 1 | 533 | 66 | 5 | 0 | false | false | false | false | false | false | zero |
73,272,677 | accessibility service permission lost after killing app in android 8.0 | <p>Hi i have created accessibility service permission using below code .</p>
<pre><code> public static boolean isAccessibilitySettingsOn(Context mContext) {
int accessibilityEnabled = 0;
final String service = mContext.getPackageName() + "/" + YouTubeFilterService.class.getCanonicalName();
... | Hi i have created accessibility service permission using below code . [CODE] This is working properly in android 8 above when i give permission its save permission status but in android 8.0 and android 8.1 when i give permission to ON and again if i kill and launch then its asking again permission while it should be sa... | android | 0 | 2022-08-08T03:32:32.580Z | 2,022 | 8 | 3 | 0 | 47 | 0 | 379 | 70 | 1 | 1 | true | true | false | false | false | false | zero |
73,272,951 | how to prevent fontFamily from changing when system-font is changed in compose? | <p>I'm developing android with compose now.
The Text widget is set by FontFamily.Default.
My Galaxy 20 has several font families(Default, SamsungOne, Thick Gothic), and when I change them, the compose text FontFamily is also changed.
I want to prevent this from changing.
Is there any way about this?</p> | I'm developing android with compose now. The Text widget is set by FontFamily.Default. My Galaxy 20 has several font families(Default, SamsungOne, Thick Gothic), and when I change them, the compose text FontFamily is also changed. I want to prevent this from changing. Is there any way about this? | android-jetpack-compose | 1 | 2022-08-08T04:31:09.450Z | 2,022 | 8 | 4 | 0 | 28 | 1 | 297 | 79 | 1 | 0 | false | false | false | false | false | false | low |
73,273,086 | In AndroidViewModel extends AndroidViewModel class how can i handle intent data | <p>This is my ViewModel class which extends AndroidViewModel</p>
<p>If i want to add event on viewmodel class using databinding, can i launch intent in viewmodel class?</p>
<pre><code>public class MyViewModel extends AndroidViewModel {
private BookRepository bookRepository;
private LiveData<List<Book>&... | This is my ViewModel class which extends AndroidViewModel If i want to add event on viewmodel class using databinding, can i launch intent in viewmodel class? [CODE] Now i'm launch intent events on MainActivity like this [CODE] Are there any better ways to start event or intent related events on ViewModelClass? | java|android|mvvm|android-viewmodel | 2 | 2022-08-08T04:59:41.297Z | 2,022 | 8 | 4 | 0 | 33 | 0 | 312 | 79 | 4 | 2 | true | true | false | false | false | false | low |
73,273,210 | Issue with react native app while logging in on android device | <p>My react native app is functioning properly on emulator. But after generating apk version of the app, I could not log in to the app on android device.</p>
<p>What could be the possible solutions ? Please !!!</p> | My react native app is functioning properly on emulator. But after generating apk version of the app, I could not log in to the app on android device. What could be the possible solutions ? Please !!! | javascript|android|react-native | 0 | 2022-08-08T05:21:58.510Z | 2,022 | 8 | 5 | 0 | 37 | 1 | 200 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
73,273,228 | Edittext & textview value wont change even the value in the database is already change | <p>edit text value wont change even the value in the database is already change, its show the previous content and I need to debug again the application to show the new data. I already use this but the value still not change until I debug it again.</p>
<p>i can insert in database using this code but when i display the ... | edit text value wont change even the value in the database is already change, its show the previous content and I need to debug again the application to show the new data. I already use this but the value still not change until I debug it again. i can insert in database using this code but when i display the value of i... | java|android|android-studio|android-studio-3.0 | 0 | 2022-08-08T05:26:15.483Z | 2,022 | 8 | 5 | 0 | 36 | 0 | 448 | 86 | 4 | 1 | true | true | false | false | false | false | zero |
73,273,250 | How can I access the streaming camera video as bitmap or ByteBuffer in Android studio without saving it?(Java) | <p>I am building an app in Android studio in Java where I want to access realtime video from camera without saving it and get it as a ByteBuffer. Any help will be appreciated.</p> | I am building an app in Android studio in Java where I want to access realtime video from camera without saving it and get it as a ByteBuffer. Any help will be appreciated. | java|android|android-studio-2.3 | 0 | 2022-08-08T05:29:20.257Z | 2,022 | 8 | 5 | 0 | 23 | 1 | 172 | 110 | 3 | 0 | false | false | false | false | false | false | zero |
73,273,252 | How to add admob native ad to a specific place in a webview? | <p>I am trying to add admob native ads in my Webview app(which is a news app) . Just like adding adding ads between news posts feeds. How to do that?</p> | I am trying to add admob native ads in my Webview app(which is a news app) . Just like adding adding ads between news posts feeds. How to do that? | javascript|android|webview|admob | -1 | 2022-08-08T05:30:00.737Z | 2,022 | 8 | 5 | 0 | 59 | 1 | 146 | 60 | 4 | 0 | false | false | false | false | false | true | negative |
73,273,255 | How to detect screen mirroring in android when my mobile screen is shared using teams presentation? | <p>For enhanced security of My Android App, I need to detect the screen mirrioring. I have implemented this below source code:</p>
<pre class="lang-kotlin prettyprint-override"><code>var display : DisplayManager = getSystemService(DISPLAY_SERVICE) as DisplayManager
var presentationdisplay= display.getDisplays(DISPLAY_... | For enhanced security of My Android App, I need to detect the screen mirrioring. I have implemented this below source code: [CODE] The code is able to detect Screen Casting and the screen share of GoogleMeet, TeamViewer. But it is not detecting the MicrosoftTeams and Zoom screen Sharing. I have found that MicrosoftTeam... | android|kotlin|screenshot|android-security|android-displaymanager | 0 | 2022-08-08T05:30:54.677Z | 2,022 | 8 | 5 | 0 | 113 | 1 | 590 | 99 | 5 | 1 | true | false | false | false | false | false | zero |
73,273,351 | Hilt Singleton injection with Java | <p>Here is my module:</p>
<pre><code>@Module
@InstallIn(SingletonComponent.class)
public class BleRepositoryModule {
@Provides
public static BleRepository providesPedalRepository(@ApplicationContext Context context) {
return new BleRepository(context);
}
}
</code></pre>
<p>This is the class that I w... | Here is my module: [CODE] This is the class that I want to be injected as a singleton, that is created by the module [CODE] I am injecting this singleton in viewmodels such as this: [CODE] However, I see the constructor is called every time it is injected, so it's not acting like a singleton | java|android|dagger-hilt | 0 | 2022-08-08T05:45:47.517Z | 2,022 | 8 | 5 | 0 | 37 | 0 | 292 | 34 | 3 | 3 | true | true | false | false | false | false | zero |
73,273,377 | How to set TextColor on TextClock Android Compose | <p>I want to change the color of TextClock in AndroidCompose, it is found as follows:</p>
<pre><code>@Composable
fun displayClock() {
Column(
Modifier
.fillMaxSize()
.fillMaxHeight()
.fillMaxWidth(),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangemen... | I want to change the color of TextClock in AndroidCompose, it is found as follows: [CODE] | android|kotlin|textcolor | 0 | 2022-08-08T05:51:00.473Z | 2,022 | 8 | 5 | 0 | 30 | 1 | 89 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
73,273,426 | Firebase for android studio reading not working | <pre><code>FirebaseDatabase fb = FirebaseDatabase.getInstance();
DatabaseReference IDrefs = fb.getReference("ID_Numbers");
IDrefs.addListenerForSingleValueEvent(new ValueEventListener(){
String name;
@Override
public void onDataChange(@NotNull DataSnapshot shot){
... | [CODE] Hi so I am new to firebase in general. I am trying to read data from the real time database when the application loads in. This code works sometimes. For some reason the ValueEventListener does not run and the results come out as blank. What I want it to do is extract the First_Name fields value from my database... | java|android|database|firebase | 0 | 2022-08-08T05:57:09.047Z | 2,022 | 8 | 5 | 0 | 28 | 0 | 870 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
73,273,467 | How to compress multipart form data retrofit request? | <p>I am using the below code to compress request before sending it to the server. But when the content type is "multipart", retrofit is not sending any parameters to the server and I am getting parameters missing error from the server. Kindly assist me with the issue.</p>
<pre><code>import androidx.annotation... | I am using the below code to compress request before sending it to the server. But when the content type is "multipart", retrofit is not sending any parameters to the server and I am getting parameters missing error from the server. Kindly assist me with the issue. [CODE] | android|retrofit|gzip | 0 | 2022-08-08T06:02:58.067Z | 2,022 | 8 | 6 | 0 | 58 | 0 | 282 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,273,589 | I don't want my app to get uninstalled by user for a particular period of time | <p>is there any option in android studio to make an app so that user can not able to uninstall it for a particular period of time. For example if user granted permission of not uninstalling the app for one hour , so user can not uninstall this app for one hour</p> | is there any option in android studio to make an app so that user can not able to uninstall it for a particular period of time. For example if user granted permission of not uninstalling the app for one hour , so user can not uninstall this app for one hour | android|android-studio | -6 | 2022-08-08T06:23:06.117Z | 2,022 | 8 | 6 | 0 | 49 | 2 | 257 | 78 | 2 | 0 | false | false | false | false | false | true | negative |
73,273,676 | APP APK file only works on Android V 11 Emulators all others get grey screen before home page load | <p>Hi all I am very new to this all and trying to get an app working on different Android Emulators.</p>
<p>I have it working and can do a few tests if it's V11 but any other from V7 to V13 I get a grey screen.</p>
<p>I am using the code of Eclsip IDE and Emulators are from Android studio and Genymotion but also get th... | Hi all I am very new to this all and trying to get an app working on different Android Emulators. I have it working and can do a few tests if it's V11 but any other from V7 to V13 I get a grey screen. I am using the code of Eclsip IDE and Emulators are from Android studio and Genymotion but also get this when trying to... | java|android-emulator|appium-android | 0 | 2022-08-08T06:33:03.397Z | 2,022 | 8 | 6 | 0 | 15 | 0 | 452 | 98 | 3 | 0 | false | true | false | false | false | false | zero |
73,273,807 | Android Studio coverage tool says that project is out of date | <p>I am writing to unit test my Android app and see coverage results, but whenever I click on <code>Run with coverage</code>, after passing the tests, I get a pop up saying that the project is out of date and I need to recompile or hide coverage. When I recompile, I get some errors in the <code>Hilt</code> auto-generat... | I am writing to unit test my Android app and see coverage results, but whenever I click on Run with coverage , after passing the tests, I get a pop up saying that the project is out of date and I need to recompile or hide coverage. When I recompile, I get some errors in the Hilt auto-generated classes (but there actual... | android|android-studio|unit-testing | 0 | 2022-08-08T06:48:02.083Z | 2,022 | 8 | 6 | 0 | 130 | 0 | 678 | 61 | 3 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.