id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,870,897 | CMake with Android NDK: find_library() calls don't find anything | <p>I'm trying to setup a hello-world-like project using CMake and integrating the Android NDK. I have found promising documentation, especially on CMake's built-in Android NDK support.</p>
<p>However, there are a few problems that I am facing.</p>
<p>First of all, <code>find_library()</code> doesn't find anything. I am... | I'm trying to setup a hello-world-like project using CMake and integrating the Android NDK. I have found promising documentation, especially on CMake's built-in Android NDK support. However, there are a few problems that I am facing. First of all, find_library() doesn't find anything. I am making a call find_library(me... | c++|cmake|android-ndk | 0 | 2022-07-05T14:11:46.980Z | 2,022 | 7 | 14 | 1 | 64 | 1 | 1,075 | 64 | 3 | 2 | true | false | false | false | false | false | zero |
72,871,016 | Test infinite kotlin coroutine | <p>I have a ViewModel. When it's visible on screen, it's started. When user leaves the screen, it stops. While the ViewModel is started, I want to execute some code every 5 seconds. The code looks somewhat like this:</p>
<pre><code>fun onStart() {
interval = launch(injectedDispatcher) {
while (true) {
... | I have a ViewModel. When it's visible on screen, it's started. When user leaves the screen, it stops. While the ViewModel is started, I want to execute some code every 5 seconds. The code looks somewhat like this: [CODE] I want to write an integration test that will test this ViewModel along with it's dependencies. I u... | android|kotlin|testing|kotlin-coroutines | 0 | 2022-07-05T14:20:45.330Z | 2,022 | 7 | 14 | 1 | 218 | 2 | 1,094 | 30 | 4 | 2 | true | false | false | false | false | false | zero |
72,871,019 | Accessibility traversal order ignored | <p>I have created a custom navigation line menu on Android TV that consists of a <code>LinearLayoutCompat</code> with <code>AppCompatButton</code>s that each represents an entry in the menu.</p>
<p>The menu is built dynamically, in the code at runtime by inflating the <code>AppCompatButton</code>s and then manually ins... | I have created a custom navigation line menu on Android TV that consists of a LinearLayoutCompat with AppCompatButton s that each represents an entry in the menu. The menu is built dynamically, in the code at runtime by inflating the AppCompatButton s and then manually insert them into the parent via addView(...) . The... | android|kotlin|accessibility|talkback|android-a11y | 0 | 2022-07-05T14:21:03.640Z | 2,022 | 7 | 14 | 1 | 47 | 0 | 951 | 37 | 5 | 1 | true | true | false | false | false | false | zero |
72,871,098 | Cannot retrieve field from a document in Firebase | <p>My app tries to retrieve the value of a field in a document in Firebase.</p>
<p>The structure of the <code>Firebase</code> database is very simple: The root <code>collection</code> is called "Users". It contains a single <code>document</code>, called "vfS6yOAJsjR49eWcXOeIvZCulJl2" (i.e. the <code... | My app tries to retrieve the value of a field in a document in Firebase. The structure of the Firebase database is very simple: The root collection is called "Users". It contains a single document , called "vfS6yOAJsjR49eWcXOeIvZCulJl2" (i.e. the userID automatically generated by Firebase). This doc... | firebase|android-studio|google-cloud-firestore | 0 | 2022-07-05T14:26:01.977Z | 2,022 | 7 | 14 | 1 | 68 | 0 | 948 | 49 | 3 | 2 | true | true | false | false | false | false | zero |
72,871,128 | request post with retrofit in android | <p>I want use request post in my app.
I used this but I have a problem.
I face this problem when I want to create an account.</p>
<blockquote>
<p>status code 403</p>
</blockquote>
<p>You can see my code:</p>
<p>Api.kt</p>
<pre><code>interface Api {
@Headers("Content-Type: application/x-www-form-urlencoded")
@... | I want use request post in my app. I used this but I have a problem. I face this problem when I want to create an account. status code 403 You can see my code: Api.kt [CODE] UserResponse.kt [CODE] SignUpActivity.kt [CODE] I use this request on postman and it works good enter image description here but in android studio... | android|android-studio|kotlin|retrofit2 | 0 | 2022-07-05T14:28:08.583Z | 2,022 | 7 | 14 | 1 | 83 | 1 | 407 | 37 | 4 | 3 | true | false | false | false | false | false | zero |
72,871,207 | Version of dependency not found | <p>I have an Android App that is published in Google Play.</p>
<p>I tried to publish a new version and the Google Play console asked me to update the sdkVersion to 30, it was 29.</p>
<p>I modifyied to 30, and Android Studio warned me that I should update to 32 the sdkVersion. So I changed: <strong>compileSdkVersion</st... | I have an Android App that is published in Google Play. I tried to publish a new version and the Google Play console asked me to update the sdkVersion to 30, it was 29. I modifyied to 30, and Android Studio warned me that I should update to 32 the sdkVersion. So I changed: compileSdkVersion and targetSdkVersion to 32. ... | android-studio|google-play-services | 1 | 2022-07-05T14:34:22.283Z | 2,022 | 7 | 14 | 1 | 85 | 0 | 863 | 31 | 2 | 1 | true | true | false | false | false | false | low |
72,871,639 | How we can get image from camera with fragment in kotlin? | <p>I search documentation and tutorial for this, but all the tutorial using activity than fragment. And when i try it, it doesn't work in fragment. Do you have any documentation, artikel, or tutorial about this? I'm trully new in kotlin. Thank you.</p> | I search documentation and tutorial for this, but all the tutorial using activity than fragment. And when i try it, it doesn't work in fragment. Do you have any documentation, artikel, or tutorial about this? I'm trully new in kotlin. Thank you. | kotlin|fragment|android-camera | 0 | 2022-07-05T15:03:41.177Z | 2,022 | 7 | 15 | 1 | 27 | 0 | 245 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
72,871,646 | How to set permission in AndroidManifest.xml for background location? | <p>I know we should add "ACCESS_FINE_LOCATION" and "ACCESS_COARSE_LOCATION" permissions and for Android 10 and higher we should add "ACCESS_BACKGROUND_LOCATION".</p>
<p>But if my app is going to be published for all versions starting from android 7 to the latest android 12, how would my An... | I know we should add "ACCESS_FINE_LOCATION" and "ACCESS_COARSE_LOCATION" permissions and for Android 10 and higher we should add "ACCESS_BACKGROUND_LOCATION". But if my app is going to be published for all versions starting from android 7 to the latest android 12, how would my AndroidManif... | android | -1 | 2022-07-05T15:04:16.030Z | 2,022 | 7 | 15 | 1 | 41 | 1 | 390 | 69 | 1 | 0 | false | false | false | false | false | true | negative |
72,871,783 | How to scroll properly without selecting a text with Appium Python? | <p>I am trying to scroll an Android smartphone with Python. I am using this method:</p>
<p><code>driver.swipe(start_x, start_y, end_x, end_y, 1000)</code></p>
<p>But I have a problem: When there is a long text, it is selecting the text for copying-pasting it.
So I search for solution, and I found this one:</p>
<p><a h... | I am trying to scroll an Android smartphone with Python. I am using this method: driver.swipe(start_x, start_y, end_x, end_y, 1000) But I have a problem: When there is a long text, it is selecting the text for copying-pasting it. So I search for solution, and I found this one: Scroll down method selects text in Appium ... | python|python-3.x|appium|appium-android | 0 | 2022-07-05T15:14:46.740Z | 2,022 | 7 | 15 | 1 | 41 | 0 | 734 | 67 | 4 | 1 | true | true | false | false | false | false | zero |
72,871,865 | Camera2API on manual mode takes super low quality pictures | <p>I've been for several days struggling with Camera2 API and apparently I'm stuck. I have an android app which uses Camera2 API to take pictures. It must run on a Samsung galaxy Tab A SM-T510 with Android 11. The app uses a call to camera2 API which after taking the picture, sends it in base64 format to the webview fr... | I've been for several days struggling with Camera2 API and apparently I'm stuck. I have an android app which uses Camera2 API to take pictures. It must run on a Samsung galaxy Tab A SM-T510 with Android 11. The app uses a call to camera2 API which after taking the picture, sends it in base64 format to the webview front... | android|camera|android-camera2 | 0 | 2022-07-05T15:20:06.617Z | 2,022 | 7 | 15 | 1 | 45 | 1 | 3,437 | 58 | 3 | 4 | true | false | false | false | false | false | zero |
72,871,897 | java.lang.NoSuchMethodError in AndroidX in obfuscated app | <p>I've got a really weird error and I need an expert's eye to dig more into this issue.</p>
<p>In releasing my application in play store, I got some crashes in Crashlytics that seems to happen only on a few devices, right after a first installation of the application.</p>
<pre><code>Fatal Exception: java.lang.NoSuchMe... | I've got a really weird error and I need an expert's eye to dig more into this issue. In releasing my application in play store, I got some crashes in Crashlytics that seems to happen only on a few devices, right after a first installation of the application. [CODE] The use of f and n shows that app is obfuscated with ... | android|proguard|obfuscation|androidx|android-r8 | 3 | 2022-07-05T15:22:38.990Z | 2,022 | 7 | 15 | 1 | 210 | 0 | 1,381 | 57 | 5 | 3 | true | true | false | false | false | false | low |
72,871,908 | How to return value in coroutine scope? | <p>Is it possible to to return value in <code>Coroutine Scope</code> without run blocking?
For now my code in repository looks like this:</p>
<pre><code> suspend fun getWorkItem(workItemId: Int): WorkItemRoom? {
runBlocking {
return@runBlocking
CoroutineScope(Dispatchers.Main).launch ... | Is it possible to to return value in Coroutine Scope without run blocking? For now my code in repository looks like this: [CODE] this is my useCase [CODE] baseUseCase [CODE] Dao [CODE] ... but certainly I know it is not a proper solution. How would you achieve this? In viewmodels' or fragments I can directly use lifecy... | android|kotlin|kotlin-coroutines | 0 | 2022-07-05T15:23:38.863Z | 2,022 | 7 | 15 | 1 | 156 | 3 | 479 | 39 | 3 | 5 | true | false | false | false | false | false | zero |
72,871,920 | APK file, generated by GluonFx, malfunctioning | <p>I am trying, using the well-known HelloFx program, to get an APK program working on an Android tablet with GluonFx and Maven.
Everything is fine in the compile phase, but when I use <em>gluonfx: install</em> some problems arise.</p>
<p>I then tried to use an emulator to read the APK file, like BueStacks and Apk Edit... | I am trying, using the well-known HelloFx program, to get an APK program working on an Android tablet with GluonFx and Maven. Everything is fine in the compile phase, but when I use gluonfx: install some problems arise. I then tried to use an emulator to read the APK file, like BueStacks and Apk Editor Studio, but it d... | java|android|android-studio | 0 | 2022-07-05T15:24:55.020Z | 2,022 | 7 | 15 | 1 | 22 | 0 | 1,873 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
72,872,079 | if username and password are correct, switch to 2.activity | <p>I'm new to android, I wrote a code for myself, when the button is pressed, it switches to another activity, but I want to connect it to the password and user name.</p>
<p>if "username && password" is correct then switch to activity 2.
how can I do it?</p>
<pre><code>
import androidx.appcompat.app.A... | I'm new to android, I wrote a code for myself, when the button is pressed, it switches to another activity, but I want to connect it to the password and user name. if "username && password" is correct then switch to activity 2. how can I do it? [CODE] | java|android|mobile | 0 | 2022-07-05T15:35:36.637Z | 2,022 | 7 | 15 | 1 | 36 | 1 | 261 | 58 | 3 | 1 | true | false | false | false | false | false | zero |
72,872,140 | how i to remove a Fragment from a fragment in framelayout | <p>I'm trying to make a button that can remove the fragment after the user display the fragment and he can goo back to the first fragemnt.
public class SoundFragment extends Fragment {
Button SoundBtn,MelodieBtn ;</p>
<pre><code>@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
... | I'm trying to make a button that can remove the fragment after the user display the fragment and he can goo back to the first fragemnt. public class SoundFragment extends Fragment { Button SoundBtn,MelodieBtn ; [CODE] } | java|android-studio | 0 | 2022-07-05T15:39:54.970Z | 2,022 | 7 | 15 | 1 | 12 | 0 | 219 | 57 | 2 | 1 | true | true | false | false | false | false | zero |
72,872,158 | List txt files on SD card on Android with Unity | <p>I want to list all <code>txt</code> files in a folder on an SD card on Android using the Unity game engine.</p>
<ul>
<li>permissions <code>READ_EXTERNAL_STORAGE</code> and <code>WRITE_EXTERNAL_STORAGE</code> are given</li>
<li>the txt files exist, I can see them using my file browser on Android. I can also see them ... | I want to list all txt files in a folder on an SD card on Android using the Unity game engine. permissions READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are given the txt files exist, I can see them using my file browser on Android. I can also see them in Windows when I connect my phone But Unity's C# API is not lis... | android|unity3d|permissions|sd-card|txt | 1 | 2022-07-05T15:41:10.843Z | 2,022 | 7 | 15 | 1 | 91 | 1 | 1,309 | 47 | 5 | 1 | true | false | false | false | false | false | low |
72,872,231 | loop showing only 2 elements out of 10 after a live data observation | <p>I am listening to an emit from a live data and want to loop through the list to Log them. if I do myList.toString(), I can see all 10 elements of the list. But my loop stops after logging two elements:</p>
<pre><code> myLiveData.observe(this, Observer {
val items : List<Items> = it
Log.i... | I am listening to an emit from a live data and want to loop through the list to Log them. if I do myList.toString(), I can see all 10 elements of the list. But my loop stops after logging two elements: [CODE] how can I loop all the items that I got through the observable? | kotlin|kotlin-android | 0 | 2022-07-05T15:46:45.337Z | 2,022 | 7 | 15 | 1 | 32 | 0 | 272 | 68 | 2 | 1 | true | true | false | false | false | false | zero |
72,872,306 | Vertical gridview does not scroll upwards properly | <p>I have a page where there 4 cards in each row. I have the used vertical Gridview and below is the xml for the cards layout</p>
<pre><code><androidx.appcompat.widget.AppCompatImageView
android:id="@+id/card_image"
android:layout_width="match_parent"
android:focusable=&qu... | I have a page where there 4 cards in each row. I have the used vertical Gridview and below is the xml for the cards layout [CODE] Below is the xml for the vertical gridview : [CODE] Below is the code for the the column size: [CODE] This works fine while scrolling down. But while scrolling upwrads it will the focus the ... | android|android-layout|gridview|scroll|view | 0 | 2022-07-05T15:52:15.653Z | 2,022 | 7 | 15 | 1 | 21 | 0 | 413 | 50 | 5 | 3 | true | true | false | false | false | false | zero |
72,872,341 | Here Maps - mapView.getCamera().lookAt() Method does update MapView | <p>I creating React Native UI Component for Here Maps API. The problem I am facing is the Map gets loaded but does update the loaded MapView with coordinates which are set using mapView.getCamera().lookAt() method. The approach I am following is to load the MapView inside the fragment which the I use to render the map.... | I creating React Native UI Component for Here Maps API. The problem I am facing is the Map gets loaded but does update the loaded MapView with coordinates which are set using mapView.getCamera().lookAt() method. The approach I am following is to load the MapView inside the fragment which the I use to render the map. He... | android|react-native|here-api | 0 | 2022-07-05T15:54:31.293Z | 2,022 | 7 | 15 | 1 | 51 | 0 | 608 | 67 | 3 | 4 | true | true | false | false | false | false | zero |
72,872,382 | Change specific items in List when using DiffUtil | <p>In case,<br />
When there is a list with 100 items and wanna change only some of them, should I need to create a new list for comparison with DiffUtil?</p>
<pre><code>fun fetchDynamicItems() {
val items = repository.fetchOnlyDynamicItems()
replaceDynamicItems(items)
}
fun replaceDynamicItems(dynamicItems: L... | In case, When there is a list with 100 items and wanna change only some of them, should I need to create a new list for comparison with DiffUtil? [CODE] Is there a good way to use DiffUtil to change only a few items without creating a new List? | android|kotlin|android-recyclerview|android-diffutils | 0 | 2022-07-05T15:57:32.163Z | 2,022 | 7 | 15 | 1 | 77 | 1 | 244 | 49 | 4 | 1 | true | false | false | false | false | false | zero |
72,872,633 | Fetching the MAC address of an Android mobile device programmatically | <p>Are there still ways to fetch the MAC Address of an Android device programmatically nowadays?</p>
<p>I have this project, that uses Access Points to locate the indoor position of a device, and for the location data, its unique identifier is the connected device's MAC Address.</p>
<p>I am fetching the location from t... | Are there still ways to fetch the MAC Address of an Android device programmatically nowadays? I have this project, that uses Access Points to locate the indoor position of a device, and for the location data, its unique identifier is the connected device's MAC Address. I am fetching the location from the Access points ... | android|react-native|expo | 0 | 2022-07-05T16:18:05.620Z | 2,022 | 7 | 16 | 1 | 114 | 0 | 938 | 69 | 3 | 0 | false | true | false | false | false | false | zero |
72,872,707 | Hamburger Icon not showing for second time when I go to other Fragments | <p>First I have made a button navigation with three Fragments in Main Activity and I made a Hamburger Icon in Toolbar , when I run the app , hamburger icon work correctly for the first time
<a href="https://i.stack.imgur.com/5TjUY.jpg" rel="nofollow noreferrer">first image</a>
but when I go to other fragments or comeba... | First I have made a button navigation with three Fragments in Main Activity and I made a Hamburger Icon in Toolbar , when I run the app , hamburger icon work correctly for the first time first image but when I go to other fragments or comeback to home fragment, there is no hamburger icon. second image and here is my co... | java|android|android-studio|kotlin|android-fragments | 0 | 2022-07-05T16:24:41.253Z | 2,022 | 7 | 16 | 1 | 56 | 1 | 396 | 71 | 5 | 3 | true | false | false | false | false | false | zero |
72,872,780 | Android Studio forcefully restarts the computer | <p>I am having problems with android studio. Every time it loads a project in android studio the computer restarts. It does not restart when opening the application since it lets me search for projects or create new ones, the problem is when loading a project, it does not go beyond build.gradle.</p>
<p>I emphasize that... | I am having problems with android studio. Every time it loads a project in android studio the computer restarts. It does not restart when opening the application since it lets me search for projects or create new ones, the problem is when loading a project, it does not go beyond build.gradle. I emphasize that there are... | android|android-studio | 2 | 2022-07-05T16:31:09.880Z | 2,022 | 7 | 16 | 1 | 46 | 0 | 850 | 47 | 2 | 0 | false | true | false | false | false | false | low |
72,872,793 | Hint text of Material Design Component (material.textfield.TextInputLayout) is not being translated | <p>I have developed an Android app that supports multiple languages. As per Design Library, I have used Material Design. As shown:</p>
<pre><code> <com.google.android.material.textfield.TextInputLayout
android:id="@+id/textField2"
android:layout_gravity="center_vertical"
android:layou... | I have developed an Android app that supports multiple languages. As per Design Library, I have used Material Design. As shown: [CODE] **All string values are being translated when the certain language is selected except the hint value on TextInputEditText. [CODE] | java|android|material-design | 0 | 2022-07-05T16:32:16.063Z | 2,022 | 7 | 16 | 1 | 74 | 0 | 264 | 99 | 3 | 2 | true | true | false | false | false | false | zero |
72,872,867 | Could not resolve com.facebook.react:react-native:+ | <p>No logro buildear mi aplicacion y ya he probado de todo, cambie <code>com.facebook.react:react-native:+</code> en android/app/build-gradle por <code>com.facebook.react:react-native:0.68.2</code> y nada, probe agregando, borrando, y editando el jcenter() de buil-gradle y tampoco.
Ya no se que mas probar.</p> | No logro buildear mi aplicacion y ya he probado de todo, cambie com.facebook.react:react-native:+ en android/app/build-gradle por com.facebook.react:react-native:0.68.2 y nada, probe agregando, borrando, y editando el jcenter() de buil-gradle y tampoco. Ya no se que mas probar. | android|react-native|mobile-development | 0 | 2022-07-05T16:38:57.420Z | 2,022 | 7 | 16 | 1 | 109 | 0 | 278 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
72,872,912 | How can i get the context from the main activity and put it in the other activity inside the GridLayoutManager context? | <p>In my second activity I want to replace the "this" into the context of the main activity so that the recycleview will appear in the main activity, but I don't know how and what to do.</p>
<p>This code is from the second activity which is separated for the main activity:</p>
<pre><code>RecyclerView.LayoutMa... | In my second activity I want to replace the "this" into the context of the main activity so that the recycleview will appear in the main activity, but I don't know how and what to do. This code is from the second activity which is separated for the main activity: [CODE] I need to get the context of the MainAc... | java|android-studio | 0 | 2022-07-05T16:42:25.897Z | 2,022 | 7 | 16 | 1 | 22 | 1 | 359 | 119 | 2 | 1 | true | false | false | false | false | false | zero |
72,872,979 | Anychart not accepting variable | <p>I am playing with charts in Android Studio. In the tutorial, the number 41, 56 and 93 is being put directly into the ValueDataEntry like so and it is working.</p>
<pre><code>data.add(new ValueDataEntry("BUB", 41));
data.add(new ValueDataEntry("KP", 56));
data.add(new ValueDataEntry("SP"... | I am playing with charts in Android Studio. In the tutorial, the number 41, 56 and 93 is being put directly into the ValueDataEntry like so and it is working. [CODE] But when I try to make user input number to the ValueDataEntry, it is not working. So I try to set the input directly to the below code but it is still no... | java|android-studio|mpandroidchart|mobile-application|anychart | 0 | 2022-07-05T16:48:30.837Z | 2,022 | 7 | 16 | 1 | 33 | 0 | 993 | 31 | 5 | 2 | true | true | false | false | false | false | zero |
72,873,036 | Set height of individual items recyclerview | <p>I am creating an app that allows users to upload videos. I want the videos to all have the same height but currently they show up according to their actual height and width in the database.</p>
<p>I checked almost 10 questions on here but none were able to solve my problem. Can someone help me ?</p>
<p>fragment_prof... | I am creating an app that allows users to upload videos. I want the videos to all have the same height but currently they show up according to their actual height and width in the database. I checked almost 10 questions on here but none were able to solve my problem. Can someone help me ? fragment_profile.xml: [CODE] P... | java|android|xml|android-layout | 0 | 2022-07-05T16:53:18.350Z | 2,022 | 7 | 16 | 1 | 39 | 0 | 360 | 43 | 4 | 2 | true | true | false | false | false | false | zero |
72,873,105 | Callback function can be changed in Compose? | <p>As I am doing <a href="https://developer.android.com/codelabs/jetpack-compose-advanced-state-side-effects" rel="nofollow noreferrer">this codelab</a> (Step 4) from Android Developer website, I noticed it is said that the callback function can be changed even after it is passed to the Composable, and the code needs t... | As I am doing this codelab (Step 4) from Android Developer website, I noticed it is said that the callback function can be changed even after it is passed to the Composable, and the code needs to protect it against changes. As below: Some side-effect APIs like LaunchedEffect take a variable number of keys as a paramete... | android|kotlin|callback|state|android-jetpack-compose | 1 | 2022-07-05T17:00:59.027Z | 2,022 | 7 | 17 | 1 | 245 | 1 | 1,757 | 44 | 5 | 1 | true | false | false | false | false | false | low |
72,873,343 | Error: android.app.RemoteServiceException: Bad notification for startForeground | <p>I am working on a music player and I want to create a foreground service for notification. But when I use the startForeground() method then it gives me the following error:-</p>
<pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.aashushaikh.musicplayer, PID: 19998
android.app.RemoteServiceExcept... | I am working on a music player and I want to create a foreground service for notification. But when I use the startForeground() method then it gives me the following error:- [CODE] How can I resolve this error? I have tried the following solutions but none worked for me android.app.RemoteServiceException: Bad notificat... | android|android-studio|android-service|foreground-service|android-music-player | 0 | 2022-07-05T17:22:33.803Z | 2,022 | 7 | 17 | 1 | 157 | 0 | 709 | 79 | 5 | 4 | true | true | false | false | false | false | zero |
72,873,848 | Android 4.4 kitkat CardView Dropdown with ConstraintLayout dont work with the TransitionManager.beginDelayedTransition but works on Android 5+ | <p>The problem I'm really sure its the transitionManager, I need an equivalent for old versions. Any advice for doing anything like this would be nice because maybe there are many fields for a card, because I need about 3 more in a CardView.</p>
<p>Drawables that it need to work:
Name:ic_keyboard_arrow_down_black_24dp... | The problem I'm really sure its the transitionManager, I need an equivalent for old versions. Any advice for doing anything like this would be nice because maybe there are many fields for a card, because I need about 3 more in a CardView. Drawables that it need to work: Name:ic_keyboard_arrow_down_black_24dp [CODE] Nam... | java|android|xml|android-cardview|card | 0 | 2022-07-05T18:13:46.023Z | 2,022 | 7 | 18 | 1 | 39 | 0 | 683 | 142 | 5 | 5 | true | true | false | false | false | false | zero |
72,873,864 | ARM Instruction Tracing in Android Emulator | <p>I was wondering if there's a way to trace (even a tiny window) the ARM instructions being executed (specifically the LD/ST instructions) when running an application in Android Emulator? Similar to what one would do on-device using ARM CoreSight and ETM traces.</p>
<p>Say I setup a buffer some GB large and want the l... | I was wondering if there's a way to trace (even a tiny window) the ARM instructions being executed (specifically the LD/ST instructions) when running an application in Android Emulator? Similar to what one would do on-device using ARM CoreSight and ETM traces. Say I setup a buffer some GB large and want the last X mill... | android-emulator | 0 | 2022-07-05T18:15:39.810Z | 2,022 | 7 | 18 | 1 | 9 | 0 | 405 | 43 | 1 | 0 | false | true | false | false | false | false | zero |
72,873,868 | Release uses an old version of Google Play Billing | <p>I've been searching for hours but I can't seem to find an answer to what is the difference between <code>Google Play Billing Library</code> and <code>In-app Billing API</code> and if one of them is causing the error message below:</p>
<pre><code>Release uses an old version of Google Play Billing
</code></pre>
<p>I'm... | I've been searching for hours but I can't seem to find an answer to what is the difference between Google Play Billing Library and In-app Billing API and if one of them is causing the error message below: [CODE] I'm reading about Google Play Billing Library here: https://developer.android.com/google/play/billing/integr... | android|in-app-billing | 0 | 2022-07-05T18:15:59.297Z | 2,022 | 7 | 18 | 1 | 129 | 1 | 1,773 | 50 | 2 | 6 | true | false | false | false | false | false | zero |
72,873,889 | React Native SQLite gives "None of these files exists "node_modules\react-native-sqlite-storage\lib\sqlite.core.js" | <p>Hi I have an error in App.tsx while I declare and using SQLite.</p>
<p>I have imported rigth and I am going on tutoriols but it gives</p>
<p>"node_modules\react-native-sqlite-storage\lib\sqlite.core.js" error.</p>
<p>I have react native version 0.69.1</p>
<p>here the declaretion and using in App.tsx</p>
<p... | Hi I have an error in App.tsx while I declare and using SQLite. I have imported rigth and I am going on tutoriols but it gives "node_modules\react-native-sqlite-storage\lib\sqlite.core.js" error. I have react native version 0.69.1 here the declaretion and using in App.tsx [CODE] thanks for all helps. | android|react-native|sqlite | 0 | 2022-07-05T18:18:09.487Z | 2,022 | 7 | 18 | 1 | 52 | 1 | 311 | 115 | 3 | 1 | true | false | false | false | false | false | zero |
72,874,234 | Unable to email with sendPasswordResetEmail method in Firebase and android project | <p>I'm trying to create an authentication system in Android with Firebase Authentication, everything works, but email to reset password that is never send.</p>
<pre><code>
private FirebaseAuth mAuth;
mAuth = FirebaseAuth.getInstance();
btResetContrasena.setOnClickListener(new View.OnClickListener() {
@O... | I'm trying to create an authentication system in Android with Firebase Authentication, everything works, but email to reset password that is never send. [CODE] | android|firebase-authentication | 0 | 2022-07-05T18:50:07.700Z | 2,022 | 7 | 18 | 1 | 50 | 0 | 159 | 82 | 2 | 1 | true | true | false | false | false | false | zero |
72,874,295 | Reopening page from android home screen shortcut asking for resend data | <p>I have web application writen in ASP.NET, basically it is tracking time, so I open it from my (android) phone and click start button.
After two hours or so, I open it again from the same shortcut on homescreen.
I get annoying dialog with question "Do you want to resend data?" before web page get open.</p>
... | I have web application writen in ASP.NET, basically it is tracking time, so I open it from my (android) phone and click start button. After two hours or so, I open it again from the same shortcut on homescreen. I get annoying dialog with question "Do you want to resend data?" before web page get open. I worka... | android|asp.net|android-shortcut | 0 | 2022-07-05T18:56:56.667Z | 2,022 | 7 | 18 | 1 | 105 | 0 | 670 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
72,874,369 | handle DispatchKeyEvent in Xamarin Forms Android platform when no control has the focus | <p>I have a Xamarin Forms project (.NET Standard 2.1) and I need to handle DispatchKeyEvent in the Android platform. I have that working great if an Entry control has the focus but I need it to work when no control has the focus.</p>
<p>Based on <a href="https://stackoverflow.com/questions/44489238/dispatchkeyevent-no... | I have a Xamarin Forms project (.NET Standard 2.1) and I need to handle DispatchKeyEvent in the Android platform. I have that working great if an Entry control has the focus but I need it to work when no control has the focus. Based on this related post I have tried to give the Page that inherits from PageRenderer the ... | xamarin.forms|xamarin.android | 1 | 2022-07-05T19:03:38.307Z | 2,022 | 7 | 19 | 1 | 49 | 1 | 688 | 87 | 2 | 1 | true | false | false | false | false | false | low |
72,874,420 | Need to update textview with url everytime when webview url changes in kotlin | <p>Trying make a simple browser, and can't set a fild that will showing current webview's url. Tried override functions, but always says that "name of function" overrides nothing. Also can add that webview is within fragment. Maybe i can call this from mainactivity, but idk how.
webview_fragment.kt</p>
<p><di... | Trying make a simple browser, and can't set a fild that will showing current webview's url. Tried override functions, but always says that "name of function" overrides nothing. Also can add that webview is within fragment. Maybe i can call this from mainactivity, but idk how. webview_fragment.kt [CODE] mainac... | android|kotlin|android-fragments|webview|overriding | 0 | 2022-07-05T19:09:01.867Z | 2,022 | 7 | 19 | 1 | 42 | 2 | 336 | 77 | 5 | 2 | true | false | false | false | false | false | zero |
72,874,443 | Multiple instances of App are shown in recent app list | <p>I am facing an issue in android application that Multiple instances of App are seeing in recent list.</p>
<pre><code><application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launche... | I am facing an issue in android application that Multiple instances of App are seeing in recent list. [CODE] I am calling my method for recreating current activity for apply locale changes. [CODE] After implementing this code sometimes App is working fine or sometime app is creating multiple instances inside recent app... | android|android-studio|android-activity|android-applicationinfo | 0 | 2022-07-05T19:11:39.127Z | 2,022 | 7 | 19 | 1 | 95 | 0 | 508 | 54 | 4 | 2 | true | true | false | false | false | false | zero |
72,874,520 | Listener from DialogFragment to Fragment | <p>I'm a beginner in Java and I'm trying to create a listener in my <code>DialogFragment</code> to notice my fragment that some book was removed. When the user removes a book, I want to call the removeBook method in BookFragment and update the <code>recyclerview</code>.</p>
<p>Here is my BookDialogFragment.java:</p>
<p... | I'm a beginner in Java and I'm trying to create a listener in my DialogFragment to notice my fragment that some book was removed. When the user removes a book, I want to call the removeBook method in BookFragment and update the recyclerview . Here is my BookDialogFragment.java: [CODE] And here is my BookFragment.java: ... | java|android|android-fragments|android-recyclerview|android-dialogfragment | 0 | 2022-07-05T19:18:13.620Z | 2,022 | 7 | 19 | 1 | 75 | 1 | 503 | 40 | 5 | 4 | true | false | false | false | false | false | zero |
72,874,670 | Android SSL Pining Access Specific Url Without Pining While Other Endpoints Are Pinned | <p>So I have a question. Is it possible to configure <em><strong>network_security_config.xml</strong></em> in a manner that a <em><strong>single specific endpoint</strong></em> in the domain can be accessed <em><strong>without pinning</strong></em> while every single <em><strong>other endpoint</strong></em> in the doma... | So I have a question. Is it possible to configure network_security_config.xml in a manner that a single specific endpoint in the domain can be accessed without pinning while every single other endpoint in the domain is enforced pinning . Example: example.com/access_without_pin and example.com/* (every other single endp... | android|kotlin|retrofit|android-manifest|android-network-security-config | 0 | 2022-07-05T19:36:44.423Z | 2,022 | 7 | 19 | 1 | 27 | 1 | 504 | 86 | 5 | 0 | false | false | false | false | false | false | zero |
72,874,798 | autocomplete for room query stopped working? | <p>After opening my room dao I noticed that the autocomplete for <code>Query</code> annotation does not work at all. Not only that, but it also does not check any SQL queries I try to enter for errors and spelling mistakes:</p>
<p><a href="https://i.stack.imgur.com/2m6K6.png" rel="nofollow noreferrer"><img src="https:/... | After opening my room dao I noticed that the autocomplete for Query annotation does not work at all. Not only that, but it also does not check any SQL queries I try to enter for errors and spelling mistakes: ( I purposefully used "FRR" instead of "FROM" to show that the error correction does not wor... | android|kotlin|android-room | 1 | 2022-07-05T19:48:39.073Z | 2,022 | 7 | 19 | 1 | 50 | 2 | 547 | 44 | 3 | 0 | false | false | false | false | false | false | low |
72,874,913 | Buildozer kivy android game app doesn't run. Black screen and then switches to homescreen with app in background | <p>I'm trying to get into game creation using these tools.. Python, Kivy, Buildozer. I was following this good tutorial from Richard Jones, <a href="https://www.youtube.com/watch?v=U14P8gtjQmU&t=8814s" rel="nofollow noreferrer">tutorial from Richard Jones</a></p>
<p>I was using my own graphics then what he used in ... | I'm trying to get into game creation using these tools.. Python, Kivy, Buildozer. I was following this good tutorial from Richard Jones, tutorial from Richard Jones I was using my own graphics then what he used in video as I didn't have access to his files initially. Everything worked in python and buildozer would comp... | python|android|kivy|buildozer | 0 | 2022-07-05T19:59:08.073Z | 2,022 | 7 | 19 | 1 | 30 | 0 | 2,182 | 112 | 4 | 1 | true | true | false | false | false | false | zero |
72,874,917 | Kotlin - Clipboard option missing in InputText field Compose UI | <p>Looking for help with the clipboard in Compose UI. The Edittext field is not showing <strong>clipboard</strong> option in popup (when user double tap on edittext).</p>
<p><strong>Case 1.</strong> It is there for normal xml screen (clipboard - on double tap on edittext field)
<a href="https://i.stack.imgur.com/dMABx... | Looking for help with the clipboard in Compose UI. The Edittext field is not showing clipboard option in popup (when user double tap on edittext). Case 1. It is there for normal xml screen (clipboard - on double tap on edittext field) Code : [CODE] Case 2: In Compose Ui (need to long-press in inputText field and clipbo... | android|kotlin|android-jetpack-compose | 0 | 2022-07-05T19:59:29.590Z | 2,022 | 7 | 19 | 1 | 34 | 0 | 412 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
72,874,926 | How to scroll to the beginning of a text in TextInput Expo (React Native) | <p>I'm trying to make something similar to a creator's comment under a post on Instagram. If the text is longer, only the first line will be visible. You can read the rest by clicking the three dots or read more. In this case, I am using <code>TextInput</code> and enabling and disabling <code>multiline</code> on press.... | I'm trying to make something similar to a creator's comment under a post on Instagram. If the text is longer, only the first line will be visible. You can read the rest by clicking the three dots or read more. In this case, I am using TextInput and enabling and disabling multiline on press. While everything works fine,... | android|reactjs|react-native|expo|textinput | 1 | 2022-07-05T20:00:22.067Z | 2,022 | 7 | 20 | 1 | 55 | 1 | 933 | 73 | 5 | 1 | true | false | false | false | false | false | low |
72,875,070 | I made a widget button which works with pending intent. Why does it just work once? | <p>I made a widget on Android Studios which contains a button. The button should normally increase a number and change the text of a Textview to that number. The number, and therefore the number in the Textview, should increase with every click. The problem now is that everything works just fine(no errors, nothing), bu... | I made a widget on Android Studios which contains a button. The button should normally increase a number and change the text of a Textview to that number. The number, and therefore the number in the Textview, should increase with every click. The problem now is that everything works just fine(no errors, nothing), but t... | android|button|widget | 0 | 2022-07-05T20:15:43.630Z | 2,022 | 7 | 20 | 1 | 23 | 0 | 589 | 83 | 3 | 2 | true | true | false | false | false | false | zero |
72,875,074 | Two different API calls with the same result - caching problem? | <p>I am currently creating my first Android app with Java. I make two API calls to a Loxone Music Server (based on "/audio/X/volume/-Y" -> <a href="https://www.loxone.com/dede/kb/loxone-music-server/" rel="nofollow noreferrer">https://www.loxone.com/dede/kb/loxone-music-server/</a>) to change the volume of... | I am currently creating my first Android app with Java. I make two API calls to a Loxone Music Server (based on "/audio/X/volume/-Y" -> https://www.loxone.com/dede/kb/loxone-music-server/ ) to change the volume of the room. The calls are simple GET requests to different URLs. The call is made using two differ... | android|api|httprequest | 0 | 2022-07-05T20:16:06.700Z | 2,022 | 7 | 20 | 1 | 18 | 0 | 1,491 | 63 | 3 | 2 | true | true | false | false | false | false | zero |
72,875,263 | Run Kotlin script in Android Gradle task | <p>I have a script that generates a Kotlin file from an external JSON file in my project (using Kotlin Poet), under <code>app/src/.../scripts/Script.Kt</code> with a <code>main()</code> function.</p>
<p>I want Gradle to automatically run this script during the build phase. What is the appropriate way to do this?</p>
<p... | I have a script that generates a Kotlin file from an external JSON file in my project (using Kotlin Poet), under app/src/.../scripts/Script.Kt with a main() function. I want Gradle to automatically run this script during the build phase. What is the appropriate way to do this? I've tried declaring a JavaExec task like ... | android|kotlin|gradle|kotlinpoet | 0 | 2022-07-05T20:37:53.297Z | 2,022 | 7 | 20 | 1 | 14 | 0 | 483 | 40 | 4 | 1 | true | true | false | false | false | false | zero |
72,875,409 | How to bind string (update that string when change him) from viewmodel with Jetpack Compose | <p>I want to implement MVVM arquitecture and i am trying to bind two string variables from my model but I cannot</p>
<p>I have this model and viewmodel:</p>
<pre><code>data class LoginModel(var correo:String = "", val password:String = "")
class LoginViewModel:ViewModel() {
var model by mutabl... | I want to implement MVVM arquitecture and i am trying to bind two string variables from my model but I cannot I have this model and viewmodel: [CODE] And i have this @Composable function: [CODE] but UI is not being updated. I write in emulator but nothing is changed. why ?? | android-jetpack-compose | 0 | 2022-07-05T20:54:33.277Z | 2,022 | 7 | 20 | 1 | 112 | 1 | 274 | 91 | 1 | 2 | true | false | false | false | false | false | zero |
72,875,764 | compileSdkVersion is not specified on expo run android | <p>I am trying to run the command <code>expo run:android</code> but i am getting this error.</p>
<pre><code>* What went wrong:
A problem occurred configuring project ':expo'.
> compileSdkVersion is not specified. Please add it to build.gradle
</code></pre>
<p>But in the file build.gradle is specified.
I had other er... | I am trying to run the command expo run:android but i am getting this error. [CODE] But in the file build.gradle is specified. I had other errors so I tried to reinstall, I currently have Java 8 update 333 installed. I tried command rm -rf ~/.gradle/caches but it did not help Where is problem please? [CODE] | android|react-native|gradle|expo | 1 | 2022-07-05T21:31:25.760Z | 2,022 | 7 | 21 | 1 | 171 | 0 | 308 | 54 | 4 | 2 | true | true | false | false | false | false | low |
72,875,847 | Flutter Android folder permission | <p>I'm currently using the <code>permissions</code> package from pub.dev. I see that it doesn't have a permission that I'm looking for. I'm wondering if there's a permission where I can ask the user for access to the <code>/Music</code> folder of the Android device so I can read and write files inside it. Right now I a... | I'm currently using the permissions package from pub.dev. I see that it doesn't have a permission that I'm looking for. I'm wondering if there's a permission where I can ask the user for access to the /Music folder of the Android device so I can read and write files inside it. Right now I am using the manageExternalSto... | android|flutter|dart|permissions | 0 | 2022-07-05T21:39:33.483Z | 2,022 | 7 | 21 | 1 | 123 | 2 | 366 | 33 | 4 | 0 | false | false | false | false | false | false | zero |
72,875,890 | Here SDK for Android: java build errors in Xamarin Release build when use r8 | <p>We have a Xamarin Forms Application updated to 5.0 all the builds are successful including the Android binding libraries.
Switched from Proguard to r8 due to multiple errors occurring on release build.</p>
<p>The main issue we have is on release mode where some features on Here SDK for Android (Premium Edition) vers... | We have a Xamarin Forms Application updated to 5.0 all the builds are successful including the Android binding libraries. Switched from Proguard to r8 due to multiple errors occurring on release build. The main issue we have is on release mode where some features on Here SDK for Android (Premium Edition) versions 3.16 ... | visual-studio|xamarin.forms|xamarin.android|android-r8 | 0 | 2022-07-05T21:45:47.953Z | 2,022 | 7 | 21 | 1 | 79 | 0 | 964 | 76 | 4 | 1 | true | true | false | false | false | false | zero |
72,875,893 | Fixing apps that host an unsafe use of TrustManager | <p>I got an e-mail from google.
<a href="https://i.stack.imgur.com/7Z7XH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Z7XH.png" alt="enter image description here" /></a></p>
<p>How can i solve this problem. What should I check first?</p>
<p>Here is the code block that I think is wrong.</p>
<p>pri... | I got an e-mail from google. How can i solve this problem. What should I check first? Here is the code block that I think is wrong. private static void allowAllSSL() { [CODE] | android-security|x509trustmanager | 0 | 2022-07-05T21:46:08.203Z | 2,022 | 7 | 21 | 1 | 31 | 0 | 174 | 51 | 2 | 1 | true | true | false | false | false | false | zero |
72,876,141 | Getting few error while trying to implement Wifi P2P in Android using Kotlin | <p>WiFiDirectBroadcastReceiver.kt</p>
<p><a href="https://gist.github.com/sc0rp10n-py/636ecc1d12cbaefea1b67f70074fd2b9" rel="nofollow noreferrer">Code gist</a></p>
<p>MainActivity.kt</p>
<p><a href="https://gist.github.com/sc0rp10n-py/da4dd07cfe94151513c7645ad957ce46" rel="nofollow noreferrer">Code gist</a></p>
<p>The ... | WiFiDirectBroadcastReceiver.kt Code gist MainActivity.kt Code gist The issues are these - discovery of peers takes too long, it was working fine before I created Server Class and Client Class for sending messages When the phones get connected, this part of code doesn't seem to run [CODE] Now when I click Send button, I... | android|kotlin|wifi-direct|wifimanager|wifip2p | 0 | 2022-07-05T22:22:13.450Z | 2,022 | 7 | 22 | 1 | 74 | 0 | 532 | 76 | 5 | 1 | true | true | false | false | false | false | zero |
72,876,327 | What is the official Android repository containing APKSIGNER? | <p>What is the official source for <code>apksigner</code> as referenced e.g. in this <a href="https://android.stackexchange.com/a/218161/375063">answer</a>? People are citing Android Studio, Android SDK Build Tools/Platform Tools/Command Line Tools etc. (as well as some shady archives on Google Drive), but non of these... | What is the official source for apksigner as referenced e.g. in this answer ? People are citing Android Studio, Android SDK Build Tools/Platform Tools/Command Line Tools etc. (as well as some shady archives on Google Drive), but non of these contain the program. I've downloaded, installed and searched them all. Alterna... | android|android-studio|repository|apk|digital-signature | 0 | 2022-07-05T22:54:31.137Z | 2,022 | 7 | 22 | 1 | 60 | 0 | 622 | 61 | 5 | 2 | true | true | false | false | false | false | zero |
72,876,524 | Admob native ads video not showing | <p>I successfully set Admob native ads in my app, but the video not showing in the media content, it shows an empty area even the <code>mediaContent</code> is not null, I don't know if this problem happens in real code id and the app must be published in the store, but I tried the real unit id</p>
<p><a href="https://i... | I successfully set Admob native ads in my app, but the video not showing in the media content, it shows an empty area even the mediaContent is not null, I don't know if this problem happens in real code id and the app must be published in the store, but I tried the real unit id My code native_ad_row xml [CODE] The Nati... | android|admob|ads|native-ads|mediaview | 0 | 2022-07-05T23:37:09.237Z | 2,022 | 7 | 23 | 1 | 261 | 2 | 364 | 34 | 5 | 3 | true | false | false | false | false | false | zero |
72,876,545 | How to make Views iterating on data objects (without ListView / RecyclerView)? | <p>I am trying to spawn some XML view for each instance of POJO data objects in a list, similar to how a ListView would do it, but it's not a <code>ListView</code> actually, but an empty LinearLayout instead, which is inside a <code>ScrollView</code> below other <code>Fragment</code>'s content.</p>
<h3>This is the <cod... | I am trying to spawn some XML view for each instance of POJO data objects in a list, similar to how a ListView would do it, but it's not a ListView actually, but an empty LinearLayout instead, which is inside a ScrollView below other Fragment 's content. This is the item.xml file I want to inflate for each element of t... | java|android | 2 | 2022-07-05T23:41:54.750Z | 2,022 | 7 | 23 | 1 | 26 | 1 | 1,439 | 78 | 2 | 2 | true | false | false | false | false | false | low |
72,876,636 | Java: attribute tabModel NotF Found | <p>I'm getting the following error:</p>
<blockquote>
<p>ERROR:C:\Users\Castpy\AndroidStudioProjects\Afood\app\src\main\res\layout\activity_criar_conta.xml:17: AAPT: error: attribute tabModel (aka com.castilhos.technology.afood:tabModel) not found.</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/zB16V.png" rel="... | I'm getting the following error: ERROR:C:\Users\Castpy\AndroidStudioProjects\Afood\app\src\main\res\layout\activity_criar_conta.xml:17: AAPT: error: attribute tabModel (aka com.castilhos.technology.afood:tabModel) not found. Location indicated by error Location indicated by error | java|android|android-studio|android-layout|mobile | 0 | 2022-07-06T00:00:43.100Z | 2,022 | 7 | 0 | 2 | 18 | 0 | 280 | 35 | 5 | 0 | false | true | false | false | false | false | zero |
72,876,797 | Android Studio No Emulator Installed | <p>I'm having these issues when I try to create an AVD in android studio. I'm using ubuntu 20.04 with ARM processor.</p>
<p><a href="https://i.stack.imgur.com/0KWWt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0KWWt.png" alt="Message when I try to choose the image" /></a>
<a href="https://i.stack.... | I'm having these issues when I try to create an AVD in android studio. I'm using ubuntu 20.04 with ARM processor. | android|android-studio|ubuntu|arm | 0 | 2022-07-06T00:30:37.010Z | 2,022 | 7 | 0 | 2 | 41 | 0 | 113 | 36 | 4 | 0 | false | true | false | false | false | false | zero |
72,876,857 | Android: Get third-party application label, some labels are abnormal | <p>I'm getting third-party app labels, but I found that some of the labels are not normal. Both <code>pm.getInstalledPackages()</code> and <code>pm.getInstalledApplications()</code>. Both <code>getApplicationLabel()</code> and <code>loadlabel()</code> methods are like this.</p>
<p>Some labels endwith <code>packageName.... | I'm getting third-party app labels, but I found that some of the labels are not normal. Both pm.getInstalledPackages() and pm.getInstalledApplications() . Both getApplicationLabel() and loadlabel() methods are like this. Some labels endwith packageName.*.Application . Some labels endwith *.xml . How to solve it? JAVA c... | java|android|label | 0 | 2022-07-06T00:42:02.877Z | 2,022 | 7 | 0 | 2 | 28 | 1 | 353 | 68 | 3 | 2 | true | false | false | false | false | false | zero |
72,876,892 | Xamarin Android Scrollview - Disable Scrolling when Selecting/Typing in Entry? | <p>I am fairly new to Xamarin, not sure how to solve this problem.
My app is mostly displayed on one NavigationPage.</p>
<p>It is layed out like this:</p>
<pre><code><ContentPage.ToolBarItems>
*Tool Bar items*
</ >
<ScrollView>
---<Grid View>
------<Entry>
------<Label>
------<Box... | I am fairly new to Xamarin, not sure how to solve this problem. My app is mostly displayed on one NavigationPage. It is layed out like this: [CODE] The problem is, whenever I select an Entry, it will scroll the ScrollView to center on the Entry that was selected. Is there any way to stop this from happening? GIF Exampl... | android|xamarin|scrollview | 0 | 2022-07-06T00:49:18.233Z | 2,022 | 7 | 0 | 2 | 53 | 0 | 709 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
72,876,916 | Removing an item from RecyclerView leaves a gap? | <p>I have an activity which displays reservation list</p>
<p><a href="https://i.stack.imgur.com/Jf5zq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jf5zq.jpg" alt="enter image description here" /></a></p>
<p>The reservation list is stored in SQLite, which works OK</p>
<pre><code>override fun onCrea... | I have an activity which displays reservation list The reservation list is stored in SQLite, which works OK [CODE] Then I want to remove "Zenbu City". This is the code: [CODE] This is how removeItemAndRefresh() implemented in ReservationAdapter : [CODE] The result is this: See a noticable gap/empty space on t... | android-recyclerview | 0 | 2022-07-06T00:55:46.527Z | 2,022 | 7 | 0 | 2 | 12 | 0 | 353 | 48 | 1 | 3 | true | true | false | false | false | false | zero |
72,876,940 | Flutter: Loading very large Dart data file blocks app | <p><strong>Background</strong></p>
<p>I am developing a Flutter app using several sizes of the same font. It does some image manipulation with these fonts.</p>
<p><strong>Problem</strong></p>
<p>I am using the pure Dart package <code>image</code> <a href="https://pub.dev/packages/image" rel="nofollow noreferrer">https:... | Background I am developing a Flutter app using several sizes of the same font. It does some image manipulation with these fonts. Problem I am using the pure Dart package image https://pub.dev/packages/image . I pre-calculate the various font sizes to lists like this List<int> : [CODE] About 15 size variations of the sa... | flutter|performance|dart|flutter-android | 0 | 2022-07-06T01:02:23.237Z | 2,022 | 7 | 1 | 2 | 34 | 0 | 818 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
72,876,992 | (Android 12) Different web browser activity behavior on two android devices | <p>I’m testing an app on two android devices (Google Pixel 4a and Samsung Z Flip) and found a strange behavior of an activity:</p>
<p>I opened an external browser from the app, pressed the Recents button which displays the recent apps list, and pressed the Back button after selecting the external browser from the list.... | I’m testing an app on two android devices (Google Pixel 4a and Samsung Z Flip) and found a strange behavior of an activity: I opened an external browser from the app, pressed the Recents button which displays the recent apps list, and pressed the Back button after selecting the external browser from the list. Then, the... | android|android-activity|back | 0 | 2022-07-06T01:14:58.040Z | 2,022 | 7 | 1 | 2 | 51 | 0 | 680 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
72,877,032 | Material3 checkbox android cannot customize button | <p>How to customize checkbox's button in material3 android? I've tried this :</p>
<pre><code>//ic_checkbox.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@drawable/ic_c... | How to customize checkbox's button in material3 android? I've tried this : [CODE] checkbox_on_enabled2 : checkbox_off_enabled : but the result is I got blank checkbox : | android|material3 | -1 | 2022-07-06T01:27:11Z | -1 | -1 | -1 | -1 | 47 | 1 | 168 | 50 | 2 | 1 | true | false | false | false | false | true | negative |
72,877,297 | Android studio (Chipmunk) screen capture image gets darken | <p>I am programming a simple drawing application with drawLines:</p>
<pre><code>public void onDraw(Canvas canvas) {
setBackgroundColor(cfgBackground); //background
//canvas.drawColor(ConfigActivity.getCfgBackground(ConfigActivity.cfgBackground)); //to keep background when export to PNG/JPG
//tit... | I am programming a simple drawing application with drawLines: [CODE] This is no problem. When export the screen to image file, the image shows normal in the preview screen (with all other photos in the phone), but when open this image, it shows darken, as following: I have tried Method A/B/C like following, but the res... | android|bitmap|screenshot | 0 | 2022-07-06T02:22:01.097Z | 2,022 | 7 | 2 | 2 | 66 | 1 | 405 | 58 | 3 | 3 | true | false | false | false | false | false | zero |
72,877,469 | How to make a listview/recycleview like ios style on android | <p>I created a listview which display all the application installed on my phone,
But I want to make it more similar to the listview of ios</p>
<p>My xml file</p>
<pre><code><LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"... | I created a listview which display all the application installed on my phone, But I want to make it more similar to the listview of ios My xml file [CODE] The listview I have How to move the icon image to the left side of the center of listview divider (The x mark) Sketch of what I want | android|listview|arraylist | 0 | 2022-07-06T02:53:53.923Z | 2,022 | 7 | 2 | 2 | 51 | 2 | 287 | 60 | 3 | 1 | true | false | false | false | false | false | zero |
72,877,490 | holder.bindingAdapterPosition returns -1 | <p>binding adapter position is returning -1 and i cannot figure out why, anyone has an idea of what i could be doing wrong ?</p>
<p>holder.bindingAdapterPosition in onCreateViewHolder.</p>
<p><strong>Adapter and viewHolder</strong></p>
<pre><code>class CommentAdapter: RecyclerView.Adapter<RecyclerView.ViewHolder>... | binding adapter position is returning -1 and i cannot figure out why, anyone has an idea of what i could be doing wrong ? holder.bindingAdapterPosition in onCreateViewHolder. Adapter and viewHolder [CODE] Log.d in oncreateViewHolder Shows what diff.currentlist contains. [CODE] Where i set the adapter i submit a list of... | android|kotlin|android-recyclerview | 0 | 2022-07-06T02:58:34.340Z | 2,022 | 7 | 2 | 2 | 68 | 1 | 414 | 40 | 3 | 3 | true | false | false | false | false | false | zero |
72,877,524 | How to make video size auto fit screen [ Android studio ] | <p>I need to create an Android app that has background video autoplay and mute like HTML CSS, but the problem is I don't know how to make the video auto-resize to the device screen. My video is 16:9 ratio and I need to auto resize to fit the screen like the first image, but now the second image is what I can.</p>
<p>Ho... | I need to create an Android app that has background video autoplay and mute like HTML CSS, but the problem is I don't know how to make the video auto-resize to the device screen. My video is 16:9 ratio and I need to auto resize to fit the screen like the first image, but now the second image is what I can. How do I do ... | android|android-studio|android-layout | -1 | 2022-07-06T03:04:47.877Z | 2,022 | 7 | 3 | 2 | 75 | 1 | 439 | 57 | 3 | 0 | false | false | false | false | false | true | negative |
72,877,533 | Android: Referencing an XML view from another XML view in the same layout | <p>I am trying to reference a view in the xml as such:</p>
<pre><code><Button
android:id="@+id/button"
android:onClick="@{(v) -> events.userClicked(another_layout_id)}"
.
.
.
android:text="Click me
/>"
</code></pre>
<p>where <code>events</code> is a variable and <code>userClicked... | I am trying to reference a view in the xml as such: [CODE] where events is a variable and userClicked() is a function that accepts a view and another_layout_id is another View in the xml layout that button is in (though not same hierachy). According to the top answer here: Pass another view as parameter in data binding... | android|xml|data-binding | 0 | 2022-07-06T03:05:44.397Z | 2,022 | 7 | 3 | 2 | 30 | 1 | 484 | 73 | 3 | 2 | true | false | false | false | false | false | zero |
72,877,667 | Could not find dagger-2.13-2.13.jar (com.google.dagger:dagger:2.13) | <p>I'm trying to develop my first Android app using Dagger, but I'm having some trouble compiling it.</p>
<p>When I compile the project, the console shows the error below:</p>
<pre><code>org.gradle.internal.resolve.ArtifactNotFoundException:
Could not find dagger-2.13-2.13.jar (com.google.dagger:dagger:2.13).
</code></... | I'm trying to develop my first Android app using Dagger, but I'm having some trouble compiling it. When I compile the project, the console shows the error below: [CODE] I think that the problem is in Gradle configuration because the project try's to sync a package with the version duplicated dagger-2.13-2.13.jar but in... | android|gradle|dagger | 0 | 2022-07-06T03:32:16.043Z | 2,022 | 7 | 3 | 2 | 75 | 1 | 454 | 67 | 3 | 3 | true | false | false | false | false | false | zero |
72,877,761 | Does support texture format ASTC in Android TV ver11? | <p>Hellow.</p>
<p>When an application developed by Unity, which used to work well on Android devices, runs on an Android TV, the image of the app is not visible and does not work normally.</p>
<p>The texture format of this application is all ASTC 4X4.</p>
<p>If you change some textures to ETC2, the image is clearly vis... | Hellow. When an application developed by Unity, which used to work well on Android devices, runs on an Android TV, the image of the app is not visible and does not work normally. The texture format of this application is all ASTC 4X4. If you change some textures to ETC2, the image is clearly visible. So I looked up the... | android|unity3d|television | 0 | 2022-07-06T03:50:01.867Z | 2,022 | 7 | 3 | 2 | 43 | 0 | 494 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
72,877,898 | How to improve arcore location in remote area | <p>When using ar core in remote location, that data provided by ar core are incorrect. For example the heading is completely wrong.</p> | When using ar core in remote location, that data provided by ar core are incorrect. For example the heading is completely wrong. | android|augmented-reality|arcore | 0 | 2022-07-06T04:15:34.393Z | 2,022 | 7 | 4 | 2 | 22 | 0 | 128 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
72,877,973 | Android studio SDK installation issue in Windows 11 | <p>I have downloaded latest version of Android Studio (Android Studio Chipmunk 2021.2.1 Patch 1) and trying to install on Windows 11. Installation went successful, but I am getting the following issue during the SDK setup,</p>
<p><a href="https://i.stack.imgur.com/MbhaT.png" rel="nofollow noreferrer"><img src="https://... | I have downloaded latest version of Android Studio (Android Studio Chipmunk 2021.2.1 Patch 1) and trying to install on Windows 11. Installation went successful, but I am getting the following issue during the SDK setup, It showed, all three are installed but actually none of them are installed. Also, all the check-boxe... | android|android-studio|windows-11 | 1 | 2022-07-06T04:29:23.130Z | 2,022 | 7 | 4 | 2 | 137 | 1 | 1,031 | 51 | 3 | 0 | false | false | false | false | false | false | low |
72,877,980 | how to Web Scraping a dynamic page in android with JSOUP | <p>I am trying to web scrape the website <a href="https://savevideo.tube/31/" rel="nofollow noreferrer">savevideo.tube</a> using JSOUP.</p>
<p>When we put a link in the search bar and click the search button, the website dynamically loads and shows some download links that I want to scrape. My problem is how to load li... | I am trying to web scrape the website savevideo.tube using JSOUP. When we put a link in the search bar and click the search button, the website dynamically loads and shows some download links that I want to scrape. My problem is how to load link in JSOUP with the link search without clicking the search button and showi... | java|android|kotlin|web-scraping|jsoup | 0 | 2022-07-06T04:30:44.580Z | 2,022 | 7 | 4 | 2 | 126 | 2 | 519 | 56 | 5 | 1 | true | false | false | false | false | false | zero |
72,878,038 | How to interact with Termux from a Unity app? | <p>I am looking to run a Termux session in the background and display a UI to interact with it in my Unity Android application. I have done some digging and came across the following Wiki doc on Termux:</p>
<p><a href="https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent" rel="nofollow noreferrer">RUN_COMMAND I... | I am looking to run a Termux session in the background and display a UI to interact with it in my Unity Android application. I have done some digging and came across the following Wiki doc on Termux: RUN_COMMAND Intent I have successfully completed the setup process described on the page, but am now faced with the foll... | android|unity3d|android-intent | 0 | 2022-07-06T04:42:02.410Z | 2,022 | 7 | 4 | 2 | 75 | 0 | 551 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
72,878,062 | Upon trying to install Intel x86 Emulator Accelerator (HAXM installer )I got an issue .Using android studio latest version in my windows 11 machine | <p>Packages to install: - Intel x86 Emulator Accelerator (HAXM installer) (extras;intel;Hardware_Accelerated_Execution_Manager)</p>
<p>Preparing "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)".
Downloading <a href="https://dl.google.com/android/repository/extras/intel/haxm-windows_... | Packages to install: - Intel x86 Emulator Accelerator (HAXM installer) (extras;intel;Hardware_Accelerated_Execution_Manager) Preparing "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)". Downloading https://dl.google.com/android/repository/extras/intel/haxm-windows_v7_6_5.zip "In... | android | 0 | 2022-07-06T04:45:55.350Z | 2,022 | 7 | 4 | 2 | 139 | 0 | 904 | 147 | 1 | 0 | false | true | false | false | false | false | zero |
72,878,097 | ArthurHub / Android-Image-Cropper activityname " com.theartofdev.edmodo.cropper.CropImageActivity " error | <p>i am trying to use the ArthurHub / Android-Image-Cropper library into my project</p>
<p>i followed this steps exactly like the github</p>
<p>dependency</p>
<p><a href="https://i.stack.imgur.com/v7IPb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v7IPb.png" alt="enter image description here" /><... | i am trying to use the ArthurHub / Android-Image-Cropper library into my project i followed this steps exactly like the github dependency and also tried deferent version {2.5.0 / 2.8.0 / 2.0.0} and re_loaded then Add permissions then Add this line to your Proguard config file then i added activity tag name it showing e... | java|android | 2 | 2022-07-06T04:52:44.467Z | 2,022 | 7 | 4 | 2 | 73 | 0 | 500 | 105 | 2 | 0 | false | true | false | false | false | false | low |
72,878,109 | Video Cache In ExoPlayer | <p>I have searched for cache in/of <code>ExoPlayer</code> but i neither understoond them nor could implement them correctly.</p>
<p><a href="https://stackoverflow.com/questions/28700391/using-cache-in-exoplayer">In this asked question</a> for <em><strong>using cache in Exoplayer</strong></em> there are some answers wit... | I have searched for cache in/of ExoPlayer but i neither understoond them nor could implement them correctly. In this asked question for using cache in Exoplayer there are some answers with sample code. The first answer that i'm not able to implement it is in part two of sample code which said to use the class DefaultHt... | java|android|memcached|exoplayer2.x | 0 | 2022-07-06T04:54:51.227Z | 2,022 | 7 | 4 | 2 | 242 | 1 | 1,710 | 24 | 4 | 3 | true | false | false | false | false | false | zero |
72,878,237 | Can we restrict screen capture using secure flag for chrome custom tab in android? | <p>I am using chrome custom tab to display data in one screen. But data is sensitive and need to protect it by disabling screen capture functionality of devices.
It would be great help if any one could explain me how can I achieve this requirement for custom chrome tabs.
Thanks in advance.</p> | I am using chrome custom tab to display data in one screen. But data is sensitive and need to protect it by disabling screen capture functionality of devices. It would be great help if any one could explain me how can I achieve this requirement for custom chrome tabs. Thanks in advance. | android|screen-capture|chrome-custom-tabs|flag-secure | 0 | 2022-07-06T05:16:47.390Z | 2,022 | 7 | 5 | 2 | 71 | 2 | 287 | 82 | 4 | 0 | false | false | false | false | false | false | zero |
72,878,263 | Flutter: Dart analysis doesn't work after using package in dev_dependencies | <p>Normally, dart analysis will notice every time something is not correctly like missing const.
<a href="https://i.stack.imgur.com/A3kEy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A3kEy.png" alt="enter image description here" /></a></p>
<p>But, dart analysis doesn't work after I use the flutter... | Normally, dart analysis will notice every time something is not correctly like missing const. But, dart analysis doesn't work after I use the flutter_native_splash or the flutter_native_splash package used in dev_dependencies. It shows only that thing. I notice that after cloning a project. Before using these packages ... | flutter|android-studio|dart|dart-packages | 0 | 2022-07-06T05:19:40.760Z | 2,022 | 7 | 5 | 2 | 55 | 1 | 444 | 75 | 4 | 0 | false | false | false | false | false | false | zero |
72,878,273 | React Native Cli - Windows 11 and Gradle related issue | <p>I know this topic was created on the past, but since none of the suggested solution worked for me. I create it again with the hope to get helped and help others too.
Each project I create only run once. If I restart my computer for example, I get for the project a gradle related error message and build fails:</p>
<b... | I know this topic was created on the past, but since none of the suggested solution worked for me. I create it again with the hope to get helped and help others too. Each project I create only run once. If I restart my computer for example, I get for the project a gradle related error message and build fails: Timeout w... | android|react-native|android-studio|gradle | 0 | 2022-07-06T05:20:47.083Z | 2,022 | 7 | 5 | 2 | 56 | 0 | 1,124 | 54 | 4 | 0 | false | true | false | false | false | false | zero |
72,878,314 | Android studio create/generate icons for all android version types | <p>I have a mobile app project that's working fine but recently notified that icons are showing as a old default android robot icon for older android devices. I've only used the android studio built in <code>image asset</code> manager for my icons, as well as <a href="https://capacitorjs.com/docs/guides/splash-screens-... | I have a mobile app project that's working fine but recently notified that icons are showing as a old default android robot icon for older android devices. I've only used the android studio built in image asset manager for my icons, as well as cordova-res . How would I come about to make sure I provide for all android ... | android|android-studio|icons|capacitor|android-icons | -2 | 2022-07-06T05:25:55.907Z | 2,022 | 7 | 5 | 2 | 36 | 1 | 341 | 66 | 5 | 0 | false | false | false | false | false | true | negative |
72,878,327 | path_provider_android is getting failed while generating signed APK in android flutter | <p>I am trying to generate the signed APK for android flutter but eventually I am stuck at below error. I have open the flutter project in android studio by selecting <em><strong>"Open android module in Android studio"</strong></em></p>
<blockquote>
<p>Gradle sync failed: Could not create task
':path_provider... | I am trying to generate the signed APK for android flutter but eventually I am stuck at below error. I have open the flutter project in android studio by selecting "Open android module in Android studio" Gradle sync failed: Could not create task ':path_provider_android:generateDebugUnitTestConfig'. this and b... | android|flutter|android-studio|gradle|build.gradle | 0 | 2022-07-06T05:28:35.820Z | 2,022 | 7 | 5 | 2 | 38 | 0 | 764 | 86 | 5 | 1 | true | true | false | false | false | false | zero |
72,878,373 | Can i get pdf file path using MediaStore in android? | <p>Good day,
I'm developing an app to fetch downloaded pdf files in pdfview.
I want to use <code>MediaStore</code> instead of <code>file</code></p>
<pre><code> File file = new File("/storage/emulated/0/Documents/filename.pdf"); //This is my current code.
</code></pre>
<p>How to fetch the above pdf file URL... | Good day, I'm developing an app to fetch downloaded pdf files in pdfview. I want to use MediaStore instead of file [CODE] How to fetch the above pdf file URL using MediaStore? | android|scoped-storage|android-storage | 0 | 2022-07-06T05:34:58.760Z | 2,022 | 7 | 5 | 2 | 50 | 0 | 175 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
72,878,393 | Views are not shown properly inside ScrollView with RelativeLayout or ConstraintLayout | <p>I am trying to achieve this...<br /><br />
<a href="https://i.stack.imgur.com/3lb5P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3lb5P.png" alt="Big Screen" /></a> <a href="https://i.stack.imgur.com/Kir3b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kir3b.png" alt="Small S... | I am trying to achieve this... Ok this looks good no problem..BUT here's the problem, if this is on small screen then last view is not showing properly when scrolling to the end of screen. I've tried to achieve this with RelativeLayout and ConstraintLayout but effects are same.. XML Source Code: [CODE] [CODE] | android|android-constraintlayout|android-scrollview|android-nestedscrollview | 0 | 2022-07-06T05:37:41.003Z | 2,022 | 7 | 5 | 2 | 44 | 3 | 310 | 86 | 4 | 2 | true | false | false | false | false | false | zero |
72,878,457 | How to make a csv file open in a spreadsheet app using intent on Android | <p><a href="https://stackoverflow.com/questions/44241964/android-intent-to-open-csv-in-spreadsheets">Android Intent to open CSV in spreadsheets</a></p>
<p>I am working with Xamarin.Android.
I was writing this article based on this article, but I am a newbie when it comes to Android, so I am stumped.
The above article a... | Android Intent to open CSV in spreadsheets I am working with Xamarin.Android. I was writing this article based on this article, but I am a newbie when it comes to Android, so I am stumped. The above article allows me to share files, but I can't get the spreadsheet to open in the first place, and what I want to do is ed... | android | 0 | 2022-07-06T05:45:34.127Z | 2,022 | 7 | 5 | 2 | 13 | 0 | 331 | 72 | 1 | 0 | false | true | false | false | false | false | zero |
72,878,551 | I am looking for a way to make ScrollView scale and pan in Kotlin | <p>The question is difficult to understand due to machine translation. Sorry.</p>
<p>I am looking for a way to make ScrollView scale and pan in Kotlin.</p>
<p>Current status: Scrolling and scaling have been implemented.</p>
<p>Goal: In addition to the current implementation, pan is possible when the view is zoomed in.<... | The question is difficult to understand due to machine translation. Sorry. I am looking for a way to make ScrollView scale and pan in Kotlin. Current status: Scrolling and scaling have been implemented. Goal: In addition to the current implementation, pan is possible when the view is zoomed in. I am just starting to le... | android|android-studio|kotlin | 0 | 2022-07-06T05:58:22.170Z | 2,022 | 7 | 5 | 2 | 44 | 1 | 439 | 65 | 3 | 2 | true | false | false | false | false | false | zero |
72,878,584 | How to pull out data from overriding class created on the go JAVA | <p>I am sorry for bad English. I'm using Android Studio Chipmunk to figure out how to pull out int rssi from onReadRemoteRssi method. I am getting the value of rssi but it is only output on console of Android Studio. How can I take this value out of the method and into my main code where I am running gatt.readremoterss... | I am sorry for bad English. I'm using Android Studio Chipmunk to figure out how to pull out int rssi from onReadRemoteRssi method. I am getting the value of rssi but it is only output on console of Android Studio. How can I take this value out of the method and into my main code where I am running gatt.readremoterssi()... | java|android|methods|bluetooth | 1 | 2022-07-06T06:01:43.017Z | 2,022 | 7 | 6 | 2 | 34 | 1 | 356 | 65 | 4 | 2 | true | false | false | false | false | false | low |
72,878,599 | Starting activity with an intent in a Worker does not work on some devices | <p>I am trying to implement a <code>Worker</code> using <code>WorkManager</code> API to open an activity only once on a specific time/date when the app is in background, It does work in my emulator even on Android 12 but when I run it on my Redmi note 8 phone it does not open the activity although the workers are worki... | I am trying to implement a Worker using WorkManager API to open an activity only once on a specific time/date when the app is in background, It does work in my emulator even on Android 12 but when I run it on my Redmi note 8 phone it does not open the activity although the workers are working normally on the same phone... | android|kotlin|android-workmanager|worker | 0 | 2022-07-06T06:03:50.870Z | 2,022 | 7 | 6 | 2 | 71 | 1 | 522 | 74 | 4 | 2 | true | false | false | false | false | false | zero |
72,878,671 | Is there a way to create a python foreground service on android? | <p>I am developing an AI Voice assistant using python. I made an app using kivy to connect with my ai using python sockets. I can control my mobile phone using the AI. But, when the application goes to sleep or closed. My app client is not listening for any commands from AI. Is there a way to create a foreground servic... | I am developing an AI Voice assistant using python. I made an app using kivy to connect with my ai using python sockets. I can control my mobile phone using the AI. But, when the application goes to sleep or closed. My app client is not listening for any commands from AI. Is there a way to create a foreground service a... | python|java|android | 0 | 2022-07-06T06:12:34.347Z | 2,022 | 7 | 6 | 2 | 36 | 1 | 445 | 64 | 3 | 0 | false | false | false | false | false | false | zero |
72,878,683 | Override Resource Only on Single Module | <p>I have a design system library for my whole app. In the design system library <code>colors.xml</code> I have this color</p>
<pre><code><color name="color_button_primary">@color/red</color>
</code></pre>
<p>What I trying to achieve is I want to override this color only on one of the module in my... | I have a design system library for my whole app. In the design system library colors.xml I have this color [CODE] What I trying to achieve is I want to override this color only on one of the module in my app. So I created colors.xml in X module [CODE] The problem is all of primary button in my app turn green. Is there ... | android|android-resources | 3 | 2022-07-06T06:13:26.907Z | 2,022 | 7 | 6 | 2 | 49 | 0 | 369 | 39 | 2 | 2 | true | true | false | false | false | false | low |
72,878,695 | Trying to change custom dialog Background color | <p>Ok so I am trying change my background of my dialog box from white to a dark blue. However when I long press on one of the grid elements the dialog box looks like this:</p>
<p><a href="https://i.stack.imgur.com/wgJcP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wgJcP.jpg" alt="How it looks" /><... | Ok so I am trying change my background of my dialog box from white to a dark blue. However when I long press on one of the grid elements the dialog box looks like this: I am trying to make it look something like this (this is a photoshop): Here is snipet of my XML code for the edit dialog [CODE] Java code for custom di... | java|android|xml|android-studio|android-layout | 1 | 2022-07-06T06:15:41.017Z | 2,022 | 7 | 6 | 2 | 49 | 2 | 331 | 47 | 5 | 2 | true | false | false | false | false | false | low |
72,878,727 | not able to send ZPL to Zebra zd420 printer via USB in Android | <p>I want to print via USB cable with Zebra zd420 printer but data was not sending to printer. I have tried with Zebra GK420 it working fine.</p>
<pre><code> fun print(connection: UsbDeviceConnection?, usbInterface: UsbInterface?, zplData: String, totalPrint:Int=1): Boolean {
var testBytes = zplData.toByteAr... | I want to print via USB cable with Zebra zd420 printer but data was not sending to printer. I have tried with Zebra GK420 it working fine. [CODE] That is my zpl data [CODE] | android|zebra-printers|thermal-printer | 0 | 2022-07-06T06:20:07.503Z | 2,022 | 7 | 6 | 2 | 82 | 0 | 172 | 62 | 3 | 2 | true | true | false | false | false | false | zero |
72,878,735 | java.lang.NoSuchMethodError: No static method b(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/IBinder;)V in class Landroidx/core/app/e | <p>I am getting this error on play console. Unable to properly figure out the source of the problem.</p>
<pre><code>FATAL EXCEPTION: main
Process: com.madhurtexttospeechtts.madhur, PID: 7705
java.lang.NoSuchMethodError: No static method b(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/IBinder;)V in class Landroidx/co... | I am getting this error on play console. Unable to properly figure out the source of the problem. [CODE] | android|flutter|dart | -1 | 2022-07-06T06:21:10.557Z | 2,022 | 7 | 6 | 2 | 707 | 2 | 104 | 137 | 3 | 1 | true | false | false | false | false | true | negative |
72,878,780 | How to get the size of the file stored in firebase storage and its link in realtime database? | <p>here is my code to get the file size but I am unable to get it.:-</p>
<p>ImageURL is stored in realtime database</p>
<pre><code> Picasso.get().load(ImageURL).placeholder(R.drawable.ic_baseline_image_200)
.into(selected_title_image)
val storageReference = FirebaseStorage.getInstance().getReferen... | here is my code to get the file size but I am unable to get it.:- ImageURL is stored in realtime database [CODE] I use the reference of this question to get the size of the file using this question but I failed. I know getBytes() function will not give file size but I don't know what will give? ImageSize is of type Lon... | android|kotlin|firebase-realtime-database|firebase-storage | 1 | 2022-07-06T06:25:35.907Z | 2,022 | 7 | 6 | 2 | 67 | 1 | 322 | 93 | 4 | 1 | true | false | false | false | false | false | low |
72,878,835 | How to pass API data value into the sfslider range in Flutter? | <p>How to pass the API data value into the sfslider if I pass the static value to the slider it can be draggable. But if I give the API data value directly it can drag but not update the new value and return to the API response value position.</p>
<p>I saw some of the solutions they said declare a static value outside ... | How to pass the API data value into the sfslider if I pass the static value to the slider it can be draggable. But if I give the API data value directly it can drag but not update the new value and return to the API response value position. I saw some of the solutions they said declare a static value outside of a widge... | android|flutter|dart|syncfusion | 0 | 2022-07-06T06:31:49.317Z | 2,022 | 7 | 6 | 2 | 37 | 2 | 410 | 62 | 4 | 1 | true | false | false | false | false | false | zero |
72,878,844 | How To Stick Buttons To The Screen Shen Scrolling | <p>This is my code of two buttons in xml file, I have tried lot but my buttons didn't stick to screen while scrolling.
There is a constraint layout at a parent, and inside it there is a card view and in this card view there are lots of things and two of them are buttons as a text view and I have given background of but... | This is my code of two buttons in xml file, I have tried lot but my buttons didn't stick to screen while scrolling. There is a constraint layout at a parent, and inside it there is a card view and in this card view there are lots of things and two of them are buttons as a text view and I have given background of button... | java|android|xml | 1 | 2022-07-06T06:32:32.700Z | 2,022 | 7 | 6 | 2 | 26 | 0 | 446 | 49 | 3 | 1 | true | true | false | false | false | false | low |
72,878,890 | Problems porting Android App from VS2019 to VS2022 | <p>I am trying to upgrade an Android App to build under VS2022 and use the latest nuget packages. I am also trying to modify it so that it will work on phones, and not just tablets, so the display needs to scale properly. (This is an old project that started with VS2010, so there are many legacy problems.)</p>
<p>When ... | I am trying to upgrade an Android App to build under VS2022 and use the latest nuget packages. I am also trying to modify it so that it will work on phones, and not just tablets, so the display needs to scale properly. (This is an old project that started with VS2010, so there are many legacy problems.) When I build it... | android|android-layout | 0 | 2022-07-06T06:37:58.937Z | 2,022 | 7 | 6 | 2 | 17 | 0 | 842 | 50 | 2 | 4 | true | true | false | false | false | false | zero |
72,878,916 | Why is supportFragmentManager.popBackStack() not working correctly? | <p>I've got an Activity that extends AppCompatActivity. That activity manages a toolbar and contains 2 fragments; Fragment1 and Fragment2.</p>
<p>To show a fragment I use this code:</p>
<pre><code> private fun showFragment(fragment: Fragment, tag: String) {
supportFragmentManager.beginTransaction().apply {
... | I've got an Activity that extends AppCompatActivity. That activity manages a toolbar and contains 2 fragments; Fragment1 and Fragment2. To show a fragment I use this code: [CODE] And I have 2 helper methods to display those 2 fragments: [CODE] So when I start my activity, my app seems to work correctly. I showFragment1... | android | 0 | 2022-07-06T06:40:34.057Z | 2,022 | 7 | 6 | 2 | 19 | 1 | 1,381 | 67 | 1 | 4 | true | false | 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.