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,976,663 | How to include AAR in React Native Android? | <p>In my React Native Android project, I want to use my own library which has a AAR file.
Can someone please guide on how to use the AAR file in my Android build.</p>
<p>Below are my configurations -</p>
<ol>
<li>react-native - 0.69.1</li>
<li>gradle - 7.4.2</li>
<li>Android Studio Bumblebee - 2021.1.1 Patch 3</li>
<li... | In my React Native Android project, I want to use my own library which has a AAR file. Can someone please guide on how to use the AAR file in my Android build. Below are my configurations - react-native - 0.69.1 gradle - 7.4.2 Android Studio Bumblebee - 2021.1.1 Patch 3 openjdk - "18.0.1.1" 2022-04-22 And I'm... | android|react-native|android-studio|gradle|android-gradle-plugin | 0 | 2022-07-14T07:18:09.440Z | 2,022 | 7 | 7 | 3 | 354 | 1 | 814 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
72,976,671 | How to bind reactiveX Observable to android notification buttons | <p>I have a Flutter project in which I use native Java code for sending local notification. This is the only way for me because I have custom notification layout with two buttons.
I need a way to set a listener to these buttons to be able to handle these events, update notification and pass events to Flutter side to ha... | I have a Flutter project in which I use native Java code for sending local notification. This is the only way for me because I have custom notification layout with two buttons. I need a way to set a listener to these buttons to be able to handle these events, update notification and pass events to Flutter side to handl... | java|android|reactivex | 0 | 2022-07-14T07:18:42.873Z | 2,022 | 7 | 7 | 3 | 17 | 0 | 998 | 64 | 3 | 2 | true | true | false | false | false | false | zero |
72,976,733 | How can I create widget with timer? | <p>I am working on one application with has a widget functionality So I have designed a widget but tried with timer.</p>
<p>widget is working on background after kill the app.so can you guide me to set current time on my widget.</p> | I am working on one application with has a widget functionality So I have designed a widget but tried with timer. widget is working on background after kill the app.so can you guide me to set current time on my widget. | android|android-studio|kotlin|android-widget | -2 | 2022-07-14T07:24:28.270Z | 2,022 | 7 | 7 | 3 | 39 | 1 | 218 | 35 | 4 | 0 | false | false | false | false | false | true | negative |
72,976,777 | How Can I change all activity and fragment's background image on a single button click? | <p>I have different Images one is for english, one is for hindi. I am making a pop up dialog where you get the option to select hindi or english, on that click the background images depends on the lang which change as well</p> | I have different Images one is for english, one is for hindi. I am making a pop up dialog where you get the option to select hindi or english, on that click the background images depends on the lang which change as well | java|android|xml|background | -1 | 2022-07-14T07:28:45.950Z | 2,022 | 7 | 7 | 3 | 27 | 1 | 219 | 87 | 4 | 0 | false | false | false | false | false | true | negative |
72,976,785 | Creating recyclerview with variable height of item as per the content text with swipeable feature | <p>How to create a recyclerview with items having variable height as per the length of content text like the below image. Recyclerview also supports swipeable items.</p>
<p>Expected</p>
<p><a href="https://i.stack.imgur.com/EEb4Nl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EEb4Nl.png" alt="enter... | How to create a recyclerview with items having variable height as per the length of content text like the below image. Recyclerview also supports swipeable items. Expected Actual My layout [CODE] If you can see in the actual image the subtext is getting cropped whenever I try to set longer text on title text. My Actual... | android|kotlin|android-recyclerview | 0 | 2022-07-14T07:30:09.227Z | 2,022 | 7 | 7 | 3 | 32 | 0 | 761 | 97 | 3 | 1 | true | true | false | false | false | false | zero |
72,976,950 | flutter bottomNavigationBar: BottomAppBar In IPhone it can't full fill, from bottom screen | <p><a href="https://i.stack.imgur.com/LjHVM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LjHVM.png" alt="enter image description here" /></a></p>
<p><strong>in android it is sowing perfect,but iphone it not full fill from bottom.</strong>
<strong>please check bottom:bottomNavigationBar section cod... | in android it is sowing perfect,but iphone it not full fill from bottom. please check bottom:bottomNavigationBar section code........ **flutter bottomNavigationBar: BottomAppBar In IPhone it can't full fill, from bottom ** my code is [CODE] in android it is sowing perfect,but iphone it not full fill from bottom. please... | android|iphone|flutter | 1 | 2022-07-14T07:45:25.813Z | 2,022 | 7 | 7 | 3 | 67 | 3 | 458 | 90 | 3 | 1 | true | false | false | false | false | false | low |
72,977,112 | C++ linux: How to get an exported function's address from a loaded library? | <p>I've tried to approch this the default way, dlopen the library and dlsym it. But when I dlopen it, this error pops up:
<code>dlopen failed: library "libfmod.so" not found: needed by /.../libSwordsman.so in namespace (default)</code></p>
<p>However, when I go into proc/self/maps, the libfmod.so <strong>is l... | I've tried to approch this the default way, dlopen the library and dlsym it. But when I dlopen it, this error pops up: dlopen failed: library "libfmod.so" not found: needed by /.../libSwordsman.so in namespace (default) However, when I go into proc/self/maps, the libfmod.so is loaded , but the dlopen still re... | android|c++|linux|shared-libraries | 1 | 2022-07-14T07:58:29.857Z | 2,022 | 7 | 7 | 3 | 86 | 1 | 1,241 | 75 | 4 | 0 | false | false | false | false | false | false | low |
72,977,165 | How can I put one part of my App in PiP mode while still being inside the App? | <p>How can I have PiP mode while I am still in the App?
I am creating a video calling App, and while the call is still going on, you are able to go to a separate full screen view that currently is the same Fragment with the views being hidden/shown. When I go to separate full screen view, the cameras are no longer visi... | How can I have PiP mode while I am still in the App? I am creating a video calling App, and while the call is still going on, you are able to go to a separate full screen view that currently is the same Fragment with the views being hidden/shown. When I go to separate full screen view, the cameras are no longer visible... | android|android-activity|android-picture-in-picture | 0 | 2022-07-14T08:02:50.417Z | 2,022 | 7 | 8 | 3 | 50 | 1 | 533 | 78 | 3 | 0 | false | false | false | false | false | false | zero |
72,977,289 | How to bind Query parameter into the datetime using room | <p>I would like to bind a parameter into the datetime method of a sql query.
You can see below what I tried. I have tried enum too, but it seems enums are parsed by the name of enum and I can't give -7 days as a value to enum</p>
<p>The query i would like the code to produce looks like this.</p>
<pre><code>SELECT * FRO... | I would like to bind a parameter into the datetime method of a sql query. You can see below what I tried. I have tried enum too, but it seems enums are parsed by the name of enum and I can't give -7 days as a value to enum The query i would like the code to produce looks like this. [CODE] Code#1 [CODE] Produces query#1... | java|android|android-room | 1 | 2022-07-14T08:12:26.680Z | 2,022 | 7 | 8 | 3 | 21 | 1 | 512 | 56 | 3 | 6 | true | false | false | false | false | false | low |
72,977,405 | How to get Sattelites ID's from Android API location? | <p>I am trying to get the satellites ID's in a mobile device.
The project is made in Android with Java and with the Location API from Android.
As I could see it is possible to get the ID's with the method <code>getSvid()</code> from the <code>GnssStatus</code> class as you can see here:</p>
<pre><code> public void g... | I am trying to get the satellites ID's in a mobile device. The project is made in Android with Java and with the Location API from Android. As I could see it is possible to get the ID's with the method getSvid() from the GnssStatus class as you can see here: [CODE] I don't know if this is correct as I've tried several ... | java|android|location|android-gnss | 0 | 2022-07-14T08:21:25.167Z | 2,022 | 7 | 8 | 3 | 31 | 0 | 534 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
72,977,475 | Speech to text in second page not working in flutter | <p>I am trying to implement the voice-to-text functionality on my flutter app by following the youtube tutorial <a href="https://www.youtube.com/watch?v=jwlgHLHFIjc&t=52s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=jwlgHLHFIjc&t=52s</a> one question the mic doesn't do the required task if there a... | I am trying to implement the voice-to-text functionality on my flutter app by following the youtube tutorial https://www.youtube.com/watch?v=jwlgHLHFIjc&t=52s one question the mic doesn't do the required task if there are multiple screens in the app. It will only do the task once and the 2nd time it won't do the task w... | android|flutter|speech-to-text | 0 | 2022-07-14T08:26:16.780Z | 2,022 | 7 | 8 | 3 | 44 | 0 | 488 | 52 | 3 | 2 | true | true | false | false | false | false | zero |
72,977,503 | My TextButton (converted from FlatButton) doesn't work | <p>Good morning.
Because my flatButton is deprecated, I've tried to convert it to a TextButton. But now it doesn't work.</p>
<p>This was my working FlatButton code:</p>
<pre><code>Flexible(
flex: 4,
child: FlatButton.icon(
shape: RoundedRectangle... | Good morning. Because my flatButton is deprecated, I've tried to convert it to a TextButton. But now it doesn't work. This was my working FlatButton code: [CODE] This is the code of the conversion to Textbutton: [CODE] | flutter|android-studio|dart | -2 | 2022-07-14T08:28:12.510Z | 2,022 | 7 | 8 | 3 | 40 | 1 | 218 | 54 | 3 | 2 | true | false | false | false | false | true | negative |
72,977,765 | Exchange testInstrumentationRunner with a runner derived from class not available at compile time | <p>I want to use a custom <code>testInstrumentationRunner</code> for overriding the <code>newInstance</code> method in order to use a custom application:</p>
<pre><code>class UiTestJUnitRunner : AllureAndroidJUnitRunner() {
override fun newApplication(cl: ClassLoader, className: String, context: Context): Applicat... | I want to use a custom testInstrumentationRunner for overriding the newInstance method in order to use a custom application: [CODE] where that application is actually required to make the test execution work (since it skips some GDPR dialogs etc. at the startup): [CODE] As you can see, I need to derive my TestJUnitRunn... | java|android|android-espresso|bytecode-manipulation|instrumented-test | 0 | 2022-07-14T08:48:55.983Z | 2,022 | 7 | 8 | 3 | 42 | 1 | 1,222 | 97 | 5 | 2 | true | false | false | false | false | false | zero |
72,977,920 | MotionLayout rotate image and resetting rotation android | <p>I'm rotating an imageview using MotionLayout.</p>
<p>First click, image rotate clockwise, that's what i want.</p>
<p>But second click, image rotate counterclockwise. I tried some way to reset state of image but it doesn't work.
Can i have a advise???</p>
<pre><code><MotionScene
xmlns:android="http://sch... | I'm rotating an imageview using MotionLayout. First click, image rotate clockwise, that's what i want. But second click, image rotate counterclockwise. I tried some way to reset state of image but it doesn't work. Can i have a advise??? [CODE] | android|android-animation|android-constraintlayout|android-motionlayout | 0 | 2022-07-14T09:02:48.900Z | 2,022 | 7 | 9 | 3 | 59 | 1 | 243 | 56 | 4 | 1 | true | false | false | false | false | false | zero |
72,977,989 | How to create dialog which ask for pin if it is correct a following operation will be done | <p>This code is where I am creating Alert dialog. whenever I press ok it crashes .password_dialog has 1 editText and 2 buttons.</p>
<pre><code>private fun passwordCheck(position: Int){
val view=LayoutInflater.from(requireContext()).inflate(R.layout.password_dialog,null,false)
val builder=AlertDialog.Bu... | This code is where I am creating Alert dialog. whenever I press ok it crashes .password_dialog has 1 editText and 2 buttons. [CODE] | android|kotlin | 0 | 2022-07-14T09:08:45.823Z | 2,022 | 7 | 9 | 3 | 45 | 2 | 131 | 90 | 2 | 1 | true | false | false | false | false | false | zero |
72,977,992 | Jitsi Meet and Sendbird class conflicts | <p>I want to integrate the Jitsi meeting and send-bird into my project. For that, I added the below dependencies.</p>
<pre><code>implementation 'com.sendbird.sdk:sendbird-android-sdk:3.1.15'
implementation 'com.sendbird.sdk:sendbird-calls:1.8.0'
implementation('org.jitsi.react:jitsi-meet-sdk:6.0.0') {
transitive =... | I want to integrate the Jitsi meeting and send-bird into my project. For that, I added the below dependencies. [CODE] But when I am trying to run the project I'm getting the below errors. [CODE] Please help who knows answer. | android|kotlin|jitsi-meet|sendbird | 0 | 2022-07-14T09:09:04.957Z | 2,022 | 7 | 9 | 3 | 128 | 1 | 224 | 39 | 4 | 2 | true | false | false | false | false | false | zero |
72,977,999 | The location of touch screen driver in Android | <p>I need to modify some configurations about a touch screen of Android device, thus I want to know the folder(s) where the driver is located in Android system.</p>
<p>I'll appreciate every answer.</p> | I need to modify some configurations about a touch screen of Android device, thus I want to know the folder(s) where the driver is located in Android system. I'll appreciate every answer. | android|driver|screen|touchscreen | 0 | 2022-07-14T09:09:39.637Z | 2,022 | 7 | 9 | 3 | 35 | 0 | 187 | 46 | 4 | 0 | false | true | false | false | false | false | zero |
72,978,051 | Android. Kotlin Flow: How to cancel countdown timer? | <p>I have a kotlin flow timer. Here is my code:</p>
<pre><code>class CountDownTimer {
suspend fun startTimer(value: Int, onTick: OnTickCallback, onFinish: OnFinishCallback) {
onTick.invoke(0)
(1..timerValue)
.asSequence()
.asFlow()
.onEach {
delay(DELAY)
... | I have a kotlin flow timer. Here is my code: [CODE] Everything working well, but there are situations when I start a new timer, but the current one has not yet completed. So I want to cancel the timer if I start a new one. I know that for this I need to get a Job and call a cancel() on it. But I can't create job, becau... | android|kotlin|kotlin-coroutines|android-mvvm|kotlin-flow | 0 | 2022-07-14T09:13:14.273Z | 2,022 | 7 | 9 | 3 | 106 | 1 | 929 | 52 | 5 | 2 | true | false | false | false | false | false | zero |
72,978,069 | How mapbox navigation draw(Polyline) user location changed coordinates on Map? | <pre><code>private static class LocationChangeListeningActivityLocationCallback
implements LocationEngineCallback<LocationEngineResult> {
private final WeakReference<MapMatchingActivity> activityWeakReference;
LocationChangeListeningActivityLocationCallback(MapMatchingActivity activity) {
... | [CODE] The above code where I am getting user location coordinates, I got to know that MapBox updated SDK, and PolylineOptions is now Deprecated, I have drawn lines using LineOptions but still have No idea how to update based on user location Please check below code. [CODE] | java|mapbox|mapbox-android | 0 | 2022-07-14T09:14:35.590Z | 2,022 | 7 | 9 | 3 | 64 | 0 | 274 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
72,978,070 | How to read preference with glance Widget Jetpack compose? | <p>I'm trying to do a weather app with a widget.
I call open weather map api and I can see the wether in the main screen on the phone.
I save them in dataStore with :</p>
<pre><code>mainViewModel.setCity(city)
</code></pre>
<pre><code>fun setCity(city: String){
viewModelScope.launch {
preferenceManager.setW... | I'm trying to do a weather app with a widget. I call open weather map api and I can see the wether in the main screen on the phone. I save them in dataStore with : [CODE] [CODE] [CODE] I read them in the widget with : [CODE] But for exemple if I save Cancun on the widget there is always the default value Paris Someone ... | android|kotlin|android-widget|android-jetpack-compose | 0 | 2022-07-14T09:14:36.803Z | 2,022 | 7 | 9 | 3 | 77 | 1 | 359 | 58 | 4 | 4 | true | false | false | false | false | false | zero |
72,978,105 | Android Call APP | Notification Pushy.me API delay sometimes too High if APP running Background | High if app is not running | <p>I <strong>build one Android Call</strong> app and using <strong>Pushy API to receive Notification</strong> for the <strong>Call</strong>...</p>
<p>It works good, but sometimes the <strong>delay</strong> is over 5 minutes if the <strong>App running in Background</strong>!</p>
<p>If the app is <strong>not</strong> run... | I build one Android Call app and using Pushy API to receive Notification for the Call ... It works good, but sometimes the delay is over 5 minutes if the App running in Background ! If the app is not running in Background , the delay for Call-Notification is always high ... What I'm doing wrong? Also, do you know anoth... | android|firebase|phone-call|pushy | 0 | 2022-07-14T09:17:37.913Z | 2,022 | 7 | 9 | 3 | 30 | 0 | 461 | 124 | 4 | 1 | true | true | false | false | false | false | zero |
72,978,240 | XML Layout Material Card View border not showing | <p>So I made a layout with Frame Layout and Scroll View. There are 3 material card view inside scroll view. But I dont know why the third card border is not showing and sometimes only the bottom border is missing. I think is because of the constraint and scroll view but I still cant solve it. Anyone knows?</p>
<pre><co... | So I made a layout with Frame Layout and Scroll View. There are 3 material card view inside scroll view. But I dont know why the third card border is not showing and sometimes only the bottom border is missing. I think is because of the constraint and scroll view but I still cant solve it. Anyone knows? [CODE] Here is ... | java|android|xml|kotlin | 0 | 2022-07-14T09:27:43.697Z | 2,022 | 7 | 9 | 3 | 35 | 1 | 371 | 48 | 4 | 1 | true | false | false | false | false | false | zero |
72,978,296 | Firebase App Distribution "Your client does not have permission to get URL" | <p>When I try downloading my <code>.apk</code> on Firebase console I get below error</p>
<p>Also my testers see the same error after they download the app to their devices</p>
<pre><code>403. That’s an error.
Your client does not have permission to get URL /app-binary-downloads/firebase-app-distro/
app-binaries/669991... | When I try downloading my .apk on Firebase console I get below error Also my testers see the same error after they download the app to their devices [CODE] I did some modifications in Google Cloud and added new roles to my admin user, I understand that this is a permission issue [CODE] Anyway that didn't help, any sugg... | android|firebase|firebase-app-distribution | 1 | 2022-07-14T09:31:07.403Z | 2,022 | 7 | 9 | 3 | 150 | 1 | 345 | 75 | 3 | 2 | true | false | false | false | false | false | low |
72,978,300 | I don't understand why I can't see bluetooth permission. (startactivityforresult deprecated) | <pre><code>package com.example.bluetoothtest2;
import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContracts;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.bluetooth.Bluetoo... | [CODE] } ''' startactivityforresult is deprecated so I used registerforactivityresult to ask permission for bluetooth. But I can't see any notification in app! Is there anything I had miswritten in my code?? ''' | java|android|permissions|bluetooth|registerforactivityresult | 0 | 2022-07-14T09:31:20.267Z | 2,022 | 7 | 9 | 3 | 28 | 0 | 211 | 92 | 5 | 1 | true | true | false | false | false | false | zero |
72,978,318 | How to handle onTouchListener inside a RecyclerView | <p>I need some help how to solve my problem. I have a recyclerview and its items contain an ImageView. I wanna move imageview with my fingers. I create a touchListener and set it in the adapter for the imageview.</p>
<p>The following image show how my item looks like. I want to move the black square left or right and w... | I need some help how to solve my problem. I have a recyclerview and its items contain an ImageView. I wanna move imageview with my fingers. I create a touchListener and set it in the adapter for the imageview. The following image show how my item looks like. I want to move the black square left or right and when it hit... | android|android-recyclerview|ontouchlistener | 0 | 2022-07-14T09:32:14.867Z | 2,022 | 7 | 9 | 3 | 30 | 0 | 639 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
72,978,400 | ANDROID - How to force ANR with Unity | <p>I'm making a game with Unity for Android. I want to generate a ANR for testing purposes, and when I say ANR I mean that Android displays that window indicating the app is not responding, I want that window appearing.</p>
<p>I tried using a <code>Thread.Sleep();</code> and a <code>while (true) { }</code>, but had no ... | I'm making a game with Unity for Android. I want to generate a ANR for testing purposes, and when I say ANR I mean that Android displays that window indicating the app is not responding, I want that window appearing. I tried using a Thread.Sleep(); and a while (true) { } , but had no effect. The game freezes and is unr... | c#|android|unity3d|android-anr-dialog | 0 | 2022-07-14T09:38:40.340Z | 2,022 | 7 | 9 | 3 | 96 | 0 | 601 | 37 | 4 | 0 | false | true | false | false | false | false | zero |
72,978,430 | How to get results from web chrome to activity android | <p>I am working with payment using net banking and doing payment from web chrome now when i back to the activity i want to check that payment is done or cancelled... how to check this in my activity when i came back from web in my android application project?</p> | I am working with payment using net banking and doing payment from web chrome now when i back to the activity i want to check that payment is done or cancelled... how to check this in my activity when i came back from web in my android application project? | android|kotlin|web|payment | 0 | 2022-07-14T09:41:10.517Z | 2,022 | 7 | 9 | 3 | 49 | 1 | 256 | 54 | 4 | 0 | false | false | false | false | false | false | zero |
72,978,518 | Implementing SIP VOIP android application on api 31 or higher | <p>I am trying to implement VOIP application but android SIP api (<a href="https://developer.android.com/guide/topics/connectivity/sip" rel="nofollow noreferrer">https://developer.android.com/guide/topics/connectivity/sip</a>) has been deprecated on api 31 or higher. So, what are the alternatives.</p> | I am trying to implement VOIP application but android SIP api ( https://developer.android.com/guide/topics/connectivity/sip ) has been deprecated on api 31 or higher. So, what are the alternatives. | android|sip|voip | -1 | 2022-07-14T09:46:28.477Z | 2,022 | 7 | 9 | 3 | 48 | 1 | 197 | 61 | 3 | 0 | false | false | false | false | false | true | negative |
72,978,541 | Jetpack Compose - Disable / Hide system bar in deployed preview | <p>I want to disable the system bar on the deployed preview - anyone has a idea how to do this?</p>
<p>I currently call this on the activity to enable full screen mode.</p>
<pre><code>fun Activity.enableFullscreenMode() {
val windowInsetsController =
WindowCompat.getInsetsController(window, window.decorView... | I want to disable the system bar on the deployed preview - anyone has a idea how to do this? I currently call this on the activity to enable full screen mode. [CODE] Thank you! | android-jetpack-compose | 0 | 2022-07-14T09:48:20.067Z | 2,022 | 7 | 9 | 3 | 23 | 0 | 176 | 63 | 1 | 1 | true | true | false | false | false | false | zero |
72,978,573 | How to check programmatically that user has enable the AutoStart permission or not ? (in MI devices) | <p>I am able to to go setting & comeback from it but didn't get if user has enable the AutoStart or not.</p> | I am able to to go setting & comeback from it but didn't get if user has enable the AutoStart or not. | java|android|kotlin | 0 | 2022-07-14T09:51:15.980Z | 2,022 | 7 | 9 | 3 | 39 | 0 | 101 | 100 | 3 | 0 | false | true | false | false | false | false | zero |
72,978,589 | DetoxRuntimeError: Detox can't seem to connect to the test app(s)! - Android only | <p>I use Detox automation tool for bare React Native project. Everything works perfectly on iOS, but when I run tests on Android I get following errors:</p>
<blockquote>
<p>DetoxRuntimeError: Detox can't seem to connect to the test app(s)!
HINT: Have you forgotten to call 'device.launchApp()' in the beginning of your t... | I use Detox automation tool for bare React Native project. Everything works perfectly on iOS, but when I run tests on Android I get following errors: DetoxRuntimeError: Detox can't seem to connect to the test app(s)! HINT: Have you forgotten to call 'device.launchApp()' in the beginning of your test? Refer to our troub... | android|reactjs|native|detox | 1 | 2022-07-14T09:52:26.430Z | 2,022 | 7 | 9 | 3 | 172 | 1 | 1,172 | 81 | 4 | 5 | true | false | false | false | false | false | low |
72,978,709 | How should a android OTG usb device app work? | <p>I do no get my android java app working the way i want it to work.</p>
<p>If i plugin the device i get a permissions dialog to start the app. The app is started and i can open de device.
If i start the app and plugin the device after the i started the app i am able to set the permissions, and i get a permissions dia... | I do no get my android java app working the way i want it to work. If i plugin the device i get a permissions dialog to start the app. The app is started and i can open de device. If i start the app and plugin the device after the i started the app i am able to set the permissions, and i get a permissions dialog. But w... | android|usbmanager | 0 | 2022-07-14T10:02:08.437Z | 2,022 | 7 | 10 | 3 | 13 | 0 | 686 | 45 | 2 | 0 | false | true | false | false | false | false | zero |
72,978,722 | How to avoid auto resize of content in jetpack compose? | <p>I want to not to apply the <code>auto resize</code> with some content. When I put <code>.fillMaxHeight()</code> in modifier the auto resize gets applied. But I don't want to apply for some content even it is with modifier <code>.fillMaxHeight()</code>. I enabled the auto resize by adding the following piece of code ... | I want to not to apply the auto resize with some content. When I put .fillMaxHeight() in modifier the auto resize gets applied. But I don't want to apply for some content even it is with modifier .fillMaxHeight() . I enabled the auto resize by adding the following piece of code into AndroidManifest.xml - [CODE] So, Any... | android|android-jetpack-compose | 0 | 2022-07-14T10:02:51.553Z | 2,022 | 7 | 10 | 3 | 62 | 1 | 338 | 55 | 2 | 1 | true | false | false | false | false | false | zero |
72,978,780 | calabash tests: Failing to establish TCP connection and port forwarding | <p>Some of the calabash test is running longer time due to the following connection and the test will continuo after some time and some times fails due to not establishing connection. I am running over Mac M1 and following are the messages seen over console.</p>
<p>For example when running calabash test for @push_13 th... | Some of the calabash test is running longer time due to the following connection and the test will continuo after some time and some times fails due to not establishing connection. I am running over Mac M1 and following are the messages seen over console. For example when running calabash test for @push_13 the steps &q... | apple-m1|calabash-android | 0 | 2022-07-14T10:07:32.483Z | 2,022 | 7 | 10 | 3 | 19 | 0 | 611 | 71 | 2 | 1 | true | true | false | false | false | false | zero |
72,978,826 | Cannot generate .pem from new .jks file | <p>I want to upload a new app to Huawei App Gallery. To do so, you have to upload a .pem file. According to documentation from Android and Huawei, this is done like so:</p>
<pre><code>keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem
</code></pre>
<p>However, when I try and d... | I want to upload a new app to Huawei App Gallery. To do so, you have to upload a .pem file. According to documentation from Android and Huawei, this is done like so: [CODE] However, when I try and doo this on my brand new .jks file generated using Android Studio, I get: "keytool error: java.io.IOException: Invalid... | java|android|pem|huawei-developers|jks | 1 | 2022-07-14T10:11:20.393Z | 2,022 | 7 | 10 | 3 | 73 | 2 | 894 | 39 | 5 | 1 | true | false | false | false | false | false | low |
72,978,920 | Android: Prevent keyboard navigation on entire view (Accessibility) | <p>When a popup is opened, the view behind the popup can still be navigated using keyboard navigation.</p>
<p><em>Video attached to this github issue -</em>
<a href="https://github.com/rotorgames/Rg.Plugins.Popup/issues/728" rel="nofollow noreferrer">https://github.com/rotorgames/Rg.Plugins.Popup/issues/728</a></p>
<p>... | When a popup is opened, the view behind the popup can still be navigated using keyboard navigation. Video attached to this github issue - https://github.com/rotorgames/Rg.Plugins.Popup/issues/728 From looking at the source code it adds an Android.View on top of the current Android.View. So need to away to prevent keybo... | android|xamarin|accessibility|keyboard-navigation | 1 | 2022-07-14T10:18:18.607Z | 2,022 | 7 | 10 | 3 | 59 | 1 | 406 | 67 | 4 | 0 | false | false | false | false | false | false | low |
72,978,959 | Android Room in Kotlin 1.7.0 | <p>When updating to Kotlin 1.7.0, since it's required by the latest version of Jetpack Compose, I found out that Room was no longer working. I was using <code>kapt</code> as my annotation processor, and the compiler was throwing error messages such as:</p>
<pre><code>[*] error: Query method parameters should either be ... | When updating to Kotlin 1.7.0, since it's required by the latest version of Jetpack Compose, I found out that Room was no longer working. I was using kapt as my annotation processor, and the compiler was throwing error messages such as: [CODE] | android|kotlin|android-room|kapt|kotlin-symbol-processing | 1 | 2022-07-14T10:21:32.093Z | 2,022 | 7 | 10 | 3 | 781 | 3 | 243 | 28 | 5 | 1 | true | false | false | false | false | false | low |
72,978,973 | How to make between pages animation just like default ios | <p>I want to make an animation that is default in ios when switching between activities or fragments on android. In the vertical position, the pages are opened and closed like a book, or something like that. I left the video link below for you to understand better. Could you help. Thank you.</p>
<p>Video: <a href="http... | I want to make an animation that is default in ios when switching between activities or fragments on android. In the vertical position, the pages are opened and closed like a book, or something like that. I left the video link below for you to understand better. Could you help. Thank you. Video: CLICK HERE | android|ios|kotlin | 0 | 2022-07-14T10:22:14.043Z | 2,022 | 7 | 10 | 3 | 28 | 0 | 307 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
72,978,992 | How to handle process death inside singleton session manager class in android? | <p>I have a session manager singleton class. Inside it, I am storing an authentication token. When an application crashes or processes death, auth token (live data) destroy. How to handle it?</p>
<pre><code>@Singleton
class SessionManager
@Inject
constructor(
private val sessionRepository: SessionRepository,
pr... | I have a session manager singleton class. Inside it, I am storing an authentication token. When an application crashes or processes death, auth token (live data) destroy. How to handle it? [CODE] | android | 1 | 2022-07-14T10:23:30.537Z | 2,022 | 7 | 10 | 3 | 17 | 0 | 195 | 78 | 1 | 1 | true | true | false | false | false | false | low |
72,979,051 | Why might HmsInstanceId.deleteToken and HmsInstanceId.getToken not work? | <p>On some devices, <code>HmsInstanceId.deleteToken</code> throws "com.huawei.hms.common.ApiException: 907135000: arguments invalid" while <code>HmsInstanceId.getToken</code> returns an empty string?</p>
<p>I have several huawei devices without google services on which this problem does not reproduce (eg JNY-... | On some devices, HmsInstanceId.deleteToken throws "com.huawei.hms.common.ApiException: 907135000: arguments invalid" while HmsInstanceId.getToken returns an empty string? I have several huawei devices without google services on which this problem does not reproduce (eg JNY-LX1 ENUI 10.1.0). That is, on them I... | android|push-notification|huawei-mobile-services | 1 | 2022-07-14T10:27:52.320Z | 2,022 | 7 | 10 | 3 | 82 | 2 | 907 | 72 | 3 | 0 | false | false | false | false | false | false | low |
72,979,301 | The argument type 'Object?' can't be assigned to the parameter type 'int' | <pre><code> RadioListTile(
value: 1,
groupValue: selectedRadio,
title: Text("Doctor" , style: TextStyle(fontSize: 19.0)),
activeColor: Colors.green,
onChanged: (val) {
setSelectedRadio(val);
//prin... | [CODE] on the val variable i am getting this error of The argument type 'Object?' can't be assigned to the parameter type 'int'. | android|flutter|android-studio|dart|flutter-dependencies | 4 | 2022-07-14T10:51:33.753Z | 2,022 | 7 | 10 | 3 | 86 | 2 | 128 | 73 | 5 | 1 | true | false | false | false | false | false | low |
72,979,311 | how to keep scanning and writing in csv without pressing the button? Bluetooth Adapter | <p>So I did a bluetooth scanner app in android studio and I want to store data in a csv. the problem is that I want to remove the button and the app to keep scanning and write in csv. Right now it scans automatically but I have to press the button in order to create and write in csv. Can you help me with implementing a... | So I did a bluetooth scanner app in android studio and I want to store data in a csv. the problem is that I want to remove the button and the app to keep scanning and write in csv. Right now it scans automatically but I have to press the button in order to create and write in csv. Can you help me with implementing a me... | java|button|bluetooth|adapter|android-bluetooth | 0 | 2022-07-14T10:52:07.280Z | 2,022 | 7 | 10 | 3 | 22 | 0 | 561 | 86 | 5 | 1 | true | true | false | false | false | false | zero |
72,979,332 | Firebase-Android function should work but isn't | <p>For some reason, the following function always returns 0. Does someone know why?</p>
<pre><code>public int GetOnlineFriendsNum(){
OnlineFriendsCounter = 0;
database.getReference().child("users").child(mAuth.getCurrentUser().getPhoneNumber()).child("Friends").addValueEventListener(new Valu... | For some reason, the following function always returns 0. Does someone know why? [CODE] I added a firebase tree image^^ | java|android|firebase | 0 | 2022-07-14T10:53:28.693Z | 2,022 | 7 | 10 | 3 | 33 | 1 | 119 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
72,979,385 | How to get Each value from Firebase? | <p>How can I get each value from Firebase and set it to my variable (Lat&Long)</p>
<p>My Code :</p>
<pre><code> FirebaseDatabase database = FirebaseDatabase.getInstance();
DatabaseReference reference = database.getReference();
reference.child("Hutan").addListenerForSingl... | How can I get each value from Firebase and set it to my variable (Lat&Long) My Code : [CODE] and The log result said | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-14T10:57:23.627Z | 2,022 | 7 | 10 | 3 | 30 | 1 | 116 | 36 | 5 | 1 | true | false | false | false | false | false | zero |
72,979,386 | Some symbol ॐ is appearing in place of om in string display | <p>I am displaying translated text "Nom" of "Name" in French in Xamarin.Forms Android app. But instead of showing Nom, it shows Nॐ converting characters om into ॐ (om symbol). Could someone help me how to avoid this symbol? I have Googled it with various keywords but couldn't find the solution.</p>
... | I am displaying translated text "Nom" of "Name" in French in Xamarin.Forms Android app. But instead of showing Nom, it shows Nॐ converting characters om into ॐ (om symbol). Could someone help me how to avoid this symbol? I have Googled it with various keywords but couldn't find the solution. The cod... | c#|android|xaml|xamarin.forms | 0 | 2022-07-14T10:57:24.983Z | 2,022 | 7 | 10 | 3 | 58 | 1 | 532 | 59 | 4 | 1 | true | false | false | false | false | false | zero |
72,979,474 | Activity to ask user to choose default sms app not showing up in Android? | <p>Hello Android developers, I am trying to make my app the default sms app on my phone with the following code but its not working as it is not displaying the dialog for a user to choose which app to use as the default sms app. I am aware that as of Android 10 then we need to use the RoleManager class to check if the ... | Hello Android developers, I am trying to make my app the default sms app on my phone with the following code but its not working as it is not displaying the dialog for a user to choose which app to use as the default sms app. I am aware that as of Android 10 then we need to use the RoleManager class to check if the app... | java|android | 0 | 2022-07-14T11:05:00.257Z | 2,022 | 7 | 11 | 3 | 55 | 0 | 1,010 | 73 | 2 | 2 | true | true | false | false | false | false | zero |
72,979,545 | Why my web browser crashes on Android phone when I have a lot of <span> elements under a single parent | <p>I've built a page with a paragraph split into multiple spans (in the thousands).</p>
<p>In some Android phones (Android 12, Chrome browser), when I open the web page, the browser crashes immediately. I can't find any reference to this problem in the entire web.</p>
<p>Any help?</p> | I've built a page with a paragraph split into multiple spans (in the thousands). In some Android phones (Android 12, Chrome browser), when I open the web page, the browser crashes immediately. I can't find any reference to this problem in the entire web. Any help? | android|html|css | 0 | 2022-07-14T11:09:03.190Z | 2,022 | 7 | 11 | 3 | 33 | 1 | 264 | 102 | 3 | 0 | false | false | false | false | false | false | zero |
72,979,547 | Android open supported links defaults | <p>The question is duplicate of <a href="https://stackoverflow.com/questions/71115227/set-open-supported-links-for-android-in-react-native-app">Set "Open Supported Links" for Android in React Native app</a> and <a href="https://stackoverflow.com/questions/66647729/android-setting-the-apps-default-open-support... | The question is duplicate of Set "Open Supported Links" for Android in React Native app and Android - Setting the app's default "Open supported links" option I'm trying to have my app links opening my app by default with asking for the first time and then have to set it as always Similar to disc... | android|flutter | 1 | 2022-07-14T11:09:17.103Z | 2,022 | 7 | 11 | 3 | 40 | 0 | 747 | 37 | 2 | 1 | true | true | false | false | false | false | low |
72,979,555 | BottomNavigationView switching between activities - solutions appear deprecated? | <p>I am using a <a href="https://www.geeksforgeeks.org/how-to-implement-bottom-navigation-with-activities-in-android/" rel="nofollow noreferrer">BottomNavigationBar</a> and as per recent blogs and research, it seems the best way to flick between activities using this bar is to use the <code>setInNavigationItemSelectedL... | I am using a BottomNavigationBar and as per recent blogs and research, it seems the best way to flick between activities using this bar is to use the setInNavigationItemSelectedListener . The issue is - this is deprecated. setOnNavigationItemSelectedListener(com.google.android.material.bottomnavigation.BottomNavigation... | android|android-layout|bottomnavigationview|android-bottomnav | 0 | 2022-07-14T11:10:23.320Z | 2,022 | 7 | 11 | 3 | 32 | 1 | 660 | 80 | 4 | 0 | false | false | false | false | false | false | zero |
72,979,591 | Error Tensorflow lite model -android studio | <p>I'm trying to import a tensorflow lite model ( inception V3 model for detecting a lesions in a retinal images)
into my android studio. I've followed a tutorial . i got this erreur , i don't know how to solve it .</p>
<pre><code> java.lang.ArrayIndexOutOfBoundsException
at android.graphics.Bitmap.checkPix... | I'm trying to import a tensorflow lite model ( inception V3 model for detecting a lesions in a retinal images) into my android studio. I've followed a tutorial . i got this erreur , i don't know how to solve it . [CODE] this the image of my input here is a screen shoot of my code: Classify image: Classify image_2: Bitm... | android|tensorflow|tensorflow-lite | 0 | 2022-07-14T11:13:14.367Z | 2,022 | 7 | 11 | 3 | 54 | 0 | 329 | 43 | 3 | 1 | true | true | false | false | false | false | zero |
72,979,592 | Handle Orientation Changed on CustomView Two Way Data Binding with Live Data in ViewModel | <p>I'm now creating customview that extends to ContraintLayout with EditText as child View. I have success the Two Way Data Binding on normal case, but when I try to rotate the screen, the edittext not auto set the value from the Live Data. I thought there was a problem with 2 Way Data Binding, but when I try with norm... | I'm now creating customview that extends to ContraintLayout with EditText as child View. I have success the Two Way Data Binding on normal case, but when I try to rotate the screen, the edittext not auto set the value from the Live Data. I thought there was a problem with 2 Way Data Binding, but when I try with normal ... | android|mvvm|custom-view|two-way-binding | 0 | 2022-07-14T11:13:18.870Z | 2,022 | 7 | 11 | 3 | 28 | 1 | 611 | 89 | 4 | 4 | true | false | false | false | false | false | zero |
72,979,668 | How i remove the avatar icon from the zoom SDk when meeting is started in android application | <p>this is my code that i used this for hiding share button etc.</p>
<p>fun launchMeeting(meetingId: String, meetingPassword: String) {</p>
<pre><code> val meetingService = zoomSdk?.meetingService
meetingService?.addListener(meetingServiceListener)
zoomSdk?.meetingSettingsHelper?.isGalleryVideoViewDisabled =... | this is my code that i used this for hiding share button etc. fun launchMeeting(meetingId: String, meetingPassword: String) { [CODE] [enter image description here][1] [1]: https://i.stack.imgur.com/C83SB.jpg | android|android-studio|zoom-sdk | 0 | 2022-07-14T11:18:36.620Z | 2,022 | 7 | 11 | 3 | 44 | 0 | 207 | 93 | 3 | 1 | true | true | false | false | false | false | zero |
72,979,748 | Android- bottom Navigation bar is long | <p>bottom Navigation bar is long seems like a space is excreted, i tried to solve this problem a days.
This is the problem
: <a href="https://i.stack.imgur.com/tSeVV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tSeVV.png" alt="enter image description here" /></a></p>
<p>This is the xml code :</p>
... | bottom Navigation bar is long seems like a space is excreted, i tried to solve this problem a days. This is the problem : This is the xml code : [CODE] This is the menu xml code : [CODE] I am using coordinator layout so i think coordinator layout is the problem or might be the fragment i used. what should i do to remov... | android|xml|android-studio | 0 | 2022-07-14T11:24:44.840Z | 2,022 | 7 | 11 | 3 | 37 | 1 | 393 | 38 | 3 | 2 | true | false | false | false | false | false | zero |
72,979,750 | Last view is getting cropped in constraint layout | <p>I want to build a listview whose every item can have different height as per text content length.</p>
<p>Below is the layout of my listview item. When I tried to set lengthy content on title, the bottom textview is getting cropped, however I wanted parent constraint layout to be expanded as per the text.</p>
<p><a h... | I want to build a listview whose every item can have different height as per text content length. Below is the layout of my listview item. When I tried to set lengthy content on title, the bottom textview is getting cropped, however I wanted parent constraint layout to be expanded as per the text. Layout [CODE] | android|android-recyclerview|android-constraintlayout | 0 | 2022-07-14T11:24:54.287Z | 2,022 | 7 | 11 | 3 | 40 | 1 | 312 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
72,979,771 | USB Camera overlapping the functionality of mipi camera | <p>I have implemented the USB camera. The MIPI camera is plugged out from the hardware. When I opened the normal camera app with the USB camera is plugged in, <strong>The USB camera started showing the preview with minimum settings on the MIPI camera application.</strong> I am not able to understand how the USB camera ... | I have implemented the USB camera. The MIPI camera is plugged out from the hardware. When I opened the normal camera app with the USB camera is plugged in, The USB camera started showing the preview with minimum settings on the MIPI camera application. I am not able to understand how the USB camera started in normal ca... | android|camera|usb|android-camera|hal | 0 | 2022-07-14T11:26:57.653Z | 2,022 | 7 | 11 | 3 | 34 | 0 | 615 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
72,979,843 | Remove edge animation in HorizontalPager | <p>I am using <a href="https://google.github.io/accompanist/pager/#horizontalpager" rel="nofollow noreferrer">HorizontalPager</a> from the Accompanist package and I would like to disable/remove the edge animation. Is it possible?</p>
<p>I am building an infinite scroller with just 5 pages. And it is possible to scroll ... | I am using HorizontalPager from the Accompanist package and I would like to disable/remove the edge animation. Is it possible? I am building an infinite scroller with just 5 pages. And it is possible to scroll to the first or to the last page before my app recreates the set of pages. The pager uses an animation to noti... | android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-07-14T11:34:24.970Z | 2,022 | 7 | 11 | 3 | 70 | 1 | 392 | 40 | 2 | 0 | false | false | false | false | false | false | zero |
72,979,907 | I use Google Analytics in Flutter already, how can I also send events to it from native iOS/Android code? | <p>I use firebase for flutter, where all the dependencies are on pubspec.yaml
I would like to send an event to Firebase Analytics for some activities on the native side - Home screen widget, notification received, etc.</p>
<p>Is it possible?
FirebaseAnalytics class is not recognized on Android and if I add it to gradle... | I use firebase for flutter, where all the dependencies are on pubspec.yaml I would like to send an event to Firebase Analytics for some activities on the native side - Home screen widget, notification received, etc. Is it possible? FirebaseAnalytics class is not recognized on Android and if I add it to gradle, it might... | android|ios|flutter|google-analytics|firebase-analytics | 7 | 2022-07-14T11:40:31.597Z | 2,022 | 7 | 11 | 3 | 173 | 1 | 342 | 105 | 5 | 0 | false | false | false | false | false | false | medium |
72,979,912 | Error inflating class <unknown> is pointing to the custom adapter class | <p><a href="https://i.stack.imgur.com/OILic.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OILic.png" alt="enter image description here" /></a><a href="https://i.stack.imgur.com/7pP34.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7pP34.jpg" alt="enter image description here" /><... | This happened when I changed my button into a material button and provided overridden style as a background This is the error pointing field: [CODE] This is the error [CODE] | java|android-recyclerview|android-adapter|layout-inflater | 0 | 2022-07-14T11:40:48.260Z | 2,022 | 7 | 11 | 3 | 25 | 1 | 173 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
72,979,969 | Detect "Windows" key of qwerty keyboard in Android | <p>In my current code, I am attaching the qwerty keyboard and detecting the key events in android code.
Now, the issue is that, I cannot able to detect the "Windows" (some says "Search") key. Whenever I press "Windows" key at that time no log found in dispatchKeyEvent. How can I able to de... | In my current code, I am attaching the qwerty keyboard and detecting the key events in android code. Now, the issue is that, I cannot able to detect the "Windows" (some says "Search") key. Whenever I press "Windows" key at that time no log found in dispatchKeyEvent. How can I able to detec... | android|android-studio|android-hardware|hardware-interface|qwerty | 1 | 2022-07-14T11:45:37.250Z | 2,022 | 7 | 11 | 3 | 33 | 0 | 325 | 50 | 5 | 0 | false | true | false | false | false | false | low |
72,979,992 | How do I resolve the error Invalid file name: It must contain only [^a-zA-Z0-9_.]+ | <p>I'm implementing google OAUTH for a Xamarin application I have downloaded the google-services.json and placed it in Solutionname.Android in visual studio solution, when I click on the file google-services.json in properties under Build Action i do not see the option GoogleServicesJson, I believe I need to Rebuild t... | I'm implementing google OAUTH for a Xamarin application I have downloaded the google-services.json and placed it in Solutionname.Android in visual studio solution, when I click on the file google-services.json in properties under Build Action i do not see the option GoogleServicesJson, I believe I need to Rebuild the s... | xamarin|xamarin.forms|xamarin.android|cross-platform | 0 | 2022-07-14T11:47:33.197Z | 2,022 | 7 | 11 | 3 | 45 | 1 | 579 | 82 | 4 | 0 | false | false | false | false | false | false | zero |
72,980,033 | The Label and Entry tags don´t work for my android mobile app | <p>I'm developing my first android mobile app using C# on Visual Studio 2022 with Xamarin. I followed all steps for the configuration.</p>
<p>My problem is that I'm trying to do a Qr lector, but the <code>Entry</code> and <code>Label</code> tag do not show any message, not even the <code>Placeholder</code> of <code>Ent... | I'm developing my first android mobile app using C# on Visual Studio 2022 with Xamarin. I followed all steps for the configuration. My problem is that I'm trying to do a Qr lector, but the Entry and Label tag do not show any message, not even the Placeholder of Entry or the Text of the Label tags. It's just showing the... | c#|android|xamarin.forms|xamarin.android | 0 | 2022-07-14T11:51:17.853Z | 2,022 | 7 | 11 | 3 | 37 | 0 | 952 | 61 | 4 | 3 | true | true | false | false | false | false | zero |
72,980,137 | Firebase Messaging component is not present - android studio | <p>Caused by: java.lang.NullPointerException: Firebase Messaging component is not present at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gms:play-services-basement@@18.0.0:2) at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:158) at com.google... | Caused by: java.lang.NullPointerException: Firebase Messaging component is not present at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gms:play-services-basement@@18.0.0:2) at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:158) at com.google.fi... | android-studio|firebase-cloud-messaging | 0 | 2022-07-14T11:59:53.877Z | 2,022 | 7 | 11 | 3 | 90 | 0 | 932 | 60 | 2 | 0 | false | true | false | false | false | false | zero |
72,980,157 | How to do -On Button click of a webview which is inside android app , a specific app screen opens? | <p>I have some webview in my android app. So on click of a button inside webview, need to open a specific app screen using deeplink. How to do that?</p> | I have some webview in my android app. So on click of a button inside webview, need to open a specific app screen using deeplink. How to do that? | android|android-webview|deep-linking | 0 | 2022-07-14T12:01:21.533Z | 2,022 | 7 | 12 | 3 | 25 | 1 | 145 | 98 | 3 | 0 | false | false | false | false | false | false | zero |
72,980,220 | How to mock menuitem where menu icon is null? | <p>I have to following menu below</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menu_add"
... | I have to following menu below [CODE] But I want to create a test where icon is null and run it . Any idea how to mock the menu item without icon? | android|testing|menu | 0 | 2022-07-14T12:06:27.203Z | 2,022 | 7 | 12 | 3 | 16 | 0 | 146 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
72,980,237 | Xamarin android Worker | <p>I have old xamarin android jobintentservice I'm replacing to support android 12.0.</p>
<p>I now inherit Worker instead of JobIntentService, and use WorkManager to enqueue its job.</p>
<p>Couple of questions:</p>
<ol>
<li>Is there a way use await inside DoWork override method?</li>
<li>Is it better to inherit Listena... | I have old xamarin android jobintentservice I'm replacing to support android 12.0. I now inherit Worker instead of JobIntentService, and use WorkManager to enqueue its job. Couple of questions: Is there a way use await inside DoWork override method? Is it better to inherit ListenableWorker instead in order to use await... | xamarin.forms|xamarin.android | 0 | 2022-07-14T12:07:30.147Z | 2,022 | 7 | 12 | 3 | 73 | 1 | 565 | 22 | 2 | 0 | false | false | false | false | false | false | zero |
72,980,284 | How do I set CountDownTimer to be 10 minutes? | <pre><code>new CountDownTimer(1000000, 1000) {
public void onTick(long millisUntilFinished) {
// Used for formatting digit to be in 2 digits only
NumberFormat f = new DecimalFormat("00");
long min = (millisUntilFinished / 60000) % 60;
... | [CODE] I am supposed to delete a OTP after the timer runs out which in this case is 10 minutes. I am not sure how to set the timer to 10 minutes. | android|android-studio | 0 | 2022-07-14T12:11:08.573Z | 2,022 | 7 | 12 | 3 | 41 | 2 | 145 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
72,980,330 | overlay colors on the view | <p>I am facing a specific issue of view background overlay. I did simple example project to show my problem
i have 2 view with the same size. Also both view have background - GradientDrawable with corner radius.
xml</p>
<pre><code><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmln... | I am facing a specific issue of view background overlay. I did simple example project to show my problem i have 2 view with the same size. Also both view have background - GradientDrawable with corner radius. xml [CODE] And my mainActivity [CODE] what i see full screen full screen also there are transitions between col... | android|kotlin|background|overlay | 0 | 2022-07-14T12:14:50.280Z | 2,022 | 7 | 12 | 3 | 32 | 1 | 789 | 26 | 4 | 2 | true | false | false | false | false | false | zero |
72,980,351 | How can pass data from recyclerview to New Activity | <p>hi i want parse my data in to new activity .
I did this but it doesn't work properly and it doesn't transfer data
You can see my code below</p>
<p>my adapter
ItemViewAdapter.kt</p>
<pre><code> package com.example.app.adapter
import android.content.Context
import android.content.Intent
import android.view.LayoutI... | hi i want parse my data in to new activity . I did this but it doesn't work properly and it doesn't transfer data You can see my code below my adapter ItemViewAdapter.kt [CODE] and my description activity Description.kt [CODE] But the data is not transferred. If anyone can help me improve the code or offer me a sample ... | android|kotlin|android-recyclerview | 0 | 2022-07-14T12:16:16.340Z | 2,022 | 7 | 12 | 3 | 47 | 2 | 352 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
72,980,383 | I am converting a python/kivy project to apk in google colab and some extension are not working so what extension I should use for audio/font file? | <p>I use jpg file for image but when I run my app in phone it won't open but it works for PNG file.
And also for audio file I use mp3, OGG file my app won't open but when I use wav file my app works but the sound doesn't come.
And for font file, both TTF and OTF extension won't work i.e. my app won't work</p> | I use jpg file for image but when I run my app in phone it won't open but it works for PNG file. And also for audio file I use mp3, OGG file my app won't open but when I use wav file my app works but the sound doesn't come. And for font file, both TTF and OTF extension won't work i.e. my app won't work | python|android|kivy|google-colaboratory|extension-methods | 0 | 2022-07-14T12:19:24.493Z | 2,022 | 7 | 12 | 3 | 27 | 1 | 303 | 147 | 5 | 0 | false | false | false | false | false | false | zero |
72,980,399 | Implementing auto fling at an interval on a Recycler View in android | <p>I have a recycler view with the following attributes in the xml file. <BR>
NOTE : I AM DISPLAYING ONLY ONE ITEM OF AT A TIME ON THE SCREEN FOR THIS RECYCLER VIEW.</p>
<pre><code><MyCustomRecyclerView
android:id="@+id/my_rv"
android:layout_width="match_parent"
... | I have a recycler view with the following attributes in the xml file. NOTE : I AM DISPLAYING ONLY ONE ITEM OF AT A TIME ON THE SCREEN FOR THIS RECYCLER VIEW. [CODE] And I am using a PagerSnapHelper to move to the position left or right based on the center of the view on the screen. [CODE] It's working fine for a manual... | android|android-recyclerview|scroll|infinite-scroll|pagersnaphelper | 0 | 2022-07-14T12:20:27.787Z | 2,022 | 7 | 12 | 3 | 27 | 1 | 961 | 68 | 5 | 4 | true | false | false | false | false | false | zero |
72,980,543 | How can I set values of switcher in all fragments of a viewpager, by changes one switch in MainActivity | <p>I am developing one android application and it has a tab layout with ViewPager setup. I have totally 8 fragments in the viewpager. Each Fragment holding an RecyclerView. The recyclerview row has one text one switcher and one icon for rename text.</p>
<p>Whenever the activity started it loads 8 fragments with recycle... | I am developing one android application and it has a tab layout with ViewPager setup. I have totally 8 fragments in the viewpager. Each Fragment holding an RecyclerView. The recyclerview row has one text one switcher and one icon for rename text. Whenever the activity started it loads 8 fragments with recyclerview data... | android-fragments|android-recyclerview|android-viewpager|android-tablayout|imageswitcher | 0 | 2022-07-14T12:30:13.643Z | 2,022 | 7 | 12 | 3 | 13 | 0 | 521 | 103 | 5 | 0 | false | true | false | false | false | false | zero |
72,980,549 | Showcase view not showing above the Dialog in Android | <p>I am developing an app and I need to show showcase view on several case. In activity it is working fine. I have a dialog showing some recycler view data. In that dialog I need to show showcase overlay in first item of recycler view. I tried several libraries but none of them showing the showcase overlay above the di... | I am developing an app and I need to show showcase view on several case. In activity it is working fine. I have a dialog showing some recycler view data. In that dialog I need to show showcase overlay in first item of recycler view. I tried several libraries but none of them showing the showcase overlay above the dialo... | java|android|android-activity|dialog|showcaseview | 0 | 2022-07-14T12:30:43.603Z | 2,022 | 7 | 12 | 3 | 32 | 0 | 467 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
72,980,593 | In this code i am getting an error 'The operator '[]' isn't defined for the type 'Object'.' | <pre><code> final messages1 = snapshot.data?.docs;
_markers.clear();
no_of_coordinates = 0;
_initialPosition = CameraPosition(target: LatLng(plat, plong), zoom : 15.5);
for (var message in messages1!) {
double distanceInKMeters = getD... | [CODE] on the double distanceInKMeters variable earlier i was getting an error regarding null seafty, after fixing that error I am getting an error that The operator '[]' isn't defined for the type 'Object'. | flutter|android-studio|dart|flutter-dependencies|dart-pub | 1 | 2022-07-14T12:34:22.893Z | 2,022 | 7 | 12 | 3 | 24 | 1 | 207 | 91 | 5 | 1 | true | false | false | false | false | false | low |
72,980,614 | Why is READ_EXTERNAL_STORAGE permission request not needed to read file from gallery? | <p>I want to take a picture from the gallery and in API above 24, I can take pictures from the gallery without any permission.
why?</p>
<p>I use this code for taking pictures from gallery:</p>
<pre><code>val intent =
Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI)
ge... | I want to take a picture from the gallery and in API above 24, I can take pictures from the gallery without any permission. why? I use this code for taking pictures from gallery: [CODE] and this for activity result [CODE] | java|android|kotlin|permissions | 0 | 2022-07-14T12:35:45.077Z | 2,022 | 7 | 12 | 3 | 31 | 0 | 221 | 85 | 4 | 2 | true | true | false | false | false | false | zero |
72,980,639 | Large Flatlist with PanGestureHandler and useAnimatedReaction - ANR | <p>A react-native application must have a list of orders where each order has to have the ability to have fast actions.
Everything is working smoothly when there are less than 100 items. Currently, there are 164 items, and when the user is scrolling fast, it renders slow (that is OK), but sometimes the app crashes.
Eve... | A react-native application must have a list of orders where each order has to have the ability to have fast actions. Everything is working smoothly when there are less than 100 items. Currently, there are 164 items, and when the user is scrolling fast, it renders slow (that is OK), but sometimes the app crashes. Every ... | android|react-native|crash|react-native-reanimated-v2 | 0 | 2022-07-14T12:37:36.367Z | 2,022 | 7 | 12 | 3 | 58 | 0 | 5,601 | 67 | 4 | 2 | true | true | false | false | false | false | zero |
72,980,644 | facing issues to start appium inspector session getting error - /wd/hub/session 500 | <p>1.I am stuck in installing .apk file in virtual device of android studio
2.I did set desired capabilities in inspector session and while start session facing some errors again and again</p> | 1.I am stuck in installing .apk file in virtual device of android studio 2.I did set desired capabilities in inspector session and while start session facing some errors again and again | android-studio|session|appium|inspector|appium-desktop | 0 | 2022-07-14T12:37:56.080Z | 2,022 | 7 | 12 | 3 | 112 | 0 | 185 | 83 | 5 | 0 | false | true | false | false | false | false | zero |
72,980,650 | SOLVED How to trigger animation on widget rebuild? | <p>I will describe what my app is doing, what I am trying to achieve, and what I've tried - in this order.</p>
<p>I have an application, where one of the screens, let's call it <code>FooScreen</code>, contains a few widgets, but mainly it displays an image. Users can tap a button to display the following image. This fu... | I will describe what my app is doing, what I am trying to achieve, and what I've tried - in this order. I have an application, where one of the screens, let's call it FooScreen , contains a few widgets, but mainly it displays an image. Users can tap a button to display the following image. This functionality of changin... | android|ios|flutter|dart | 0 | 2022-07-14T12:38:29.313Z | 2,022 | 7 | 12 | 3 | 50 | 1 | 1,144 | 50 | 4 | 4 | true | false | false | false | false | false | zero |
72,980,694 | YouTube player implementation | <pre><code> package com.example.stm;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import com.google.android.youtube.player.YouTubeInitializationResult;
import com.google.android.youtube.play... | [CODE] Hello guys! I`m trying to build in youtube player in my app. This is my code. When i press button to start activity, it starts, but then stops and returns back to parent activity. Please help to find out what is wrong. Thank you. | android|youtube-api | -1 | 2022-07-14T12:41:54.353Z | 2,022 | 7 | 12 | 3 | 26 | 1 | 236 | 29 | 2 | 1 | true | false | false | false | false | true | negative |
72,980,719 | Appium Inspector is able to detect a locator but Robot framework is throwing error while detecting locator | <p>I'm developing a Mobile automation test case using appium library in robot framework.
I use appium inspector to locate the xpath nd attributes.</p>
<p>I tried to locate following xpath in appium inspector</p>
<pre><code>//android.widget.TextView[contains(@text,"Ice cream")]/..//android.view.ViewGroup[conta... | I'm developing a Mobile automation test case using appium library in robot framework. I use appium inspector to locate the xpath nd attributes. I tried to locate following xpath in appium inspector [CODE] In inspector, i am able to locate element but while running test, it says no element found My requirement- I have a... | testing|automation|appium|robotframework|appium-android | 0 | 2022-07-14T12:43:18.143Z | 2,022 | 7 | 12 | 3 | 25 | 0 | 555 | 106 | 5 | 1 | true | true | false | false | false | false | zero |
72,980,730 | How to handle state of individual items in AnimatedList by cubit | <p>A few days I have problem to complete idea about how should this work.</p>
<p>I want to manage state of each model (item in AnimatedList) by its ListItemCubit. Whole list has its own cubit - ConstructionLogsCubit. It's responsible for loading items, show circular indicator, when they are loading and adding item, whe... | A few days I have problem to complete idea about how should this work. I want to manage state of each model (item in AnimatedList) by its ListItemCubit. Whole list has its own cubit - ConstructionLogsCubit. It's responsible for loading items, show circular indicator, when they are loading and adding item, when create f... | android|flutter|bloc|cubit|flutter-animatedlist | 0 | 2022-07-14T12:44:09.207Z | 2,022 | 7 | 12 | 3 | 154 | 0 | 1,934 | 64 | 5 | 5 | true | true | false | false | false | false | zero |
72,980,735 | How to execute MITM attack on an android phone when there are some unknown protection? | <p>I've got some difficulties trying to execute "Man in the Middle" attack on my experimental subject: <a href="https://tiktok.en.uptodown.com/android" rel="nofollow noreferrer">https://tiktok.en.uptodown.com/android</a></p>
<p>I have setup proxy on my PC which I pass my phone's traffic through. Of course I'v... | I've got some difficulties trying to execute "Man in the Middle" attack on my experimental subject: https://tiktok.en.uptodown.com/android I have setup proxy on my PC which I pass my phone's traffic through. Of course I've had installed certificate of this proxy on my rooted phone as system one, and I have ss... | android|ssl|proxy|reverse-engineering|frida | 0 | 2022-07-14T12:44:35.397Z | 2,022 | 7 | 12 | 3 | 320 | 1 | 1,899 | 86 | 5 | 1 | true | false | false | false | false | false | zero |
72,980,789 | Having the problem java.lang.IllegalArgumentException: Path must not be empty" in Picasso | <p>My code where it says error:</p>
<pre><code>// get user profile from memory
getUserMobile = MemoryData.getData(Chat.this);
nameTV.setText(getName);
Picasso.get().load(getProfilePic).into(profilePic);
if (chatKey.isEmpty()){
databaseReference.addListenerForSingleValueEve... | My code where it says error: [CODE] I am getting the error: [CODE] It is saying the error is in line 49 which is Picasso.get().load(getProfilePic).into(profilePic); and it is pointing me at the beginning of the word "load". Now I don't see any path empty here. This works for older mobile apis but this is not ... | android-studio|picasso | 0 | 2022-07-14T12:48:49.330Z | 2,022 | 7 | 12 | 3 | 49 | 0 | 378 | 89 | 2 | 2 | true | true | false | false | false | false | zero |
72,980,801 | NoClassDefFoundError for Enum on (Android) API level 28 | <p>When I'm trying to start my Android application I get the following error in the console at runtime:</p>
<pre><code> Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/example/other/API;
at com.example.service.api.components.impl.FetchAccountService.<init>(FetchAccountService.java:16)... | When I'm trying to start my Android application I get the following error in the console at runtime: [CODE] The class, which can't be found by the compiler is this Enum: [CODE] My App specifications are the following: minSdk 24 targetSdk 31 Java 11 I will be adding any missing information up on request :) I've already ... | java|android|gradle|enums|classnotfoundexception | 0 | 2022-07-14T12:49:22.883Z | 2,022 | 7 | 12 | 3 | 32 | 0 | 531 | 55 | 5 | 2 | true | true | false | false | false | false | zero |
72,980,804 | Items in RecyclerView are different with ViewBinding | <p>When i make Adapter in regular way, with findViewById it looks ok: <a href="https://i.stack.imgur.com/oj8A8.png" rel="nofollow noreferrer">like this</a>, but when i do it with view binding looks like this <a href="https://i.stack.imgur.com/zzIzD.png" rel="nofollow noreferrer">2</a></p>
<p>Adapter with ViewBinding:</... | When i make Adapter in regular way, with findViewById it looks ok: like this , but when i do it with view binding looks like this 2 Adapter with ViewBinding: [CODE] | android|android-recyclerview|android-adapter|android-viewbinding | 0 | 2022-07-14T12:49:35.367Z | 2,022 | 7 | 12 | 3 | 38 | 1 | 164 | 52 | 4 | 1 | true | false | false | false | false | false | zero |
72,980,843 | Build failed on Android app with react native 0.69.1 - Execution failed for task ':app:compileReleaseJavaWithJavac' | <p>Since I upgraded to the rn latest version, I am getting the following error.</p>
<blockquote>
<p>Task :app:compileReleaseJavaWithJavac FAILED
/Users/runner/work/1/s/android/app/src/main/java/com/app/MainActivity.java:24:
error: class, interface, or enum expected protected
ReactActivityDelegate createReactActivityD... | Since I upgraded to the rn latest version, I am getting the following error. Task :app:compileReleaseJavaWithJavac FAILED /Users/runner/work/1/s/android/app/src/main/java/com/app/MainActivity.java:24: error: class, interface, or enum expected protected ReactActivityDelegate createReactActivityDelegate() { ^ /Users/runn... | android|react-native | 0 | 2022-07-14T12:52:34.657Z | 2,022 | 7 | 12 | 3 | 203 | 0 | 617 | 115 | 2 | 1 | true | true | false | false | false | false | zero |
72,980,905 | How can I transfer data between two SDK's in the same app in Android? | <p>Since <a href="https://developer.android.com/reference/androidx/localbroadcastmanager/content/LocalBroadcastManager" rel="nofollow noreferrer">localBroadcastManager</a> is deprecated what can I use instead?
I couldn't find something general that I could register to and use the filter as used to with IntentFilter.</p... | Since localBroadcastManager is deprecated what can I use instead? I couldn't find something general that I could register to and use the filter as used to with IntentFilter. I read about SharedFlow and don't think it suits my needs. I need a way to listen to events but I can know the Coroutine class created for that fo... | android|kotlin-coroutines|deprecated|localbroadcastmanager | 0 | 2022-07-14T12:56:37.487Z | 2,022 | 7 | 12 | 3 | 37 | 0 | 330 | 69 | 4 | 0 | false | true | false | false | false | false | zero |
72,980,925 | Speech Recognizer on Android 5.1 (No Activity found to handle Intent act=android.speech.action.RECOGNIZE_SPEECH) | <p>I am working on speechRecognizer application , this code works fine for android version >6,but my requirement is to work with android 5.1 , here after starting Listener it wont enter any of the methods of listener..</p>
<pre><code> speechRecognizer = SpeechRecognizer.createSpeechRecognizer(this);
s... | I am working on speechRecognizer application , this code works fine for android version >6,but my requirement is to work with android 5.1 , here after starting Listener it wont enter any of the methods of listener.. [CODE] unable to resolve the issue tried the following [CODE] The Exception is :No Activity found to han... | java|android|android-studio|speech-recognition | 0 | 2022-07-14T12:58:32.513Z | 2,022 | 7 | 12 | 3 | 30 | 0 | 522 | 112 | 4 | 3 | true | true | false | false | false | false | zero |
72,981,060 | GoogleSignInAccount return null when use app Bundle in Google play | <p>I want to use Google login in my application
When I get the APK output, there is no problem and the program works easily
But when I load the program with the bundle output on the Google console, after installing and logging in and selecting the Google account, it returns a null output.
I did not use Proguard either<... | I want to use Google login in my application When I get the APK output, there is no problem and the program works easily But when I load the program with the bundle output on the Google console, after installing and logging in and selecting the Google account, it returns a null output. I did not use Proguard either [CO... | android|authentication|googlesigninaccount | 0 | 2022-07-14T13:09:17.690Z | 2,022 | 7 | 13 | 3 | 21 | 1 | 382 | 66 | 3 | 2 | true | false | false | false | false | false | zero |
72,981,139 | Android Studio not found - "flutter config --android-studio-dir" doesn't work either | <p>I have recently tried using Flutter on my laptop as well as on my main PC. On my PC, it works flawlessly, but on my laptop it doesn't work, because "flutter doctor" can't locate Android Studio.</p>
<p>I'm using Windows 10.</p>
<p>I have tried many of the different solutions online, but none of them worked ... | I have recently tried using Flutter on my laptop as well as on my main PC. On my PC, it works flawlessly, but on my laptop it doesn't work, because "flutter doctor" can't locate Android Studio. I'm using Windows 10. I have tried many of the different solutions online, but none of them worked (e.g. "flutt... | android|flutter|android-studio | 0 | 2022-07-14T13:15:07.640Z | 2,022 | 7 | 13 | 3 | 45 | 0 | 2,398 | 84 | 3 | 0 | false | true | false | false | false | false | zero |
72,981,172 | Exoplayer should play video with specfic or low video quality | <p>I want my exoplayer to play low quality video around 360p. What parameter I have to set in trackselector.</p> | I want my exoplayer to play low quality video around 360p. What parameter I have to set in trackselector. | android|video|exoplayer | 0 | 2022-07-14T13:17:10.740Z | 2,022 | 7 | 13 | 3 | 39 | 1 | 105 | 61 | 3 | 0 | false | false | false | false | false | false | zero |
72,981,217 | Sending bytes to bluetooth device | <p>I'm using the flutter package flutter_reactive_ble to communicate with a ble device and for now I'm able to scan for it, and connect to it. I managed to create some methods to convert and send bytes but for some reason I'm not getting the expected response from the device. I know there is not much documentation and ... | I'm using the flutter package flutter_reactive_ble to communicate with a ble device and for now I'm able to scan for it, and connect to it. I managed to create some methods to convert and send bytes but for some reason I'm not getting the expected response from the device. I know there is not much documentation and the... | android|flutter|dart|bluetooth-lowenergy | 0 | 2022-07-14T13:20:08.517Z | 2,022 | 7 | 13 | 3 | 59 | 0 | 1,195 | 33 | 4 | 5 | true | true | false | false | false | false | zero |
72,981,399 | Is CMake part of Android Studio? | <p>Is CMake part of Android Studio? When I tried to do a Gradle Sync in Android Studio, I got an error that the CMake is too early a version and I need to update it. But I get this error even if I uninstall CMake. This tells me that CMake must be embedded somehow in Android Studio. So, how can I fix this? Please help.<... | Is CMake part of Android Studio? When I tried to do a Gradle Sync in Android Studio, I got an error that the CMake is too early a version and I need to update it. But I get this error even if I uninstall CMake. This tells me that CMake must be embedded somehow in Android Studio. So, how can I fix this? Please help. Thi... | android|android-studio|cmake | 0 | 2022-07-14T13:32:19.570Z | 2,022 | 7 | 13 | 3 | 24 | 1 | 642 | 32 | 3 | 0 | false | false | false | false | false | false | zero |
72,981,471 | How to specify the account where to save the events go the android calendar | <p>I would like to know how I can specify the account to which the events are saved?</p>
<p>I know that they can be inserted (below)</p>
<pre><code> val calID: Long = 3
val startMillis: Long = Calendar.getInstance().run {
set(2012, 9, 14, 7, 30)
timeInMillis
}
val endMillis: Long = Calendar.getInstance().run {
... | I would like to know how I can specify the account to which the events are saved? I know that they can be inserted (below) [CODE] But I need to show the user options in case they want to save it in another account. | android|calendar | 0 | 2022-07-14T13:37:50.647Z | 2,022 | 7 | 13 | 3 | 11 | 0 | 214 | 75 | 2 | 1 | true | true | false | false | false | false | zero |
72,981,486 | Meteor on Ubuntu WSL: PANIC: Missing emulator engine program for 'x86' CPU | <p>On my Ubuntu/WSL installation I'm getting the following error when running <code>meteor run android-device</code>:</p>
<pre><code>PANIC: Missing emulator engine program for 'x86' CPU.
</code></pre>
<p>How do I resolve this missing emulator issue?</p>
<p>I have checked my paths and these seem to be ok:</p>
<pre><code... | On my Ubuntu/WSL installation I'm getting the following error when running meteor run android-device : [CODE] How do I resolve this missing emulator issue? I have checked my paths and these seem to be ok: [CODE] I can also check that I have an emulator installed: [CODE] Android Studio Version: [CODE] | android-studio|meteor | 1 | 2022-07-14T13:38:45.293Z | 2,022 | 7 | 13 | 3 | 27 | 1 | 301 | 74 | 2 | 4 | true | false | false | false | false | false | low |
72,981,592 | How to change TextView fontSize of one activity through another activity? | <p>So I have two activities and in the second one there is a edittext and a button. When you type in some number/s in the edittext and when you press the button it should change the fontsize of all the textviews in the first activity corresponding to the number/s you type in. I did in a certain way but my mentor said i... | So I have two activities and in the second one there is a edittext and a button. When you type in some number/s in the edittext and when you press the button it should change the fontsize of all the textviews in the first activity corresponding to the number/s you type in. I did in a certain way but my mentor said it s... | java|android|android-studio|textview|android-edittext | 0 | 2022-07-14T13:47:20.757Z | 2,022 | 7 | 13 | 3 | 38 | 2 | 463 | 73 | 5 | 1 | true | false | false | false | false | false | zero |
72,981,626 | How to do event handling for android and iOS in react native's new architecture for fabric components? | <p>I am trying to create a <code>Fabric</code> component. I have got it working for the most part. The only issue I am facing is I am not able to get click listener to work for a <code>fabric</code> component.</p>
<p>I created a spec file</p>
<pre><code>import type {HostComponent, ViewProps} from 'react-native';
import... | I am trying to create a Fabric component. I have got it working for the most part. The only issue I am facing is I am not able to get click listener to work for a fabric component. I created a spec file [CODE] For android my fabric component looks like as follows [CODE] Not sure what to pass first param as int , canCoa... | java|android|ios|react-native|objective-c++ | 3 | 2022-07-14T13:49:51.357Z | 2,022 | 7 | 13 | 3 | 281 | 1 | 933 | 102 | 5 | 4 | true | false | false | false | false | false | low |
72,981,659 | How can I repeat textview in tablerow with for iteration? | <p>I want to make the textview column in tablerow iterated because I want to make table column dynamically based on data in database. I know how to make it with php, but in android, its so confusing for me that is a beginner. here's my code:</p>
<pre class="lang-xml prettyprint-override"><code><TableLayout
andro... | I want to make the textview column in tablerow iterated because I want to make table column dynamically based on data in database. I know how to make it with php, but in android, its so confusing for me that is a beginner. here's my code: [CODE] I want the textview with kriteriab id iterated dynamically. I hope there i... | java|android|textview|tablelayout | 0 | 2022-07-14T13:52:17.387Z | 2,022 | 7 | 13 | 3 | 33 | 0 | 378 | 57 | 4 | 1 | true | true | false | false | false | false | zero |
72,981,715 | alert funtion to display mesage and start intent | <blockquote>
<p>function alerta() by android with params: string, intent, int --- string for message, intent can be null and accion can be 1 to start intent. function to display an alert message.</p>
</blockquote>
<pre><code>public void alerta(String mensaje,Intent intent,int accion){
AlertDialog alertDialog = new
Al... | function alerta() by android with params: string, intent, int --- string for message, intent can be null and accion can be 1 to start intent. function to display an alert message. [CODE] | android|function|alert | -1 | 2022-07-14T13:56:05.223Z | 2,022 | 7 | 13 | 3 | 19 | 1 | 186 | 48 | 3 | 1 | true | false | false | false | false | true | negative |
72,981,927 | Coil image caching not working with Jetpack Compose | <p>I am using <a href="https://coil-kt.github.io/coil/compose/#jetpack-compose" rel="nofollow noreferrer">coil(version 2.1.0)</a> to load images from URL. When there is network connection, the images are loading fine. However, when there is no network connection, the images are not being pulled from the cache as I expe... | I am using coil(version 2.1.0) to load images from URL. When there is network connection, the images are loading fine. However, when there is no network connection, the images are not being pulled from the cache as I expected them. Here's a block of code I have. [CODE] In Compose: [CODE] When the device is offline, it ... | android|android-jetpack-compose|coil|jetpack-compose-accompanist | 0 | 2022-07-14T14:10:30.177Z | 2,022 | 7 | 14 | 3 | 310 | 2 | 421 | 51 | 4 | 2 | true | false | false | false | false | false | zero |
72,982,016 | Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE although I'm not using any pendingIntent in application | <p>I have already found similar answers for this but nothing work with my problem as I am getting this exception as-</p>
<blockquote>
<p>Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FL... | I have already found similar answers for this but nothing work with my problem as I am getting this exception as- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some func... | android|firebase|rest|android-studio|android-pendingintent | 4 | 2022-07-14T14:16:29.270Z | 2,022 | 7 | 14 | 3 | 1,118 | 2 | 763 | 143 | 5 | 1 | true | 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.