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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,955,106 | How to set Socket response to modal class and get from modal class and set to UI | <p><strong>Android java</strong>
My Response code</p>
<pre><code>class Thread1 implements Runnable{
private String u_message;
Thread1(String u_message) {
this.u_message = u_message;
}
@Override
public void run() {
runOnUiThread(new Runnable() {
@Override
pu... | Android java My Response code [CODE] My socket Response print on console [CODE] above response set in modal class then modal class response save in UI [CODE] } | java|android | 0 | 2022-04-21T13:12:09.340Z | 2,022 | 4 | 13 | 3 | 19 | 0 | 159 | 80 | 2 | 3 | true | true | false | false | false | false | zero |
71,974,650 | Go back to a Fragment from a PreferenceFragment | <p>Code in the PreferenceFragment (android.preference.PreferenceFragment)</p>
<pre><code>getActivity().getFragmentManager().beginTransaction()
.replace(R.id.container, new MyFragment())
.commit();
</code></pre>
<p>MyFragment is an androidx.fragment.app.Fragment.</p>
<p>The errors says "inco... | Code in the PreferenceFragment (android.preference.PreferenceFragment) [CODE] MyFragment is an androidx.fragment.app.Fragment. The errors says "incompatible types: MyFragment cannot be converted to Fragment" Is there a simple solution to fix this problem without changing the PreferenceFragment? Thanks a lot! | android|fragment|preferencefragment | 0 | 2022-04-22T21:08:23.083Z | 2,022 | 4 | 21 | 4 | 19 | 0 | 319 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
71,996,912 | ScanditCaptureCore unable to resolve/could not find | <p>While using SCANDIT sdk for barcode scanner i am facing this issue.</p>
<p>Could not find :ScanditCaptureCore:.
Required by:
project :VINCodesSample</p>
<p>Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':VIN... | While using SCANDIT sdk for barcode scanner i am facing this issue. Could not find :ScanditCaptureCore:. Required by: project :VINCodesSample Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':VINCodesSample:debug... | java|android|kotlin | 1 | 2022-04-25T09:00:05.260Z | 2,022 | 4 | 9 | 0 | 19 | 0 | 338 | 51 | 3 | 0 | false | true | false | false | false | false | low |
72,003,214 | Android show layout :- Constraint , coordinator and some other layout Display show one line Error? | <p>Some time i'm using gradle file :- <code>com.android.tools.build:gradle:4.1.3</code> working some time
after that Again showing Error</p>
<pre><code>androidx.constraintlayout....ConstraintLayout
</code></pre>
<p><strong>Error Explain</strong></p>
<p>Display design show :- Background color gray and one line Error Cen... | Some time i'm using gradle file :- com.android.tools.build:gradle:4.1.3 working some time after that Again showing Error [CODE] Error Explain Display design show :- Background color gray and one line Error Center looking some layout | android|android-studio|android-layout | 0 | 2022-04-25T17:07:59.747Z | 2,022 | 4 | 17 | 0 | 19 | 0 | 232 | 98 | 3 | 1 | true | true | false | false | false | false | zero |
72,006,841 | Android bluethoot printer with bluethootsocket problem | <p>This is the connection:</p>
<pre><code> UUID uuidSting = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb");
bluetoothSocket = bluetoothDevice.createRfcommSocketToServiceRecord(uuidSting);
bluetoothSocket.connect();
outputStream = bluetoothSocket.getOutputStream();
... | This is the connection: [CODE] Code that call print: [CODE] When i call the "OutputStream.write" normally, the printer does not print nothing, but if i debugg the program works propertly. Any idea? | java|android|android-bluetooth | 0 | 2022-04-25T23:49:14.963Z | 2,022 | 4 | 23 | 0 | 19 | 0 | 207 | 54 | 3 | 2 | true | true | false | false | false | false | zero |
72,027,137 | How can I take the screenshot of a recycler view in android studio by pinching? | <p>Actually I want to get the screenshot of my layout which is in recycler view. I want to get it by either a pinch zoom in or pinch zoom out. Can anyone give me an idea?</p> | Actually I want to get the screenshot of my layout which is in recycler view. I want to get it by either a pinch zoom in or pinch zoom out. Can anyone give me an idea? | android-recyclerview|screenshot|pinchzoom | 0 | 2022-04-27T10:23:27.393Z | 2,022 | 4 | 10 | 2 | 19 | 0 | 167 | 79 | 3 | 0 | false | true | false | false | false | false | zero |
72,028,292 | Add a library in Android.mk | <p>I don't now how many time I try to add a library in my Android.mk, but nothing work.</p>
<p>My Android.mk</p>
<pre><code>LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := canvas
LOCAL_SRC_FILES := canvas.cpp
ifeq ($(TARGET_ARCH_ABI),x86)
LOCAL_CFLAGS += -ffast-math -mtune=atom -mssse3 -mfp... | I don't now how many time I try to add a library in my Android.mk, but nothing work. My Android.mk [CODE] In my main.cpp [CODE] Error: [CODE] it don't work anyway, and, how you can see in my Android/mk, I have multiple .CPP files, so, I need to add this libraries to each file and... I have no idea to how I can make it | c++|android.mk | 0 | 2022-04-27T11:57:09.690Z | 2,022 | 4 | 11 | 2 | 19 | 0 | 319 | 27 | 2 | 3 | true | true | false | false | false | false | zero |
72,028,999 | Flutter aab released to playstore, failed to load json file using rootBundle.loadStructureData | <p>I have my app released to playstore, but it failed to get the json settings, I am using the code to load the json file.</p>
<p>return rootBundle.loadStructuredData<Map<String, dynamic>>(
fileName,
(String settings) async => jsonDecode(settings),
);</p>
<p>The json file also is added in pubspec.yaml</p... | I have my app released to playstore, but it failed to get the json settings, I am using the code to load the json file. return rootBundle.loadStructuredData<Map<String, dynamic>>( fileName, (String settings) async => jsonDecode(settings), ); The json file also is added in pubspec.yaml it works fine in IOS. | android|flutter|android-app-bundle | 0 | 2022-04-27T12:43:48.543Z | 2,022 | 4 | 12 | 2 | 19 | 0 | 307 | 94 | 3 | 0 | false | true | false | false | false | false | zero |
72,030,313 | Android drawable (shape) gradient border | <p>I'm trying to create a border (like the image below) for some item that will be displayed above the item?</p>
<p>Important points:</p>
<ul>
<li>Its must be drawable, because its will be used for multiple items with multiple size.</li>
<li>The center must be transparent - it use as a border to be displayed above the ... | I'm trying to create a border (like the image below) for some item that will be displayed above the item? Important points: Its must be drawable, because its will be used for multiple items with multiple size. The center must be transparent - it use as a border to be displayed above the item. example border | android | 0 | 2022-04-27T14:11:22.727Z | 2,022 | 4 | 14 | 2 | 19 | 0 | 308 | 40 | 1 | 0 | false | true | false | false | false | false | zero |
72,036,569 | Error in XML Regarding Case insensitive is Reversed | <pre><code><?xml version="1.0" encoding="utf-8"?>
</code></pre>
<p><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.c... | [CODE] <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" [CODE] </androidx.constraintlayout.widget.ConstraintLayout> During Running... | android|android-studio|android-layout | 0 | 2022-04-28T00:13:55.063Z | 2,022 | 4 | 0 | 3 | 19 | 0 | 529 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
72,040,705 | How to duplicate Android Screen Saver mode in Android (switching off display LEDs where pixels are black)? | <p>This is part of my curiosity, I want to make a simple android app which display few text in the middle with white color in a black background. I am trying this in a OLED display. I want the black pixel completley off. Is there any special method by which I accomplish this.</p> | This is part of my curiosity, I want to make a simple android app which display few text in the middle with white color in a black background. I am trying this in a OLED display. I want the black pixel completley off. Is there any special method by which I accomplish this. | android|kotlin | 0 | 2022-04-28T08:51:22.383Z | 2,022 | 4 | 8 | 3 | 19 | 0 | 273 | 106 | 2 | 0 | false | true | false | false | false | false | zero |
72,045,212 | CustomFilter with CustomAdapter for Searching | <p>I want to use search to find Songs in my music player and i am using custom adapter for displaying songs in the arrayList. BasicFilter is not gonna work so I am trying to implement a CUstom filter for it to search for songs present in the adpater but cant figure a way out all. Please Help Here are my codes
my adapte... | I want to use search to find Songs in my music player and i am using custom adapter for displaying songs in the arrayList. BasicFilter is not gonna work so I am trying to implement a CUstom filter for it to search for songs present in the adpater but cant figure a way out all. Please Help Here are my codes my adapter c... | android|android-studio|filter|baseadapter|custom-adapter | 0 | 2022-04-28T14:10:22.667Z | 2,022 | 4 | 14 | 3 | 19 | 0 | 395 | 45 | 5 | 3 | true | true | false | false | false | false | zero |
72,063,977 | How to handle multiple button clicks in a specific pattern? | <p>I have 3 buttons button 1, button 2 and button 3 the order to click this button should be button 3, button 1, button 2? on completing the pattern in correct manner I want a toast that pattern is correct.</p>
<p>If anyone can help me it would be great? What I have done so far is</p>
<p>MainActivity.java</p>
<pre><co... | I have 3 buttons button 1, button 2 and button 3 the order to click this button should be button 3, button 1, button 2? on completing the pattern in correct manner I want a toast that pattern is correct. If anyone can help me it would be great? What I have done so far is MainActivity.java [CODE] activity_main.xml [CODE... | java|android | 1 | 2022-04-29T21:47:15.090Z | 2,022 | 4 | 21 | 4 | 19 | 0 | 409 | 59 | 2 | 2 | true | true | false | false | false | false | low |
72,067,626 | how to show a dialog on screen? | <p>I'm searching for a way
to show a small bar that popup
that appears on top of all apps on notification received
from firebase</p>
<p>any ideas how to do it. and what permissions required?</p>
<p><strong>see the picture below the yellow bar top rights</strong>
<a href="https://i.stack.imgur.com/rEyry.jpg" rel="nofoll... | I'm searching for a way to show a small bar that popup that appears on top of all apps on notification received from firebase any ideas how to do it. and what permissions required? see the picture below the yellow bar top rights | android|firebase|android-studio | 0 | 2022-04-30T10:19:35.237Z | 2,022 | 4 | 10 | 5 | 19 | 0 | 228 | 31 | 3 | 0 | false | true | false | false | false | false | zero |
72,075,929 | iPhone device - wireless debugging in Android Studio not showing device | <p>Android Studio:</p>
<pre><code>Android Studio Bumblebee | 2021.1.1 Patch 3
Build #AI-211.7628.21.2111.8309675, built on March 16, 2022
Runtime version: 11.0.11+0-b60-7772763 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registr... | Android Studio: [CODE] Xcode: [CODE] iPhone device is not showing up when using wireless device - refresh restart is not working. It does however show up in Xcode, but not in Android Studio? | android-studio | 0 | 2022-05-01T10:34:08.977Z | 2,022 | 5 | 10 | 6 | 19 | 0 | 190 | 71 | 1 | 2 | true | true | false | false | false | false | zero |
72,096,289 | Issue in loading the view when orientation is changed in Android | <p>I am facing some issues when orientation is changed from Landscape to Portrait or vice versa.</p>
<p>I have a scenario whether the orientation needs to be changed only in tablets not in phone. Means in Phone, the view needs to be locked and in Tablet, the view will be changed depending on the orientation.</p>
<p>Til... | I am facing some issues when orientation is changed from Landscape to Portrait or vice versa. I have a scenario whether the orientation needs to be changed only in tablets not in phone. Means in Phone, the view needs to be locked and in Tablet, the view will be changed depending on the orientation. Till now what I have... | android|android-layout|android-manifest|android-orientation | 0 | 2022-05-03T07:51:17.970Z | 2,022 | 5 | 7 | 1 | 19 | 0 | 908 | 64 | 4 | 2 | true | true | false | false | false | false | zero |
72,119,726 | How to retrieve a Boolean value from Firebase RecyclerView? | <p>I am making a travel app. Favorite places should appear on the like list. When the User puts a tick to the 'Favorite heart ' Checkbox, the boolean value is being uploaded to the Firebase realtime database--><a href="https://i.stack.imgur.com/8N4LT.png" rel="nofollow noreferrer">database</a></p>
<p><strong>Likes.j... | I am making a travel app. Favorite places should appear on the like list. When the User puts a tick to the 'Favorite heart ' Checkbox, the boolean value is being uploaded to the Firebase realtime database--> database Likes.java: [CODE] } ListViewHolder.java: [CODE] } list_item.xml: [CODE] </androidx.cardview.widget.Car... | java|android|android-studio|android-recyclerview|boolean | 0 | 2022-05-04T21:35:45.523Z | 2,022 | 5 | 21 | 2 | 19 | 0 | 326 | 59 | 5 | 3 | true | true | false | false | false | false | zero |
72,123,349 | andriod file delete fail,Failed to delete file while it exists | <pre class="lang-java prettyprint-override"><code> File file = new File("/storage/emulated/0/jdbc/JDBC.ppt");
System.out.println("file exist:" + file.exists());
boolean delete = false;
try {
Files.delete(file.toPath());
delete = true;
} catch (IOException e) {
e.printStackTrace();
}... | [CODE] This file exists,but when I tried to delete it,But an error, I gave it read and write permission [CODE] [CODE] The result of exist is true, But the deletion failed | java|android | 0 | 2022-05-05T07:21:20.237Z | 2,022 | 5 | 7 | 3 | 19 | 0 | 170 | 62 | 2 | 3 | true | true | false | false | false | false | zero |
72,135,708 | : Failed assertion: line 4429 pos 12: '!_debugLocked': is not true | <p>hi I'm trying to go to the user profile page after clicking on their username and pass their user id but it gives me the error the is shown in the title</p>
<p>this is my code</p>
<pre><code>InkWell(
onTap: (){
Navigator.of(context).push(MaterialPageRoute(builder: (con... | hi I'm trying to go to the user profile page after clicking on their username and pass their user id but it gives me the error the is shown in the title this is my code [CODE] the error accord on .push | android|flutter|android-studio|navigation | 0 | 2022-05-06T03:02:03.340Z | 2,022 | 5 | 3 | 4 | 19 | 0 | 201 | 66 | 4 | 1 | true | true | false | false | false | false | zero |
72,076,658 | Adding query parameter to Paging 3: Java | <p>I am implementing Jetpack Paging 3 library for my recyclerview, which gets data from API.
My API also has one more filtering parameter on top of page parameter.I want to set value for that paramenter from Fragment when some buttons have clicked. As I am using Java, I cannot find sample codes for my case.</p>
<p>This... | I am implementing Jetpack Paging 3 library for my recyclerview, which gets data from API. My API also has one more filtering parameter on top of page parameter.I want to set value for that paramenter from Fragment when some buttons have clicked. As I am using Java, I cannot find sample codes for my case. This is my Vie... | java|android|mvvm|paging|android-paging-library | 1 | 2022-05-01T12:22:23.270Z | 2,022 | 5 | 12 | 6 | 275 | 0 | 822 | 40 | 5 | 1 | true | true | false | false | false | false | low |
71,816,312 | Andorid webview - Remember user credentioal while a link open in browser | <p>I have a webView online shop.
for some security reason I have to force my webView application to open payment page in user's default browser. I leave my code below for more information. but when that specific page open in browser it could not detect users credential and other important data like order number and etc... | I have a webView online shop. for some security reason I have to force my webView application to open payment page in user's default browser. I leave my code below for more information. but when that specific page open in browser it could not detect users credential and other important data like order number and etc. H... | android|webview | 0 | 2022-04-10T11:50:00.977Z | 2,022 | 4 | 11 | 6 | 20 | 0 | 383 | 72 | 2 | 1 | true | true | false | false | false | false | zero |
71,857,201 | How to fix error in capturing clicks in the navbar? | <p>When I click on the menu items nothing happens. appear to be disabled.
I need each clicked item to perform an action...
How to fix?</p>
<p>My code is constructed as follows:</p>
<pre><code>override fun onNavigationItemSelected(item: MenuItem): Boolean {
when (item.itemId){
R.id.nav_item_1 -> println(&... | When I click on the menu items nothing happens. appear to be disabled. I need each clicked item to perform an action... How to fix? My code is constructed as follows: [CODE] | java|android|kotlin | 0 | 2022-04-13T12:03:16.580Z | 2,022 | 4 | 12 | 2 | 20 | 0 | 173 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
71,864,378 | why does my data not save to the specific user with SQLite DB | <p>I am making an app that calculates a golfer's handicap index. The usernames and passwords save properly. The problem though is that when the user inputs their scores and attributes, it shows to whoever is logged in. Whereas they should be unique to the user. Below is DBHelper class that contains everything needed.</... | I am making an app that calculates a golfer's handicap index. The usernames and passwords save properly. The problem though is that when the user inputs their scores and attributes, it shows to whoever is logged in. Whereas they should be unique to the user. Below is DBHelper class that contains everything needed. [COD... | java|android | 0 | 2022-04-13T22:16:33.933Z | 2,022 | 4 | 22 | 2 | 20 | 0 | 322 | 61 | 2 | 1 | true | true | false | false | false | false | zero |
71,898,860 | Using Websocket in MIT AI2 | <p>I am trying to use websocket in MIT AI2 using Websocket Extension available from <a href="https://web.archive.org/web/20190709044350/https://community.appybuilder.com/t/websocket-client-extension/1761?u=taifun" rel="nofollow noreferrer">https://web.archive.org/web/20190709044350/https://community.appybuilder.com/t/... | I am trying to use websocket in MIT AI2 using Websocket Extension available from https://web.archive.org/web/20190709044350/https://community.appybuilder.com/t/websocket-client-extension/1761?u=taifun . However it does not seem to work at all and doesn't trigger anything. Can you please recommend the working extension ... | android|websocket | 0 | 2022-04-17T02:32:32.347Z | 2,022 | 4 | 2 | 6 | 20 | 0 | 352 | 26 | 2 | 0 | false | true | false | false | false | false | zero |
71,922,954 | Animate Recyclerview Item One by One On Scroll | <p>I have a recyclerview with multiple view type . I want to animate item from left to right or right to left based on condition . If I put animation logic in OnBindViewHolder all items are animated as soon as I open screen.</p>
<p>val animation: Animation =
AnimationUtils.loadAnimation(itemView.context, animType)
hold... | I have a recyclerview with multiple view type . I want to animate item from left to right or right to left based on condition . If I put animation logic in OnBindViewHolder all items are animated as soon as I open screen. val animation: Animation = AnimationUtils.loadAnimation(itemView.context, animType) holder.itemVie... | android|animation|android-recyclerview | 0 | 2022-04-19T09:51:07.907Z | 2,022 | 4 | 9 | 1 | 20 | 0 | 454 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
71,939,557 | Is Google SDK handle the background location? | <p>I am working on ride hailing app. I am getting location in the background after every few seconds. To get location, I am using Foreground Service. It is working fine.
But on some devices, there are different types of options to control the Background power consumption. If these options are enabled then these devices... | I am working on ride hailing app. I am getting location in the background after every few seconds. To get location, I am using Foreground Service. It is working fine. But on some devices, there are different types of options to control the Background power consumption. If these options are enabled then these devices wi... | android|service|android-location|foreground-service|google-location-services | 0 | 2022-04-20T12:21:03.420Z | 2,022 | 4 | 12 | 2 | 20 | 0 | 749 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
71,954,525 | Create additional signingConfigs for current productFlavor | <p>I have two different sign certificates.
How to create additional signingConfigs for dev2 productFlavors.</p>
<pre><code>productFlavors {
dev {
applicationId "dev.app"
dimension "default"
}
dev2 {
applicationId "dev2.app"
... | I have two different sign certificates. How to create additional signingConfigs for dev2 productFlavors. [CODE] | android|certificate|config | 0 | 2022-04-21T12:30:50.690Z | 2,022 | 4 | 12 | 3 | 20 | 0 | 111 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
71,954,949 | How to program the android app to run on system boot/reboot? | <p>I am building an android app which I want to run on system boot/reboot. I am using react-native to build the app. How would one go about this?</p> | I am building an android app which I want to run on system boot/reboot. I am using react-native to build the app. How would one go about this? | java|android|react-native | 1 | 2022-04-21T13:01:07.633Z | 2,022 | 4 | 13 | 3 | 20 | 0 | 142 | 60 | 3 | 0 | false | true | false | false | false | false | low |
71,960,021 | CurvedNavigationBar did not show the Home page item | <pre><code>import 'package:curved_navigation_bar/curved_navigation_bar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:flutter_user_profile/Screens/parking.dart';
// import 'package:flutter_user_profile/home/home.dart';
import 'package:flutter_user_profi... | [CODE] So here's my navigation.dart page. The code can run perfectly but inside the console it says got problem on the Home() page where "Error: Cannot hit test a render box that has never been laid out. The hitTest() method was called on this RenderBox: RenderPositionedBox#2f8f7 NEEDS-LAYOUT NEEDS-PAINT: creator:... | android|firebase|flutter | 0 | 2022-04-21T19:36:09.673Z | 2,022 | 4 | 19 | 3 | 20 | 0 | 1,183 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
71,965,954 | How to identity whether a particular location comes around the path we draw on google map | <p>I am using google direction API to generate the Polygon. I have also used below methods of map utils but not get desired solution</p>
<pre><code>PolyUtil.isLocationOnEdge(pbmLocation,poly,false)
PolyUtil.containsLocation(pbmLocation,poly,false)
PolyUtil.distanceToLine(pbmLocation, startLocation, destLocation... | I am using google direction API to generate the Polygon. I have also used below methods of map utils but not get desired solution [CODE] | android|kotlin | 0 | 2022-04-22T08:49:53.440Z | 2,022 | 4 | 8 | 4 | 20 | 0 | 136 | 89 | 2 | 1 | true | true | false | false | false | false | zero |
71,975,376 | Try to send Head and Body with volley | <p>Hi I'm trying to send api key in head (which works fine) and a json object inside the body in a volley query.</p>
<p>This is the query with postman which works fine:</p>
<pre><code>curl --location --request POST 'https://api.pagospyme.com/v2/payment_links' \
--header 'X-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
-... | Hi I'm trying to send api key in head (which works fine) and a json object inside the body in a volley query. This is the query with postman which works fine: [CODE] This is the code in my app [CODE] but i get error 400 com.android.volley.clienterror. When i send a get request this way instead of post it works perfect,... | android|android-studio|android-volley | 0 | 2022-04-22T22:47:01.017Z | 2,022 | 4 | 22 | 4 | 20 | 0 | 408 | 37 | 3 | 2 | true | true | false | false | false | false | zero |
71,995,990 | admob on flutter difference between iOS and Android | <p><a href="https://i.stack.imgur.com/MjSKw.png" rel="nofollow noreferrer">admob on iOS</a></p>
<p><a href="https://i.stack.imgur.com/UxWIH.png" rel="nofollow noreferrer">admob on Android</a></p>
<p>The ad code is below</p>
<pre class="lang-dart prettyprint-override"><code> final BannerAd myBanner = BannerAd(
adUn... | admob on iOS admob on Android The ad code is below [CODE] In iOS it can autosize to a square by its parent Container. But in Android the shape is still keeping banner. How do I let the Ad in Android behave like iOS? | android|ios|flutter|admob | 1 | 2022-04-25T07:37:22.443Z | 2,022 | 4 | 7 | 0 | 20 | 0 | 215 | 51 | 4 | 1 | true | true | false | false | false | false | low |
71,996,103 | The HERE MAP map does not load when I use "android.permission.SYSTEM_ALERT_WINDOW" | <p>The HERE MAP map does not load when I use "android.permission.SYSTEM_ALERT_WINDOW". Even though I just added it to the Manifest file. I want to do something like this
<a href="https://www.youtube.com/watch?v=rVVLxs7aRPU&ab_channel=edureka%21" rel="nofollow noreferrer">https://www.youtube.com/watch?v=rV... | The HERE MAP map does not load when I use "android.permission.SYSTEM_ALERT_WINDOW". Even though I just added it to the Manifest file. I want to do something like this https://www.youtube.com/watch?v=rVVLxs7aRPU&ab_channel=edureka%21 Thank you for your help | android|kotlin|heremaps-android-sdk | 0 | 2022-04-25T07:47:40.247Z | 2,022 | 4 | 7 | 0 | 20 | 0 | 266 | 82 | 3 | 0 | false | true | false | false | false | false | zero |
72,005,188 | Scheduling Periodic Notifications in Android | <p>Is there any working solution to Scheduling Periodic Notifications in Android where notifications can be received in the background as well?</p>
<p>I've tried Foreground service, but that requires a constant notification on the user's phone. I've tried Work Manager and Alarm Manager but they don't give notifications... | Is there any working solution to Scheduling Periodic Notifications in Android where notifications can be received in the background as well? I've tried Foreground service, but that requires a constant notification on the user's phone. I've tried Work Manager and Alarm Manager but they don't give notifications when the ... | android|firebase|android-notifications | 0 | 2022-04-25T20:06:39.097Z | 2,022 | 4 | 20 | 0 | 20 | 0 | 466 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
72,008,963 | Accept share only from spotify | <p>I am trying to limit the share functionality only from a single app (Spotify) to my app, I dont want other apps to be able to share into my app, how can I limit this share functionality using an intent filter?</p>
<p>What I currently have accepts text from any app and works with spotify too.</p>
<pre class="lang-xml... | I am trying to limit the share functionality only from a single app (Spotify) to my app, I dont want other apps to be able to share into my app, how can I limit this share functionality using an intent filter? What I currently have accepts text from any app and works with spotify too. [CODE] I found an example online w... | android-intent|share|spotify|intentfilter | 0 | 2022-04-26T05:50:05.590Z | 2,022 | 4 | 5 | 1 | 20 | 0 | 587 | 30 | 4 | 2 | true | true | false | false | false | false | zero |
72,011,970 | Unable to get all the error logs for Android Device | <p>Currently working on an application which runs in background. Implemented a solution which will get crash logs, but for system error messages it doesn't works. So, Looking for solution which will also records all the application error logs.</p>
<p>What i have implemented :</p>
<pre><code>// Setup handler for uncaugh... | Currently working on an application which runs in background. Implemented a solution which will get crash logs, but for system error messages it doesn't works. So, Looking for solution which will also records all the application error logs. What i have implemented : [CODE] | android|android-studio | 0 | 2022-04-26T09:58:53.587Z | 2,022 | 4 | 9 | 1 | 20 | 0 | 273 | 51 | 2 | 1 | true | true | false | false | false | false | zero |
72,023,382 | How to get the number of notifications from StatusBarNotification? | <p>I have 4 messages of notifications like this:
<a href="https://i.stack.imgur.com/Xwv5c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xwv5c.png" alt="enter image description here" /></a></p>
<p>I want to get number of messages count of this notification from StatusBarNotification (a service in No... | I have 4 messages of notifications like this: I want to get number of messages count of this notification from StatusBarNotification (a service in Notification). Any one help me for this? Sorry for my bad english. | android|android-studio|notifications | 0 | 2022-04-27T04:42:47.730Z | 2,022 | 4 | 4 | 2 | 20 | 0 | 213 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
72,032,146 | Android studio Bumbleebee 2021.1.1.23 at the start shows "Start Failed" | <h2>When I start Android studio it shows the splash screen with the bumbleebee and after this I am getting "Start Failed". And a long list - see below.
I tried to unistall, install again, but everytime the same result. However, i can instll the prev. verison 'Arctic Fox'.</h2>
<p>Internal error. Please refer ... | When I start Android studio it shows the splash screen with the bumbleebee and after this I am getting "Start Failed". And a long list - see below. I tried to unistall, install again, but everytime the same result. However, i can instll the prev. verison 'Arctic Fox'. Internal error. Please refer to https://c... | android|android-studio|startup | 0 | 2022-04-27T16:15:43.683Z | 2,022 | 4 | 16 | 2 | 20 | 0 | 6,458 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
72,073,814 | How to Show Which audio is used on that video in android | <p>I am creating an app like video playing.
While playing video
I need to show which audio is playing on this video on the bottom of right side in the layout.
How to do that?
YouTube shorts and Instagram reels contain this feature.
<a href="https://i.stack.imgur.com/IiyuT.jpg" rel="nofollow noreferrer">Here I just adde... | I am creating an app like video playing. While playing video I need to show which audio is playing on this video on the bottom of right side in the layout. How to do that? YouTube shorts and Instagram reels contain this feature. Here I just added the sample picture of shorts | android|android-studio|android-layout|audio|audio-streaming | 0 | 2022-05-01T03:40:46.327Z | 2,022 | 5 | 3 | 6 | 20 | 0 | 275 | 56 | 5 | 0 | false | true | false | false | false | false | zero |
72,127,048 | Is it Possible to Retain Context while downloading application from Play Store | <p>I am developing a React Native Project where My Client has a Requirement regarding deep linking. Let's say we click some button from Email where it takes us to the Application and login with the user in the LINK.</p>
<p>But, if the application is not downloaded on the Mobile we want the user to go to the Play/App St... | I am developing a React Native Project where My Client has a Requirement regarding deep linking. Let's say we click some button from Email where it takes us to the Application and login with the user in the LINK. But, if the application is not downloaded on the Mobile we want the user to go to the Play/App Store and do... | android|ios|react-native | 0 | 2022-05-05T12:17:28.950Z | 2,022 | 5 | 12 | 3 | 20 | 0 | 505 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
72,135,190 | Android TV trick play | <p>I am trying to implement Trick play Tv app. I have map of timestamp as key and image as a value. At any time there will be only 5 images will be visible.
I am using the <code>RecyclerView</code> to implement the auto scrollable list.</p>
<p>I want to store only 5 Visible + 4 = 9 images into the adapter's data source... | I am trying to implement Trick play Tv app. I have map of timestamp as key and image as a value. At any time there will be only 5 images will be visible. I am using the RecyclerView to implement the auto scrollable list. I want to store only 5 Visible + 4 = 9 images into the adapter's data source, instead of storing al... | android|android-recyclerview | 1 | 2022-05-06T01:21:13.393Z | 2,022 | 5 | 1 | 4 | 20 | 0 | 534 | 21 | 2 | 0 | false | true | false | false | false | false | low |
72,001,258 | DropDownMenu frame drops and lags in Jetpack Compose | <p>So I am bit of in a pickle now.</p>
<p><strong>The Begining</strong></p>
<p>I have list of countries and I want to allow the user to pick any of them by showing a drop a down menu, and earlier no jetpack compose way, I had a an extension on <code>View</code> say <code>View.setupDropDown</code> and this inturn loads ... | So I am bit of in a pickle now. The Begining I have list of countries and I want to allow the user to pick any of them by showing a drop a down menu, and earlier no jetpack compose way, I had a an extension on View say View.setupDropDown and this inturn loads up a ListPopupWindow and anchors it to the current view, and... | android|kotlin|android-jetpack-compose|android-jetpack-compose-list | 4 | 2022-04-25T14:34:21.510Z | 2,022 | 4 | 14 | 0 | 276 | 0 | 1,394 | 52 | 4 | 2 | true | true | false | false | false | false | low |
71,797,262 | Android studio linter not working when opening the android directory of a flutter plugin | <p>In a normal flutter project (app, not a plugin), when I open the android directory with Android Studio, the linter works. However, if it's a plugin, all that Android Studio does is highlights the syntax. I can write any gibberish and it will not show any warning.</p>
<p>I'm new to Kotlin (learning it on the go as I'... | In a normal flutter project (app, not a plugin), when I open the android directory with Android Studio, the linter works. However, if it's a plugin, all that Android Studio does is highlights the syntax. I can write any gibberish and it will not show any warning. I'm new to Kotlin (learning it on the go as I'm writing ... | android|flutter|android-studio|kotlin | 0 | 2022-04-08T12:45:48.880Z | 2,022 | 4 | 12 | 4 | 21 | 0 | 396 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
71,797,282 | For Android Kotlin projects, does it matter to set jvmTarget versions? | <p>Which of the following is correct? Or does it matter at all? Doesn't gradle 7.+ all require Java 11?</p>
<pre><code>kotlinOptions {
jvmTarget = "1.8"
}
kotlinOptions {
jvmTarget = "11"
}
</code></pre> | Which of the following is correct? Or does it matter at all? Doesn't gradle 7.+ all require Java 11? [CODE] | android|kotlin|build.gradle | 0 | 2022-04-08T12:47:08.110Z | 2,022 | 4 | 12 | 4 | 21 | 0 | 107 | 70 | 3 | 1 | true | true | false | false | false | false | zero |
71,817,764 | transfer app account to another smartphone | <p>How can I transfer android app account created used AccountManager <a href="https://developer.android.com/reference/android/accounts/AccountManager" rel="nofollow noreferrer">https://developer.android.com/reference/android/accounts/AccountManager</a> to new smartphone?</p>
<p>I try it:</p>
<ol>
<li><p>adb backup - t... | How can I transfer android app account created used AccountManager https://developer.android.com/reference/android/accounts/AccountManager to new smartphone? I try it: adb backup - this app has backup protection Swift Backup - backup, then delete app, then restore - do not restore app account. All solutions via exiting... | android|backup|accountmanager | 0 | 2022-04-10T14:57:43.780Z | 2,022 | 4 | 14 | 6 | 21 | 0 | 392 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
71,831,908 | Building stand alone android app with small DB | <p>I would like to challange my self and build an android app.
with a small DB build in, with in the app.</p>
<p>I have some background with java and python, but never created somthing on Android.</p>
<p>The plan is to create an app that can make queris over 200MB of text.</p>
<p>What is the best approch to start with ... | I would like to challange my self and build an android app. with a small DB build in, with in the app. I have some background with java and python, but never created somthing on Android. The plan is to create an app that can make queris over 200MB of text. What is the best approch to start with that? Thanks. | java|android|app-store | 0 | 2022-04-11T17:23:49.227Z | 2,022 | 4 | 17 | 0 | 21 | 0 | 309 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
71,868,357 | How to debug process is whitelisted error | <p>I am working on an app with python and it works on my pc just fine but it crashes on android when login button is touched. The app is supposed to login a user with email and password and post some data on firebase after successful login. Here is snippet of the code.</p>
<pre><code>from kivy.lang import Builder
from ... | I am working on an app with python and it works on my pc just fine but it crashes on android when login button is touched. The app is supposed to login a user with email and password and post some data on firebase after successful login. Here is snippet of the code. [CODE] I have added the following requirements for bu... | python|android|permissions|request | 0 | 2022-04-14T08:04:38.450Z | 2,022 | 4 | 8 | 3 | 21 | 0 | 1,328 | 41 | 4 | 2 | true | true | false | false | false | false | zero |
71,868,424 | change roller orientation to flat scroller of CupertinoDatePicker | <p>Is there any method to change roller orientation of this:</p>
<p><a href="https://i.stack.imgur.com/UUSVd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UUSVd.jpg" alt="enter image description here" /></a></p>
<p>Into flat scrollable like this?</p>
<p><a href="https://i.stack.imgur.com/cmBdE.jpg"... | Is there any method to change roller orientation of this: Into flat scrollable like this? I am using official CupertinoDatePicker https://api.flutter.dev/flutter/cupertino/CupertinoDatePicker-class.html Thank you. | android|flutter|datetimepicker | 0 | 2022-04-14T08:10:32.653Z | 2,022 | 4 | 8 | 3 | 21 | 0 | 213 | 65 | 3 | 0 | false | true | false | false | false | false | zero |
71,868,923 | Any BLE Peripherals on Windows/Android(other than BLE SIM) to test Communication from Client like LightBlue (an android application) | <p>I am checking the data transfer between LightBlue(by punchThrough) and BLE SIM.Is there any other Android peripheral to transfer kilobytes of data.
And also,I would like to know if we have Peripherals on Windows as well.</p> | I am checking the data transfer between LightBlue(by punchThrough) and BLE SIM.Is there any other Android peripheral to transfer kilobytes of data. And also,I would like to know if we have Peripherals on Windows as well. | android|bluetooth-lowenergy|bluetooth-gatt|android-ble|bluetooth-peripheral | 0 | 2022-04-14T08:51:03.273Z | 2,022 | 4 | 8 | 3 | 21 | 0 | 220 | 132 | 5 | 0 | false | true | false | false | false | false | zero |
71,883,882 | How to set up a .tmx from several pngs | <p>I am new to Android Studio and I am using Java to develop a simple 2D game. However, in my class I am studying using the .tmx file and loading them using these codes :</p>
<pre><code>tiledMap = new TmxMapLoader().load("SimpleMaze.tmx");
tiledMapRenderer = new OrthogonalTiledMapRenderer(tiledMap);
</code></... | I am new to Android Studio and I am using Java to develop a simple 2D game. However, in my class I am studying using the .tmx file and loading them using these codes : [CODE] However, when I want to develop a game in my own I only have .png file such as "background_01.png", "background_02.png", &quo... | java|android | 0 | 2022-04-15T12:10:11.723Z | 2,022 | 4 | 12 | 4 | 21 | 0 | 553 | 38 | 2 | 1 | true | true | false | false | false | false | zero |
71,886,728 | Native credit card payment for Shopify on Android | <p>I'm building an Android app based on Shopify Android Buy SDK.
Currently I'm struggling with implementing a native credit card payment screen.</p>
<p>I've tried following the <a href="https://shopify.dev/custom-storefronts/tools/android#checkout-on-mobile" rel="nofollow noreferrer">official guide</a> for Android Buy ... | I'm building an Android app based on Shopify Android Buy SDK. Currently I'm struggling with implementing a native credit card payment screen. I've tried following the official guide for Android Buy SDK on this topic (create a pubic app, turn it into a sales channel, request payment processing), but my request got rejec... | android|shopify|shopify-app|shopify-mobile-buy-sdk | 1 | 2022-04-15T16:48:55.503Z | 2,022 | 4 | 16 | 4 | 21 | 0 | 650 | 49 | 4 | 0 | false | true | false | false | false | false | low |
71,892,825 | I would need to implement admob on my webview app | <p>How can I initialize advertising when a certain URL is visited? Can I use the initialize() method by calling it from a web page (URL load)? I cannot show Google Adsense advertising in my app because I have read that it violates the program policies. Website was implemented in php. Thanks in advance</p> | How can I initialize advertising when a certain URL is visited? Can I use the initialize() method by calling it from a web page (URL load)? I cannot show Google Adsense advertising in my app because I have read that it violates the program policies. Website was implemented in php. Thanks in advance | webview|admob|android-webview | 1 | 2022-04-16T09:50:38.760Z | 2,022 | 4 | 9 | 5 | 21 | 0 | 299 | 49 | 3 | 0 | false | true | false | false | false | false | low |
71,899,424 | When I compile my flutter project then arise some error in this package "import 'package:flutter_quill/widgets/controller.dart';" | <p>Error: Error when reading '/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_quill-4.1.1/lib/widgets/controller.dart': The system cannot find the path specified.</p>
<p>import 'package:flutter_quill/widgets/controller.dart';
^</p> | Error: Error when reading '/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_quill-4.1.1/lib/widgets/controller.dart': The system cannot find the path specified. import 'package:flutter_quill/widgets/controller.dart'; ^ | android|flutter|package | 0 | 2022-04-17T05:08:47.787Z | 2,022 | 4 | 5 | 6 | 21 | 0 | 240 | 129 | 3 | 0 | false | true | false | false | false | false | zero |
71,906,007 | ow to make android studio push notifications in php server | <p>I am new to Android. I have a responsive web that looks really good in android studio webview. I want to implement push notifications to the application. The notifications that work on the web are in a database and are managed with a php and java file that reads in the database if there are new notifications for the... | I am new to Android. I have a responsive web that looks really good in android studio webview. I want to implement push notifications to the application. The notifications that work on the web are in a database and are managed with a php and java file that reads in the database if there are new notifications for the us... | php|android-webview | 0 | 2022-04-17T22:42:42.027Z | 2,022 | 4 | 22 | 6 | 21 | 0 | 414 | 58 | 2 | 0 | false | true | false | false | false | false | zero |
71,909,274 | android brief notifications icon background color problem(samsung) | <p><a href="https://i.stack.imgur.com/ty3co.png" rel="nofollow noreferrer">image</a>
My origin brief notification icon background color is white,but after the other app's brief notification was shown,my app's brief notification background color will turn to that app setting(Red).</p>
<p>How can i change my icon's backg... | image My origin brief notification icon background color is white,but after the other app's brief notification was shown,my app's brief notification background color will turn to that app setting(Red). How can i change my icon's background color not affect by other app? PS:I am sure that color will changed by last noti... | android | 0 | 2022-04-18T08:15:32.173Z | 2,022 | 4 | 8 | 0 | 21 | 0 | 347 | 66 | 1 | 0 | false | true | false | false | false | false | zero |
71,935,462 | Does the Android native system support compiling using the databinding syntax? | <p>I have done an app project on android studio before which uses jetpack toolset like databinding, viewModel etc. It is able to generate apk and works fine on mobile.
I now want to port this project to the phone system and make it a system app.
I put all the packages referenced in gradle into Android.mk, but the follo... | I have done an app project on android studio before which uses jetpack toolset like databinding, viewModel etc. It is able to generate apk and works fine on mobile. I now want to port this project to the phone system and make it a system app. I put all the packages referenced in gradle into Android.mk, but the followin... | android | 0 | 2022-04-20T07:05:22.647Z | 2,022 | 4 | 7 | 2 | 21 | 0 | 813 | 78 | 1 | 2 | true | true | false | false | false | false | zero |
71,940,356 | Android studio 2020.3.1(Windows 10) unable to start, internal error thrown | <p>I just installed Android Studio 2020.3.1 Arctic Fox in Windows 10 and upon startup the following issue is being thrown:</p>
<p>Internal error. Please refer to <a href="https://code.google.com/p/android/issues" rel="nofollow noreferrer">https://code.google.com/p/android/issues</a></p>
<pre><code>java.util.concurrent.... | I just installed Android Studio 2020.3.1 Arctic Fox in Windows 10 and upon startup the following issue is being thrown: Internal error. Please refer to https://code.google.com/p/android/issues [CODE] I have followed solution Android Studio updated, cannot start now, internal error thrown but still I am facing the issue... | android|android-studio | 0 | 2022-04-20T13:14:23.380Z | 2,022 | 4 | 13 | 2 | 21 | 0 | 373 | 74 | 2 | 1 | true | true | false | false | false | false | zero |
71,947,771 | Mobile Platform tracking score from an app to another App | <p>How do I track scores for other games/apps from another app(my app) for example I've realized some games don't have an API available, clash of clans has one. Other games don't. One game I really enjoy is Magic Piano tiles, how can I within my mobile app implement that feature? I thought of OCR solution but I'm not s... | How do I track scores for other games/apps from another app(my app) for example I've realized some games don't have an API available, clash of clans has one. Other games don't. One game I really enjoy is Magic Piano tiles, how can I within my mobile app implement that feature? I thought of OCR solution but I'm not sure... | android|ios|swift|mobile|mobile-safari | 0 | 2022-04-21T00:56:40.497Z | 2,022 | 4 | 0 | 3 | 21 | 0 | 561 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
71,963,815 | Android Studio won't update it says bin/studio64.exe.vmoptions and bin/studio.exe.vmoptions are ABSENT | <p>Pretty self descriptive. Last time I messed with the vmoptions file it didn't exist until I opened it then it wrecked everything and I had to reinstall. It seems that my android studio works great without the vmoptions and I'm scared to mess with them at this point but not being able to update is concerning me.
<a... | Pretty self descriptive. Last time I messed with the vmoptions file it didn't exist until I opened it then it wrecked everything and I had to reinstall. It seems that my android studio works great without the vmoptions and I'm scared to mess with them at this point but not being able to update is concerning me. | android-studio | 1 | 2022-04-22T05:26:21.717Z | 2,022 | 4 | 5 | 4 | 21 | 0 | 312 | 102 | 1 | 0 | false | true | false | false | false | false | low |
71,989,371 | Android studio - Center non-transparent part of picture | <p>I'm making an app that can freehand crop a picture using a canvas in android studio. My problem is that after cropping the picture, the cropped part stays in the same exact position as it was originally, whereas i want it to get centered and enlargened. Is there any way to take the non-transparent part and center it... | I'm making an app that can freehand crop a picture using a canvas in android studio. My problem is that after cropping the picture, the cropped part stays in the same exact position as it was originally, whereas i want it to get centered and enlargened. Is there any way to take the non-transparent part and center it, o... | java|android|canvas|png|image-resizing | 0 | 2022-04-24T14:26:50.790Z | 2,022 | 4 | 14 | 6 | 21 | 0 | 472 | 55 | 5 | 1 | true | true | false | false | false | false | zero |
72,014,308 | there are so many app with long name on playstore but i can enater only 30 charecters in app name why? | <p>i have seen many app on playstore that has more than 30 characters long name but i can't add more than 30 characters name.
enter image description here</p>
<p>i am adding two image of apps which name length is more than 30 characters</p>
<p><a href="https://i.stack.imgur.com/pJSzN.png" rel="nofollow noreferrer"><img... | i have seen many app on playstore that has more than 30 characters long name but i can't add more than 30 characters name. enter image description here i am adding two image of apps which name length is more than 30 characters | android|google-play | 0 | 2022-04-26T12:52:24.447Z | 2,022 | 4 | 12 | 1 | 21 | 0 | 226 | 102 | 2 | 0 | false | true | false | false | false | false | zero |
72,036,619 | Recycler View List Sort position saving notepad app | <p><a href="https://i.stack.imgur.com/SSF8j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SSF8j.png" alt="enter image description here" /></a></p>
<p>In my program I added code to move the list items around but for example if I move shopping list above Test 123 and fully close the app the positioni... | In my program I added code to move the list items around but for example if I move shopping list above Test 123 and fully close the app the positioning resets to the original instead of the updated location I cannot figure out for the life of me what to do. Code for click drag in mainactivity.java [CODE] Adapter Code [... | java|android-studio|sorting|android-recyclerview|recyclerlistview | 0 | 2022-04-28T00:23:38.160Z | 2,022 | 4 | 0 | 3 | 21 | 0 | 325 | 51 | 5 | 2 | true | true | false | false | false | false | zero |
72,057,904 | showContextMenu shows drop down menu instead of floating menu | <p>I want to show context menu on single click on a <code>View</code>, I'm using:</p>
<pre><code>view.setOnClickListener {
it.setOnCreateContextMenuListener { menu, view, contextMenuInfo ->
menu.add("1")
menu.add("2")
menu.add("3&qu... | I want to show context menu on single click on a View , I'm using: [CODE] But this code shows context menu in the center of the screen (like drop down list instead of floating menu). showContextMenu(float x, float y) Shows near the view, but it support only api 24+. | android | 0 | 2022-04-29T12:21:22.367Z | 2,022 | 4 | 12 | 4 | 21 | 0 | 266 | 61 | 1 | 1 | true | true | false | false | false | false | zero |
72,062,143 | How to get Menu Item title in different Locale on selection? | <p>I'm implementing an app which uses both English and Arabic Locale, I already implemented how the language gets changed and all that.</p>
<p>My problem is now I have a Menu that contains items with <code>title:@String/some_string_name</code>, when the user chooses an option, in English I always just took the title us... | I'm implementing an app which uses both English and Arabic Locale, I already implemented how the language gets changed and all that. My problem is now I have a Menu that contains items with title:@String/some_string_name , when the user chooses an option, in English I always just took the title using MenuItem.getTitle ... | java|android|android-studio | 1 | 2022-04-29T18:12:49.060Z | 2,022 | 4 | 18 | 4 | 21 | 0 | 728 | 60 | 3 | 0 | false | true | false | false | false | false | low |
72,066,636 | Animating a label (with TransitionManager) | <p>I am writing a small Android app and am now facing this basic animation challenge.
I have a label positioned at the top-left of the display and I want to move it to the bottom-right using an animation taking about one second. This must be easy, but since this is my first Android app, I don't know yet how to do it. M... | I am writing a small Android app and am now facing this basic animation challenge. I have a label positioned at the top-left of the display and I want to move it to the bottom-right using an animation taking about one second. This must be easy, but since this is my first Android app, I don't know yet how to do it. My c... | android|kotlin|android-layout | 0 | 2022-04-30T07:48:31.400Z | 2,022 | 4 | 7 | 5 | 21 | 0 | 1,036 | 42 | 3 | 3 | true | true | false | false | false | false | zero |
72,067,625 | i'm trying to send notifications using flutter_notification_plugin | <p>so im creating a todo list app and im trying to send notification to the user to inform them that a task is about to expire, i tried doing this</p>
<pre><code>import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:timezone/timezone.dart' as tz;
class NotificationApi {
stati... | so im creating a todo list app and im trying to send notification to the user to inform them that a task is about to expire, i tried doing this [CODE] but it doesn't work, which is strange cause it worked just fine in the tutorial the error [CODE] | android|flutter|dart|flutter-dependencies|dart-pub | 0 | 2022-04-30T10:19:33.847Z | 2,022 | 4 | 10 | 5 | 21 | 0 | 247 | 66 | 5 | 2 | true | true | false | false | false | false | zero |
72,069,373 | Why does gradle task assembleRelease need to be run twice to generate a new aar | <p>I am building a <a href="https://github.com/saki4510t/UVCCamera/tree/master/libuvccamera" rel="nofollow noreferrer">library project</a>. Its build.gralde has the following:</p>
<pre><code>android {
compileSdkVersion versionCompiler
compileOptions {
sourceCompatibility javaSourceCompatibility
... | I am building a library project . Its build.gralde has the following: [CODE] After I make some changes to a CPP source file, I run assembleRelease and keep an eye on folder build\outputs\aar. The aar file does not change at all after assembleRelease is finished. Then, I run assembleRelease again, and the aar file chang... | android-studio|android-gradle-plugin|android-studio-bumblebee|android-gradle-plugin-7 | 0 | 2022-04-30T14:28:16.373Z | 2,022 | 4 | 14 | 5 | 21 | 0 | 393 | 79 | 4 | 2 | true | true | false | false | false | false | zero |
72,070,401 | Last navigation gets resubmitted | <p>Okay, so I'm not sure, what exactly triggers that.
But I have a suspicion. Sadly it will get hard to make a MWE, since it is a very complex app with lots of fragments, but I'll try to explain as good as possible.
So I got a DictionaryFragment, which contains one other fragment (AllVocabularyFragment).
In the Diction... | Okay, so I'm not sure, what exactly triggers that. But I have a suspicion. Sadly it will get hard to make a MWE, since it is a very complex app with lots of fragments, but I'll try to explain as good as possible. So I got a DictionaryFragment, which contains one other fragment (AllVocabularyFragment). In the Dictionary... | android|android-fragments|onbackpressed|navigationcontroller | 0 | 2022-04-30T16:49:14.953Z | 2,022 | 4 | 16 | 5 | 21 | 0 | 2,516 | 32 | 4 | 4 | true | true | false | false | false | false | zero |
72,083,691 | How to InCrease or resize icon in tabitems in tablayout? in Android | <p>I draw tablayout contains tabItems with icon
I want to resize(Increase) Icon size
How can I do???</p>
<p>first, I draw tablayout in xml and draw tabItems in tablayout
second, I make selector(xml) use for tabItems,
third, I make tab seletedListener in java class
4th, I linked selected event, and it works well
But, ha... | I draw tablayout contains tabItems with icon I want to resize(Increase) Icon size How can I do??? first, I draw tablayout in xml and draw tabItems in tablayout second, I make selector(xml) use for tabItems, third, I make tab seletedListener in java class 4th, I linked selected event, and it works well But, has a proble... | android|tabs|tablayout | 0 | 2022-05-02T07:43:54.823Z | 2,022 | 5 | 7 | 0 | 21 | 0 | 505 | 67 | 3 | 2 | true | true | false | false | false | false | zero |
72,115,036 | failed to open zip file. gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Flutter android gradle | <p>I have android stdio 4.3version
I buy flutter project open suerce
I need to run in my android stdio but this error "failed to open zip file. gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)"</p> | I have android stdio 4.3version I buy flutter project open suerce I need to run in my android stdio but this error "failed to open zip file. gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)" | android|flutter|gradle | 0 | 2022-05-04T14:49:19.060Z | 2,022 | 5 | 14 | 2 | 21 | 0 | 252 | 148 | 3 | 0 | false | true | false | false | false | false | zero |
72,126,442 | is there possible to set a method or a variable into MediaPlayer.create()? | <p>I'm trying to set a method or variable into the <strong>MediaPlayer.create()</strong>.</p>
<p>I know that it is completely incorrect but the main idea is something like that</p>
<p><code>MediaPlayer.create(this, R.raw.getMelody()).</code></p>
<p>or</p>
<p><code>String melody = getMelody();</code></p>
<p><code>MediaP... | I'm trying to set a method or variable into the MediaPlayer.create() . I know that it is completely incorrect but the main idea is something like that MediaPlayer.create(this, R.raw.getMelody()). or String melody = getMelody(); MediaPlayer.create(this, R.raw.melody); here I want to use the word melody like a variable. | java|android|android-mediaplayer | 0 | 2022-05-05T11:30:22.257Z | 2,022 | 5 | 11 | 3 | 21 | 0 | 319 | 74 | 3 | 0 | false | true | false | false | false | false | zero |
71,916,635 | Recalling duration of timer - Flutter | <p>I am trying to recall and print an exact duration in time from my timer and it is just showing me 00:00:00 and never changing. It is trying to recall the code within my timer page once the sixedbox is pressed and is suppose to record the time and print it below my name of the task Can anyone help? Please let me know... | I am trying to recall and print an exact duration in time from my timer and it is just showing me 00:00:00 and never changing. It is trying to recall the code within my timer page once the sixedbox is pressed and is suppose to record the time and print it below my name of the task Can anyone help? Please let me know if... | flutter|android-studio|dart | 0 | 2022-04-18T20:17:23.537Z | 2,022 | 4 | 20 | 0 | 22 | 0 | 444 | 37 | 3 | 3 | true | true | false | false | false | false | zero |
71,960,223 | How to avoid having Dagger/MissingBinding when injecting in Kotlin bindings with generics that provided in java dagger module? | <p>Here is the binding I have in the java dagger module</p>
<pre><code> @IntoMap
@Binds
@ClassKey(XXX.class)
Property<? extends PropertyType> bindProperty(XXXProperty property);
</code></pre>
<p>where</p>
<pre><code>class XXXX: PropertyType
</code></pre>
<p>now in java class if I want to inject I do the follow... | Here is the binding I have in the java dagger module [CODE] where [CODE] now in java class if I want to inject I do the following [CODE] my question how should I inject in Kotlin class? | android|kotlin|generics|dagger-2 | 0 | 2022-04-21T19:54:22.257Z | 2,022 | 4 | 19 | 3 | 22 | 0 | 185 | 126 | 4 | 3 | true | true | false | false | false | false | zero |
71,965,910 | Android textview not able to load the font icon when language is selected as chinese | <p>I am using Glyphter icons. So as per the column r I have clear all icon symbol. It is working fine for English language, But not loading for chinese. It shows as r in textview.</p> | I am using Glyphter icons. So as per the column r I have clear all icon symbol. It is working fine for English language, But not loading for chinese. It shows as r in textview. | android|textview|font-awesome|android-appcompat | 0 | 2022-04-22T08:47:05.873Z | 2,022 | 4 | 8 | 4 | 22 | 0 | 176 | 84 | 4 | 0 | false | true | false | false | false | false | zero |
71,967,478 | How Can I achieve this layout by using the recycler view in android?? when I was passing list of String image url to the adapter ? layout in Image | <p>[enter image description here][1]</p>
<p>[enter image description here][2]VHFV.png</p>
<p><em><code>strong text</code></em>
[2]: <a href="https://i.stack.imgur.com/YJOpm.png" rel="nofollow noreferrer">https://i.stack.imgur.com/YJOpm.png</a></p>
<pre><code>activity_main
<LinearLayout
android:layout_width... | [enter image description here][1] [enter image description here][2]VHFV.png strong text [2]: https://i.stack.imgur.com/YJOpm.png [CODE] How can I achieve this layout that is showing inside image using recyclerView, ?? I use flexboxLayoutManager for this but I do not know how can I used, Can anyone help me to make this ... | android|android-recyclerview|layout | 0 | 2022-04-22T10:45:01.640Z | 2,022 | 4 | 10 | 4 | 22 | 0 | 355 | 146 | 3 | 1 | true | true | false | false | false | false | zero |
71,970,993 | Android MediaRecorder - Screen recording video gets corrupted | <p>We are using the screen recording functionality of Android's <a href="https://developer.android.com/reference/android/media/MediaRecorder" rel="nofollow noreferrer">MediaRecorder</a> APIs.</p>
<p>On Some devices, the recorder video gets corrupted. But, it is not consistent.</p>
<p>Sometimes it works on the same devi... | We are using the screen recording functionality of Android's MediaRecorder APIs. On Some devices, the recorder video gets corrupted. But, it is not consistent. Sometimes it works on the same device as well. I have tried changing the video encoder from H264 to the default one. But that didn't work. Has anyone faced a si... | android|mediarecorder|android-mediarecorder | 1 | 2022-04-22T15:13:23.757Z | 2,022 | 4 | 15 | 4 | 22 | 0 | 359 | 61 | 3 | 0 | false | true | false | false | false | false | low |
71,977,318 | Count Touch Screen Events, outside application | <p>Good Day,</p>
<p>I am looking to count the amount of short presses and long presses on the touch screen itself, I have managed to get the counts working within the developed application, my aim is to have it as a service to do the counts on other installed applications, like for example, when I open Chrome, I would ... | Good Day, I am looking to count the amount of short presses and long presses on the touch screen itself, I have managed to get the counts working within the developed application, my aim is to have it as a service to do the counts on other installed applications, like for example, when I open Chrome, I would like to co... | android|touch | 0 | 2022-04-23T06:11:38.697Z | 2,022 | 4 | 6 | 5 | 22 | 0 | 485 | 46 | 2 | 1 | true | true | false | false | false | false | zero |
71,990,897 | how to get specific data from Firebase (by criterions) | <p>I building an application like Tinder and I am storing the users locations on Firebase.<br />
I want to write a function for receiving only users that live 6 kilometers or less from my location (need a ready list when he start looking).<br />
how can I do that?</p> | I building an application like Tinder and I am storing the users locations on Firebase. I want to write a function for receiving only users that live 6 kilometers or less from my location (need a ready list when he start looking). how can I do that? | firebase|android-studio | 1 | 2022-04-24T17:47:33.080Z | 2,022 | 4 | 17 | 6 | 22 | 0 | 249 | 54 | 2 | 0 | false | true | false | false | false | false | low |
72,025,578 | How to implement android.media.Image? | <p>I have data regarding all the image planes required for media.Image but as its abstract and default constructor is intentionally not exposed, How can I create an instance?</p>
<p>My other libraries take Image as a parameter and I have data from NDK(AImage) which has all required information.</p> | I have data regarding all the image planes required for media.Image but as its abstract and default constructor is intentionally not exposed, How can I create an instance? My other libraries take Image as a parameter and I have data from NDK(AImage) which has all required information. | android|android-ndk|android-graphics | 0 | 2022-04-27T08:27:22.220Z | 2,022 | 4 | 8 | 2 | 22 | 0 | 285 | 37 | 3 | 0 | false | true | false | false | false | false | zero |
72,030,890 | Get SplashScreen Logo in the Extact position on Home screen | <p>I want to create a fade in effect in my app on the home page.</p>
<p>Hence, I want to place the logo I use on the splashscreen exactly on the same place on my app's home screen.</p>
<p>Is there a way I can get the exact position of the splashscreen logo so I can have the same logo on my home screen and it would crea... | I want to create a fade in effect in my app on the home page. Hence, I want to place the logo I use on the splashscreen exactly on the same place on my app's home screen. Is there a way I can get the exact position of the splashscreen logo so I can have the same logo on my home screen and it would create a fadeIn effec... | android|ios|flutter | 0 | 2022-04-27T14:52:30.913Z | 2,022 | 4 | 14 | 2 | 22 | 0 | 342 | 59 | 3 | 0 | false | true | false | false | false | false | zero |
72,060,652 | How to use libiconv in NDK now? | <p>I found 2014 article, do these in Android Studio project:</p>
<p>cpp add this:</p>
<pre><code>extern "C"{
</code></pre>
<p>include <iconv.h>
}</p>
<p>android.mk add this:</p>
<p>LOCAL_WHOLE_STATIC_LIBRARIES += android_support</p>
<p>include $(BUILD_STATIC_LIBRARY)</p>
<p>$(call import-module, android... | I found 2014 article, do these in Android Studio project: cpp add this: [CODE] include <iconv.h> } android.mk add this: LOCAL_WHOLE_STATIC_LIBRARIES += android_support include $(BUILD_STATIC_LIBRARY) $(call import-module, android/support) then you can use libiconv function, but now android.mk has replaced by CMakeLists... | android|android-ndk|libiconv | 0 | 2022-04-29T15:55:32.120Z | 2,022 | 4 | 15 | 4 | 22 | 0 | 377 | 31 | 3 | 1 | true | true | false | false | false | false | zero |
72,070,436 | Androidx searchview | <p>I have a problem that the searchview is not expanded by default, only the icon is shown. I need to click on the icon to expand the searchview.</p>
<pre><code><androidx.appcompat.widget.SearchView
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height... | I have a problem that the searchview is not expanded by default, only the icon is shown. I need to click on the icon to expand the searchview. [CODE] android:iconifiedByDefault="false" says this: "The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked... | android | 0 | 2022-04-30T16:53:39.223Z | 2,022 | 4 | 16 | 5 | 22 | 0 | 470 | 19 | 1 | 2 | true | true | false | false | false | false | zero |
72,088,758 | Set xAxis label in MpAndroid Line chart - Kotlin | <p>I was trying to add <code>xAxis</code> label in line chart (MpAndroid chart) using the <code>branch</code> key of the <code>JSON</code> coming from a network call but I'm not getting it.</p>
<p>This is my <code>JSON</code> response</p>
<pre><code>{
"error": false,
"message": "Data Fo... | I was trying to add xAxis label in line chart (MpAndroid chart) using the branch key of the JSON coming from a network call but I'm not getting it. This is my JSON response [CODE] I was trying to add branch as a xAxis label. | android|kotlin | 0 | 2022-05-02T15:14:36.973Z | 2,022 | 5 | 15 | 0 | 22 | 0 | 224 | 48 | 2 | 1 | true | true | false | false | false | false | zero |
72,092,631 | Re:How to wait for firebase in listview | <p>i am making a messaging application on android studios using java, been doing good till i came across a problem displaying all the groups a user is in.
the information im trying to gather is</p>
<ul>
<li><p>group image <strong>check</strong></p>
</li>
<li><p>group name <strong>check</strong></p>
</li>
<li><p>last ... | i am making a messaging application on android studios using java, been doing good till i came across a problem displaying all the groups a user is in. the information im trying to gather is group image check group name check last message(and time of message and who/what sent it) the first two is done but the last one ... | java|android|firebase|listview | 0 | 2022-05-02T21:32:51.060Z | 2,022 | 5 | 21 | 0 | 22 | 0 | 682 | 39 | 4 | 1 | true | true | false | false | false | false | zero |
72,099,988 | Is it possible to get Device movement(Left/Right/up/down) in android kotlin? | <p>How we can get a device movement like device is move left, right, up or down in android kotlin.</p> | How we can get a device movement like device is move left, right, up or down in android kotlin. | android|kotlin | 0 | 2022-05-03T13:16:15.940Z | 2,022 | 5 | 13 | 1 | 22 | 0 | 95 | 76 | 2 | 0 | false | true | false | false | false | false | zero |
72,100,158 | Android Hotwire: No back button when MainActivity is not a TurboActivity | <p>In the current app I'm working on the setup differs from the demo setup. In the demo setup, the <code>MainActivity</code> uses the <code>TurboActivity</code> class. In my current setup, I have native authentication and therefore the <code>MainActivity</code> handles part of the authentication. When the user is authe... | In the current app I'm working on the setup differs from the demo setup. In the demo setup, the MainActivity uses the TurboActivity class. In my current setup, I have native authentication and therefore the MainActivity handles part of the authentication. When the user is authenticated, they are passed to the WebActivi... | android|kotlin|turbo|hotwire | 0 | 2022-05-03T13:29:39.533Z | 2,022 | 5 | 13 | 1 | 22 | 0 | 701 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
72,101,800 | NPM not able to find a file during install | <p>When running <code>npm install</code> on my PC, I get the following error:</p>
<pre><code>5670 error code ENOENT
5671 error syscall spawn C:\Program Files (x86)\Android\android-sdk
5672 error path C:\Users\jerry\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\@apollo\protobufjs
5673 error errno -4058
5674 err... | When running npm install on my PC, I get the following error: [CODE] I am trying to create a Vue Native Android app. I am running these commands: vue init nativescript-vue/vue-cli-template project-name cd project-name npm install - here is where I get the error. Am I missing a file? How can I resolve? | android|npm-install | 0 | 2022-05-03T15:28:36.310Z | 2,022 | 5 | 15 | 1 | 22 | 0 | 302 | 42 | 2 | 1 | true | true | false | false | false | false | zero |
71,952,376 | How to change the status bar color at Material3 theme when scrolling? | <p>I'm a beginner Android develpoer, and my native language is no English. Please forgive me if I am wrong.
I am developing a simple application using Material Design 3 theme. I want to change the defaule toolbar color, but the status bar color doesn't change with the color I set to toolbar.
When I ccrolling the window... | I'm a beginner Android develpoer, and my native language is no English. Please forgive me if I am wrong. I am developing a simple application using Material Design 3 theme. I want to change the defaule toolbar color, but the status bar color doesn't change with the color I set to toolbar. When I ccrolling the window, i... | android|kotlin | 0 | 2022-04-21T09:50:07.897Z | 2,022 | 4 | 9 | 3 | 278 | 0 | 436 | 69 | 2 | 2 | true | true | false | false | false | false | zero |
71,814,354 | Track Android motion event ever certain time? | <p>I am developing an Android app that tracks and records data about swipes such as pressure, touch sizes and so on.</p>
<p>I am wondering if I can record the data every 2ms or any other time I want.</p>
<p>Currently I am recording the data using the default interval which means I didn't give it any timely control and ... | I am developing an Android app that tracks and records data about swipes such as pressure, touch sizes and so on. I am wondering if I can record the data every 2ms or any other time I want. Currently I am recording the data using the default interval which means I didn't give it any timely control and it looks like the... | java|android-studio | 0 | 2022-04-10T06:47:59.297Z | 2,022 | 4 | 6 | 6 | 23 | 0 | 664 | 45 | 2 | 1 | true | true | false | false | false | false | zero |
71,837,864 | Android : AmbiguousViewMatcherException: matches 2 views in the hierarchy with Custom EditText | <p>I am using Custom EditText which has TextInputLayout and TextInputEditText.</p>
<p><strong>view_custom_edittext.xml</strong></p>
<pre><code><LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="htt... | I am using Custom EditText which has TextInputLayout and TextInputEditText. view_custom_edittext.xml [CODE] Here is the Code for CustomTextInputEditText.kt [CODE] I am using this class in my MainActivity layout: [CODE] I have created one test case to text this editText like below: [CODE] Now when the above line execute... | android|android-testing|android-instrumentation|android-junit|android-unit-testing | 0 | 2022-04-12T06:11:45.627Z | 2,022 | 4 | 6 | 1 | 23 | 0 | 404 | 94 | 5 | 5 | true | true | false | false | false | false | zero |
71,853,662 | Execute a JS on webView chrome console | <p>I want to execute a Js code on webView console without using the tools icon,
I have tried that code:</p>
<pre><code>btnGo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
String js = "var images = $$('img');\n" +
&quo... | I want to execute a Js code on webView console without using the tools icon, I have tried that code: [CODE] but I am getting: [CODE] Image explain: Screenshot | javascript|android-studio | 0 | 2022-04-13T07:40:06.653Z | 2,022 | 4 | 7 | 2 | 23 | 0 | 158 | 38 | 2 | 2 | true | true | false | false | false | false | zero |
71,859,586 | add cloud function to one to one flutter chat app | <p>**I build a chat app and I am trying to apply the cloud function to my app so every time user sends a message the other one receives a notification but I have a problem I send the message twice so that I can show both messages on chat screen and also when user add friend I add twice for both user **</p>
<pre><code... | **I build a chat app and I am trying to apply the cloud function to my app so every time user sends a message the other one receives a notification but I have a problem I send the message twice so that I can show both messages on chat screen and also when user add friend I add twice for both user ** [CODE] | android|firebase|flutter|google-cloud-functions | 0 | 2022-04-13T14:53:09.153Z | 2,022 | 4 | 14 | 2 | 23 | 0 | 307 | 49 | 4 | 1 | true | true | false | false | false | false | zero |
71,862,390 | Why is this code being executed when the user have not selected anything? | <p>I am trying to execute the code under the spinnerOnItemSelected listener from my adapter , when the user selects a number from the spinner, but the code is being ran as soon as the fragment is launched which is not what I want. I would like for it to run only when the user selects an item from the spinner.</p>
<pre... | I am trying to execute the code under the spinnerOnItemSelected listener from my adapter , when the user selects a number from the spinner, but the code is being ran as soon as the fragment is launched which is not what I want. I would like for it to run only when the user selects an item from the spinner. [CODE] | java|android | 0 | 2022-04-13T18:37:15.017Z | 2,022 | 4 | 18 | 2 | 23 | 0 | 314 | 73 | 2 | 1 | true | true | false | false | false | false | zero |
71,893,276 | Android - RecyclerView pass value into its own activity | <p>i want to pass data from selected recyclerview which came from firebase to the current activity textview and sum both value of the selected recyclerview - image : <a href="https://i.stack.imgur.com/Apn86.jpg" rel="nofollow noreferrer">The top 2 circle is the selected black recyclerview item, the bottom is the textv... | i want to pass data from selected recyclerview which came from firebase to the current activity textview and sum both value of the selected recyclerview - image : The top 2 circle is the selected black recyclerview item, the bottom is the textview that the one i want to change its value please enlighten me, click here ... | android|firebase-realtime-database|android-recyclerview | 0 | 2022-04-16T10:57:31.297Z | 2,022 | 4 | 10 | 5 | 23 | 0 | 332 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
71,919,901 | how do i start multiple same services to run at the same time? | <p>i need to start a service whenever the user wants, its the same service with only different input data. I tried with workmanager and using threads libraries, its important to say that is a long running task. Down below is my code</p>
<p>MainActivity</p>
<pre><code>public class MainActivity extends AppCompatActivity ... | i need to start a service whenever the user wants, its the same service with only different input data. I tried with workmanager and using threads libraries, its important to say that is a long running task. Down below is my code MainActivity [CODE] service file [CODE] i need to make to run multiple of this at the same... | java|android|android-service|android-support-library | 0 | 2022-04-19T05:02:19.273Z | 2,022 | 4 | 5 | 1 | 23 | 0 | 346 | 62 | 4 | 2 | true | true | false | false | false | false | zero |
71,942,716 | How to update appwidget after installation a new version of the application over previous version? | <p>I have an appwidget application.
After install a new version of my app over the previous one the appwidget (which was on the Home Screen) stops showing all the information - calendar events + month calendar. I see only empty widget background.
I used Intent.ACTION_MY_PACKAGE_REPLACED, trying to update the appwdget i... | I have an appwidget application. After install a new version of my app over the previous one the appwidget (which was on the Home Screen) stops showing all the information - calendar events + month calendar. I see only empty widget background. I used Intent.ACTION_MY_PACKAGE_REPLACED, trying to update the appwdget in o... | android-studio|widget|android-widget|android-appwidget|appwidgetprovider | 0 | 2022-04-20T15:54:55.090Z | 2,022 | 4 | 15 | 2 | 23 | 0 | 535 | 98 | 5 | 1 | true | true | false | false | false | false | zero |
71,950,721 | Android how to save postDelayed handler on screen rotation | <p>When I change the rotation of my device, the handler in my application will get erased. What is the best way to save a delayed handler after changing the device rotation?</p> | When I change the rotation of my device, the handler in my application will get erased. What is the best way to save a delayed handler after changing the device rotation? | java|android|kotlin|rotation|onsaveinstancestate | 0 | 2022-04-21T07:48:51.990Z | 2,022 | 4 | 7 | 3 | 23 | 0 | 170 | 58 | 5 | 0 | false | true | false | false | false | false | zero |
71,955,779 | RecyclerView does not maintain scroll position on Room database update | <p>I have two fragments, the first with a recyclerView to show all notes from a Room database and a second fragment where notes can be added, edited or deleted in the database. Navigation between the fragments is by JetPack Navigation. My problem is that after editing and saving a note in Room, when I navigate back to ... | I have two fragments, the first with a recyclerView to show all notes from a Room database and a second fragment where notes can be added, edited or deleted in the database. Navigation between the fragments is by JetPack Navigation. My problem is that after editing and saving a note in Room, when I navigate back to the... | android-fragments|android-recyclerview|navigation|android-room | 0 | 2022-04-21T13:59:19.117Z | 2,022 | 4 | 13 | 3 | 23 | 0 | 1,044 | 70 | 4 | 3 | true | true | false | false | false | false | zero |
71,968,242 | How can I implement a Fan curve-like app in Kotlin? | <p>I'm in the process of creating an android app to control a microcontroller via Bluethooth LE. So far the app is written in Python (using Kivy and Buildozer), but, since it uses native android peripherals (like BLE), it's a pain to debug with this setup.</p>
<p>The reason I'm telling you all of this is that in Kivy I... | I'm in the process of creating an android app to control a microcontroller via Bluethooth LE. So far the app is written in Python (using Kivy and Buildozer), but, since it uses native android peripherals (like BLE), it's a pain to debug with this setup. The reason I'm telling you all of this is that in Kivy I use a can... | android|kotlin|plot|graph | 0 | 2022-04-22T11:48:01.233Z | 2,022 | 4 | 11 | 4 | 23 | 0 | 865 | 51 | 4 | 0 | false | true | false | false | false | false | zero |
71,978,869 | Flutter app unable to fetch data from GCP VM(LAMP) with real andriod device | <p>First time asking on here, not a professional developer also. Might ask some really dumb questions.</p>
<p>As the title, I could not fetch data in the GCP VM instance with a real android device.
I have a flutter app, which fetches data through a PHP file on the GCP VM instance, the app uses a public domain(manage by... | First time asking on here, not a professional developer also. Might ask some really dumb questions. As the title, I could not fetch data in the GCP VM instance with a real android device. I have a flutter app, which fetches data through a PHP file on the GCP VM instance, the app uses a public domain(manage by route 53 ... | android|flutter|google-cloud-platform|lamp | 0 | 2022-04-23T10:34:55.370Z | 2,022 | 4 | 10 | 5 | 23 | 0 | 848 | 75 | 4 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.