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,206,597 | I'm trying to use safe args but when i add the dependencies to the project level build.gradle it gives me this error | <pre><code>plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
}
dependencies {
"android.arch.navigation:navigation-safe-args-gradle-plugin:$version_navigation"
}
tas... | [CODE] Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'version_navigation' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. | android|kotlin | 1 | 2022-08-02T11:13:20.130Z | 2,022 | 8 | 11 | 1 | 434 | 3 | 203 | 116 | 2 | 1 | true | false | false | false | false | false | low |
73,206,601 | How to hide Progressbar when data is retrived from frirebase into recycloeview | <p>I want to show a Progressbar when my data is being retrived from firebasedatabase into recyclerview, and hide it when its done. I searched online but no soln. works</p>
<p>here is my mainActivity</p>
<p>public class MemesSchool extends AppCompatActivity {</p>
<pre><code> RecyclerView recyclerView;
MemeAdapter mem... | I want to show a Progressbar when my data is being retrived from firebasedatabase into recyclerview, and hide it when its done. I searched online but no soln. works here is my mainActivity public class MemesSchool extends AppCompatActivity { [CODE] here is my MainActivity.XML [CODE] my Adapterclass [CODE] There Is an M... | android|firebase-realtime-database|firebaseui|android-progressbar | 0 | 2022-08-02T11:13:31.757Z | 2,022 | 8 | 11 | 1 | 41 | 1 | 584 | 78 | 4 | 3 | true | false | false | false | false | false | zero |
73,206,652 | TextField unfocuses when the soft keyboard appears | <p>For some reason, when I press the TextField, it focuses for a split second and then unfocuses immediately as the soft keyboard comes up. I can still type and submit, but the labelText doesn't disappear like it's supposed to and most importantly, <code>FocusManager.instance.primaryFocus?.unfocus()</code> doesn't let ... | For some reason, when I press the TextField, it focuses for a split second and then unfocuses immediately as the soft keyboard comes up. I can still type and submit, but the labelText doesn't disappear like it's supposed to and most importantly, FocusManager.instance.primaryFocus?.unfocus() doesn't let the keyboard dis... | android|flutter|dart|mobile | 0 | 2022-08-02T11:18:03.930Z | 2,022 | 8 | 11 | 1 | 42 | 1 | 459 | 50 | 4 | 1 | true | false | false | false | false | false | zero |
73,206,654 | How to Calculate a sum with percentage in android studio | <p>I have an app where I have to calculate 2 sums with a discounted rate.
eg:200 + 50 - 10%
the result should be shown automatically on the other textView without clicking any submit button
I have done the addition part by textWatcher method. But I am not able to do the percentage part
This is My code.</p>
<p>My Xml Co... | I have an app where I have to calculate 2 sums with a discounted rate. eg:200 + 50 - 10% the result should be shown automatically on the other textView without clicking any submit button I have done the addition part by textWatcher method. But I am not able to do the percentage part This is My code. My Xml Code: [CODE]... | android | 0 | 2022-08-02T11:18:21.543Z | 2,022 | 8 | 11 | 1 | 56 | 2 | 342 | 56 | 1 | 2 | true | false | false | false | false | false | zero |
73,206,682 | How to pause circular progress bar in android studio Kotlin? | <p>I am done starting circular progress bar but not able to pause.</p>
<p><code>binding.start.setOnClickListener { binding.circularProgressBar.apply { progress=0f setProgressWithAnimationk(60f,60000) progressMax=60f}</code></p>
<p>waiting your solutions
Thanks in advance</p> | I am done starting circular progress bar but not able to pause. binding.start.setOnClickListener { binding.circularProgressBar.apply { progress=0f setProgressWithAnimationk(60f,60000) progressMax=60f} waiting your solutions Thanks in advance | android|kotlin|progress-bar | 0 | 2022-08-02T11:20:16.487Z | 2,022 | 8 | 11 | 1 | 29 | 0 | 241 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
73,206,757 | Unable to launch the emulator for android OS | <p>I'm trying to build a specific version of Android, but I find myself with unexpected problems.
The process I followed is to <a href="https://source.android.com/setup/build/building" rel="nofollow noreferrer">build android</a></p>
<p>When I do the instruction</p>
<pre><code>emulator --partition-size 4096 -show-kernel... | I'm trying to build a specific version of Android, but I find myself with unexpected problems. The process I followed is to build android When I do the instruction [CODE] I am notified of the following error [CODE] Instead, trying to add some serious check: [CODE] I get another error: [CODE] I have no idea what that me... | android|android-studio|build | 0 | 2022-08-02T11:26:32.187Z | 2,022 | 8 | 11 | 1 | 35 | 0 | 505 | 44 | 3 | 4 | true | true | false | false | false | false | zero |
73,206,943 | why the size of my apk on windows is different from the one given by unity | <p>I have several questions about my apk's size, first why the apk's size shown in the Editor Log <a href="https://i.stack.imgur.com/udEz1.png" rel="nofollow noreferrer">here</a> is different than the one shown on my windows <a href="https://i.stack.imgur.com/NGk1g.png" rel="nofollow noreferrer">here</a>? Second I know... | I have several questions about my apk's size, first why the apk's size shown in the Editor Log here is different than the one shown on my windows here ? Second I know the "Complete build size" in the Editor Log contains also the size of unity engine'core, but 75.9mb seems too much, is this normal (I'm using u... | android|unity3d|apk|size | 1 | 2022-08-02T11:41:42.340Z | 2,022 | 8 | 11 | 1 | 57 | 2 | 450 | 74 | 4 | 0 | false | false | false | false | false | false | low |
73,206,986 | Android TFlite ignore certain classes while running detection | <p>When we run tflite model on android device we provide all classes on trained tflite weights.</p>
<p>But I dont want to detect all classes in shared weights. Is there any way to detect only required classes while running detections ?</p> | When we run tflite model on android device we provide all classes on trained tflite weights. But I dont want to detect all classes in shared weights. Is there any way to detect only required classes while running detections ? | java|android|tflite | 0 | 2022-08-02T11:45:17.190Z | 2,022 | 8 | 11 | 1 | 13 | 0 | 225 | 61 | 3 | 0 | false | true | false | false | false | false | zero |
73,207,016 | Progress color is filled to the end(without thumb) initially when play the content and then going to the position | <p>I have used one progress drawable for the seek bar to change the progress and track color. Without using this drawable the seek bar is working fine not getting that issue. But the seek bar is taking the app theme color which is not required. If I use this drawable then the issue(filled to end just color only not the... | I have used one progress drawable for the seek bar to change the progress and track color. Without using this drawable the seek bar is working fine not getting that issue. But the seek bar is taking the app theme color which is not required. If I use this drawable then the issue(filled to end just color only not the se... | java|android | 0 | 2022-08-02T11:47:30.390Z | 2,022 | 8 | 11 | 1 | 10 | 0 | 434 | 113 | 2 | 1 | true | true | false | false | false | false | zero |
73,207,043 | Android navigation component open a modal graph by deep link | <p>I am using the single activity approach with the navigation component. I have the main activity which is a container for the main fragment. The main fragment contains a container for all other fragments in the app and the bottom navigation. I've created several graphs to allow each tab to own its own navigation back... | I am using the single activity approach with the navigation component. I have the main activity which is a container for the main fragment. The main fragment contains a container for all other fragments in the app and the bottom navigation. I've created several graphs to allow each tab to own its own navigation back st... | android|android-architecture-navigation|android-bottomnav | 0 | 2022-08-02T11:49:28.343Z | 2,022 | 8 | 11 | 1 | 25 | 0 | 1,091 | 60 | 3 | 3 | true | true | false | false | false | false | zero |
73,207,123 | Appium starts application but test gives error “FAIL : No application is open” | <ol>
<li><strong>The problem:</strong>
i use appium+robotframework to test my app.when i use key words:Open Application,it always gets failed result:No application is open.but actually the app was already open.i started appium server with code:appium -p 4723 --session-override --no-reset.</li>
<li><strong>Environment:<... | The problem: i use appium+robotframework to test my app.when i use key words:Open Application,it always gets failed result:No application is open.but actually the app was already open.i started appium server with code:appium -p 4723 --session-override --no-reset. Environment: [CODE] Log: in robotframework,i runed the t... | appium|appium-android|python-appium | 0 | 2022-08-02T11:55:29.467Z | 2,022 | 8 | 11 | 1 | 54 | 1 | 356 | 78 | 3 | 2 | true | false | false | false | false | false | zero |
73,207,126 | LazyList/LazyGrid is not recomposed | <p>I have LazyList/LazyGrid that collects pagingData from room DB. when a column is updated the LazyList is not recomposing. it recomposes when we scroll the list a bit. then the Ui is updated.</p> | I have LazyList/LazyGrid that collects pagingData from room DB. when a column is updated the LazyList is not recomposing. it recomposes when we scroll the list a bit. then the Ui is updated. | android-jetpack-compose|android-paging-3|android-compose-lazyfor | 0 | 2022-08-02T11:55:34.327Z | 2,022 | 8 | 11 | 1 | 42 | 0 | 190 | 35 | 3 | 0 | false | true | false | false | false | false | zero |
73,207,196 | How to fetch fitness data from Garmin in Android | <p>I am implementing Garmin watch in our application and I am trying to fetch step, sleep and heart rate but I can not get the data properly. So please help me to implement it properly.</p>
<p>Note: Please share dummy source code in anyone have.</p> | I am implementing Garmin watch in our application and I am trying to fetch step, sleep and heart rate but I can not get the data properly. So please help me to implement it properly. Note: Please share dummy source code in anyone have. | android|watch|garmin|fitness | 0 | 2022-08-02T12:00:57.040Z | 2,022 | 8 | 12 | 1 | 33 | 0 | 235 | 48 | 4 | 0 | false | true | false | false | false | false | zero |
73,207,200 | How to get the text from Listview to output to my external txt file | <p>I'm new here and I'm new to programming in general.
I followed a YouTube video to make a simple todo list app for android and have since modified it into a visitors register.
I am copying people who sign in to an external txt file (that part is ok because I can grab the information as it's entered) but I have been s... | I'm new here and I'm new to programming in general. I followed a YouTube video to make a simple todo list app for android and have since modified it into a visitors register. I am copying people who sign in to an external txt file (that part is ok because I can grab the information as it's entered) but I have been stru... | android-studio|kotlin | 0 | 2022-08-02T12:01:49.793Z | 2,022 | 8 | 12 | 1 | 45 | 0 | 1,606 | 67 | 2 | 4 | true | true | false | false | false | false | zero |
73,207,233 | Can a resistive touch panel with a USB controller be an optional add on for Android Tablet | <p>Android Tablets and Phones have capacitive touch panels built in so do some Windows 10 tablets. I have a 7" windows tablet and have simply placed a 7 inch resistive touch panel with a USB controller over the built in capacitive touch panel.</p>
<p>The resistive touch works well especially with a stylus for acti... | Android Tablets and Phones have capacitive touch panels built in so do some Windows 10 tablets. I have a 7" windows tablet and have simply placed a 7 inch resistive touch panel with a USB controller over the built in capacitive touch panel. The resistive touch works well especially with a stylus for activating sma... | android | 0 | 2022-08-02T12:04:14.410Z | 2,022 | 8 | 12 | 1 | 34 | 0 | 1,659 | 90 | 1 | 0 | false | true | false | false | false | false | zero |
73,207,252 | Appium With C# - How to select file from gallery with ADB command or with some other way? | <p>I am currently automating our App (Using C# and Appium). We have the feature of uploading images from a gallery.
With Appium and through our app, I am able to open the gallery view. Need to select the image with a specific name/path.
How can this be achieved with the ADB command (from C# code) or is there any other... | I am currently automating our App (Using C# and Appium). We have the feature of uploading images from a gallery. With Appium and through our app, I am able to open the gallery view. Need to select the image with a specific name/path. How can this be achieved with the ADB command (from C# code) or is there any other way... | c#|android|automation|appium|appium-android | 0 | 2022-08-02T12:05:24.267Z | 2,022 | 8 | 12 | 1 | 49 | 1 | 321 | 89 | 5 | 0 | false | false | false | false | false | false | zero |
73,207,287 | I'm getting an error: _CastError (type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast) | <p>When I create a new user the error (_CastError (type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast)) appears at User.fromSnap ...as Map<stringm,dynamic> and firebase creates the user auth but not the user data</p>
<p>How can I add array of array of objects to Firebase?</p>
<pre><cod... | When I create a new user the error (_CastError (type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast)) appears at User.fromSnap ...as Map<stringm,dynamic> and firebase creates the user auth but not the user data How can I add array of array of objects to Firebase? [CODE] auth_methods.dart [CODE] | android|flutter|api|dart|android-emulator | 0 | 2022-08-02T12:07:27.460Z | 2,022 | 8 | 12 | 1 | 173 | 1 | 316 | 107 | 5 | 2 | true | false | false | false | false | false | zero |
73,207,394 | What Is The Best Approach To Get Location In Android App? Foreground Or Background? | <p>I'm trying to make an Android app that gets (and saves) GPS coordinates every time a questionnaire form on the app is completed and the Save button is pressed (noting the GPS location part is not shown). Minimum device platform requirement is Oreo 8.1 (API level 27).</p>
<p>I have looked up two <a href="https://git... | I'm trying to make an Android app that gets (and saves) GPS coordinates every time a questionnaire form on the app is completed and the Save button is pressed (noting the GPS location part is not shown). Minimum device platform requirement is Oreo 8.1 (API level 27). I have looked up two location-samples available from... | performance|kotlin|background-service|android-gps|foreground-service | 0 | 2022-08-02T12:16:33.250Z | 2,022 | 8 | 12 | 1 | 63 | 1 | 862 | 83 | 5 | 0 | false | false | false | false | false | false | zero |
73,207,506 | Why do I keep getting 404 errors when I retrieve https data through OkHttpClient | <p>I'm sure the URL is correct.
<a href="https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates" rel="nofollow noreferrer">https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates</a></p>
<p>When I browse it directly through Chrome, I get the file below</p>
<p><a href="https://i.stack.imgur.com/BmgJq.png" rel="no... | I'm sure the URL is correct. https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates When I browse it directly through Chrome, I get the file below enter image description here I checked the URL through Chrome and made sure that the GET method was used, as shown below enter image description here But when I try to u... | java|android|https|http-status-code-404|okhttp | 0 | 2022-08-02T12:24:26.227Z | 2,022 | 8 | 12 | 1 | 43 | 0 | 535 | 80 | 5 | 2 | true | true | false | false | false | false | zero |
73,207,526 | Is there any way to make android switchcompat thumb wider | <p>Is there any way to make a switch where the thumb is sligthly wider than 1/2 of the track width in Android? I'm currently using androidx.appcompat.widget.SwitchCompat. I set the switchMinWidth to 48dp and I want the thumb width and height to 22dp and thumb margins to 4dp. SwitchMinWidth works when thumb width is 16d... | Is there any way to make a switch where the thumb is sligthly wider than 1/2 of the track width in Android? I'm currently using androidx.appcompat.widget.SwitchCompat. I set the switchMinWidth to 48dp and I want the thumb width and height to 22dp and thumb margins to 4dp. SwitchMinWidth works when thumb width is 16dp o... | android|xml|mobile|switch-statement|switchcompat | 0 | 2022-08-02T12:26:05.537Z | 2,022 | 8 | 12 | 1 | 21 | 0 | 352 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
73,207,536 | Recycler view scroll to position speed | <p>So basically I am using this <a href="https://stackoverflow.com/a/62962607/16976283">answer</a> to control the speed of the scroll, but my problem is that I need the speed to be constant, and with this solution when the scroll is arriving at the end it starts to slow down.</p> | So basically I am using this answer to control the speed of the scroll, but my problem is that I need the speed to be constant, and with this solution when the scroll is arriving at the end it starts to slow down. | android|android-recyclerview | 0 | 2022-08-02T12:26:58.403Z | 2,022 | 8 | 12 | 1 | 39 | 1 | 213 | 38 | 2 | 0 | false | false | false | false | false | false | zero |
73,207,550 | How to copy video files from gallery into internal storage? | <p>How can I copy a video opened by the gallery to my app's internal storage?
I'm using Android +10, so I am not able to see the absolute path of the video.
All I have is this URI: content://com.google.android.apps.photos.contentprovider/-1/2/content%3A%2F%2Fmedia%2Fexternal%2Fvideo%2Fmedia%2F29/ORIGINAL/NONE/123386556... | How can I copy a video opened by the gallery to my app's internal storage? I'm using Android +10, so I am not able to see the absolute path of the video. All I have is this URI: content://com.google.android.apps.photos.contentprovider/-1/2/content%3A%2F%2Fmedia%2Fexternal%2Fvideo%2Fmedia%2F29/ORIGINAL/NONE/1233865568 | android|kotlin | 0 | 2022-08-02T12:27:46.547Z | 2,022 | 8 | 12 | 1 | 16 | 0 | 318 | 59 | 2 | 0 | false | true | false | false | false | false | zero |
73,207,742 | How Can I inject Java Code in Android Application to Read Application Specific Files using frida? | <p>I want to read an Application Specific file stored in /data/data/package_name location for X package, I've found that Android JAVA provides functionalities to read Application Specific directories and files (refer <a href="https://developer.android.com/training/data-storage" rel="nofollow noreferrer">doc)</a>, so I ... | I want to read an Application Specific file stored in /data/data/package_name location for X package, I've found that Android JAVA provides functionalities to read Application Specific directories and files (refer doc) , so I was thinking can I inject JAVA code using frida to retrieve/read file contents ( example )? I ... | java|android|frida | 0 | 2022-08-02T12:42:55.610Z | 2,022 | 8 | 12 | 1 | 57 | 1 | 356 | 97 | 3 | 0 | false | false | false | false | false | false | zero |
73,207,743 | Dynatrace Gradle plugin & Android Gradle plugin v7.2.x | <p>In our Android project we just apdated the Android gradle plugin to 7.2.1
after that, we have this build issue</p>
<pre><code>Dynatrace Gradle plugin detected a plugin that is blocking auto-instrumentation due to a bug in the Android Gradle plugin v7.2.x.
To resolve this issue, please revert to Android Gradle plug... | In our Android project we just apdated the Android gradle plugin to 7.2.1 after that, we have this build issue [CODE] Is this a knowen issue? This is the Dynatrace plugin version I'm using com.dynatrace.tools.android:gradle-plugin:8.+ Thank you in advance | android|gradle|gradle-plugin|dynatrace | 0 | 2022-08-02T12:42:56Z | -1 | -1 | -1 | -1 | 82 | 1 | 255 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
73,207,783 | A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action | <p>Hi i'm getting issue while running <code>./gradlew assembleRelease</code> after upgrading React native version 0.64 to 0.67, and upgraded gradle version 4.2.1 to 7.1.2, please help me to fix this issue.</p>
<pre><code>Task :library:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
* What we... | Hi i'm getting issue while running ./gradlew assembleRelease after upgrading React native version 0.64 to 0.67, and upgraded gradle version 4.2.1 to 7.1.2, please help me to fix this issue. [CODE] app/build.gradlew [CODE] | android|react-native|gradle | 2 | 2022-08-02T12:44:57.390Z | 2,022 | 8 | 12 | 1 | 241 | 1 | 221 | 99 | 3 | 2 | true | false | false | false | false | false | low |
73,207,788 | Jetpack Compose Snackbar always Dismiss, never ActionPerformed | <p>Why is it always calling Dismissed but never ActionPerformed?</p>
<pre><code>scope.launch {
val snackbarResult = scaffoldState.snackbarHostState.showSnackbar(
"Grant permission to modify device audio",
actionLabel = "Settings"
)
when (snackbarResult) {
Snackbar... | Why is it always calling Dismissed but never ActionPerformed? [CODE] I want to launch an Intent on the "Settings" label click but it calls Dismissed when I click the label of the SnackBar. What am I doing wrong? When is it calling ActionPerformed? | android|kotlin|android-jetpack-compose|android-snackbar | 0 | 2022-08-02T12:45:35.633Z | 2,022 | 8 | 12 | 1 | 58 | 0 | 257 | 62 | 4 | 1 | true | true | false | false | false | false | zero |
73,207,797 | How to notify a fragment that something happened on another fragment | <p>i have 2 fragments on the screen, how can i notify the 2nd that something happened on the 1st ?
now I am using this solution:</p>
<pre><code> companion object {
private val onFullScreenPressedEvent = SingleLiveEvent<Boolean>()
val onFullScreenPressed: LiveData<Boolean> = onFullScreenPressedEve... | i have 2 fragments on the screen, how can i notify the 2nd that something happened on the 1st ? now I am using this solution: [CODE] and observe onFullScreenPressed from second fragment | android|kotlin|android-fragments | 0 | 2022-08-02T12:46:16.323Z | 2,022 | 8 | 12 | 1 | 41 | 1 | 185 | 68 | 3 | 1 | true | false | false | false | false | false | zero |
73,207,981 | Android App Playing Music Without Internet | <p>I'm developing a meditation app. Suppose I include the mp3 files in the raw file, and the application's size increases to around 600 MB. If I get the music files from a URL, the application will require Internet access. I'd like to reduce the size of my application, but I also need music files. What can I do? I am a... | I'm developing a meditation app. Suppose I include the mp3 files in the raw file, and the application's size increases to around 600 MB. If I get the music files from a URL, the application will require Internet access. I'd like to reduce the size of my application, but I also need music files. What can I do? I am a ne... | java|android|android-studio|mp3 | 0 | 2022-08-02T12:58:30.837Z | 2,022 | 8 | 12 | 1 | 37 | 2 | 332 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,207,993 | Start web server on click, android studio app | <p>I'm trying to run a basic web server on my android device (using NanoHTTPD).<br />
The server would start running when pressing a button, the current problem is that I keep getting this error <code>java.net.BindException: bind failed: EADDRINUSE (Address already in use)</code>.<br />
I already checked other question... | I'm trying to run a basic web server on my android device (using NanoHTTPD). The server would start running when pressing a button, the current problem is that I keep getting this error java.net.BindException: bind failed: EADDRINUSE (Address already in use) . I already checked other questions that got a similar error ... | java|android|webserver|nanohttpd | 0 | 2022-08-02T12:59:08.330Z | 2,022 | 8 | 12 | 1 | 46 | 0 | 411 | 45 | 4 | 2 | true | true | false | false | false | false | zero |
73,208,014 | How to parse javascript from web page.Kotlin | <p>I work app in Android using Kotlin and Jsoupl.
url = <a href="https://www.cda.pl/video/115369786e" rel="nofollow noreferrer">https://www.cda.pl/video/115369786e</a>
I need to get this link from the source of page. Can anyone help me how to do it?</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-cons... | I work app in Android using Kotlin and Jsoupl. url = https://www.cda.pl/video/115369786e I need to get this link from the source of page. Can anyone help me how to do it? [CODE] | android|kotlin|jsoup|html-parsing | 0 | 2022-08-02T13:00:10.863Z | 2,022 | 8 | 13 | 1 | 37 | 0 | 177 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
73,208,018 | Android widget does not use landscape dimensions | <p>I want the same widget to be somehow rectangular in both portrait and landscape mode. I know users can resize it but I don't want it too enlarged in landscaped mode and I wonder if this is possible.</p>
<p>I have my widget info file that looks like this</p>
<pre><code><?xml version="1.0" encoding="... | I want the same widget to be somehow rectangular in both portrait and landscape mode. I know users can resize it but I don't want it too enlarged in landscaped mode and I wonder if this is possible. I have my widget info file that looks like this [CODE] And then I have two dimens.xml files, one in values [CODE] and ano... | android|widget|homescreen | 0 | 2022-08-02T13:00:25.500Z | 2,022 | 8 | 13 | 1 | 15 | 0 | 481 | 48 | 3 | 3 | true | true | false | false | false | false | zero |
73,208,022 | Android studio app crashes on the button click | <p>I am working on android studio. I have created some <code>fragments</code> and they are smoothly working. The app would be collecting data from users for order booking. Now, I have a button and on this button click, I am calling another layout to enter the products. The data is selected from the json file. Below is ... | I am working on android studio. I have created some fragments and they are smoothly working. The app would be collecting data from users for order booking. Now, I have a button and on this button click, I am calling another layout to enter the products. The data is selected from the json file. Below is my code Fragment... | java|android-studio|android-fragments|android-edittext|parent-child | 1 | 2022-08-02T13:00:38.760Z | 2,022 | 8 | 13 | 1 | 174 | 2 | 1,208 | 46 | 5 | 6 | true | false | false | false | false | false | low |
73,208,129 | How to bypass isFromMockProvider() in Smali | <p>I tried to edit source code of an app which is used to locate servants
It has a function or parameter "isFromMockProvider()"
I guess this one is the culprit
I want to bypass it
So that App could not know that I am using Mock location
I am a python dev not know enough about Smali
Please Help..
Thank You..</... | I tried to edit source code of an app which is used to locate servants It has a function or parameter "isFromMockProvider()" I guess this one is the culprit I want to bypass it So that App could not know that I am using Mock location I am a python dev not know enough about Smali Please Help.. Thank You.. [COD... | android-gps|smali|apktool|dex2jar | -1 | 2022-08-02T13:08:00.140Z | 2,022 | 8 | 13 | 1 | 70 | 1 | 334 | 43 | 4 | 1 | true | false | false | false | false | true | negative |
73,208,154 | reduce scroll area/size for scrollbar in recycler view | <p>I want to reduce scrollbar size(attached image) for recycler view, I have tried with creating custom drawable for for Thumb & Track, but thumb is not underlying with in the track.
Can someone help me in better approach to achieve this?</p>
<p><a href="https://i.stack.imgur.com/KDRmU.jpg" rel="nofollow noreferrer... | I want to reduce scrollbar size(attached image) for recycler view, I have tried with creating custom drawable for for Thumb & Track, but thumb is not underlying with in the track. Can someone help me in better approach to achieve this? In above image, horizontal scrollbar at bottom which is small in size. I want to ach... | android|kotlin|android-recyclerview | 3 | 2022-08-02T13:09:41.927Z | 2,022 | 8 | 13 | 1 | 210 | 1 | 345 | 54 | 3 | 0 | false | false | false | false | false | false | low |
73,208,207 | How does a navigation drawer work with fragment manager? | <p>I'm using a default navigation drawer but I deleted the original components and replaced them with mine. I'm confused as to why the onNavigationItemSelected doesn't work. And I don't quite understand which layout is called in :</p>
<pre><code>fragmentManager
.beginTransaction()
.repla... | I'm using a default navigation drawer but I deleted the original components and replaced them with mine. I'm confused as to why the onNavigationItemSelected doesn't work. And I don't quite understand which layout is called in : [CODE] Since I've read some example and they don't disclose which ID they refer to like from... | android|navigation|fragmentmanager | 0 | 2022-08-02T13:13:00.063Z | 2,022 | 8 | 13 | 1 | 20 | 0 | 523 | 56 | 3 | 3 | true | true | false | false | false | false | zero |
73,208,309 | Can I do anything before the user closes the application? | <p>My application flies drones through missions and I want to stop the drone mission when the user closes the application, I have tried with <code>onDestroy()</code>, <code>onTaskRemoved()</code> in a service, <code>onBackPressed()</code> and with <code>onTerminate()</code> in the <code>Application</code> class, but no... | My application flies drones through missions and I want to stop the drone mission when the user closes the application, I have tried with onDestroy() , onTaskRemoved() in a service, onBackPressed() and with onTerminate() in the Application class, but none of this works, so I started to wonder if it is possible to do wh... | android | 0 | 2022-08-02T13:19:48.740Z | 2,022 | 8 | 13 | 1 | 33 | 0 | 552 | 57 | 1 | 0 | false | true | false | false | false | false | zero |
73,208,312 | Is there a way to copy text from device to computer when debugging in IntelliJ? | <p>Is there any convenient way to copy text to the computer from an Android app when running the app in debug mode from IntelliJ?</p>
<p>To be clear, I want to add a button in my app that when tapped copies a string from the app, running on a physical device attached by USB, to the clipboard of the computer that's runn... | Is there any convenient way to copy text to the computer from an Android app when running the app in debug mode from IntelliJ? To be clear, I want to add a button in my app that when tapped copies a string from the app, running on a physical device attached by USB, to the clipboard of the computer that's running the ap... | android|flutter|intellij-idea|adb|android-debug | 0 | 2022-08-02T13:19:58.597Z | 2,022 | 8 | 13 | 1 | 47 | 1 | 755 | 79 | 5 | 0 | false | false | false | false | false | false | zero |
73,208,355 | Why the AppLifeCycleStates events are not invoked in android 12 emulator/device? | <p>OK here is the code. I just modified the boilerplate code that comes when opening a new flutter project.</p>
<pre><code>import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root o... | OK here is the code. I just modified the boilerplate code that comes when opening a new flutter project. [CODE] In my emulator running android 11, when i minimize the app emulator I get these statements printed on my console I get 'app resumed statement printed' on my console when I resume emulator But I dont get any o... | android|flutter | 0 | 2022-08-02T13:22:21.470Z | 2,022 | 8 | 13 | 1 | 33 | 1 | 372 | 80 | 2 | 1 | true | false | false | false | false | false | zero |
73,208,359 | setOnClickListener in Fragment with Kotlin | <p>I am working on a sample code and I want a Button showing a message but it didn't work. App will open but buttonn didn't work</p>
<p>This app should show a Toast but it does not. I tried <code>lateinit var firstComend : Button</code> but didn't work too</p>
<p>I should sat will converting <code>Activity</code> to <c... | I am working on a sample code and I want a Button showing a message but it didn't work. App will open but buttonn didn't work This app should show a Toast but it does not. I tried lateinit var firstComend : Button but didn't work too I should sat will converting Activity to Fragment Please help me [CODE] | android|android-studio|kotlin | 0 | 2022-08-02T13:22:40.623Z | 2,022 | 8 | 13 | 1 | 46 | 2 | 305 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
73,208,390 | Can't select a device from flutter device selection | <p>On android studio I can't debug real or emulated devices on a flutter project. I only see options to select Chrome (web), Edge (web) or Windows (desktop) as options on the flutter device selection dropdown window.</p>
<p>I can see the devices under the Device Manager menu such as when I connect my android device usi... | On android studio I can't debug real or emulated devices on a flutter project. I only see options to select Chrome (web), Edge (web) or Windows (desktop) as options on the flutter device selection dropdown window. I can see the devices under the Device Manager menu such as when I connect my android device using a usb c... | android|flutter|sdk|android-emulator|ide | 0 | 2022-08-02T13:25:15.233Z | 2,022 | 8 | 13 | 1 | 97 | 1 | 942 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
73,208,449 | load a .so file within a jar | <p>I have a jar file containing .so and java files and I would like to load the native libraries (.so files) from my .class file.</p>
<pre><code>\-libs
\-myJar.jar
\- armeabi
\- libNativeFirst.so
\- libNativeSecond.so
\- sdk
\- classWithNativeMethods.class
</... | I have a jar file containing .so and java files and I would like to load the native libraries (.so files) from my .class file. [CODE] Here's how code for loading libraries look like in my class: [CODE] But i get UnsatisfiedLinkError from system.load: W/System.err: java.lang.UnsatisfiedLinkError: Expecting an absolute p... | java|android-studio|jar|android-ndk | 0 | 2022-08-02T13:28:41.833Z | 2,022 | 8 | 13 | 1 | 57 | 2 | 463 | 28 | 4 | 2 | true | false | false | false | false | false | zero |
73,208,457 | How to show gridview(more options) when plus button is clicked in messaging app? | <p><a href="https://i.stack.imgur.com/QSbv6.jpg" rel="nofollow noreferrer">how to show the options in gridview when plus button is clicked?</a></p> | how to show the options in gridview when plus button is clicked? | java|android-studio | -2 | 2022-08-02T13:29:07.693Z | 2,022 | 8 | 13 | 1 | 37 | 1 | 64 | 80 | 2 | 0 | false | false | false | false | false | true | negative |
73,208,524 | React Native Maps margin pushes markers in the overflow hidden zone | <p>I'm working on a fix of our application and I've noticed that moving the marker with marginTop: -scale(20) moves the marker outside its "overflow hidden" box. I need to not be cut off. It's happening only on Google Maps Android, but not on Apple Maps iOS. Any idea how to fix this?</p>
<p>marker code:</p>
<... | I'm working on a fix of our application and I've noticed that moving the marker with marginTop: -scale(20) moves the marker outside its "overflow hidden" box. I need to not be cut off. It's happening only on Google Maps Android, but not on Apple Maps iOS. Any idea how to fix this? marker code: [CODE] styleshe... | react-native|google-maps-android-api-2|react-native-maps | 0 | 2022-08-02T13:33:39.243Z | 2,022 | 8 | 13 | 1 | 35 | 0 | 384 | 67 | 3 | 2 | true | true | false | false | false | false | zero |
73,208,547 | Is there a way to check the connect ability of a BLE device in Xamarin.Forms (Plugin.BLE)? | <p>Is there a way to check the connect ability of a BLE device in Xamarin.Forms (I'm using Plugin.BLE)? I need a method (similar to isConnactable) that will check the connect ability of each element from the ObservableCollection. I'm developing an Android application, so cross-platform is not necessary.</p>
<p>Sample i... | Is there a way to check the connect ability of a BLE device in Xamarin.Forms (I'm using Plugin.BLE)? I need a method (similar to isConnactable) that will check the connect ability of each element from the ObservableCollection. I'm developing an Android application, so cross-platform is not necessary. Sample illustratio... | android|xamarin.forms|bluetooth-lowenergy | 1 | 2022-08-02T13:35:47.627Z | 2,022 | 8 | 13 | 1 | 52 | 1 | 337 | 90 | 3 | 1 | true | false | false | false | false | false | low |
73,208,640 | How can I disable renaming names of fragments classes during obfuscation? | <p>Which ProGuard/R8 rules to use?</p>
<p>Currently only Activites aren't renamed</p>
<p><a href="https://i.stack.imgur.com/1mhEj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1mhEj.png" alt="enter image description here" /></a></p>
<p>I need to keep names of Fragment for screens logging as well bu... | Which ProGuard/R8 rules to use? Currently only Activites aren't renamed I need to keep names of Fragment for screens logging as well but the code itself in fragments should be obfuscated | android|android-studio|proguard|android-r8|android-obfuscation | 0 | 2022-08-02T13:42:37.340Z | 2,022 | 8 | 13 | 1 | 84 | 3 | 186 | 73 | 5 | 0 | false | false | false | false | false | false | zero |
73,208,662 | Android Sliding Image Animation | <p>Hey Guys i need to make a sliding animation like a garage door opening and closing smoothly</p>
<p>i was wondering if its possible in Android to mask an image transparent then slide left or right to reveal the image slowly like opening or closing?</p>
<p>i have tried vector path set alpha on path to 0f</p>
<p>but th... | Hey Guys i need to make a sliding animation like a garage door opening and closing smoothly i was wondering if its possible in Android to mask an image transparent then slide left or right to reveal the image slowly like opening or closing? i have tried vector path set alpha on path to 0f but the transition is very cho... | android|animation | 0 | 2022-08-02T13:44:50.807Z | 2,022 | 8 | 13 | 1 | 20 | 0 | 715 | 31 | 2 | 3 | true | true | false | false | false | false | zero |
73,208,689 | erro in SDK dart | <p>When running the flutter build apk command, I am getting the following error:</p>
<p>Pubspec.yaml
<a href="https://i.stack.imgur.com/8MkAR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8MkAR.png" alt="enter image description here" /></a></p>
<p>Error code:
<a href="https://i.stack.imgur.com/Ku70... | When running the flutter build apk command, I am getting the following error: Pubspec.yaml Error code: | flutter|android-studio|dart | 0 | 2022-08-02T13:46:52.897Z | 2,022 | 8 | 13 | 1 | 55 | 2 | 102 | 16 | 3 | 0 | false | false | false | false | false | false | zero |
73,208,751 | C# and ADB installing apk file to the connected device with WFA | <p>im trying to make C# WFA Device Manager. Such as device list, reboot recovery, installing apk file.</p>
<p>So my problem starts here device list, reboot recovery works with no problem but when i try to install apk file its stuck on "Performing Streamed Install" then nothing comes. For better explain
My cod... | im trying to make C# WFA Device Manager. Such as device list, reboot recovery, installing apk file. So my problem starts here device list, reboot recovery works with no problem but when i try to install apk file its stuck on "Performing Streamed Install" then nothing comes. For better explain My code [CODE] T... | c#|android|adb | 0 | 2022-08-02T13:50:30.813Z | 2,022 | 8 | 13 | 1 | 29 | 0 | 360 | 63 | 3 | 2 | true | true | false | false | false | false | zero |
73,208,756 | ObservableCollection multi-threading on WPF and Xamarin | <p>I'm working wih an <code>ObservableCollection</code> in MultiThreading environment. Since <code>ObservableCollection</code> is not thread-safe I have to do my own syncronization using locks.
So, When I have to read, write, or remove elements from the <code>ObservableCollection</code> I use <code>lock</code></p>
<p>A... | I'm working wih an ObservableCollection in MultiThreading environment. Since ObservableCollection is not thread-safe I have to do my own syncronization using locks. So, When I have to read, write, or remove elements from the ObservableCollection I use lock Also, since it is binding to UI, every updates to UI have to be... | c#|wpf|multithreading|xamarin.android|observablecollection | 0 | 2022-08-02T13:50:47.010Z | 2,022 | 8 | 13 | 1 | 62 | 0 | 947 | 55 | 5 | 2 | true | true | false | false | false | false | zero |
73,209,032 | How to fetch field data from firestore while the list will increase, Flutter? | <p><a href="https://i.stack.imgur.com/KFe1e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KFe1e.png" alt="This is what the data in cloud firestore looks like" /></a></p>
<p>I have my data saved, this is from a checkbox list so I get is the fieldname and the checkbox result, a boolean data. I wish t... | I have my data saved, this is from a checkbox list so I get is the fieldname and the checkbox result, a boolean data. I wish to print all the true data in a ListView and at the same time the data for the field will increase. For example, now we have asthma, atrial and copd but in future there might be an increase in fi... | android|flutter|firebase|google-cloud-firestore|mobile | 0 | 2022-08-02T14:09:41.307Z | 2,022 | 8 | 14 | 1 | 17 | 0 | 430 | 77 | 5 | 0 | false | true | false | false | false | false | zero |
73,209,101 | Why is notification navigation routing not working when app is in background using FCM in Ionic Angular app | <p>I have installed FCM notification plugin and added following code in</p>
<pre><code>FCM.onNotification().subscribe(data => {
if (data.wasTapped) {
this.route.navigateByUrl(`${data.routeUrl}`);
console.log("Received in background");
} else {
this.loca... | I have installed FCM notification plugin and added following code in [CODE] With this I am able to navigate to a screen from the path provided in the body of notification when app is open but when app is in closed state or in background I'm unable to navigate to that screen Please help me out regarding this issue Regar... | android|angular|ionic-framework|cordova-plugins|cordova-plugin-fcm | 0 | 2022-08-02T14:13:48.963Z | 2,022 | 8 | 14 | 1 | 50 | 0 | 322 | 107 | 5 | 1 | true | true | false | false | false | false | zero |
73,209,284 | ViewModelScope might get canceled while inserting entries into a Room database | <p>I'm building a score tracking app and I have a screen where you can add new players into a game. It's a simple screen that lets the user specify the player's name and color. This screen has its own <code>ViewModel</code>, which I inject into the screen's composable function by using the Koin framework like this:</p>... | I'm building a score tracking app and I have a screen where you can add new players into a game. It's a simple screen that lets the user specify the player's name and color. This screen has its own ViewModel , which I inject into the screen's composable function by using the Koin framework like this: [CODE] This ensure... | android|kotlin|android-jetpack-compose|android-viewmodel|koin | 1 | 2022-08-02T14:28:18.077Z | 2,022 | 8 | 14 | 1 | 51 | 1 | 1,409 | 78 | 5 | 2 | true | false | false | false | false | false | low |
73,209,353 | how to download and install apk compressed and split into parts android progrommatically? | <p>The apk is uploaded on our own server,
I allow the user to click on updated then the app will be downloaded and installed once it finished</p>
<pre><code>
@Singleton
class DownloadController @Inject constructor(
@ApplicationContext val context: Context,
val myPreference: MyPreference
) {
companion object... | The apk is uploaded on our own server, I allow the user to click on updated then the app will be downloaded and installed once it finished [CODE] Now because of poor connection, we will upload apk compressed and split, I will receive a list of URLs for each file, I have to download each file and if all parts are downlo... | java|android|file|kotlin|split | 0 | 2022-08-02T14:32:59.267Z | 2,022 | 8 | 14 | 1 | 28 | 0 | 482 | 89 | 5 | 1 | true | true | false | false | false | false | zero |
73,209,372 | Android - Gradle - Adding relative path in build.gradle repository to local directory | <p>I have an android project: <code>sample-android</code>
I have a folder which I have added locally to my android project root.</p>
<p>And I was able to specify it in my build.gradle (top level project) as</p>
<pre><code>allprojects {
repositories {
mavenCentral()
google()
maven {
... | I have an android project: sample-android I have a folder which I have added locally to my android project root. And I was able to specify it in my build.gradle (top level project) as [CODE] But the issue is that this works locally but in CI/CD and repo, this same hardcoded path doesn't exist. Could someone please help... | android|maven|gradle|dependencies|build.gradle | 1 | 2022-08-02T14:34:11.903Z | 2,022 | 8 | 14 | 1 | 108 | 2 | 561 | 85 | 5 | 1 | true | false | false | false | false | false | low |
73,209,389 | Body property ignored when generating json using Moshi | <p>I have a simple class</p>
<pre><code>@JsonClass(generateAdapter = true)
data class Person(
val name: String,
val age: Int
) {
val country: String = "None"
}
</code></pre>
<p>but when converting to json, Moshi skips <code>country</code> property.</p>
<p>How to include it in the resulting json?</... | I have a simple class [CODE] but when converting to json, Moshi skips country property. How to include it in the resulting json? | android|kotlin|moshi | 0 | 2022-08-02T14:35:19.820Z | 2,022 | 8 | 14 | 1 | 25 | 1 | 128 | 54 | 3 | 1 | true | false | false | false | false | false | zero |
73,209,429 | Merge custom content in Composables | <p>I have 2 custom components in Jetpack Compose:</p>
<pre><code>@Composable
fun IconText(modifier: Modifier, icon: Int, text: String) {/**/}
</code></pre>
<p>and a grid where it is currently hardcoded:</p>
<pre><code>@Composable
fun VerticalGrid( //fun <T> VerticalGrid(
data: List<Pair<Resource, Int>... | I have 2 custom components in Jetpack Compose: [CODE] and a grid where it is currently hardcoded: [CODE] How can I make the grid more customisable and change IconText to the custom itemContent ? | android-jetpack-compose | 1 | 2022-08-02T14:38:16.510Z | 2,022 | 8 | 14 | 1 | 29 | 1 | 194 | 35 | 1 | 2 | true | false | false | false | false | false | low |
73,209,549 | How to fix Issue could not phased build action using connection to gradle distribution | <p>My react native project used to run well,
and suddenly I am facing issues like:</p>
<p><a href="https://i.stack.imgur.com/UzRXh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzRXh.png" alt="enter image description here" /></a></p>
<p>But before it the application was running well, and this is my... | My react native project used to run well, and suddenly I am facing issues like: But before it the application was running well, and this is my environment variable: I have no idea how to heal my project anymore, someone please tell me the way, what's wrong with it? | java|android|react-native|gradle | 0 | 2022-08-02T14:47:37.170Z | 2,022 | 8 | 14 | 1 | 44 | 0 | 265 | 86 | 4 | 0 | false | true | false | false | false | false | zero |
73,209,554 | Wiping Android Emulator Without Android Studio | <p>I am getting this error</p>
<p>Performing Streamed Install</p>
<p>adb: failed to install /Users/edengrowney/StudioProjects/all_angles/build/app/outputs/flutter-apk/app.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Error launching application on sdk gphone64 arm64.</p>
<p>and it is fixed if I wipe data from Andr... | I am getting this error Performing Streamed Install adb: failed to install /Users/edengrowney/StudioProjects/all_angles/build/app/outputs/flutter-apk/app.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] Error launching application on sdk gphone64 arm64. and it is fixed if I wipe data from Android studio, but Android ... | android|flutter | 0 | 2022-08-02T14:47:49.847Z | 2,022 | 8 | 14 | 1 | 13 | 1 | 430 | 46 | 2 | 0 | false | false | false | false | false | false | zero |
73,209,641 | Power_profile cpu cluster on Android | <p>Looking at the github and power_profile of devices based on the same SoC.
I noticed that Motorola devices have a different order in cluster.
As with others in Cluster0 there are slower cores (voltage and frequency) and in Cluster1 faster. But Motorola has it the other way around, i.e. faster in Cluster0 and slower i... | Looking at the github and power_profile of devices based on the same SoC. I noticed that Motorola devices have a different order in cluster. As with others in Cluster0 there are slower cores (voltage and frequency) and in Cluster1 faster. But Motorola has it the other way around, i.e. faster in Cluster0 and slower in C... | android|cluster-computing | 0 | 2022-08-02T14:54:18.870Z | 2,022 | 8 | 14 | 1 | 14 | 0 | 469 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,209,714 | Can I use ActivityResultContracts.TakePicturePreview() to open front camera at first rather then back camera | <p>Can I use ActivityResultContracts.TakePicturePreview() to open front camera at first rather then back camera.</p>
<pre><code>@Composable
fun PickImage(onImagePicked: (Uri) -> Unit) {
var imageUri by remember { mutableStateOf<Uri?>(null) }
val launcher =
rememberLauncherForActivityResult(co... | Can I use ActivityResultContracts.TakePicturePreview() to open front camera at first rather then back camera. [CODE] | android-studio|kotlin|android-camera|android-jetpack-compose|android-camerax | 1 | 2022-08-02T14:59:27.250Z | 2,022 | 8 | 14 | 1 | 98 | 0 | 116 | 108 | 5 | 1 | true | true | false | false | false | false | low |
73,209,874 | Python Socket and Native Android App Wi-fi communication | <p>Thanks that you have opened my question, perhaps you know the answer ;) Let's move to the issue.</p>
<p>Basically, I am developing a project(I won't go into details about this) that consists of Raspberry Pi Zero(<strong>Server</strong>) and Native Android App(<strong>Client</strong>). My objective is to create an au... | Thanks that you have opened my question, perhaps you know the answer ;) Let's move to the issue. Basically, I am developing a project(I won't go into details about this) that consists of Raspberry Pi Zero( Server ) and Native Android App( Client ). My objective is to create an automatic Wi-fi communication between them... | python|android|sockets|networking|raspberry-pi | 1 | 2022-08-02T15:11:05.080Z | 2,022 | 8 | 15 | 1 | 48 | 0 | 1,496 | 56 | 5 | 0 | false | true | false | false | false | false | low |
73,210,045 | Converting image to bas64string in react.native.android SDK using pdfbox | <p>I am trying to extract text from a pdf and want to also include images.</p>
<p>Those images I am getting from <code>pdfbox</code> page object.</p>
<p>Now what I have in mind is using base64converter.</p>
<p>After searching the net I found that I could use The below code to do it</p>
<pre class="lang-java prettyprint... | I am trying to extract text from a pdf and want to also include images. Those images I am getting from pdfbox page object. Now what I have in mind is using base64converter. After searching the net I found that I could use The below code to do it [CODE] The problem With the below code is that in react-native.android dos... | android|react-native|pdfbox | 0 | 2022-08-02T15:26:03.523Z | 2,022 | 8 | 15 | 1 | 31 | 0 | 496 | 72 | 3 | 2 | true | true | false | false | false | false | zero |
73,210,170 | Android ObjectAnimator | <p>I want to do simple scale animation. I use ObjectAnimator</p>
<pre><code>val objAnimator: ObjectAnimator = ObjectAnimator.ofFloat(view,"scaleX", 10F)
</code></pre>
<p><strong>What does the last parameter mean?</strong>(yes i read the documentation)
As i understand this parameter is increase factor.
The sys... | I want to do simple scale animation. I use ObjectAnimator [CODE] What does the last parameter mean? (yes i read the documentation) As i understand this parameter is increase factor. The system will take the left value of X and multiply by a factor? I do some test: [CODE] Before the animation starts, I get the current c... | android|animation | 0 | 2022-08-02T15:35:07.323Z | 2,022 | 8 | 15 | 1 | 65 | 0 | 1,422 | 22 | 2 | 5 | true | true | false | false | false | false | zero |
73,210,196 | Ionic - how to change permissions requestor name | <p>I have an Angular Ionic app that uses geolocation / Google Maps. When it requests permissions for location, on web and Android it uses the url (so localhost:4200, for example) and on iOS it just reads as "://".</p>
<p>Where do I configure the requestor name for permissions? I want it to read</p>
<blockquot... | I have an Angular Ionic app that uses geolocation / Google Maps. When it requests permissions for location, on web and Android it uses the url (so localhost:4200, for example) and on iOS it just reads as "://". Where do I configure the requestor name for permissions? I want it to read "App Name" Wou... | android|ios|google-maps|ionic-framework|permissions | 0 | 2022-08-02T15:37:15.627Z | 2,022 | 8 | 15 | 1 | 32 | 0 | 524 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
73,210,367 | Cannot find the child entity column `id` error in Room db | <p>I make a Room database and have the Entity Data classes CastDb and CastDbModel.
When I build the project I get the following error. But the thing is that CastDb class doesn't suppose to have an id field. Any Idea how to fit it?</p>
<pre><code>Cannot find the child entity column `id` in com.mvvm.data.db.entities.Cast... | I make a Room database and have the Entity Data classes CastDb and CastDbModel. When I build the project I get the following error. But the thing is that CastDb class doesn't suppose to have an id field. Any Idea how to fit it? [CODE] [CODE] Also, I have a converter model class Cast [CODE] Converter class: [CODE] | android|database|kotlin|entity|android-room | 0 | 2022-08-02T15:49:16.590Z | 2,022 | 8 | 15 | 1 | 57 | 1 | 314 | 57 | 5 | 4 | true | false | false | false | false | false | zero |
73,210,506 | Problem in some views in items row of recyclerview "not showing like design preview" | <p>I trying to practice some android lessons that contains recyclerview topic, currently I succeed to implement all api and response but there's one problem with my <code>item_article_preview.xml</code>.</p>
<p>The title and description of news doesn't shows in emulator like it's in design preview</p>
<p><a href="https... | I trying to practice some android lessons that contains recyclerview topic, currently I succeed to implement all api and response but there's one problem with my item_article_preview.xml . The title and description of news doesn't shows in emulator like it's in design preview After running the app here's my xml row [CO... | android|android-layout|android-recyclerview|android-linearlayout|android-xml | 0 | 2022-08-02T16:00:50.120Z | 2,022 | 8 | 16 | 1 | 53 | 2 | 455 | 84 | 5 | 4 | true | false | false | false | false | false | zero |
73,210,545 | Android kotlin Webview cookies handling | <p>When opening a <strong>Webview</strong> from my android app i'm prompt with privacy policy after i accept them and close and reopen the <strong>Webview</strong> i'm again prompt with the same privacy and policy.
If the user have already accepted privacy and policy i don't want it to be displayed again. Any idea how ... | When opening a Webview from my android app i'm prompt with privacy policy after i accept them and close and reopen the Webview i'm again prompt with the same privacy and policy. If the user have already accepted privacy and policy i don't want it to be displayed again. Any idea how i can achieve that ? | android|kotlin|webview | 1 | 2022-08-02T16:04:35.253Z | 2,022 | 8 | 16 | 1 | 37 | 0 | 303 | 39 | 3 | 0 | false | true | false | false | false | false | low |
73,210,681 | Android - Can I force a view/layout update from within a listener event? | <p>I've inherited an app which displays a range of values as buttons (0 - 1000) - layout ViewA.
The buttons get indexed, and stuff happens. When the user clicks on some subset of those values, they change color, and get associated with some data which gets exported to a csv file eventually.
This works.</p>
<p>Now the ... | I've inherited an app which displays a range of values as buttons (0 - 1000) - layout ViewA. The buttons get indexed, and stuff happens. When the user clicks on some subset of those values, they change color, and get associated with some data which gets exported to a csv file eventually. This works. Now the user wants ... | android|notifydatasetchanged|redraw|android-runonuithread|oncheckedchanged | 0 | 2022-08-02T16:16:38.977Z | 2,022 | 8 | 16 | 1 | 15 | 0 | 2,113 | 72 | 5 | 2 | true | true | false | false | false | false | zero |
73,210,693 | Using getString(R.string.string_name) | <p>I'm Working in A new Project and I already coded config.java for my project</p>
<p>i just need support to use get. String inside my java code below to replace URL and add subdomain for FR Language</p>
<p>Thanks
My Code</p>
<pre><code>package com.egf.myapp;
public class Config {
public static final String APP_API_U... | I'm Working in A new Project and I already coded config.java for my project i just need support to use get. String inside my java code below to replace URL and add subdomain for FR Language Thanks My Code [CODE] | java|android|react-native|android-studio | -2 | 2022-08-02T16:18:07.967Z | 2,022 | 8 | 16 | 1 | 41 | 1 | 211 | 37 | 4 | 1 | true | false | false | false | false | true | negative |
73,210,883 | Audio suddenly stops and would not finish when using MediaPlayer in Android | <p>I have used a MediaPalyer in a project to play an audio (.mp3), but when I run the app most of the times I am not getting the full audio instead I am getting 1 or 2 second of it while the audio length is about 40 seconds. Here is my MainActivity.java:</p>
<pre><code>package com.rahgozar.afshinproject23;
import andr... | I have used a MediaPalyer in a project to play an audio (.mp3), but when I run the app most of the times I am not getting the full audio instead I am getting 1 or 2 second of it while the audio length is about 40 seconds. Here is my MainActivity.java: [CODE] One Last Point: As you can see, I have started the audio in o... | android | 0 | 2022-08-02T16:34:30.617Z | 2,022 | 8 | 16 | 1 | 14 | 0 | 408 | 75 | 1 | 1 | true | true | false | false | false | false | zero |
73,210,912 | android open url and change fragment | <p>I am trying to open a link using intent.action_view in android.
but I want to change the fragment I am in right after this link is opened.
For example, I will switch from fragmentA to fragmentB and open the url with the following code under fragmentB onCreateView method.</p>
<pre><code>val browserIntent = Intent(Int... | I am trying to open a link using intent.action_view in android. but I want to change the fragment I am in right after this link is opened. For example, I will switch from fragmentA to fragmentB and open the url with the following code under fragmentB onCreateView method. [CODE] but FragmentB appears on the screen for a... | android|kotlin|android-intent|fragment | 0 | 2022-08-02T16:37:05.423Z | 2,022 | 8 | 16 | 1 | 62 | 1 | 474 | 36 | 4 | 1 | true | false | false | false | false | false | zero |
73,210,932 | How to check username exists in FIrestore Kotlin? | <p>I want to add a new user in Firebase Firestore via kotlin. But i can't get positive solution to add user details for firestore. Actually it gives information about if there has a existing username but i did not add new document. When i add there existing username it show toast message and log. But the second chance... | I want to add a new user in Firebase Firestore via kotlin. But i can't get positive solution to add user details for firestore. Actually it gives information about if there has a existing username but i did not add new document. When i add there existing username it show toast message and log. But the second chance whi... | android|firebase|kotlin|google-cloud-firestore|document | 0 | 2022-08-02T16:38:15.337Z | 2,022 | 8 | 16 | 1 | 42 | 0 | 443 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
73,210,936 | Android studio button has no onclick option error message box | <p>I'm currently learning to make apps in android studio. When I drag a button object into the activity_main.xml,it does not show me the "onclick" option under the "Declare Attributes".</p>
<p>The only error I'm getting is :</p>
<p>Couldn't resolve resource @color/teal_200
I dont think it has anythi... | I'm currently learning to make apps in android studio. When I drag a button object into the activity_main.xml,it does not show me the "onclick" option under the "Declare Attributes". The only error I'm getting is : Couldn't resolve resource @color/teal_200 I dont think it has anything to do with my ... | java|android|android-studio | -3 | 2022-08-02T16:39:19.023Z | 2,022 | 8 | 16 | 1 | 60 | 2 | 381 | 61 | 3 | 0 | false | false | false | false | false | true | negative |
73,210,969 | MaterialAlertDialog WrapContent doesn't work | <p>MaterialAlertDialog wrap content doesnt work. Is it possible to do it with anotherway?</p>
<p>Here is my style</p>
<pre><code> <style name="RoundedCornersDialog" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
</code></pre>
<p>Here is my xml layout</p>
<pre><code><?xml ... | MaterialAlertDialog wrap content doesnt work. Is it possible to do it with anotherway? Here is my style [CODE] Here is my xml layout [CODE] And here is my code [CODE] | java|android | 0 | 2022-08-02T16:41:40.420Z | 2,022 | 8 | 16 | 1 | 21 | 0 | 166 | 44 | 2 | 3 | true | true | false | false | false | false | zero |
73,210,979 | How set or enable/disable the Extra Dim feature programmatically since Android 12? | <p>As far as I know, Android has an Extra Dim feature to set the screen brightness. Does any one know how set or enable/disable the Extra Dim feature programmatically in Android?</p>
<p>I use this code to set the normal brightness values (0-255), but I don't know how to manage the Extra Dim feature:</p>
<pre><code>andr... | As far as I know, Android has an Extra Dim feature to set the screen brightness. Does any one know how set or enable/disable the Extra Dim feature programmatically in Android? I use this code to set the normal brightness values (0-255), but I don't know how to manage the Extra Dim feature: [CODE] | android|screen-brightness|extra-dim | 0 | 2022-08-02T16:42:08.893Z | 2,022 | 8 | 16 | 1 | 40 | 0 | 297 | 82 | 3 | 1 | true | true | false | false | false | false | zero |
73,211,125 | Why does volley do different errors when I switch networks? | <p>I am having an android app and an .net web api server. On emulator I am using the 10.0.2.2 ip, but I am trying to use my ipv4 ip to use the app on my phone(192.168.#.#).
When I am using the router network, I get the following error :</p>
<p>com.android.volley.NoConnectionError: java.net.ConnectException: Failed to c... | I am having an android app and an .net web api server. On emulator I am using the 10.0.2.2 ip, but I am trying to use my ipv4 ip to use the app on my phone(192.168.#.#). When I am using the router network, I get the following error : com.android.volley.NoConnectionError: java.net.ConnectException: Failed to connect to ... | android|.net|android-studio|asp.net-web-api | 0 | 2022-08-02T16:58:53.407Z | 2,022 | 8 | 16 | 1 | 17 | 0 | 962 | 59 | 4 | 1 | true | true | false | false | false | false | zero |
73,211,178 | Android Emulator with data crashes on launch Task :app:installDebug FAILED | <p>I created initial project (followed all the steps) by</p>
<pre><code>npx react-native init AwesomeProject
</code></pre>
<p>when I run android emulator by:</p>
<pre><code>npx react-native start
npx react-native run-android
</code></pre>
<p>I'm getting this error</p>
<pre><code>> Task :app:installDebug FAILED
</cod... | I created initial project (followed all the steps) by [CODE] when I run android emulator by: [CODE] I'm getting this error [CODE] As I can see, there's no metro connection When I wipe data or reinstall the emulator, it works fine for the first time, but when I load the app for the second time, I get this error again An... | react-native|android-studio|android-emulator | 2 | 2022-08-02T17:03:56.700Z | 2,022 | 8 | 17 | 1 | 128 | 1 | 352 | 74 | 3 | 3 | true | false | false | false | false | false | low |
73,211,186 | Android kotlin unit test - Exception in thread "Test worker @coroutine#4" io.mockk.MockKException: no answer found for: View(#1) | <p>I'm writing the unit test of a presenter that fetches data from an API :</p>
<pre><code>class SearchPresenter constructor(
private val view: SearchContract.View,
private val coroutineScope: CoroutineScope,
private val dispatcherProvider: DispatcherProvider,
private val userService: UserService
) : Se... | I'm writing the unit test of a presenter that fetches data from an API : [CODE] I use 2 different dispatcher depending on the context (test or not): [CODE] For my test I use this Dispatcher: [CODE] Here is my presenter test class: [CODE] This class inherits from CoroutineBasedTest: [CODE] I must have a problem with the... | android|kotlin|junit|coroutine|mockk | 0 | 2022-08-02T17:04:29.957Z | 2,022 | 8 | 17 | 1 | 207 | 1 | 7,700 | 128 | 5 | 5 | true | false | false | false | false | false | zero |
73,211,200 | Android - problem with opening the appropriate activity after clicking the notification | <p>I have a problem with opening the appropriate activity after clicking the notification.
For example, I am sending two puffs to the application. After clicking on the first (earlier) notification, the correct activity in the application will be displayed. However, after clicking on the second notification (received l... | I have a problem with opening the appropriate activity after clicking the notification. For example, I am sending two puffs to the application. After clicking on the first (earlier) notification, the correct activity in the application will be displayed. However, after clicking on the second notification (received late... | android|android-notifications|android-push-notification | 0 | 2022-08-02T17:06:02.443Z | 2,022 | 8 | 17 | 1 | 15 | 0 | 472 | 87 | 3 | 1 | true | true | false | false | false | false | zero |
73,211,226 | Android Studio prevent "dock pinned" from dragging | <p>There are a lot of times that I am dragging some of the windows by accident "Event log", "Terminal" etc.. Is there a way when a window view mode is set to "Dock Pinned" to prevent it from dragging so it just stays as "Dock Pinned" no matter what I do?</p> | There are a lot of times that I am dragging some of the windows by accident "Event log", "Terminal" etc.. Is there a way when a window view mode is set to "Dock Pinned" to prevent it from dragging so it just stays as "Dock Pinned" no matter what I do? | android|android-studio | 0 | 2022-08-02T17:08:41.560Z | 2,022 | 8 | 17 | 1 | 12 | 0 | 291 | 50 | 2 | 0 | false | true | false | false | false | false | zero |
73,211,240 | How To Replace DaggerAppComponent During Hilt Migration - Android Dependency Injection | <p><em><strong>EDIT/CLARIFICATION:</strong></em></p>
<p>I'm using the <a href="https://dagger.dev/hilt/migration-guide" rel="nofollow noreferrer">Hilt Migration Guide</a>, and since there are many moving parts and custom pieces of the app I'm using AggregatorEntryPoint to migrate one piece at a time, as indicated in th... | EDIT/CLARIFICATION: I'm using the Hilt Migration Guide , and since there are many moving parts and custom pieces of the app I'm using AggregatorEntryPoint to migrate one piece at a time, as indicated in the Migration Guide. If I'm reading the guide correctly, the @HiltAndroidApp annotation doesn't come in until the ver... | android|kotlin|dependency-injection|dagger-2|dagger-hilt | 0 | 2022-08-02T17:09:53.470Z | 2,022 | 8 | 17 | 1 | 76 | 1 | 1,708 | 86 | 5 | 5 | true | false | false | false | false | false | zero |
73,211,246 | Flutter app build fails after code change | <p>So, i'm trying to change some code in my flutter project. But after i change something and save project, it wont build.
Everything works fine if i rollback to latest commit.</p>
<p>IDE: android studio
OS: Ubuntu 22.04
Emulated device: Pixel 4</p>
<p>I don't know what else information could be helpful to solve this, ... | So, i'm trying to change some code in my flutter project. But after i change something and save project, it wont build. Everything works fine if i rollback to latest commit. IDE: android studio OS: Ubuntu 22.04 Emulated device: Pixel 4 I don't know what else information could be helpful to solve this, so let me know. p... | android|flutter|android-studio|dart | 0 | 2022-08-02T17:10:23.663Z | 2,022 | 8 | 17 | 1 | 37 | 1 | 349 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
73,211,399 | ReadableArray and ReadableMap are slower than Gson? | <p>I have a large list of objects as props:</p>
<pre class="lang-js prettyprint-override"><code>type Lines = {
xs: number[];
ys: number[];
}[]
</code></pre>
<p>I have that Native Android code:</p>
<pre class="lang-kotlin prettyprint-override"><code>@ReactProp(name = "lines")
fun setLines(view: CustomVie... | I have a large list of objects as props: [CODE] I have that Native Android code: [CODE] Just for comparing Gson with ReadableArray . The deserializeLines is: [CODE] I used a 200 items object that each one has 5 items for xs and ys . [CODE] ReadableArray took around ~100ms to process but Gson took ~20ms to process the s... | android|react-native|kotlin|gson | 0 | 2022-08-02T17:23:12.447Z | 2,022 | 8 | 17 | 1 | 57 | 0 | 494 | 51 | 4 | 4 | true | true | false | false | false | false | zero |
73,211,528 | Gradle is searching on Artifactory for a jar library file but it is an aar file | <p>I'm new to Artifactory and Gradle, and I'm experiencing the following problem:</p>
<p>I have published on Artifactory an .aar file, which is the following file:
Lib-debug-1.0.0.aar</p>
<p>Now I want to resolve this dependency from a Gradle project, and I've written this code:</p>
<p>In settings.gradle, I've written ... | I'm new to Artifactory and Gradle, and I'm experiencing the following problem: I have published on Artifactory an .aar file, which is the following file: Lib-debug-1.0.0.aar Now I want to resolve this dependency from a Gradle project, and I've written this code: In settings.gradle, I've written this code: [CODE] In app... | android|gradle|artifactory|artifact | 0 | 2022-08-02T17:33:21.627Z | 2,022 | 8 | 17 | 1 | 85 | 0 | 938 | 79 | 4 | 5 | true | true | false | false | false | false | zero |
73,211,579 | Is there a way to scan images in android studio to make sure they are not graphic? possibly using bitmap? | <p>I am building a social media app and was wondering if there would be a way to make a image filter so people couldn't post graphic content?</p> | I am building a social media app and was wondering if there would be a way to make a image filter so people couldn't post graphic content? | android|android-studio|android-image | 0 | 2022-08-02T17:38:29.270Z | 2,022 | 8 | 17 | 1 | 13 | 0 | 138 | 105 | 3 | 0 | false | true | false | false | false | false | zero |
73,211,616 | ./gradlew tasks gives me a "build scan failed due to network error 'java.net.ConnectException: Network is unreachable" | <p>When running <code>./gradlew tasks</code>, I get the following error despite having a good network connection, <code>Publishing build scan failed due to network error 'java.net.ConnectException: Network is unreachable (connect failed)</code>.</p>
<p>Here is the full error:</p>
<pre><code>% ./gradlew tasks
Configurat... | When running ./gradlew tasks , I get the following error despite having a good network connection, Publishing build scan failed due to network error 'java.net.ConnectException: Network is unreachable (connect failed) . Here is the full error: [CODE] | android|android-studio|gradle | 0 | 2022-08-02T17:42:05.980Z | 2,022 | 8 | 17 | 1 | 31 | 1 | 249 | 118 | 3 | 1 | true | false | false | false | false | false | zero |
73,211,694 | NFC and Android access | <p>I have a question about NFC tags. I use Android Studio and have written an app that uploads images to a server. Works so far. My goal is to automatically share a picture from the gallery (or other photo app) into my app using an NFC tag. How can I program my NFC tag or app or how could that look like?</p> | I have a question about NFC tags. I use Android Studio and have written an app that uploads images to a server. Works so far. My goal is to automatically share a picture from the gallery (or other photo app) into my app using an NFC tag. How can I program my NFC tag or app or how could that look like? | android|nfc | 0 | 2022-08-02T17:49:16.930Z | 2,022 | 8 | 17 | 1 | 29 | 0 | 302 | 22 | 2 | 0 | false | true | false | false | false | false | zero |
73,211,726 | Kotlin Object Values from API Response as Spinner Options | <p>I am unfortunately still quite new to Kotlin and Android.</p>
<p>I get a list of objects via API and want to display each list item as an option in the spinner to make a new API request based on it.</p>
<p>My API response looks something like this:</p>
<pre><code>[User(username=a, id=1, email=a@a.com),
User(usernam... | I am unfortunately still quite new to Kotlin and Android. I get a list of objects via API and want to display each list item as an option in the spinner to make a new API request based on it. My API response looks something like this: [CODE] I just want to display all usernames in a spinner and when a username is selec... | android|kotlin|spinner | 0 | 2022-08-02T17:53:08.470Z | 2,022 | 8 | 17 | 1 | 65 | 1 | 654 | 57 | 3 | 1 | true | false | false | false | false | false | zero |
73,211,744 | Accessibility Service getRootWindow causing ANR | <p>I am getting the following ANR from my crashlytics, but I don't fully understand what would cause this. According to <a href="https://stackoverflow.com/questions/44995426/android-can-getrootinactivewindow-in-an-accessibility-service-cause-anrs">this post</a> it should not cause an ANR. I do have <code>android:canRet... | I am getting the following ANR from my crashlytics, but I don't fully understand what would cause this. According to this post it should not cause an ANR. I do have android:canRetrieveWindowContent="true" in my XML file. Crashlytics: [CODE] Code: [CODE] | java|android|accessibilityservice | 0 | 2022-08-02T17:54:49.810Z | 2,022 | 8 | 17 | 1 | 26 | 0 | 263 | 47 | 3 | 2 | true | true | false | false | false | false | zero |
73,211,769 | Cant recieve the response from a post request in Retrofit2 and Moshi yet Logging shows that the post was success | <p>I am posting the user value to the server and through the HttploggingInterciptore I can see that its a success and the server respond with 200 but my data class for a reason I don't know doesn't read at all the response Body</p>
<p>So I have prepared my retrofit and Moshi Builders</p>
<pre><code> @SuppressLin... | I am posting the user value to the server and through the HttploggingInterciptore I can see that its a success and the server respond with 200 but my data class for a reason I don't know doesn't read at all the response Body So I have prepared my retrofit and Moshi Builders [CODE] and This is my service Interface [CODE... | android|android-studio|retrofit2|okhttp|moshi | 0 | 2022-08-02T17:57:40.410Z | 2,022 | 8 | 17 | 1 | 15 | 0 | 862 | 112 | 5 | 4 | true | true | false | false | false | false | zero |
73,211,797 | Missing dependencies block on gradle from Project Module | <p>I am new in Android App Development. I am trying to connect to firebase. I noticed that my project gradle file does not contain dependencies block and when I am trying to insert in manually I get errors. Can someone explain why my gradle files does not contain dependency block</p>
<p><a href="https://i.stack.imgur.c... | I am new in Android App Development. I am trying to connect to firebase. I noticed that my project gradle file does not contain dependencies block and when I am trying to insert in manually I get errors. Can someone explain why my gradle files does not contain dependency block My Gradle Error | android|android-gradle-plugin | 1 | 2022-08-02T17:59:46.657Z | 2,022 | 8 | 17 | 1 | 42 | 0 | 293 | 56 | 2 | 0 | false | true | false | false | false | false | low |
73,211,817 | Creating TomTom webview with react native | <p>I need to create a react-native project for Android and Web environments.
For that, I need to place a map (free one) on one of the screens in my app.
I followed this guide:</p>
<p><a href="https://developer.tomtom.com/blog/build-different/using-tomtom-maps-web-sdk-react-native-web-view-app" rel="nofollow noreferrer"... | I need to create a react-native project for Android and Web environments. For that, I need to place a map (free one) on one of the screens in my app. I followed this guide: https://developer.tomtom.com/blog/build-different/using-tomtom-maps-web-sdk-react-native-web-view-app I changed a few things and I managed to load ... | javascript|android|reactjs|react-native|tomtom | 0 | 2022-08-02T18:01:20.527Z | 2,022 | 8 | 18 | 1 | 22 | 0 | 1,018 | 41 | 5 | 0 | false | true | false | false | false | false | zero |
73,211,862 | UiAutomator 2.1.2 waitForExist | <p>I'm trying to do some tests in my application using bluestacks 5
with nodejs and <a href="https://www.npmjs.com/package/uiautomator-server" rel="nofollow noreferrer">https://www.npmjs.com/package/uiautomator-server</a></p>
<p>but when I send</p>
<pre><code>await device.waitForExists(
{
description: 'Back',
c... | I'm trying to do some tests in my application using bluestacks 5 with nodejs and https://www.npmjs.com/package/uiautomator-server but when I send [CODE] from readme it aways return true. [CODE] | android|node.js|android-uiautomator | 0 | 2022-08-02T18:05:47.130Z | 2,022 | 8 | 18 | 1 | 28 | 0 | 193 | 30 | 3 | 2 | true | true | false | false | false | false | zero |
73,211,871 | Is there a coordinate-based map widget for Android Studio? | <p>I'm making a GPS-less tracking system, so I want to find a way to display the path taken.
I don't want to use something like Google Maps because I have no specific location.</p>
<p>I'm looking for something simple where I can pass coordinates that connect into a line along with a degree-based pointer. Other than tha... | I'm making a GPS-less tracking system, so I want to find a way to display the path taken. I don't want to use something like Google Maps because I have no specific location. I'm looking for something simple where I can pass coordinates that connect into a line along with a degree-based pointer. Other than that, it shou... | java|android|android-studio | 0 | 2022-08-02T18:06:12.213Z | 2,022 | 8 | 18 | 1 | 24 | 1 | 526 | 58 | 3 | 1 | true | false | false | false | false | false | zero |
73,211,968 | multiple spinner in which second spinner values should be related to the selected value in first spinner | <p>using 2 spinner first one contains the main category and second one contains the items related to the selected category.
but the second spinner values are not displayed.</p>
<pre><code>package com.learning.double_spinner;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.vie... | using 2 spinner first one contains the main category and second one contains the items related to the selected category. but the second spinner values are not displayed. [CODE] using 2 spinner first one contains the main category and second one contains the items related to the selected category. but the second spinner... | java|android|spinner | 0 | 2022-08-02T18:13:54.610Z | 2,022 | 8 | 18 | 1 | 19 | 0 | 346 | 104 | 3 | 1 | true | true | false | false | false | false | zero |
73,211,977 | Getting following erorr while building my project on android studio using java/firebase | <p>Getting the following error while building my project on AndroidStudio using java/firebase.</p>
<pre><code>Task :app:checkDebugAarMetadata FAILED
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.in... | Getting the following error while building my project on AndroidStudio using java/firebase. [CODE] | android|firebase|android-studio|gradle | 0 | 2022-08-02T18:14:51.890Z | 2,022 | 8 | 18 | 1 | 41 | 0 | 98 | 87 | 4 | 1 | true | true | false | false | false | false | zero |
73,212,031 | Be able the users to download / save pdf files from my app on their device - Android App with Java | <p>I am creating an app on Android Studio and I would like to have a few 'downloadable' pdf files on my app. I am creating and updating these pdf files and need my users to have the ability to save them on their devices. I have found a way to make the pdf files 'viewable' from the users through PdfView. I added the fil... | I am creating an app on Android Studio and I would like to have a few 'downloadable' pdf files on my app. I am creating and updating these pdf files and need my users to have the ability to save them on their devices. I have found a way to make the pdf files 'viewable' from the users through PdfView. I added the files ... | android|pdf|save | 0 | 2022-08-02T18:18:53.153Z | 2,022 | 8 | 18 | 1 | 40 | 0 | 564 | 98 | 3 | 0 | false | true | false | false | false | false | zero |
73,212,108 | Flutter Fastlane Gitlab Build | <p>I am new to Fastlane and want to build my apk through the Fastlane and Gitlab. I have been getting this error whenever I run the Fastlane command:</p>
<pre><code>FAILURE: Build failed with an exception.
* Where:
Build file '/builds/sw/pro/pro_app_flutter/android/app/build.gradle' line: 30
* What went wrong:
A proble... | I am new to Fastlane and want to build my apk through the Fastlane and Gitlab. I have been getting this error whenever I run the Fastlane command: [CODE] But I am unable to figure this out, what does this mean because flutter.gradle does exist on the path! Moreover the build from Android Studio is successfully generate... | android|flutter|gitlab|continuous-integration|fastlane | 1 | 2022-08-02T18:25:08.877Z | 2,022 | 8 | 18 | 1 | 40 | 0 | 365 | 29 | 5 | 2 | true | true | false | false | false | false | low |
73,212,141 | Getting a CursorIndexOutOfBoundsException | <p>I have an application where the user enters data in a form, and can then view it in a table. Records can be selected in the table, causing that record to be loaded into the form where it can be edited or deleted. I am getting the following error message in Logcat,</p>
<pre><code>android.database.CursorIndexOutOfBoun... | I have an application where the user enters data in a form, and can then view it in a table. Records can be selected in the table, causing that record to be loaded into the form where it can be edited or deleted. I am getting the following error message in Logcat, [CODE] in response to this cursor query, [CODE] Relevan... | java|android|database|sqlite|android-sqlite | 1 | 2022-08-02T18:28:13.200Z | 2,022 | 8 | 18 | 1 | 41 | 1 | 965 | 41 | 5 | 7 | true | false | false | false | false | false | low |
73,212,167 | Gradle task to take a build of specific build flavors (more than one) | <p>In my app, I have more than 30 build variants. Every time when I release the app, I need to publish it to different platforms, therefore I build 5 different build variants.</p>
<p>Currently, I am doing this:</p>
<ul>
<li>switch to build variant A</li>
<li>wait for the Gradle build</li>
<li>build APK/Bundle of build ... | In my app, I have more than 30 build variants. Every time when I release the app, I need to publish it to different platforms, therefore I build 5 different build variants. Currently, I am doing this: switch to build variant A wait for the Gradle build build APK/Bundle of build variant A the same steps for B, C, E, and... | android|gradle|gradlew|android-build|gradle-task | 3 | 2022-08-02T18:30:19.037Z | 2,022 | 8 | 18 | 1 | 139 | 2 | 662 | 69 | 5 | 0 | false | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.