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,688,062 | Access to tests between modules | <p>When trying to add import from child module to test in <code>commonTest</code> dependency cannot be found.</p>
<p>Example. Module <code>base</code> has class <code>BaseTest</code> in <code>commonTest</code> . Module <code>shared</code> has dependency to <code>base</code> in gradle inside of <code>commonMain</code> s... | When trying to add import from child module to test in commonTest dependency cannot be found. Example. Module base has class BaseTest in commonTest . Module shared has dependency to base in gradle inside of commonMain sourceSet. Module share has class Test in commonTest . When trying to import BaseTest dependency canno... | android|gradle|testing | 1 | 2022-09-12T10:46:37.243Z | 2,022 | 9 | 10 | 0 | 14 | 0 | 405 | 31 | 3 | 2 | true | true | false | false | false | false | low |
73,688,127 | How to reset remembered mutable state in composable? | <p>I used this <a href="https://stackoverflow.com/a/73333356/8707673">example from here</a>:</p>
<pre><code>@Composable
private fun TimedLayout() {
var show by remember { mutableStateOf(true) }
LaunchedEffect(key1 = Unit){
delay(5000)
show = false
}
Column(modifier=Modifier.fillMaxSize(... | I used this example from here : [CODE] That works in my case fine for the first time. When I immediately call TimedLayout() again after the Text() disappeared, the remembered show flag remains false and no Text is showing up. How can I start the composable with a fresh show as true ? How can I solve this otherwise? | android-jetpack-compose|android-jetpack|android-compose-textfield | 1 | 2022-09-12T10:52:09.323Z | 2,022 | 9 | 10 | 0 | 61 | 2 | 316 | 52 | 3 | 1 | true | false | false | false | false | false | low |
73,688,160 | What does the parameter [CII[CIII in indexOf() method signify? I am using the the following non-SDK interfaces Ljava/lang/String;->indexOf([CII[CIII)I | <p>I have a Android project which is using indexOf().
Then while surfing through Android developers forum, I came across the restricted API that is blocked in API level 28.</p>
<p>So can anyone help me out in briefing what is the full meaning of this
API "Ljava/lang/String;->indexOf([CII[CIII)I" being bloc... | I have a Android project which is using indexOf(). Then while surfing through Android developers forum, I came across the restricted API that is blocked in API level 28. So can anyone help me out in briefing what is the full meaning of this API "Ljava/lang/String;->indexOf([CII[CIII)I" being blocked and what ... | java|android|android-studio | 0 | 2022-09-12T10:54:28.150Z | 2,022 | 9 | 10 | 0 | 33 | 1 | 466 | 150 | 3 | 0 | false | false | false | false | false | false | zero |
73,688,162 | Bring polyline above cluster icon in android? | <p>I have 12k markers on the map and some polylines. Polylines show under the cluster icon. I want to display polyline above the cluster icon and also above the markers.</p> | I have 12k markers on the map and some polylines. Polylines show under the cluster icon. I want to display polyline above the cluster icon and also above the markers. | android | 0 | 2022-09-12T10:54:31.450Z | 2,022 | 9 | 10 | 0 | 9 | 0 | 166 | 45 | 1 | 0 | false | true | false | false | false | false | zero |
73,688,335 | Restricting user to MultiSelect <=5 items only in cardview android | <p>Here is the code for Adapter. Cards change color on selection. I want the user to select <= 5 cards only. How can I restrict? The user should not be allowed to select more than 5 cards.</p>
<pre><code> @Override
public void onBindViewHolder(final OptionsViewHolder holder, int position) {
final OptionModel o... | Here is the code for Adapter. Cards change color on selection. I want the user to select <= 5 cards only. How can I restrict? The user should not be allowed to select more than 5 cards. [CODE] Updated code [CODE] | java|android|android-recyclerview|android-cardview | 1 | 2022-09-12T11:09:22.357Z | 2,022 | 9 | 11 | 0 | 42 | 1 | 212 | 66 | 4 | 2 | true | false | false | false | false | false | low |
73,688,368 | Is there a way to remote control for kiosk mode on android? | <p>I have an unity application. Which needed to be in kiosk mode for some android loaner devices/phones. I should able to enable/disable kiosk mode at least. I will have an access to the phones from start/setup. It won't be like a stranger phone. So if there is way to do it how? I found an app called surelock, but it c... | I have an unity application. Which needed to be in kiosk mode for some android loaner devices/phones. I should able to enable/disable kiosk mode at least. I will have an access to the phones from start/setup. It won't be like a stranger phone. So if there is way to do it how? I found an app called surelock, but it cost... | android|unity3d|kiosk-mode | 0 | 2022-09-12T11:11:55.697Z | 2,022 | 9 | 11 | 0 | 14 | 0 | 443 | 59 | 3 | 0 | false | true | false | false | false | false | zero |
73,688,407 | Android kernel for emulator | <p>when I build the kernel from aosp using the command
BUILD_INITRAMFS=1 BUILD_CONFIG_FRAGMENTS=common-modules/virtual-device/goldfish_defconfig.fragment BUILD_CONFIG=common-modules/virtual-device/build.config.virtual_device.x86_64 build/build.sh
The file goldfish_defconfig.fragment contains only one line
CONFIG_BT_HCI... | when I build the kernel from aosp using the command BUILD_INITRAMFS=1 BUILD_CONFIG_FRAGMENTS=common-modules/virtual-device/goldfish_defconfig.fragment BUILD_CONFIG=common-modules/virtual-device/build.config.virtual_device.x86_64 build/build.sh The file goldfish_defconfig.fragment contains only one line CONFIG_BT_HCIBTU... | android | 0 | 2022-09-12T11:14:40.283Z | 2,022 | 9 | 11 | 0 | 11 | 0 | 521 | 27 | 1 | 0 | false | true | false | false | false | false | zero |
73,688,454 | java.lang.SecurityException for startActivity URL on some devices | <p>I am getting this crash on some devices and I can't figure out why, I can't reproduce it on my devices. This is my code:</p>
<pre><code>String url = "https://www.google.com/"; // any URL
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
ResolveInfo result = getPackageManager().resolveActivity... | I am getting this crash on some devices and I can't figure out why, I can't reproduce it on my devices. This is my code: [CODE] I am getting this error on some devices, Play Console won't show the devices anymore, so I have no idea which devices this happens on, but it doesn't happen on many: [CODE] Does anyone know wh... | java|android | 0 | 2022-09-12T11:18:24.120Z | 2,022 | 9 | 11 | 0 | 29 | 1 | 512 | 65 | 2 | 2 | true | false | false | false | false | false | zero |
73,688,484 | Espresso Idling Resources using OkHttp3IdlingResource - Type mismatch error | <p>I'm using espresso for UI test
While registering IdlingResource with OkHttp3Idresources, I'm getting a type mismatch error (Type mismatch: Required: IdlingResource, Found:OkHttp3IdlingResource)</p>
<pre><code>@UninstallModules(
NetworkModule::class,
)
@ExperimentalCoroutinesApi
@HiltAndroidTest
@RunWith(Andro... | I'm using espresso for UI test While registering IdlingResource with OkHttp3Idresources, I'm getting a type mismatch error (Type mismatch: Required: IdlingResource, Found:OkHttp3IdlingResource) [CODE] [CODE] [CODE] | okhttp|android-espresso|android-testing | 0 | 2022-09-12T11:20:56.123Z | 2,022 | 9 | 11 | 0 | 21 | 0 | 214 | 75 | 3 | 3 | true | true | false | false | false | false | zero |
73,688,486 | Android Studio Error "requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs." | <p>All librabries are updated.</p>
<p><strong>Library versions:</strong></p>
<pre><code>implementation 'androidx.annotation:annotation-experimental:1.3.0'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.googl... | All librabries are updated. Library versions: [CODE] Error: 3 issues were found when checking AAR metadata: 1.Dependency 'androidx.core:core-ktx:1.9.0' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recomme... | android|xml|kotlin|gradle|mobile | 7 | 2022-09-12T11:21:09.023Z | 2,022 | 9 | 11 | 0 | 1,342 | 2 | 1,905 | 136 | 5 | 1 | true | false | false | false | false | false | medium |
73,688,554 | React Camera component does not work on mobile device | <p>I'm trying to test the Camera component on my react application using mobile devices (I tried with iPad pro and Google pixel 6a). I tried <a href="https://www.npmjs.com/package/react-webcam" rel="nofollow noreferrer">react-webcam</a> and <a href="https://www.npmjs.com/package/react-camera-pro" rel="nofollow noreferr... | I'm trying to test the Camera component on my react application using mobile devices (I tried with iPad pro and Google pixel 6a). I tried react-webcam and react-camera-pro , but neither works on mobile devices for some reason. (I used Google Chrome for the browser) For react-camera-pro, it gives me noCameraAccessible e... | reactjs|camera|localhost|android-camera|webcam | 0 | 2022-09-12T11:27:24.970Z | 2,022 | 9 | 11 | 0 | 31 | 0 | 615 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
73,688,650 | Not able to trigger the broadcast | <p>I was learning concept of broadcast receivers and I wanted to make a project with which I can demonstrate triggering specific implicit receiver class which is kind of explicit broadcast.</p>
<p>I made 2 apps the sender app and receiver app for demonstration :</p>
<p>BROADCAST SENDER's MAIN ACTIVITY :</p>
<pre><code>... | I was learning concept of broadcast receivers and I wanted to make a project with which I can demonstrate triggering specific implicit receiver class which is kind of explicit broadcast. I made 2 apps the sender app and receiver app for demonstration : BROADCAST SENDER's MAIN ACTIVITY : [CODE] BROADCAST RECEIVER'S MANI... | java|android|android-studio|broadcastreceiver | 0 | 2022-09-12T11:36:24.273Z | 2,022 | 9 | 11 | 0 | 52 | 1 | 608 | 33 | 4 | 3 | true | false | false | false | false | false | zero |
73,688,753 | Detect if ADB is enabled when its connected via WiFi | <p>Is there any possibility to check if ADB on device is enabled whenver we connect device via WiFi?</p>
<p>If we connect it via USB we can easily get this info by calling</p>
<pre><code>isAdbEnabled = Settings.Global.getInt(applicationContext.getContentResolver(), Settings.Global.ADB_ENABLED);
</code></pre>
<p><a href... | Is there any possibility to check if ADB on device is enabled whenver we connect device via WiFi? If we connect it via USB we can easily get this info by calling [CODE] documentation here but unfortunately its only cover connection through cable. | android|kotlin|adb|detect | 0 | 2022-09-12T11:44:18.273Z | 2,022 | 9 | 11 | 0 | 25 | 0 | 246 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
73,688,790 | Google Play: App was rejected due to incorrect privacy policy | <p>I don't understand why Google Play rejected my application.</p>
<p>The mail from them:</p>
<p><a href="https://i.stack.imgur.com/npfbh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/npfbh.png" alt="Rejection reason" /></a></p>
<p>But in the app, we have a privacy policy screen that users can see ... | I don't understand why Google Play rejected my application. The mail from them: But in the app, we have a privacy policy screen that users can see before logging in to the app: Their support does not respond to my requests. | android|google-play | -1 | 2022-09-12T11:46:32.380Z | 2,022 | 9 | 11 | 0 | 32 | 0 | 223 | 61 | 2 | 0 | false | true | false | false | false | true | negative |
73,688,820 | How can I move my python code and assets from a windows Laptop to an android phone? | <p>I've made a discord.py bot and want to run it on my spare phone with pydroid3 but I cant figure out how to move the main.py file and the 55 asset files (most of them are .png but some are .json and .txt) from my laptop to my phone.</p>
<p>The file structure is</p>
<pre><code>bot_folder
║
╠ main.py
╚ assets
╠ Text_... | I've made a discord.py bot and want to run it on my spare phone with pydroid3 but I cant figure out how to move the main.py file and the 55 asset files (most of them are .png but some are .json and .txt) from my laptop to my phone. The file structure is [CODE] | python|android|file-transfer|pydroid | 0 | 2022-09-12T11:48:23.813Z | 2,022 | 9 | 11 | 0 | 28 | 1 | 260 | 83 | 4 | 1 | true | false | false | false | false | false | zero |
73,689,002 | Android recyclerview cursor not getting focused when last item remains | <p>When we click on any item in recyclerview, the loader gets started. I want to enable the cursor for the next item when it's loading on the previous item.</p> | When we click on any item in recyclerview, the loader gets started. I want to enable the cursor for the next item when it's loading on the previous item. | android|android-recyclerview|cursor|adapter | -1 | 2022-09-12T12:04:58.933Z | 2,022 | 9 | 12 | 0 | 13 | 0 | 153 | 70 | 4 | 0 | false | true | false | false | false | true | negative |
73,689,011 | Vertical RecyclerView inside SwipeCards | <p>I am coding a tinder-like app and using swipeCards library of diolor, and I want to use a vertical recyclerview inside my swipable cards to show other images of the user. However, when I do that swipe cards feature doesn't work. I think recyclerView's scrolling feature disables horizontal swiping. How can I fix this... | I am coding a tinder-like app and using swipeCards library of diolor, and I want to use a vertical recyclerview inside my swipable cards to show other images of the user. However, when I do that swipe cards feature doesn't work. I think recyclerView's scrolling feature disables horizontal swiping. How can I fix this? H... | android|android-studio|android-recyclerview|swipe | 0 | 2022-09-12T12:05:28.457Z | 2,022 | 9 | 12 | 0 | 78 | 0 | 386 | 39 | 4 | 0 | false | true | false | false | false | false | zero |
73,689,072 | How can i detect incoming SMS in flutter | <p>I am creating an SMS application using flutter working fine, but when the app is removed from the recent app is not able to detect incoming SMS how can I fix it?</p>
<p>I tried many flutter packages but not working</p> | I am creating an SMS application using flutter working fine, but when the app is removed from the recent app is not able to detect incoming SMS how can I fix it? I tried many flutter packages but not working | android|flutter|flutter-dependencies | -3 | 2022-09-12T12:12:00.307Z | 2,022 | 9 | 12 | 0 | 21 | 0 | 207 | 40 | 3 | 0 | false | true | false | false | false | true | negative |
73,689,079 | How do I recognize URLs using Android's TextClassifier? | <p>So basically, I have some text containing urls within it. I want to use Android's TextClassifier(that uses ML models and was introduced in Android 9 as "Smart Linkify") to recognize the URLs. Preferably, the text would be stored in a spannable or something similar. There is a simple way to do this with the... | So basically, I have some text containing urls within it. I want to use Android's TextClassifier(that uses ML models and was introduced in Android 9 as "Smart Linkify") to recognize the URLs. Preferably, the text would be stored in a spannable or something similar. There is a simple way to do this with the no... | android|linkify|smart-linkify | 0 | 2022-09-12T12:12:26.223Z | 2,022 | 9 | 12 | 0 | 20 | 0 | 547 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
73,689,111 | Android - How to fetch sub list based on WHERE conditions from Room DB? | <p>I am building an Android application in which I would like to fetch the list of active devices under the project manager.</p>
<p>Trying to put it in different way for better understanding</p>
<ul>
<li>Project Manager table has list of employees</li>
<li>Employee table has list of devices</li>
</ul>
<p>Now, we need t... | I am building an Android application in which I would like to fetch the list of active devices under the project manager. Trying to put it in different way for better understanding Project Manager table has list of employees Employee table has list of devices Now, we need the list of Project Managers with list of emplo... | android|android-room | 1 | 2022-09-12T12:14:54.127Z | 2,022 | 9 | 12 | 0 | 35 | 1 | 548 | 71 | 2 | 3 | true | false | false | false | false | false | low |
73,689,153 | Kotlin use string to call method | <p>i have the following situation:</p>
<ol>
<li><p>i have a sealed class containing data class</p>
</li>
<li><p>the call look like : SealedClass.V1 (for the version 1 of the data) V2 and etc...</p>
</li>
<li><p>i got the data version from the device</p>
</li>
<li><p>i would like to call my data class like this :</p>
</... | i have the following situation: i have a sealed class containing data class the call look like : SealedClass.V1 (for the version 1 of the data) V2 and etc... i got the data version from the device i would like to call my data class like this : [CODE] is there a way to do that(currently my way to do this is with when(ve... | android|kotlin | 0 | 2022-09-12T12:18:25.890Z | 2,022 | 9 | 12 | 0 | 41 | 0 | 409 | 32 | 2 | 1 | true | true | false | false | false | false | zero |
73,689,158 | My position coordinate, invoke virtual method on a null object reference | <p>In one of the fragments of my app I am trying to get the coordinates of my current position but when I try to save them in a variable this is not possible because I get a reference to a null object. I think the reason is a matter of time, my position is not initialized before being saved in the variable. How can I m... | In one of the fragments of my app I am trying to get the coordinates of my current position but when I try to save them in a variable this is not possible because I get a reference to a null object. I think the reason is a matter of time, my position is not initialized before being saved in the variable. How can I make... | kotlin|android-fragments|openstreetmap|osmdroid | 0 | 2022-09-12T12:18:49.583Z | 2,022 | 9 | 12 | 0 | 22 | 0 | 477 | 72 | 4 | 2 | true | true | false | false | false | false | zero |
73,689,165 | Error when trying to run an Android Studio app | <p>I'm getting the following error when running my app:</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>Where:</li>
</ul>
<blockquote>
<p>Settings file 'C:\Users\lucas\OneDrive\�rea de
Trabalho\Basic-Banking-App-master\settings.gradle' line: 1</p>
</blockquote>
<ul>
<li>What went wrong:
A problem occurred ... | I'm getting the following error when running my app: FAILURE: Build failed with an exception. Where: Settings file 'C:\Users\lucas\OneDrive\�rea de Trabalho\Basic-Banking-App-master\settings.gradle' line: 1 What went wrong: A problem occurred evaluating settings 'Basic-Banking-App-master'. Could not find method depende... | android|android-studio | 0 | 2022-09-12T12:19:19.027Z | 2,022 | 9 | 12 | 0 | 45 | 1 | 17,045 | 46 | 2 | 1 | true | false | false | false | false | false | zero |
73,689,183 | How to click on images in Slider? | <p>I am implementing imageSlider into my Android Studio Project, i have created the slider and have 3 images in it from url of my website , now i want that when i click on pic 1 it will go to one url and click on pic 2 than it will open url 2 and same for image 3 . this is my code for slider..</p>
<pre><code> ArrayList... | I am implementing imageSlider into my Android Studio Project, i have created the slider and have 3 images in it from url of my website , now i want that when i click on pic 1 it will go to one url and click on pic 2 than it will open url 2 and same for image 3 . this is my code for slider.. [CODE] please help.. | android-studio|slideshow|androidimageslider|image-slider | 0 | 2022-09-12T12:20:45.397Z | 2,022 | 9 | 12 | 0 | 8 | 0 | 312 | 33 | 4 | 1 | true | true | false | false | false | false | zero |
73,689,184 | Add a fragment without xml file in Android studio chipmunk | <p>I want to add a fragment to a project I downloaded without the XML file as the XML file I'm gonna use is already provided, except that in previous versions of android studio you could uncheck the create layout file checkbox
in the latest version, it doesn't give you this option and if I create a layout file and then... | I want to add a fragment to a project I downloaded without the XML file as the XML file I'm gonna use is already provided, except that in previous versions of android studio you could uncheck the create layout file checkbox in the latest version, it doesn't give you this option and if I create a layout file and then de... | android-studio | 0 | 2022-09-12T12:21:15.827Z | 2,022 | 9 | 12 | 0 | 18 | 1 | 375 | 58 | 1 | 0 | false | false | false | false | false | false | zero |
73,689,221 | WebScraping in flutter giving empty output | <p>I'm trying to scrape a website using flutter using webScraper package...</p>
<pre><code>late List<Map<String, dynamic>> top1Wall;
bool top1Loaded = false;
int page = 1;
void top1Fetch() async {
final top1Scraper = WebScraper("https://animixplay.to");
if (await top1Scraper.loadWebPage("/&... | I'm trying to scrape a website using flutter using webScraper package... [CODE] here is where I use the scrapped images into my UI [CODE] Here, this URL https://animixplay.to is scrapped properly and Images are fetched but when I use the URL from the same website https://animixplay.to/?genre=any&orderby=popular it does... | android|flutter|dart|user-interface | 0 | 2022-09-12T12:24:19.007Z | 2,022 | 9 | 12 | 0 | 15 | 0 | 402 | 42 | 4 | 2 | true | true | false | false | false | false | zero |
73,689,284 | Android studio don't see Pixel Slate (ChromeOS) | <p>I need to test my android app on the tablet, the one I have is Pixel Slate which is running on Chrome OS, so in order to enable it for the developers and be able to run directly from the Android Studio I went throw these docs</p>
<p><a href="https://developer.android.com/topic/arc/development-environment" rel="nofol... | I need to test my android app on the tablet, the one I have is Pixel Slate which is running on Chrome OS, so in order to enable it for the developers and be able to run directly from the Android Studio I went throw these docs https://developer.android.com/topic/arc/development-environment I enabled Linux as well as ADB... | android|android-studio|google-chrome-os|androidappsonchromeos | 0 | 2022-09-12T12:29:51.203Z | 2,022 | 9 | 12 | 0 | 47 | 0 | 803 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
73,689,330 | Cordova admob-plus keeps adding the wrong application id to android manifest | <p>I've installed the admob-plus plugin as per their documentation and all works fine on iOS, but when i come to build the ionc/cordova project it's adding the wrong application id to the AndroidManifest.xml</p>
<pre><code><meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value=&q... | I've installed the admob-plus plugin as per their documentation and all works fine on iOS, but when i come to build the ionc/cordova project it's adding the wrong application id to the AndroidManifest.xml [CODE] This is not the application ID i have in package.json (substituted the numbers for 0s) [CODE] I have removed... | android|cordova|ionic-framework|admob | 0 | 2022-09-12T12:32:50.407Z | 2,022 | 9 | 12 | 0 | 17 | 0 | 604 | 76 | 4 | 2 | true | true | false | false | false | false | zero |
73,689,400 | Playback error E/ExoPlayer exoplayer2.ExoPlaybackException: Source error (While playing from internal storage) with network its working | <pre><code>VideoPlayerController.contentUri(Uri.parse(widget.videoUrl))
..initialize().then((value) {
videoPlayerController.play();
videoPlayerController.setVolume(1);
});
</code></pre>
<p>Playback error
E/ExoPlayerImplInternal( 5579): com.google.android.exoplayer2.ExoPlaybackExcep... | [CODE] Playback error E/ExoPlayerImplInternal( 5579): com.google.android.exoplayer2.ExoPlaybackException: Source error E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:632) E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2... | android|ios|flutter|kotlin|dart | 0 | 2022-09-12T12:38:01.900Z | 2,022 | 9 | 12 | 0 | 73 | 1 | 1,906 | 135 | 5 | 1 | true | false | false | false | false | false | zero |
73,689,476 | .Net Maui use DLL on every platform | <p>I'm building a Keygenerator application with .Net Maui (not blazor).</p>
<p>For this i use c#-Code in the MainPage.xaml.cs that calls a cpp .dll file and imports some methods.</p>
<p>The import looks like this:</p>
<pre><code> [DllImport("W5R._Keygen.dll", CallingConvention = CallingConvention.StdCall)]... | I'm building a Keygenerator application with .Net Maui (not blazor). For this i use c#-Code in the MainPage.xaml.cs that calls a cpp .dll file and imports some methods. The import looks like this: [CODE] The .dll is in the same folder as the MainPage.xaml, App.xaml etc. By changing some properties of the .dll (Build = ... | c#|android|.net|maui | 1 | 2022-09-12T12:43:45.683Z | 2,022 | 9 | 12 | 0 | 62 | 1 | 825 | 35 | 4 | 1 | true | false | false | false | false | false | low |
73,689,496 | Can't import java.lang.module.ModuleDescriptor.Version | <blockquote>
<p><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/module/ModuleDescriptor.Version.html" rel="nofollow noreferrer">import java.lang.module.ModuleDescriptor.Version</a></p>
</blockquote>
<p>prints error: Cannot resolve symbol 'ModuleDescriptor'. Tried with JDK 11 and 18. What am I doing wrong?<... | import java.lang.module.ModuleDescriptor.Version prints error: Cannot resolve symbol 'ModuleDescriptor'. Tried with JDK 11 and 18. What am I doing wrong? | java|android | 0 | 2022-09-12T12:44:55.380Z | 2,022 | 9 | 12 | 0 | 23 | 3 | 153 | 54 | 2 | 0 | false | false | false | false | false | false | zero |
73,689,503 | jetpack compose testing with java and appium | <p>I am just trying to follow the guide here:
<a href="https://medium.com/bumble-tech/automating-android-jetpack-compose-using-appium-edb760fe79b9" rel="nofollow noreferrer">https://medium.com/bumble-tech/automating-android-jetpack-compose-using-appium-edb760fe79b9</a></p>
<p>To test an app made in Jetpack Compose. The... | I am just trying to follow the guide here: https://medium.com/bumble-tech/automating-android-jetpack-compose-using-appium-edb760fe79b9 To test an app made in Jetpack Compose. The problem I have is that I get an error when I try to implement androidx.compose.ui via Maven. Does anyone know how I can work around this erro... | java|maven|appium|android-jetpack-compose|androidx | 0 | 2022-09-12T12:45:30.860Z | 2,022 | 9 | 12 | 0 | 44 | 0 | 635 | 44 | 5 | 0 | false | true | false | false | false | false | zero |
73,689,639 | Unable to generate APKs from aab using bundletool in Android Studio | <p><a href="https://i.stack.imgur.com/qnkxB.png" rel="nofollow noreferrer">enter image description here</a>I try to generate APKs from aab using bundletool and I get this errors:</p>
<blockquote>
<p>java -jar "bundletool-all-1.11.0.jar" build-apks --bundle="launcher-release.aab" --output="myapp... | enter image description here I try to generate APKs from aab using bundletool and I get this errors: java -jar "bundletool-all-1.11.0.jar" build-apks --bundle="launcher-release.aab" --output="myapp.apks" INFO: The APKs will be signed with the debug keystore found at 'C:\Users\HP.android\de... | java|android|windows | 0 | 2022-09-12T12:52:57.603Z | 2,022 | 9 | 12 | 0 | 44 | 0 | 2,734 | 67 | 3 | 0 | false | true | false | false | false | false | zero |
73,689,649 | React Native - Can't render my component when new message incoming in socket | <p>My client side is in React Native (android app).
In my chat feature, the client listening to websocket event that alerts when new message incoming in the chat. When I get the message from the socket, I render the specific chat message component.
In emulator everything work just fine and the component is rendering. W... | My client side is in React Native (android app). In my chat feature, the client listening to websocket event that alerts when new message incoming in the chat. When I get the message from the socket, I render the specific chat message component. In emulator everything work just fine and the component is rendering. When... | android|react-native|websocket|rendering | 1 | 2022-09-12T12:53:17.240Z | 2,022 | 9 | 12 | 0 | 13 | 0 | 585 | 76 | 4 | 2 | true | true | false | false | false | false | low |
73,689,849 | How to extract the data list from the database in room database | <p>I am trying to make extract all the data in the database</p>
<pre><code>private fun addRecord(donorDao:DonorDao){
val Id:String=binding?.etDonorId?.text.toString()
val bloodGr=binding?.etDonorBloodgroup?.text.toString()
if(Id.isNotEmpty() && bloodGr.isNotEmpty()) {
var mDo... | I am trying to make extract all the data in the database [CODE] but in this code my Donor List is null I do not know where I am going wrong Is there any other way so that I can extract all the data in database in the array list? please help me | android|kotlin|android-room | 0 | 2022-09-12T13:06:21.977Z | 2,022 | 9 | 13 | 0 | 24 | 1 | 243 | 63 | 3 | 1 | true | false | false | false | false | false | zero |
73,689,917 | Andoid Studio Emulator Display small or cutted like this | <p><a href="https://i.stack.imgur.com/ktrKE.png" rel="nofollow noreferrer">Error Image</a></p>
<p>Please Solve This I need it for my lecture</p> | Error Image Please Solve This I need it for my lecture | android-studio | -1 | 2022-09-12T13:12:16.963Z | 2,022 | 9 | 13 | 0 | 13 | 0 | 54 | 56 | 1 | 0 | false | true | false | false | false | true | negative |
73,689,931 | Android change app launcher icon without killing app | <p>We are trying to change app icon. According to resources we use code as below.
if we run this code when app is runtime then it kill the app.
PackageManager.DONT_KILL_APP does not work.
Is there way to change app icon without killig app ?</p>
<pre><code>private fun creteComponentName(context: Context, aliasName: Stri... | We are trying to change app icon. According to resources we use code as below. if we run this code when app is runtime then it kill the app. PackageManager.DONT_KILL_APP does not work. Is there way to change app icon without killig app ? [CODE] Manifest [CODE] | android | 0 | 2022-09-12T13:13:27.960Z | 2,022 | 9 | 13 | 0 | 47 | 0 | 260 | 52 | 1 | 2 | true | true | false | false | false | false | zero |
73,689,968 | Alarm manager with broadcast receiver not working on Fragment | <p>I'm trying to create a todo app with notifications (using: alarm manager and a broadcast receiver). The notification does not appear and the app crashes after ~1min or less. I believe the error cause is related with my handling of the alarm manager (it is my first time using it).</p>
<p>Any help will be appreciated<... | I'm trying to create a todo app with notifications (using: alarm manager and a broadcast receiver). The notification does not appear and the app crashes after ~1min or less. I believe the error cause is related with my handling of the alarm manager (it is my first time using it). Any help will be appreciated [CODE] whe... | android|android-studio|kotlin|android-fragments|alarmmanager | 0 | 2022-09-12T13:16:09.897Z | 2,022 | 9 | 13 | 0 | 27 | 0 | 412 | 61 | 5 | 3 | true | true | false | false | false | false | zero |
73,690,015 | stm32 (usb) access dialog suppression | <p>I have an external usb device (smartglass) that has a camera and a gyroscope. When I try to access the gyroscope Android show me this message:
<em>Allow 'appname' to access stm32 custom human interface & virtual ComPort?</em>
How can I suppress this and any other message?</p>
<p>I tried to put the vendor-id in t... | I have an external usb device (smartglass) that has a camera and a gyroscope. When I try to access the gyroscope Android show me this message: Allow 'appname' to access stm32 custom human interface & virtual ComPort? How can I suppress this and any other message? I tried to put the vendor-id in the manifest [CODE] but ... | android|popup|usb|sensors | 0 | 2022-09-12T13:20:17.213Z | 2,022 | 9 | 13 | 0 | 18 | 0 | 745 | 37 | 4 | 1 | true | true | false | false | false | false | zero |
73,690,137 | Play Store : How to re-initiate Android TV review after updating app | <p>I published an Android TV app in the play store. I opted in for the Android TV by visiting <code>Setup > Advanced Settings > Release Types</code>. It was later rejected for valid reasons and I received an email.</p>
<p>Now, I fixed the issues and published a new version.</p>
<p>I was expecting the <code>Reject... | I published an Android TV app in the play store. I opted in for the Android TV by visiting Setup > Advanced Settings > Release Types . It was later rejected for valid reasons and I received an email. Now, I fixed the issues and published a new version. I was expecting the Rejected status to change to In Review in the A... | google-play-console|android-tv | 0 | 2022-09-12T13:29:16.113Z | 2,022 | 9 | 13 | 0 | 31 | 1 | 947 | 68 | 2 | 0 | false | false | false | false | false | false | zero |
73,690,191 | ViewModel does not save recyclerview data when on configuration changed (device rotate) | <p>I just noticed problem earlier in my app, I see the ViewModel inside fragment doesn't save/keep recycler view when I rotate the device, I don't want to use the old method like save data in bundle <code>onSaveInstanceState</code> and restore it, I tried to figure why this problem by printing some logs on each method ... | I just noticed problem earlier in my app, I see the ViewModel inside fragment doesn't save/keep recycler view when I rotate the device, I don't want to use the old method like save data in bundle onSaveInstanceState and restore it, I tried to figure why this problem by printing some logs on each method in fragment life... | android|kotlin|android-fragments|mvvm|android-recyclerview | 0 | 2022-09-12T13:33:26.600Z | 2,022 | 9 | 13 | 0 | 35 | 1 | 411 | 87 | 5 | 2 | true | false | false | false | false | false | zero |
73,690,313 | how to get textSize value of a textview from XML and set it in code | <p>I want to set the textSize value of the snippet below to a textSize of an XML file, how to achieve this?</p>
<pre><code>holder.tvValue.setTextSize();
</code></pre>
<p>in the xml it is like this:</p>
<pre><code><TextView
android:id="@+id/tv_title"
android:textSize="32sp"
app:layout_con... | I want to set the textSize value of the snippet below to a textSize of an XML file, how to achieve this? [CODE] in the xml it is like this: [CODE] | java|android|xml|android-layout|text-size | -1 | 2022-09-12T13:43:53.777Z | 2,022 | 9 | 13 | 0 | 25 | 2 | 146 | 67 | 5 | 2 | true | false | false | false | false | true | negative |
73,690,316 | How to auto connect to server? | <p>I make a android application connect to server by using "com.mysql.jdbc.Driver".
I make a class for creating a connection as a AsyncTask.</p>
<pre><code>public class MySqlConnection extends AsyncTask<Integer, Integer, Connection>{
protected void onPreExecute() {
//
}
protec... | I make a android application connect to server by using "com.mysql.jdbc.Driver". I make a class for creating a connection as a AsyncTask. [CODE] This class is called in OnCreate(). [CODE] It can work if a device can connect to server as initial. But if I try to turn off Wifi, it cannot to re-connect by itself... | android|jdbc|android-asynctask | 0 | 2022-09-12T13:44:01.843Z | 2,022 | 9 | 13 | 0 | 24 | 0 | 445 | 30 | 3 | 2 | true | true | false | false | false | false | zero |
73,690,331 | Android Studio JAVA: Send SMS of user's current location ; | <p>I am Trying to Build an app where user can show their location and send an SMS to nearby hospital.
I am new to android studio and everything about it, but I quite made a progress with it.</p>
<p>I have 2 XML files, but I'll provide the JAVA CLASSES first</p>
<p>MapActivity.java</p>
<pre><code>package maptesting.app;... | I am Trying to Build an app where user can show their location and send an SMS to nearby hospital. I am new to android studio and everything about it, but I quite made a progress with it. I have 2 XML files, but I'll provide the JAVA CLASSES first MapActivity.java [CODE] What I want to see if its possible to send the u... | java|android|google-maps | 0 | 2022-09-12T13:45:02.807Z | 2,022 | 9 | 13 | 0 | 36 | 0 | 538 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
73,690,368 | How to Access lowest camera from multi camera Android Phone while using Zxing android library? | <p>I want to access the lowest camera from multi camera android phone while using Zxing android library like if my phone has 3 camera (50 Mp, 8MP and 2MP), then i want to access 2 MP but it by default selects 50MP.</p>
<pre><code>mCompoundBarcodeView = (CompoundBarcodeView) view.findViewById(R.id.barcode_scanner_view);... | I want to access the lowest camera from multi camera android phone while using Zxing android library like if my phone has 3 camera (50 Mp, 8MP and 2MP), then i want to access 2 MP but it by default selects 50MP. [CODE] Above code is not working | android|zxing|android-camera2 | 0 | 2022-09-12T13:48:21.867Z | 2,022 | 9 | 13 | 0 | 35 | 0 | 244 | 94 | 3 | 1 | true | true | false | false | false | false | zero |
73,690,370 | How to obsfucate webView.loadURL(String) String? | <p>I obsfucated my app, but the URL shown in <code>webView.loadURL(String)</code> is not. How can I obsfucate it in order to not be shown if somebody decompiles the app?</p>
<p>Maybe a way like obsfucating a String and passing it on parameter.</p> | I obsfucated my app, but the URL shown in webView.loadURL(String) is not. How can I obsfucate it in order to not be shown if somebody decompiles the app? Maybe a way like obsfucating a String and passing it on parameter. | java|android|android-studio|gradle | 0 | 2022-09-12T13:48:44.977Z | 2,022 | 9 | 13 | 0 | 11 | 0 | 220 | 48 | 4 | 0 | false | true | false | false | false | false | zero |
73,690,460 | How can I implement function for usb camera for my application? | <p>I am creating an application for tablet in android where, I want to use usb camera as a default camera when I start my application. I want to click picture and save them in either jpeg,jpg or png format. I could not find any helpful resources on web. How can I implement such functionality? Any help would be apprecia... | I am creating an application for tablet in android where, I want to use usb camera as a default camera when I start my application. I want to click picture and save them in either jpeg,jpg or png format. I could not find any helpful resources on web. How can I implement such functionality? Any help would be appreciated... | java|android|android-camera|android-camera2|usb-camera | 0 | 2022-09-12T13:54:56.653Z | 2,022 | 9 | 13 | 0 | 15 | 0 | 321 | 63 | 5 | 0 | false | true | false | false | false | false | zero |
73,690,550 | Google Fi style android home widget | <p>I am trying to implement an Android home widget similar to what the google fi app is doing (see image attached). So far, I am able to draw a circular progress bar on my widget but I am having trouble making the stoke rounded.</p>
<p>wondering if anyone has done similar work and knows how to achieve the effect?</p>
<... | I am trying to implement an Android home widget similar to what the google fi app is doing (see image attached). So far, I am able to draw a circular progress bar on my widget but I am having trouble making the stoke rounded. wondering if anyone has done similar work and knows how to achieve the effect? | android|widget|android-progressbar | 0 | 2022-09-12T14:01:12.163Z | 2,022 | 9 | 14 | 0 | 9 | 0 | 304 | 35 | 3 | 0 | false | true | false | false | false | false | zero |
73,690,553 | Text with Splashscreen API | <p>Is it possible to add a text to the logo in splash screen while using Splash Screen API?
I did not find any property regarding "text" in Theme.SplashScreen.</p>
<pre><code> <style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScr... | Is it possible to add a text to the logo in splash screen while using Splash Screen API? I did not find any property regarding "text" in Theme.SplashScreen. [CODE] | android|android-splashscreen | 0 | 2022-09-12T14:01:24.503Z | 2,022 | 9 | 14 | 0 | 21 | 0 | 173 | 26 | 2 | 1 | true | true | false | false | false | false | zero |
73,690,641 | Testing Android Coroutines with Test Rule by Inheritance vs Delegation | <p>I am writing some mess around code to try and test coroutines and flows in Android. Following a common pattern I wrote a coroutine rule for handling the dispatcher and setting the main thread:</p>
<pre><code>class CoroutineScopeRule(
val dispatcher: TestDispatcher = StandardTestDispatcher(),
): TestWatcher() {
... | I am writing some mess around code to try and test coroutines and flows in Android. Following a common pattern I wrote a coroutine rule for handling the dispatcher and setting the main thread: [CODE] Now the problem is when I try inheriting a class that sets up this rule vs delegation one. For the inheritance I have a ... | android|unit-testing|kotlin-coroutines|android-unit-testing | 0 | 2022-09-12T14:08:41.527Z | 2,022 | 9 | 14 | 0 | 19 | 0 | 836 | 70 | 4 | 5 | true | true | false | false | false | false | zero |
73,690,707 | Problems with making a photo and save it to folder | <p>Good day to everyone. Please help me solve the problem. When I click on the check mark, I constantly get 0 in it.result code and my photos are not saved. At the same time, before I did it in the wipe data emulator, everything worked. What could be the problem? What I do wrong?</p>
<p><a href="https://i.stack.imgur.c... | Good day to everyone. Please help me solve the problem. When I click on the check mark, I constantly get 0 in it.result code and my photos are not saved. At the same time, before I did it in the wipe data emulator, everything worked. What could be the problem? What I do wrong? My MainActivity: [CODE] Permissions in And... | android | 0 | 2022-09-12T14:13:52.843Z | 2,022 | 9 | 14 | 0 | 30 | 0 | 448 | 50 | 1 | 5 | true | true | false | false | false | false | zero |
73,690,784 | Why Android Internal Storage is erased after I posted it to play store? | <p>I use the <strong>Internal Storage</strong> to store some list I have to keep between app restart.
For that I write into a <code>File</code> that I get by this way</p>
<pre class="lang-kotlin prettyprint-override"><code>val file = File(context.filesDir.absoluteFile.toString() + "/" + nameOfFile)
</code></p... | I use the Internal Storage to store some list I have to keep between app restart. For that I write into a File that I get by this way [CODE] It works but some time (not each time) when I upload a new version of my app to the PlayStore data are erased . That realy anaoying because my users have to reset these data manua... | android|google-play-services|storage | -1 | 2022-09-12T14:20:04.543Z | 2,022 | 9 | 14 | 0 | 33 | 0 | 397 | 71 | 3 | 1 | true | true | false | false | false | true | negative |
73,690,856 | How to show a list of Spinners inside a Spinner in Android [Kotlin] | <p>I tried to find the answer for this and found something like nested spinner. I understood the concept of nested spinner where we take the values from one spinner and use it inside the child spinner to inflate the values to be shown.</p>
<p>But how can I have something like a Spinner inside that Spinner dropdown itse... | I tried to find the answer for this and found something like nested spinner. I understood the concept of nested spinner where we take the values from one spinner and use it inside the child spinner to inflate the values to be shown. But how can I have something like a Spinner inside that Spinner dropdown itself. Instea... | android|kotlin|android-layout|nested|spinner | 0 | 2022-09-12T14:25:36.127Z | 2,022 | 9 | 14 | 0 | 29 | 1 | 697 | 67 | 5 | 0 | false | false | false | false | false | false | zero |
73,690,919 | Use double quotes by default when importing in Android studio | <p>Every time I auto-import stuff using Android Studio, the import is single quoted by default, which is against the linting rules I use. How can I change it that it defaults to importing with double quotes.</p>
<p>For example, instead of:</p>
<pre><code>import 'package:flutter/material.dart';
</code></pre>
<p>I would ... | Every time I auto-import stuff using Android Studio, the import is single quoted by default, which is against the linting rules I use. How can I change it that it defaults to importing with double quotes. For example, instead of: [CODE] I would like that auto-import generate this line by default: [CODE] | android-studio|dart | 0 | 2022-09-12T14:30:57.500Z | 2,022 | 9 | 14 | 0 | 15 | 0 | 304 | 61 | 2 | 2 | true | true | false | false | false | false | zero |
73,690,951 | Customizeable badge counts for android phones | <p>I’m working on a project involving push notifications. I’ve noticed that just about every push notification service out there, has the ability to customize badge counts for iOS. However, every push notification service that I’ve looked at doesn’t seem to have this option for Android.</p>
<p>Can any of the gurus here... | I’m working on a project involving push notifications. I’ve noticed that just about every push notification service out there, has the ability to customize badge counts for iOS. However, every push notification service that I’ve looked at doesn’t seem to have this option for Android. Can any of the gurus here, please e... | android|mobile|push-notification|firebase-cloud-messaging|android-push-notification | 0 | 2022-09-12T14:33:32.543Z | 2,022 | 9 | 14 | 0 | 18 | 0 | 412 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
73,690,952 | Can I know when there is a Whatsapp Call or any VoIP call in progress in Android without using Notifications as a verifier | <p>I needed to detect whether if an whatsapp call is in progress but is there any way to do so without using Notification to check them , also I tried AudioManager class to do so but wasn't able to do so accurately.</p>
<p>If anyone could help then please reply.</p> | I needed to detect whether if an whatsapp call is in progress but is there any way to do so without using Notification to check them , also I tried AudioManager class to do so but wasn't able to do so accurately. If anyone could help then please reply. | java|android | 0 | 2022-09-12T14:33:35.490Z | 2,022 | 9 | 14 | 0 | 11 | 0 | 252 | 122 | 2 | 0 | false | true | false | false | false | false | zero |
73,691,032 | Android Emulator is terminated | <p>My Android Studio Emulator keeps popping up this error message and I've tried anything possible to fix it but I can't!</p>
<p><a href="https://i.stack.imgur.com/fbc4F.png" rel="nofollow noreferrer">My Android Studio Emulator keeps popping up this error message and I've tried anything possible to fix it but I can't!<... | My Android Studio Emulator keeps popping up this error message and I've tried anything possible to fix it but I can't! My Android Studio Emulator keeps popping up this error message and I've tried anything possible to fix it but I can't! | android-studio | 0 | 2022-09-12T14:39:56.033Z | 2,022 | 9 | 14 | 0 | 8 | 0 | 237 | 30 | 1 | 0 | false | true | false | false | false | false | zero |
73,691,177 | Generating random numbers with the Trusted Executable Environment in Android | <p>When developing high security apps using a hardware based encryption on Android its nice to have the Keystore API for encryption functionalities.
However when needing to use random values it seams like the recomended way to do it is to use SecureRandom class which seams to be a software based solution.</p>
<p>How is... | When developing high security apps using a hardware based encryption on Android its nice to have the Keystore API for encryption functionalities. However when needing to use random values it seams like the recomended way to do it is to use SecureRandom class which seams to be a software based solution. How is it that i... | android|random|trusted-execution-environment | 0 | 2022-09-12T14:51:22.397Z | 2,022 | 9 | 14 | 0 | 20 | 0 | 483 | 76 | 3 | 0 | false | true | false | false | false | false | zero |
73,691,591 | Android Samsung Galaxy A13 5G Model SM-A136U1 device issue as "Your device isn't compatible with this version" | <p>I have tried the below steps to clear the cache data in play store, but still we are not able to get the INSTALL option for our app in Play Store.</p>
<ul>
<li>CLEAR CACHE > OK.</li>
<li>CLEAR DATA > OK. under Apps or Application Manager Settings</li>
</ul>
<p>Here we are getting error message in Play Store.</... | I have tried the below steps to clear the cache data in play store, but still we are not able to get the INSTALL option for our app in Play Store. CLEAR CACHE > OK. CLEAR DATA > OK. under Apps or Application Manager Settings Here we are getting error message in Play Store. Your device isn't compatible with this version... | android|google-play|google-play-services|google-play-console|android-device-manager | 0 | 2022-09-12T15:23:36.293Z | 2,022 | 9 | 15 | 0 | 36 | 0 | 1,649 | 110 | 5 | 0 | false | true | false | false | false | false | zero |
73,691,608 | Understanding selectors in an intent | <p>I have code:</p>
<pre><code>@Override
public void onClick(View v) {
Intent i = new Intent(Intent.ACTION_MAIN);
i.addCategory(Intent.CATEGORY_LAUNCHER);
startActivity(i);
}
</code></pre>
<p>This listener lists all apps that have an icon in the launcher. As far as i can gather via <code>setSelector(Intent... | I have code: [CODE] This listener lists all apps that have an icon in the launcher. As far as i can gather via setSelector(Intent) i can make a сhoice programmatically. So i want to choose the app that can send a plain text. I add the next lines: [CODE] But i get an exception: [CODE] Do i understand correctly the gist ... | android | 0 | 2022-09-12T15:25:10.377Z | 2,022 | 9 | 15 | 0 | 18 | 0 | 371 | 36 | 1 | 3 | true | true | false | false | false | false | zero |
73,691,620 | for each loop error occured when called inside a function | <p>I wanted to iterate through checkboxes and tap on the checkboxes. I wrote foreach loop without using a function and its working but when I had given foreach loop inside a method its showing <strong>error as foreach not applicable to type 'io.appium.java_client.android.AndroidElement'</strong> .</p>
<p><strong>Code... | I wanted to iterate through checkboxes and tap on the checkboxes. I wrote foreach loop without using a function and its working but when I had given foreach loop inside a method its showing error as foreach not applicable to type 'io.appium.java_client.android.AndroidElement' . Code: For Each loop without using a metho... | selenium|selenium-webdriver|foreach|appium-android | 0 | 2022-09-12T15:26:28.677Z | 2,022 | 9 | 15 | 0 | 22 | 1 | 613 | 57 | 4 | 2 | true | false | false | false | false | false | zero |
73,691,668 | Does RTDB query reduce bandwidth? | <p>I have a list of users, assume 10k. <br>
Now if I run a query like below:<br></p>
<pre><code>query = FirebaseDatabase.getInstance().getReference().child("users")
.orderByChild(SELECTED_QUERY)
.limitToFirst(150);
</code></pre>
<p>Will it consume bandwidth of <code>150 users' ... | I have a list of users, assume 10k. Now if I run a query like below: [CODE] Will it consume bandwidth of 150 users' data or 10k users' data ? This question may be silly, but I haven't found expected answer. | android|firebase|firebase-realtime-database | 0 | 2022-09-12T15:30:22.050Z | 2,022 | 9 | 15 | 0 | 30 | 1 | 206 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
73,691,779 | How to get views by ID that created programmatically? | <p>The view is created dynamically in the code:</p>
<pre><code> val textView = TextView(context).apply {
setTextColor(Color.BLACK)
setPadding(5,20,5,0)
text = label
id = lblID
}
linearLayout.addView(textView)
</code></pre>
<p>At some point, I need to get this view by... | The view is created dynamically in the code: [CODE] At some point, I need to get this view by ID in my fragment. In fragment I use binding to access static views defined in XML: [CODE] But, I do not know how to access dynamically created views by id. How can I access programmatically the views that are created dynamica... | android|kotlin|android-databinding | -1 | 2022-09-12T15:38:22.643Z | 2,022 | 9 | 15 | 0 | 36 | 1 | 354 | 53 | 3 | 2 | true | false | false | false | false | true | negative |
73,691,817 | Draw in ImageView | <p>I want to fill into imageView a path following the finger position and you can't draw outside of imageView. You only able to draw in imageView. I use Paint an on Touch. What I want to do is be able to draw where the user touches that Imageview with an image from the drawable folder.</p>
<p>this my java code</p>
<pre... | I want to fill into imageView a path following the finger position and you can't draw outside of imageView. You only able to draw in imageView. I use Paint an on Touch. What I want to do is be able to draw where the user touches that Imageview with an image from the drawable folder. this my java code [CODE] } Activity ... | android-studio|path|bitmap|imageview|draw | 0 | 2022-09-12T15:41:13.143Z | 2,022 | 9 | 15 | 0 | 20 | 0 | 506 | 17 | 5 | 2 | true | true | false | false | false | false | zero |
73,691,983 | Bad date parsing with Moshi | <p>I have this crash with Moshi:</p>
<p>I have this date to parse: <code>"Sep 2, 2022 3:33:05 PM"</code></p>
<p>This is my formatter: <code>SimpleDateFormat("MMM dd, yyyy hh:mm:ss aa")</code>
And this is my crash:</p>
<blockquote>
<p>com.squareup.moshi.JsonDataException: java.text.ParseException:
Un... | I have this crash with Moshi: I have this date to parse: "Sep 2, 2022 3:33:05 PM" This is my formatter: SimpleDateFormat("MMM dd, yyyy hh:mm:ss aa") And this is my crash: com.squareup.moshi.JsonDataException: java.text.ParseException: Unparseable date: "Sep 2, 2022 3:33:05 PM" at $.departu... | android|simpledateformat|mosh | 0 | 2022-09-12T15:52:51.323Z | 2,022 | 9 | 15 | 0 | 21 | 0 | 535 | 27 | 3 | 0 | false | true | false | false | false | false | zero |
73,692,148 | How to query student's subjects and corresponding marks? | <p><img src="https://i.stack.imgur.com/4U7bX.png" alt="My Tables" /></p>
<pre><code>public class DatabaseHelper extends SQLiteOpenHelper {
public static final String DATABASE_NAME = "register.db";
public static final String TABLE_NAME = "registeruser";
public static final String COL_1 = "ID&quo... | [CODE] For a student marks calculator Android app each student has around 5 subjects and each subject 5 categories of marks. I am reading about RAWQUERY and JOIN. How to fetch a student's subjects and corresponding marks categories? | android|sqlite | -2 | 2022-09-12T16:06:11.423Z | 2,022 | 9 | 16 | 0 | 71 | 2 | 232 | 56 | 2 | 1 | true | false | false | false | false | true | negative |
73,692,150 | I am trying to run flutter app without debuuger but everytime i face this error in VS code | <p>Parameter format not correct -
Running Gradle task 'assembleDebug'... 793.6s
√ Built build\app\outputs\flutter-apk\app-debug.apk.
cmd: Can't find service: activity
Installing build\app\outputs\flutter-apk\app.apk... 6.1s
Error: ADB exited with exit code 1
Performing Stream... | Parameter format not correct - Running Gradle task 'assembleDebug'... 793.6s √ Built build\app\outputs\flutter-apk\app-debug.apk. cmd: Can't find service: activity Installing build\app\outputs\flutter-apk\app.apk... 6.1s Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install C:\flutter pr... | android | 0 | 2022-09-12T16:06:29.170Z | 2,022 | 9 | 16 | 0 | 8 | 0 | 458 | 90 | 1 | 0 | false | true | false | false | false | false | zero |
73,692,292 | How to show/send text to BLE LED matrix device form Android App? | <p>I am working on one POC to show text from an Android app in an LED matrix device (BLE device). Till now I have done below steps -</p>
<ol>
<li>I can connect with the BLE device.</li>
<li>I can connect with the GATT server.</li>
<li>I got characteristics of the BLE device which are READ, WRITE WITHOUT RESPONSE and NO... | I am working on one POC to show text from an Android app in an LED matrix device (BLE device). Till now I have done below steps - I can connect with the BLE device. I can connect with the GATT server. I got characteristics of the BLE device which are READ, WRITE WITHOUT RESPONSE and NOTIFY. Now how I can send and show ... | android|arduino|bluetooth|bluetooth-lowenergy|bluetooth-gatt | 0 | 2022-09-12T16:18:45.423Z | 2,022 | 9 | 16 | 0 | 24 | 0 | 595 | 64 | 5 | 0 | false | true | false | false | false | false | zero |
73,692,473 | How to detect in real time if you are connected to wifi in an appwidget | <p>I would like to retrieve the state of the connection if it is in wifi or mobile data and this in real time, that is to say that if I desactivate the wifi or it is reactivated, I must be alerted in my widget .</p>
<p>I have made this code which works but is not practical at all or I have to test the connexion every s... | I would like to retrieve the state of the connection if it is in wifi or mobile data and this in real time, that is to say that if I desactivate the wifi or it is reactivated, I must be alerted in my widget . I have made this code which works but is not practical at all or I have to test the connexion every second, it ... | android|wifi|android-appwidget | 0 | 2022-09-12T16:34:06.527Z | 2,022 | 9 | 16 | 0 | 13 | 0 | 577 | 71 | 3 | 1 | true | true | false | false | false | false | zero |
73,692,628 | Clip composable with vector drawable | <p>I would like to clip my composable with custom shape i would store in drawable.
At the moment i'm getting the pathData from a vector and apply it to a composable in this manner:</p>
<pre><code>Outline.Generic(
// Transform pathData to path and then transform it into compose usable path
... | I would like to clip my composable with custom shape i would store in drawable. At the moment i'm getting the pathData from a vector and apply it to a composable in this manner: [CODE] The problem is that at the moment it doesn't scale the pathData so it can adapt every composable size and not just apply the size defin... | android|vector|android-jetpack-compose | 2 | 2022-09-12T16:48:18.880Z | 2,022 | 9 | 16 | 0 | 28 | 0 | 379 | 36 | 3 | 1 | true | true | false | false | false | false | low |
73,692,630 | com.google.mlkit.vision.text.TextRecognizer com.google.mlkit.vision.text.internal.zzb.zza() on a null object reference | <p>I'm trying to implement mlkit for text recognition.</p>
<p>But while using</p>
<p><code> val recognizer= TextRecognition.getClient()</code></p>
<p>Throws this expection</p>
<pre><code>com.google.mlkit.vision.text.internal.zzb.zza() on a null object reference
</code></pre> | I'm trying to implement mlkit for text recognition. But while using val recognizer= TextRecognition.getClient() Throws this expection [CODE] | android|kotlin|google-mlkit|firebase-machine-learning | 0 | 2022-09-12T16:48:27.653Z | 2,022 | 9 | 16 | 0 | 27 | 0 | 140 | 118 | 4 | 1 | true | true | false | false | false | false | zero |
73,692,751 | Optimize and monitor my data fetch from firebase realtime database to android application | <p>I am new to android application as well as firebase realtime database. I have build my application, but it's going beyond my limit; it's fetching all the data from database again and again.
How to optimize the code and also is there any way to monitor my data usage from my application/android studio.</p>
<p>Kindly h... | I am new to android application as well as firebase realtime database. I have build my application, but it's going beyond my limit; it's fetching all the data from database again and again. How to optimize the code and also is there any way to monitor my data usage from my application/android studio. Kindly help. | android|firebase|android-studio|firebase-realtime-database | 0 | 2022-09-12T16:59:14.163Z | 2,022 | 9 | 16 | 0 | 11 | 0 | 314 | 89 | 4 | 0 | false | true | false | false | false | false | zero |
73,692,787 | Android proximity sensor | <p>A few years (and several API's) ago I made an app that turned off the screen when the lid/cover was closed (but the app didn't go to sleep). I'm trying to do it again but I can't remember if I used the proximity sensor or Wake lock. I've been trying with the below code. If I put my finger on the sensor it fires a 'o... | A few years (and several API's) ago I made an app that turned off the screen when the lid/cover was closed (but the app didn't go to sleep). I'm trying to do it again but I can't remember if I used the proximity sensor or Wake lock. I've been trying with the below code. If I put my finger on the sensor it fires a 'onSe... | android|sensors|proximity | 0 | 2022-09-12T17:02:33.870Z | 2,022 | 9 | 17 | 0 | 20 | 0 | 425 | 24 | 3 | 1 | true | true | false | false | false | false | zero |
73,692,788 | Harmonize Volume Level when outputting to HDMI from local Audio Sink | <p>I'm working on an AndroidTV application embedded in an audio sink (that has also the capability of outputting to HDMI).
I'm having an issue with the transitioning between the local output and the output to HDMI, since the volume level outputted on the HDMI output is way lower (sometimes even inaudible) than the one ... | I'm working on an AndroidTV application embedded in an audio sink (that has also the capability of outputting to HDMI). I'm having an issue with the transitioning between the local output and the output to HDMI, since the volume level outputted on the HDMI output is way lower (sometimes even inaudible) than the one I o... | volume|android-tv|hdmi | 0 | 2022-09-12T17:02:40.647Z | 2,022 | 9 | 17 | 0 | 10 | 0 | 894 | 68 | 3 | 0 | false | true | false | false | false | false | zero |
73,692,806 | Android : Kotlin Initialise interface variable and call its method | <p>I have a base activity which observes the change of network connectivity status.</p>
<pre><code> class BaseActivity : AppCompatActivity() {
private val connectivityLiveStatus: ConnectionLiveStatus = ConnectionLiveStatus(this)
init {
observeConnectivity()
}
private fun observeConnectivity... | I have a base activity which observes the change of network connectivity status. [CODE] I want my MainActivity to inherit this BaseActivity class and have its own definition of handling change in connectivity. But since MainActivity already inherits AppCompatActivity() [CODE] I cannot Inherit another Class since Kotlin... | android|kotlin|class|oop|interface | 0 | 2022-09-12T17:03:43.377Z | 2,022 | 9 | 17 | 0 | 32 | 0 | 1,045 | 66 | 5 | 4 | true | true | false | false | false | false | zero |
73,692,816 | Cannot resolve method 'getOnBackPressedDispatcher' in API33 | <p>I am trying to resolve the <code>onBackPressed() in Activity has been deprecated</code> warning in API33 (Android Studio). Both my <code>compileSdkVersion</code> and <code>targetSdkVersion</code> is 33.</p>
<p>Following the instructions <a href="https://stackoverflow.com/a/72634975/1483390">here</a>, I added to the ... | I am trying to resolve the onBackPressed() in Activity has been deprecated warning in API33 (Android Studio). Both my compileSdkVersion and targetSdkVersion is 33. Following the instructions here , I added to the build.gradle implementation: [CODE] (same problem happens with the newer rc01 ) and imported the callback i... | android-studio|android-appcompat | 0 | 2022-09-12T17:05:07.547Z | 2,022 | 9 | 17 | 0 | 38 | 0 | 567 | 59 | 2 | 4 | true | true | false | false | false | false | zero |
73,692,820 | Crash when compiling null Viusual studio cant run flutter | <p>I'm just getting into Flutter, I tried to run the default flutter app on Visual Studio Code but it won't run here is the error code:</p>
<pre><code>Crash when compiling null,
at character offset null:
Null check operator used on a null value
#0 InferableTypeBuilderMixin.type (package:front_end/src/fasta/builder... | I'm just getting into Flutter, I tried to run the default flutter app on Visual Studio Code but it won't run here is the error code: [CODE] I can run the code on Android Studio IDE but not on VS Code. There are no problems with flutter doctor, I have both flutter and dart extensions installed on VS Code. | android|flutter|android-studio|visual-studio-code|compiler-errors | 0 | 2022-09-12T17:05:47.483Z | 2,022 | 9 | 17 | 0 | 52 | 4 | 305 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
73,692,858 | How to flip spinner text | <p>I am creating an app and i need my spinner to display its items upside down. I have used rotation -180 but that only flips the contracted spinner and not the extended spinner. I would like something like this:<a href="https://i.stack.imgur.com/zZGcA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/... | I am creating an app and i need my spinner to display its items upside down. I have used rotation -180 but that only flips the contracted spinner and not the extended spinner. I would like something like this: How do i do that? | android|android-studio | -1 | 2022-09-12T17:10:01.840Z | 2,022 | 9 | 17 | 0 | 61 | 0 | 227 | 24 | 2 | 0 | false | true | false | false | false | true | negative |
73,692,883 | Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_IMMUTABLE be specified when creating a Pendingintent | <p>I am facing this issue while upgrading the targetSDK to 31 (Android 12)</p>
<p>I am using react native, A package called <a href="https://github.com/Bruno-Furtado/react-native-sms-retriever/" rel="nofollow noreferrer">react-native-sms-retriver</a> There is a PendingIntent used in <a href="https://github.com/Bruno-Fu... | I am facing this issue while upgrading the targetSDK to 31 (Android 12) I am using react native, A package called react-native-sms-retriver There is a PendingIntent used in PhoneNumberHelper.java [CODE] How can i fix this? I have tried the following to no avail adding implementation 'androidx.work:work-runtime:2.7.1' i... | android|react-native|android-pendingintent|android-12|androidsdk31 | 0 | 2022-09-12T17:12:49.437Z | 2,022 | 9 | 17 | 0 | 52 | 0 | 698 | 132 | 5 | 2 | true | true | false | false | false | false | zero |
73,692,898 | i have problem with kivy and buildozer after a week it works | <pre><code>import kivy.app
import kivy.uix.label
class TestApp(kivy.app.App):
def build(self):
return kivy.uix.label.Label(text="Hello World")
app = TestApp()
app.run()
</code></pre>
<p>together it did not make me publish the buildozer.spec I will find a way to show it to you</p> | [CODE] together it did not make me publish the buildozer.spec I will find a way to show it to you | python|android|python-3.x|kivy | 0 | 2022-09-12T17:14:23.193Z | 2,022 | 9 | 17 | 0 | 27 | 1 | 97 | 60 | 4 | 1 | true | false | false | false | false | false | zero |
73,692,984 | Getting Windows Server 2016 to listen for Multicast DNS requests | <p>I am setting up a local Windows Server 2016 machine as a Domain Controller on a network without internet connection as a proof of concept. All the required machines (one being a web server) are set up and working, and the router (an old CenturyLink modem being reused) seems to be sending DNS requests to the right p... | I am setting up a local Windows Server 2016 machine as a Domain Controller on a network without internet connection as a proof of concept. All the required machines (one being a web server) are set up and working, and the router (an old CenturyLink modem being reused) seems to be sending DNS requests to the right place... | android|windows|networking|dns | -2 | 2022-09-12T17:20:45.173Z | 2,022 | 9 | 17 | 0 | 21 | 0 | 725 | 64 | 4 | 0 | false | true | false | false | false | true | negative |
73,693,067 | Android RecyclerView Half Swipe and delete item | <p>I would like to implement swiping gesture from right to left for items inside <code>RecyclerView</code>. The view should be retained, so users can click on the delete button.</p>
<p>I found these approaches <a href="https://%20https://zatackcoder.com/android-recyclerview-swipe-to-multiple-options/" rel="nofollow no... | I would like to implement swiping gesture from right to left for items inside RecyclerView . The view should be retained, so users can click on the delete button. I found these approaches one , two , but I'm wondering if there are any newer or simpler ways. Thanks for your help! | java|android|android-recyclerview|swipe | 0 | 2022-09-12T17:27:35.480Z | 2,022 | 9 | 17 | 0 | 40 | 0 | 279 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
73,693,227 | How write tag NFC with MifareClassic in bytes array | <p>I'm trying to write to a tag but I don't want to send a text, I want to send an array of bytes because that way I'll have a better sending control and I'll be able to establish fixed data according to the position of the array when I read it, I was investigating and I didn't find anything in particular .</p>
<p>The ... | I'm trying to write to a tag but I don't want to send a text, I want to send an array of bytes because that way I'll have a better sending control and I'll be able to establish fixed data according to the position of the array when I read it, I was investigating and I didn't find anything in particular . The tag I have... | android|android-studio|tags|nfc | 1 | 2022-09-12T17:39:45.383Z | 2,022 | 9 | 17 | 0 | 28 | 0 | 844 | 51 | 4 | 1 | true | true | false | false | false | false | low |
73,693,249 | Android Studio: Android resource linking failed with drawables files | <p>Im currently just setting up a base project in android studio and keep running into this error when I boot up a standard empty activity project. I have not changed anything or added anything just your standard run of the mill project and I cannot resolve this for the life of me. Any ideas?
<a href="https://i.stack.i... | Im currently just setting up a base project in android studio and keep running into this error when I boot up a standard empty activity project. I have not changed anything or added anything just your standard run of the mill project and I cannot resolve this for the life of me. Any ideas? enter image description here | android | 0 | 2022-09-12T17:42:03.177Z | 2,022 | 9 | 17 | 0 | 12 | 0 | 319 | 68 | 1 | 0 | false | true | false | false | false | false | zero |
73,693,277 | Using Google Sign-In to keep track of user's free quota - what if user disconnects account? | <p>My Android app gives users a free monthly quota for the service provided. Users are required to sign in with Google to keep track of the quota.</p>
<p>Now the documentation for Google Sign-In states <a href="https://developers.google.com/identity/sign-in/android/disconnect" rel="nofollow noreferrer">here</a></p>
<bl... | My Android app gives users a free monthly quota for the service provided. Users are required to sign in with Google to keep track of the quota. Now the documentation for Google Sign-In states here It is highly recommended that you provide users that signed in with Google the ability to disconnect their Google account f... | android|google-signin|privacy | 0 | 2022-09-12T17:44:44.533Z | 2,022 | 9 | 17 | 0 | 27 | 0 | 900 | 91 | 3 | 0 | false | true | false | false | false | false | zero |
73,693,279 | Why PlayIntegrity api call resulting in Error code : GoogleServerUnavailable. Where am i going wrong? | <p>Since Safety net api will be no longer supported by google so i got focussed to implement PlayIntegrity API for my Android security app, but unfortunately am not getting the token since it is giving an error as:GOOGLE SERVER UNAVAILABLE. Any help will be appreciated(Have done the ground works like Play & Cloud ... | Since Safety net api will be no longer supported by google so i got focussed to implement PlayIntegrity API for my Android security app, but unfortunately am not getting the token since it is giving an error as:GOOGLE SERVER UNAVAILABLE. Any help will be appreciated(Have done the ground works like Play & Cloud console ... | java|android|google-cloud-platform|google-play-console | 0 | 2022-09-12T17:44:52.897Z | 2,022 | 9 | 17 | 0 | 73 | 1 | 338 | 101 | 4 | 1 | true | false | false | false | false | false | zero |
73,693,349 | Android project building fails after adding Flutter module | <p>I'm trying to add a Flutter module to an existing Android app, I tried as Docs step by step <a href="https://docs.flutter.dev/.../add-to.../android/project-setup" rel="nofollow noreferrer">https://docs.flutter.dev/.../add-to.../android/project-setup</a>.</p>
<p>but it fails when running and throws this error:</p>
<b... | I'm trying to add a Flutter module to an existing Android app, I tried as Docs step by step https://docs.flutter.dev/.../add-to.../android/project-setup . but it fails when running and throws this error: Execution failed for task ':app:mergeLibDexWidamDebug'. Could not resolve all files for configuration ':app:wDebugRu... | android|flutter|gradle|flutter-module | 1 | 2022-09-12T17:51:32.587Z | 2,022 | 9 | 17 | 0 | 17 | 0 | 691 | 58 | 4 | 0 | false | true | false | false | false | false | low |
73,693,408 | What is the best way to schedule a brief task from an already running background service? | <p>I have implemented a NotificationListenerService that runs in the background.</p>
<p>From this services onNotificationPosted method, I would like to be able to queue work to happen in 2 minutes time.</p>
<p>What is the best way to go about this?</p>
<p>Both JobScheduler and Workmanager have a minimum interval of 15 ... | I have implemented a NotificationListenerService that runs in the background. From this services onNotificationPosted method, I would like to be able to queue work to happen in 2 minutes time. What is the best way to go about this? Both JobScheduler and Workmanager have a minimum interval of 15 minutes. Because I alrea... | android|android-workmanager|timertask|android-jobscheduler | 0 | 2022-09-12T17:56:39.693Z | 2,022 | 9 | 17 | 0 | 26 | 1 | 504 | 89 | 4 | 0 | false | false | false | false | false | false | zero |
73,693,591 | react native kiosk mode listen to unpinning from device buttons | <p>I want to implement kiosk mode on react native (android). I have implemented the functionality to pin/unpin application and check if lock task mode is active using activityManager.getLockTaskModeState, startLockTask & stopLockTask.</p>
<p>The problem is i cannot track when user unpin the app by pressing recencts... | I want to implement kiosk mode on react native (android). I have implemented the functionality to pin/unpin application and check if lock task mode is active using activityManager.getLockTaskModeState, startLockTask & stopLockTask. The problem is i cannot track when user unpin the app by pressing recencts/back buttons.... | android|react-native|kiosk-mode|react-native-native-module | 0 | 2022-09-12T18:13:14.110Z | 2,022 | 9 | 18 | 0 | 37 | 0 | 450 | 63 | 4 | 1 | true | true | false | false | false | false | zero |
73,693,770 | How to deduct chars pasted in edit text from clipboard in Android | <p>I am trying to restrict paste char from clipboard in Android. I am not able to get any call backs or Listeners for paste event when I paste from clipboard. I got some solution from stack over flow.</p>
<pre><code>EditText et = (EditText) mView.findViewById(R.id.yourEditText);
et.addTextChangedListener(new TextWatche... | I am trying to restrict paste char from clipboard in Android. I am not able to get any call backs or Listeners for paste event when I paste from clipboard. I got some solution from stack over flow. [CODE] But the problem is if user pasted 1 char mean it is not consider as paste event. So I gave another hack using setOn... | android | 0 | 2022-09-12T18:30:37.890Z | 2,022 | 9 | 18 | 0 | 15 | 0 | 827 | 65 | 1 | 2 | true | true | false | false | false | false | zero |
73,693,771 | Jetpack compose navigate forward | <p>I have a simple navigation flow:</p>
<p>Screen A -> Screen B</p>
<p>After I do some work in Screen A, I navigate to Screen B, and do some work there. Then I remember I forgot to finish a task in Screen A, and I press the system back button and it takes me back to A. I can see all the local states are preserved/re... | I have a simple navigation flow: Screen A -> Screen B After I do some work in Screen A, I navigate to Screen B, and do some work there. Then I remember I forgot to finish a task in Screen A, and I press the system back button and it takes me back to A. I can see all the local states are preserved/remembered (texts in t... | android|android-jetpack-compose|jetpack-compose-navigation | 0 | 2022-09-12T18:30:42.530Z | 2,022 | 9 | 18 | 0 | 45 | 1 | 671 | 32 | 3 | 0 | false | false | false | false | false | false | zero |
73,693,804 | protos.jar not found | <p>Gradle sync failed: Could not find protos-30.1.2.jar (com.android.tools.analytics-library:protos:30.1.2).
Searched in the following locations:
<a href="https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/30.1.2/protos-30.1.2.jar" rel="nofollow noreferrer">https://dl.google.com/dl/andro... | Gradle sync failed: Could not find protos-30.1.2.jar (com.android.tools.analytics-library:protos:30.1.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/30.1.2/protos-30.1.2.jar (339 ms) | flutter|android-studio|gradle|build.gradle | 0 | 2022-09-12T18:33:30.600Z | 2,022 | 9 | 18 | 0 | 9 | 0 | 259 | 20 | 4 | 0 | false | true | false | false | false | false | zero |
73,693,847 | AbstractGoogleClientRequest and GoogleClientRequestInitializer class not found in com.google.api-client:google-api-client-android:2.0.0 | <p>My Android app with Cloud Endpoints says these classes do not exist</p>
<pre><code>import com.google.api.client.googleapis.services.AbstractGoogleClientRequest;
import com.google.api.client.googleapis.services.GoogleClientRequestInitializer;
</code></pre>
<p>when using any version higher than 1.31.0 of the following... | My Android app with Cloud Endpoints says these classes do not exist [CODE] when using any version higher than 1.31.0 of the following import [CODE] The latest version is 2.0.0 but even 1.32.1 has the issue. Anything that is 1.31.0 or lower works. This is what my code looks like (taken from this link ): [CODE] Is there ... | java|android|maven|gradle|google-cloud-endpoints | 0 | 2022-09-12T18:38:01.880Z | 2,022 | 9 | 18 | 0 | 43 | 1 | 403 | 135 | 5 | 3 | true | false | false | false | false | false | zero |
73,693,861 | how to get the values in DatePicker in java Android | <p>I want the user to be able to select the date of birth using the custom DatePicker from XML, the issue is that I don't know how to get the values selected and store it as a LocalDate variable because the backend stored it as a LocalDate. Firstly I customized it with DatePickerDialog but the thing is so frustrating, ... | I want the user to be able to select the date of birth using the custom DatePicker from XML, the issue is that I don't know how to get the values selected and store it as a LocalDate variable because the backend stored it as a LocalDate. Firstly I customized it with DatePickerDialog but the thing is so frustrating, jus... | java|android|datepicker | 0 | 2022-09-12T18:39:03.557Z | 2,022 | 9 | 18 | 0 | 21 | 0 | 984 | 51 | 3 | 3 | true | true | false | false | false | false | zero |
73,693,989 | Android - imageView.background.setTint() changes color of background drawable throughout the application | <p>We have an imageView whose background has a vector asset drawable(<code>ic_star.xml</code>). When I change the background tint of this imageView programatically with a custom color like below, it causes to change the color of imageViews on other pages using this vector assset. In other words, whatever color I set la... | We have an imageView whose background has a vector asset drawable( ic_star.xml ). When I change the background tint of this imageView programatically with a custom color like below, it causes to change the color of imageViews on other pages using this vector assset. In other words, whatever color I set last, that color... | android|kotlin|imageview|tint|android-components | 0 | 2022-09-12T18:51:15.840Z | 2,022 | 9 | 18 | 0 | 28 | 0 | 1,268 | 104 | 5 | 2 | true | true | false | false | false | false | zero |
73,694,007 | Clickable span in xml | <p><a href="https://i.stack.imgur.com/Ji1CD.jpg" rel="nofollow noreferrer">In the single activity i want to create two clickable spans(links that leads to another activity not to website)
1.'forget password?'will be a clickable link Which leads to another activity ResetPassword &
2.'sign up'will be another link t... | In the single activity i want to create two clickable spans(links that leads to another activity not to website) 1.'forget password?'will be a clickable link Which leads to another activity ResetPassword & 2.'sign up'will be another link that assigns activity to the sign up page.. Any solution for that?? | java|android|xml | -3 | 2022-09-12T18:52:34.427Z | 2,022 | 9 | 18 | 0 | 25 | 0 | 305 | 21 | 3 | 0 | false | true | false | false | false | true | negative |
73,694,057 | Generate random number only once | <p>I am using a library to rate my app and there is a function called <code>.setInstallDays(n)</code> that is called <code>OnCreate</code> method and it recieves a number as argument so that a rate dialog will be shown after the n days of installs. It is working ok, but I would want to set that n number as a random num... | I am using a library to rate my app and there is a function called .setInstallDays(n) that is called OnCreate method and it recieves a number as argument so that a rate dialog will be shown after the n days of installs. It is working ok, but I would want to set that n number as a random number in a range of numbers. Th... | java|android|random | 0 | 2022-09-12T18:57:20.240Z | 2,022 | 9 | 18 | 0 | 74 | 2 | 746 | 32 | 3 | 1 | true | false | false | false | false | false | zero |
73,694,094 | Convert ArrayList of objects (Value, Key) values into TLV - Kotlin | <p>I have a data class called Tags that contains a key and value (both Strings). I am required to generate a TLV with these Tag entries but none of the libraries I have used have worked.</p>
<p>Primarily:</p>
<ul>
<li><p><a href="https://github.com/evsinev/ber-tlv" rel="nofollow noreferrer">https://github.com/evsinev/b... | I have a data class called Tags that contains a key and value (both Strings). I am required to generate a TLV with these Tag entries but none of the libraries I have used have worked. Primarily: https://github.com/evsinev/ber-tlv https://github.com/TapTrack/KotlinTLV An example of a Tag we have is: Tags("df79"... | android|kotlin|tlv | 0 | 2022-09-12T19:01:14.263Z | 2,022 | 9 | 19 | 0 | 26 | 0 | 501 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
73,694,129 | Change value in XML file via Android Java | <p>I want to change the "value" and "defaultValue" of the "drop" that contains "a33"</p>
<pre><code><?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<settings version="-1">
<setting id="1" name="a1" value="VAL555" d... | I want to change the "value" and "defaultValue" of the "drop" that contains "a33" [CODE] I want to do this for an app in Android Java Currently, I can't go anywhere. I have no idea where to start from, or where to look for. | java|android | 0 | 2022-09-12T19:03:30.493Z | 2,022 | 9 | 19 | 0 | 30 | 0 | 263 | 41 | 2 | 1 | true | true | false | false | false | false | zero |
73,694,202 | Share Image Intent [The file format is not supported] | <p>I implemented share image to other apps using intent, I followed the recommended approach by saving the image first then getting its LocalBitmapUri. but when i run the app and share image i get the Toast message <code> [The file format is not supported]</code>. and i cant seem to figure out what I did wrong.. thanks... | I implemented share image to other apps using intent, I followed the recommended approach by saving the image first then getting its LocalBitmapUri. but when i run the app and share image i get the Toast message [The file format is not supported] . and i cant seem to figure out what I did wrong.. thanks. [CODE] | android|android-studio|kotlin|android-intent | 0 | 2022-09-12T19:11:08.970Z | 2,022 | 9 | 19 | 0 | 24 | 0 | 312 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.