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,328,182 | Android Studio Chipmunk - hiding properties in debugger view | <p>Having an issue with my debugger after I have installed a new Android Studio version..</p>
<p>Maybe someone knows how to remove these duplicated values from a debugger?</p>
<p>Kind regards</p>
<p><a href="https://i.stack.imgur.com/TWNAy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TWNAy.png" al... | Having an issue with my debugger after I have installed a new Android Studio version.. Maybe someone knows how to remove these duplicated values from a debugger? Kind regards | android|android-studio|kotlin|ide | 0 | 2022-05-21T09:13:08.520Z | 2,022 | 5 | 9 | 5 | 261 | 0 | 174 | 60 | 4 | 0 | false | true | false | false | false | false | zero |
72,328,266 | adb not work in android studio ,'adb' is not recognized as an internal or external command | <p>i try use adb , i put my adb in a PATH environment variable , and i run my app and navigate it to home screen ,adb work in cmd on my computer but it not work in terminal in android studio</p>
<p>in cmd it's work:<a href="https://i.stack.imgur.com/7iDTh.png" rel="nofollow noreferrer">enter image description here</a>... | i try use adb , i put my adb in a PATH environment variable , and i run my app and navigate it to home screen ,adb work in cmd on my computer but it not work in terminal in android studio in cmd it's work: enter image description here in terminal android studio: enter image description here i connect android studio to ... | android|android-studio|adb | 0 | 2022-05-21T09:25:26.373Z | 2,022 | 5 | 9 | 5 | 35 | 0 | 415 | 90 | 3 | 0 | false | true | false | false | false | false | zero |
72,328,367 | how to get the position of a click in recycler view and use in fragment to pass it to an activity | <p>my adapter program</p>
<pre><code>class MusicAdapter(private val context: Homefragment, private val musicList: ArrayList<Music>, var listener:OnItemClick? = null, ) : RecyclerView.Adapter<MusicAdapter.Musicholder>() {
class Musicholder(binding: SongviewBinding) : RecyclerView.ViewHolder(binding.root)... | my adapter program [CODE] Now i want to get the position of the musiclist clicked in recyclerview and use it in my fragment to pass it to another activity as an intent. how do get the position as when i try to get the position it only plays the default position. My fragment code [CODE] | android|kotlin|android-fragments|android-recyclerview | 0 | 2022-05-21T09:39:13.953Z | 2,022 | 5 | 9 | 5 | 75 | 1 | 286 | 97 | 4 | 2 | true | false | false | false | false | false | zero |
72,328,512 | MotionLayout seems to lose some constraints during animation | <p>I have a problem:
I have a TextView whose content is constantly changing via LiveData. This looks all right when the animation isn't executing, but when the MotionLayout starts executing, my text gets blocked a little bit.
And the constraints of my TextView and Button are packed.</p>
<p>activity:</p>
<pre class="lan... | I have a problem: I have a TextView whose content is constantly changing via LiveData. This looks all right when the animation isn't executing, but when the MotionLayout starts executing, my text gets blocked a little bit. And the constraints of my TextView and Button are packed. activity: [CODE] activity layout: [CODE... | android|viewmodel|android-constraintlayout|android-livedata|android-motionlayout | 0 | 2022-05-21T09:59:19.403Z | 2,022 | 5 | 9 | 5 | 142 | 1 | 1,164 | 60 | 5 | 4 | true | false | false | false | false | false | zero |
72,328,528 | How to call another activity by menuitem? Android Studio Error: method call expected | <p>I am completely new to Android Studio and just learned Object-oriented programming. My project requires me to build something on open-source code. I added a new menu item to a menu and want to start another activity once the user clicks the menu item with id: plot. I followed a recipe on the internet but got an erro... | I am completely new to Android Studio and just learned Object-oriented programming. My project requires me to build something on open-source code. I added a new menu item to a menu and want to start another activity once the user clicks the menu item with id: plot. I followed a recipe on the internet but got an error w... | java|android|android-studio|class|menuitem | 0 | 2022-05-21T10:02:07.543Z | 2,022 | 5 | 10 | 5 | 65 | 1 | 770 | 84 | 5 | 3 | true | false | false | false | false | false | zero |
72,328,637 | Recyclerview only shows 1 item | <p>I have the following code from my app where I am trying to retrieve expenses' items that happened today's day (dd) in the past, more than 2 times, I want to populate those items in a recyclerview.
I get the expected result but only one item at the time, the recyclerview is not showing the list as expected.</p>
<p>I ... | I have the following code from my app where I am trying to retrieve expenses' items that happened today's day (dd) in the past, more than 2 times, I want to populate those items in a recyclerview. I get the expected result but only one item at the time, the recyclerview is not showing the list as expected. I use realti... | java|android|firebase | 0 | 2022-05-21T10:17:15.387Z | 2,022 | 5 | 10 | 5 | 43 | 1 | 527 | 30 | 3 | 2 | true | false | false | false | false | false | zero |
72,328,702 | Does calling a static void method with empty body do anything? | <p>There is a Java class with just an static method with an empty body.</p>
<pre><code>package com;
public class MyClass {
public static void EmptyMethod() {
}
}
</code></pre>
<p>would calling this method in another class do anything, for example like</p>
<pre><code>public class AnotherClass
{
public final... | There is a Java class with just an static method with an empty body. [CODE] would calling this method in another class do anything, for example like [CODE] ? I saw it was there being called in various methods inside an Android project and I could not understand why. | java|android | 1 | 2022-05-21T10:28:39.853Z | 2,022 | 5 | 10 | 5 | 75 | 2 | 266 | 62 | 2 | 2 | true | false | false | false | false | false | low |
72,328,743 | How set absolute path imports as default on Android Studio? | <p>Like above, I want absolute imports every time when i import something on Android Studio. Do You know any global settings for this?
<a href="https://i.stack.imgur.com/qWsbj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qWsbj.png" alt="enter image description here" /></a></p> | Like above, I want absolute imports every time when i import something on Android Studio. Do You know any global settings for this? | flutter|android-studio | 1 | 2022-05-21T10:34:02.487Z | 2,022 | 5 | 10 | 5 | 31 | 0 | 131 | 59 | 2 | 0 | false | true | false | false | false | false | low |
72,328,760 | icon notification in statusbar in flutter | <p>I use <code>flutter_local_notification</code> for manage fcm notification in flutter.
for show icon in <code>StatusBar</code>, add logo png file in drawable and use it.</p>
<p>my image is white, when <code>StatusBar</code> is white, icon not appears.
another apps like whatsapp, notification icon color changed based ... | I use flutter_local_notification for manage fcm notification in flutter. for show icon in StatusBar , add logo png file in drawable and use it. my image is white, when StatusBar is white, icon not appears. another apps like whatsapp, notification icon color changed based Appbar color. How to solve this problem? | android|flutter|flutter-local-notification | 1 | 2022-05-21T10:35:59.937Z | 2,022 | 5 | 10 | 5 | 1,490 | 2 | 312 | 41 | 3 | 0 | false | false | false | false | false | false | low |
72,329,135 | Android Studios Searchbar Query not detecting | <p>today i have a problem in Android Studios.</p>
<p>I've tried to make a searchbar for my App. Im spliting my App in Fragments, because of the Navigation Tabs.</p>
<p>It can't detect my onQueryTextSubmit and onQueryTextChange Override's.</p>
<p>GameFragment:</p>
<p>public class GameFragment extends Fragment {</p>
<pre... | today i have a problem in Android Studios. I've tried to make a searchbar for my App. Im spliting my App in Fragments, because of the Navigation Tabs. It can't detect my onQueryTextSubmit and onQueryTextChange Override's. GameFragment: public class GameFragment extends Fragment { [CODE] } XML: [CODE] The Searchbar Fiel... | android|adapter|searchbar | -1 | 2022-05-21T11:29:30.573Z | 2,022 | 5 | 11 | 5 | 20 | 0 | 472 | 45 | 3 | 2 | true | true | false | false | false | true | negative |
72,329,233 | How to compile aosp (android-8.1.0) with armeabi-v7a support? | <p>I built AOSP (<strong>android-8.1.0_r52</strong>) then flash to <strong>nexus 5x</strong></p>
<p>BUT it doesn't support app with <strong>armeabi-v7a</strong> native library only.</p>
<pre><code>E:\Project\JniApp\app\build\outputs\apk\debug>adb shell getprop ro.product.cpu.abi
arm64-v8a
E:\Project\JniApp\app\buil... | I built AOSP ( android-8.1.0_r52 ) then flash to nexus 5x BUT it doesn't support app with armeabi-v7a native library only. [CODE] here is the error PathClassLoader doesn't find armeabi-v7a librarys [CODE] | android|android-source | 0 | 2022-05-21T11:44:04.903Z | 2,022 | 5 | 11 | 5 | 57 | 0 | 204 | 61 | 2 | 2 | true | true | false | false | false | false | zero |
72,329,250 | Apache Cordova (cordova-android) got error net::ERR_CONNECTION_REFUSED | <p>i'm trying to build a Android app with Apache Cordova, i got an error:</p>
<pre><code>Application Error
net::ERR_CONNECTION_REFUSED (http://localhost:8080/index.html)
</code></pre>
<p><a href="https://i.stack.imgur.com/7Ukqm.png" rel="nofollow noreferrer">View image here</a></p>
<p>Now I don't know what to do...</p>... | i'm trying to build a Android app with Apache Cordova, i got an error: [CODE] View image here Now I don't know what to do... My config.xml [CODE] My plugins [CODE] Apache Cordova v11.0.0 Thanks so much! | cordova|cordova-android | 1 | 2022-05-21T11:46:26.200Z | 2,022 | 5 | 11 | 5 | 215 | 0 | 202 | 70 | 2 | 3 | true | true | false | false | false | false | low |
72,329,268 | Add to Homescreen icon doesn't work, but favicon works | <p>Although Favicon works (i see my icon in Chrome browser etc) I cannot make "Add to home screen" to Android to work..I've tried many different tags but nothing..</p>
<p>Here is my code:</p>
<pre><code> <!-- https://realfavicongenerator.net/ -->
<link rel="apple-touch-icon" sizes=&q... | Although Favicon works (i see my icon in Chrome browser etc) I cannot make "Add to home screen" to Android to work..I've tried many different tags but nothing.. Here is my code: [CODE] | android|html|web|icons|favicon | 0 | 2022-05-21T11:49:55Z | -1 | -1 | -1 | -1 | 47 | 0 | 194 | 54 | 5 | 1 | true | true | false | false | false | false | zero |
72,329,292 | Android Canvas shifts drawings after drawBitmap | <p>I try to draw some rectangles on a bitmap image with canvas and surfaceview. When bitmap image is drawn, the rectangle is shifted. If I draw the rectangle to the center point of the surfaceview-coordinates are x = 492 and y = 301-rectangle is shifted to x = 588 and y = 388. But if I don't draw background, it is draw... | I try to draw some rectangles on a bitmap image with canvas and surfaceview. When bitmap image is drawn, the rectangle is shifted. If I draw the rectangle to the center point of the surfaceview-coordinates are x = 492 and y = 301-rectangle is shifted to x = 588 and y = 388. But if I don't draw background, it is drawn t... | android|canvas|android-canvas|surfaceview | 0 | 2022-05-21T11:53:48.343Z | 2,022 | 5 | 11 | 5 | 10 | 0 | 443 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
72,329,294 | How to share data from Room Database? | <p>I'm doing an app using MVVM architecture and Room database. In database is one table in which are information about tasks:</p>
<pre><code>@Entity(tableName = "task_table")
public class Task {
@PrimaryKey(autoGenerate = true)
private int id;
private final String title;
private final String description;
... | I'm doing an app using MVVM architecture and Room database. In database is one table in which are information about tasks: [CODE] In MainActivity is recyclerview where are shown tasks, it's title, description, priority, date and if task is done. What I want is share that tasks using Intent.ACTION_SEND . I tried with th... | java|android|android-intent|mvvm|android-room | 0 | 2022-05-21T11:53:54.823Z | 2,022 | 5 | 11 | 5 | 48 | 0 | 597 | 37 | 5 | 2 | true | true | false | false | false | false | zero |
72,329,296 | How to run device setup wizard on Android emulator? | <p>I want to run device setup wizard - the app that's getting run when you first boot your fresh (factory reset) device. The problem is: I want to run it on Android Emulator.</p>
<p>I've tried the following on Emulator running Android 12:</p>
<ol>
<li>Boot emulator via Android Studio wizard.</li>
<li><code>adb shell</c... | I want to run device setup wizard - the app that's getting run when you first boot your fresh (factory reset) device. The problem is: I want to run it on Android Emulator. I've tried the following on Emulator running Android 12: Boot emulator via Android Studio wizard. adb shell su Figure out what components of the wiz... | android|android-emulator|adb|avd|avd-manager | 1 | 2022-05-21T11:53:57.720Z | 2,022 | 5 | 11 | 5 | 106 | 0 | 1,248 | 51 | 5 | 1 | true | true | false | false | false | false | low |
72,329,344 | Android - How to prevent all user interaction on an activity when loading screen appears? | <p>I have a sign up activity that has a loading state.</p>
<p>This is what the activity looks like when it is not in its loading state:</p>
<p><a href="https://i.stack.imgur.com/r9D8f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r9D8f.png" alt="enter image description here" /></a></p>
<p>When the ... | I have a sign up activity that has a loading state. This is what the activity looks like when it is not in its loading state: When the activity is in its loading state, the progress bar appears: The loading state consists of a View and ProgressBar widget. The user can still interact with the activity and the button is ... | java|android|android-studio|android-layout | 0 | 2022-05-21T11:59:51.527Z | 2,022 | 5 | 11 | 5 | 55 | 2 | 851 | 89 | 4 | 2 | true | false | false | false | false | false | zero |
72,329,399 | how to save checkbox state in android | <p>I'm working on an android cooking app (using java) and the homepage has a recycler view populated with recipes which users can like (similar to FaceBook posts). The like button is a checkbox, what is the best way to save the state of the like checkbox for every recipe, so when the user signs out of the app and sign ... | I'm working on an android cooking app (using java) and the homepage has a recycler view populated with recipes which users can like (similar to FaceBook posts). The like button is a checkbox, what is the best way to save the state of the like checkbox for every recipe, so when the user signs out of the app and sign in ... | java|android|mysql|checkbox|android-volley | 1 | 2022-05-21T12:07:41.563Z | 2,022 | 5 | 12 | 5 | 44 | 1 | 494 | 37 | 5 | 0 | false | false | false | false | false | false | low |
72,329,419 | i have created a method setFragment on which i am trying to replace fragment by passing object of fragment. class | <p><strong>HomeActivity</strong></p>
<p>public class HomeActivity extends AppCompatActivity {</p>
<pre><code>BottomNavigationView bottomNavigationView;
Context context;
private OrderFragment orderFragment;
private VideoFragment videoFragment;
private GoldFragment goldFragment;
private GoOutFragment goOutFragment;
@... | HomeActivity public class HomeActivity extends AppCompatActivity { [CODE] } I have tried to pass object of an fragment class but getting error as setFragment Method Cannot be applicable to OrderFragment. as same for VideoFragment, goOutFragment and GoldFragment. | android|android-fragments | 0 | 2022-05-21T12:11:07.027Z | 2,022 | 5 | 12 | 5 | 13 | 0 | 262 | 113 | 2 | 1 | true | true | false | false | false | false | zero |
72,329,496 | Numbers font differs from text font | <p>I have TextView in xml file :</p>
<pre><code><TextView
android:id="@+id/cab_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_thin"
android:text="@string/cab1301&q... | I have TextView in xml file : [CODE] @string/cab1301 - cabinet 1301. It looks good in split mode, but when i launch my app, numbers are thinner than text, how to fix this? | android|text|fonts | 0 | 2022-05-21T12:21:41.297Z | 2,022 | 5 | 12 | 5 | 20 | 0 | 171 | 35 | 3 | 1 | true | true | false | false | false | false | zero |
72,330,009 | Fragments vs. Activities: What is a better practise: to have 2 fragments or 2 Activities in Android Studio Application | <p>I would like to know what is a better practise: to have 2 fragments or 2 Activities in Android Studio Application and the reason <strong>why</strong> ? In which case 2 fragments and in which 2 activities ?</p> | I would like to know what is a better practise: to have 2 fragments or 2 Activities in Android Studio Application and the reason why ? In which case 2 fragments and in which 2 activities ? | android-studio|android-fragments|android-fragmentactivity | 1 | 2022-05-21T13:29:43.607Z | 2,022 | 5 | 13 | 5 | 12 | 0 | 188 | 118 | 3 | 0 | false | true | false | false | false | false | low |
72,330,016 | implementation 'com.cepheuen.elegant-number-button:lib:1.0.2' into dependencies in Android studio (java ) ":show me error:" | <p>I'm getting an error when adding the following into dependencies (Module : app)</p>
<p><code>implementation'com.cepheuen.elegant-number-button:lib:1.0.2'</code></p>
<p>The error:</p>
<pre><code>Could not find com.cepheuen.elegant-number-button:lib:1.0.2.
Required by:
project :app
</code></pre> | I'm getting an error when adding the following into dependencies (Module : app) implementation'com.cepheuen.elegant-number-button:lib:1.0.2' The error: [CODE] | java|android | 0 | 2022-05-21T13:31:13.020Z | 2,022 | 5 | 13 | 5 | 130 | 0 | 158 | 123 | 2 | 1 | true | true | false | false | false | false | zero |
72,330,020 | jetpack compose can't set search bar background color to white | <p>I have a search bar with textfield when I try to set background color to white it comes with gray but I can make it to other colors only white not working if I change Textfiled to BasicTexfield it works fine but can't set the Icon top start</p>
<pre><code>@Composable
fun DoctorListScreen(
navController: NavControlle... | I have a search bar with textfield when I try to set background color to white it comes with gray but I can make it to other colors only white not working if I change Textfiled to BasicTexfield it works fine but can't set the Icon top start [CODE] how it looks like : both background and bar color is white but seems dif... | android|android-jetpack-compose | 1 | 2022-05-21T13:31:34.830Z | 2,022 | 5 | 13 | 5 | 85 | 2 | 326 | 62 | 2 | 1 | true | false | false | false | false | false | low |
72,330,094 | I don't know why this app is shutting down(because of databinding,setOnClickListener) | <pre><code>class day_1 : Fragment() {
// TODO: Rename and change types of parameters
private var param1: String? = null
private var param2: String? = null
private var _binding: FragmentDay1Binding? = null
private val binding get() = _binding!!
private var mediaPlayer: MediaPlayer? = null
override fun onCreate(savedInst... | [CODE] what is above is my code. If I click the button, application was shutting down. First, I think that Media Player is problem. but application without setOnClickListener has no problem. Please help me masters.... Is it problem that setOnClickListener is in Fragment? And Can I amend this code? or I restart project?... | android-studio|kotlin|data-binding|android-mediaplayer|onclicklistener | 0 | 2022-05-21T13:41:22.703Z | 2,022 | 5 | 13 | 5 | 39 | 1 | 393 | 85 | 5 | 1 | true | false | false | false | false | false | zero |
72,330,204 | firebase push notification is not working on app killed state in some devices (Android) | <p>firebase push notifications are not working in some vivo devices.
getting this on logcat when push is received:</p>
<p>broadcast intent callback result=cancelled forintent</p> | firebase push notifications are not working in some vivo devices. getting this on logcat when push is received: broadcast intent callback result=cancelled forintent | android|firebase|push-notification|firebase-cloud-messaging | 0 | 2022-05-21T13:55:53.397Z | 2,022 | 5 | 13 | 5 | 117 | 1 | 164 | 87 | 4 | 0 | false | false | false | false | false | false | zero |
72,330,238 | RelativeLayout with Scrollview in Android Studio | <p>I know this is common to ask but I'm confused. I have a <code>RelativeLayout</code> forms with <code>editText</code> and <code>spinner</code>, now I want to apply the <code>ScrollView</code> to scroll the data from above to bottom since I have a lot of data to be inputted. I tried putting <code>Scrollview</code> aft... | I know this is common to ask but I'm confused. I have a RelativeLayout forms with editText and spinner , now I want to apply the ScrollView to scroll the data from above to bottom since I have a lot of data to be inputted. I tried putting Scrollview after the first layout but it doesn't work. Need help Activitymain.xml... | java|android|xml|android-studio | 0 | 2022-05-21T13:58:35.983Z | 2,022 | 5 | 13 | 5 | 49 | 2 | 540 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
72,330,290 | show progress bar when fill list with Adapter in Android | <p>I am filling a ListView using an adapter and I want a ProgressBar to work when the adapter class is running, but because the function I called in that adapter class is aync, the ProgressBar disappears when the ListView is not full.</p>
<p>My Adapter</p>
<pre><code>private AndroidX.Fragment.App.Fragment _context;
... | I am filling a ListView using an adapter and I want a ProgressBar to work when the adapter class is running, but because the function I called in that adapter class is aync, the ProgressBar disappears when the ListView is not full. My Adapter [CODE] my code [CODE] Only this part of the project remains and it bothers me... | c#|android|xamarin|xamarin.android | 0 | 2022-05-21T14:05:31.977Z | 2,022 | 5 | 14 | 5 | 63 | 0 | 329 | 56 | 4 | 2 | true | true | false | false | false | false | zero |
72,330,310 | Cannot execute pendingIntent in App Widget (Android12) | <p>My widget is working and directly going to the activity I put below. But when it comes to my Android 12, when I click my widget on the home screen it only runs the default starting activity that can see from the android manifest. How can I fix this? TIA</p>
<pre><code>@Override
public void onUpdate(Context conte... | My widget is working and directly going to the activity I put below. But when it comes to my Android 12, when I click my widget on the home screen it only runs the default starting activity that can see from the android manifest. How can I fix this? TIA [CODE] | android|android-studio|android-pendingintent|android-appwidget|android-12 | 0 | 2022-05-21T14:07:59.767Z | 2,022 | 5 | 14 | 5 | 69 | 1 | 260 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
72,330,342 | What does Reusable in ReusableComposeNode mean in Jetpack Compose? | <p>In Jetpack Compose, every Layout composable emits a ReusableComposeNode. But what does Reusable mean here? Below is the code of ReusableComposeNode.</p>
<pre class="lang-kotlin prettyprint-override"><code>@Composable inline fun <T : Any, reified E : Applier<*>> ReusableComposeNode(
noinline factory: ... | In Jetpack Compose, every Layout composable emits a ReusableComposeNode. But what does Reusable mean here? Below is the code of ReusableComposeNode. [CODE] I noticed with this code that the only difference between ReusableComposeNode and ComposeNode is the way the groups are created. The KDoc of startReusableNode(), wh... | android|android-jetpack-compose | 0 | 2022-05-21T14:12:42.903Z | 2,022 | 5 | 14 | 5 | 126 | 1 | 814 | 66 | 2 | 1 | true | false | false | false | false | false | zero |
72,330,373 | App that moves circle button to random location if user clicks near circle | <p>I currently have an Android application that moves a drawn circle to a random location on the screen if I click somewhere on the screen that <strong>isn't</strong> the circle itself.</p>
<hr />
<p>My question is, how could I implement it so that this logic only gets executed when the click happens <em>relatively</em... | I currently have an Android application that moves a drawn circle to a random location on the screen if I click somewhere on the screen that isn't the circle itself. My question is, how could I implement it so that this logic only gets executed when the click happens relatively close to the circle? How close isn't stri... | java|android|geometry|click | 0 | 2022-05-21T14:16:16.450Z | 2,022 | 5 | 14 | 5 | 36 | 1 | 955 | 74 | 4 | 1 | true | false | false | false | false | false | zero |
72,330,410 | Remove MaterialDatePicker Header (Java) Solution | <p>If you want to remove NATIVE MaterialDatePicker "HEADER"</p>
<p>add this in Style.xml</p>
<pre><code> <style name="custom" parent="ThemeOverlay.MaterialComponents.MaterialCalendar">
<item name="materialCalendarHeaderLayout">
@style/Widget.AppTheme.Ma... | If you want to remove NATIVE MaterialDatePicker "HEADER" add this in Style.xml [CODE] Result Enjoy :) | java|android|materialdatepicker | 0 | 2022-05-21T14:20:38.220Z | 2,022 | 5 | 14 | 5 | 27 | 0 | 111 | 48 | 3 | 1 | true | true | false | false | false | false | zero |
72,330,477 | updating firestore ducument issue | <p>Having trouble with my Android project. i want to update a specific field in firestore data but instead of updating it adds a new ducment to the database.</p>
<p>my code:</p>
<pre><code> public async Task<bool> UpdateWallet(int Amount, string id, int type)
{
object obj = await this.databas... | Having trouble with my Android project. i want to update a specific field in firestore data but instead of updating it adds a new ducment to the database. my code: [CODE] [CODE] | c#|xamarin.android | 0 | 2022-05-21T14:31:09.493Z | 2,022 | 5 | 14 | 5 | 17 | 0 | 177 | 33 | 2 | 2 | true | true | false | false | false | false | zero |
72,330,535 | Use foreground service with Expo and React Native | <p>I am using React Native together with Expo to build an app for tracking workouts.
I want to implement a foreground service for ongoing workouts but also to keep Expo in my project.</p>
<p>I tried to use this approach: <a href="https://github.com/cristianoccazinsp/react-native-foreground-service" rel="nofollow norefe... | I am using React Native together with Expo to build an app for tracking workouts. I want to implement a foreground service for ongoing workouts but also to keep Expo in my project. I tried to use this approach: https://github.com/cristianoccazinsp/react-native-foreground-service For this, permissions are needed to be a... | react-native|expo|android-permissions|background-service|foreground-service | 1 | 2022-05-21T14:39:14.637Z | 2,022 | 5 | 14 | 5 | 191 | 0 | 740 | 49 | 5 | 2 | true | true | false | false | false | false | low |
72,330,646 | How to save the increment/decrement state? | <p>So my question is how do I save the state for the increment and decrement state for example I set a number to 10 then I decrement the number to 9. So let's say I exit the application, I want the number to save to 9 even after I exit the application. So how do I do that? Here's an example of my code.</p>
<pre><code>i... | So my question is how do I save the state for the increment and decrement state for example I set a number to 10 then I decrement the number to 9. So let's say I exit the application, I want the number to save to 9 even after I exit the application. So how do I do that? Here's an example of my code. [CODE] | android|firebase|flutter|android-studio | 0 | 2022-05-21T14:53:16.333Z | 2,022 | 5 | 14 | 5 | 67 | 1 | 307 | 42 | 4 | 1 | true | false | false | false | false | false | zero |
72,330,670 | Should I create adapter for every recyclerview? | <p>I am using diffutil for my recycler adapters and I need many recyclerview for categorization. Should I create adapter for every recyclerview? Same view, same type data, same functions, different data btw</p>
<p><a href="https://i.stack.imgur.com/fRcli.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | I am using diffutil for my recycler adapters and I need many recyclerview for categorization. Should I create adapter for every recyclerview? Same view, same type data, same functions, different data btw | android|kotlin|android-recyclerview|adapter | 2 | 2022-05-21T14:55:59.273Z | 2,022 | 5 | 14 | 5 | 186 | 1 | 203 | 47 | 4 | 0 | false | false | false | false | false | false | low |
72,330,680 | How to access adapter's holder.itemview on an activity not linked to that adapter? | <p>I have an activity named Admin and MainActivity of which I have inflate the adapter and loading data from the database using recyclerView.</p>
<p>On the adminActivity, I have a SwitchCompat.</p>
<p>What I want to do is that, whan I Switch to the "ON" position, students can click on any item on the MainActi... | I have an activity named Admin and MainActivity of which I have inflate the adapter and loading data from the database using recyclerView. On the adminActivity, I have a SwitchCompat. What I want to do is that, whan I Switch to the "ON" position, students can click on any item on the MainActivity page.. But w... | android|adapter | 0 | 2022-05-21T14:57:54.730Z | 2,022 | 5 | 14 | 5 | 29 | 1 | 625 | 82 | 2 | 0 | false | false | false | false | false | false | zero |
72,330,688 | Not loading child adapter's list | <p>So I created mvvm project in kotlin using tmdb api. I was requested to load the movies using paging 3 and for each movie load a list of tags describing all of it's genres.I tried to copy the items with the same ids from the genre list and the movies list into a new list and send it to the child's adapter but it did ... | So I created mvvm project in kotlin using tmdb api. I was requested to load the movies using paging 3 and for each movie load a list of tags describing all of it's genres.I tried to copy the items with the same ids from the genre list and the movies list into a new list and send it to the child's adapter but it did not... | android|mvvm|pagination|adapter|paging | 0 | 2022-05-21T14:59:45.107Z | 2,022 | 5 | 14 | 5 | 13 | 0 | 505 | 32 | 5 | 2 | true | true | false | false | false | false | zero |
72,330,708 | Flutter: How to prevent an container overflowing inside a padding | <h2>The Problem</h2>
<p>I have a card that contains a row of two elements, the second one being a column of two texts. One of the texts can be long, so the column-element itself can overflow.</p>
<p><a href="https://i.stack.imgur.com/UCek1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UCek1.png" al... | The Problem I have a card that contains a row of two elements, the second one being a column of two texts. One of the texts can be long, so the column-element itself can overflow. Coming from CSS, a "width: 100%" would usually be enough here. What I already tried I learned you could wrap the column with somet... | android|flutter|dart | 0 | 2022-05-21T15:02:49.557Z | 2,022 | 5 | 15 | 5 | 182 | 1 | 754 | 65 | 3 | 1 | true | false | false | false | false | false | zero |
72,330,863 | Not sure if EditText or KeyEvent are not listening or is an XML problem | <p>I'm trying to make a game but I need the user to fill in the username before jumping from Main Activity to Activity 2.
If the username is empty, itdoesn't do anything.
If the username has at least one letter, it launches second activity.
In my case it never works and I don't know what I'm doing wrong.
This is my cod... | I'm trying to make a game but I need the user to fill in the username before jumping from Main Activity to Activity 2. If the username is empty, itdoesn't do anything. If the username has at least one letter, it launches second activity. In my case it never works and I don't know what I'm doing wrong. This is my code. ... | java|android | 0 | 2022-05-21T15:20:11.837Z | 2,022 | 5 | 15 | 5 | 30 | 1 | 492 | 71 | 2 | 3 | true | false | false | false | false | false | zero |
72,330,901 | My custom view is not being shown how should I fixed it? | <p>Hello I try to add view binding in my custom view but unfortunately my custom view is not visible, every thing works fine but when I open the activity the custom view is not displayed</p>
<p>my custom view class</p>
<pre><code> class StickerView @JvmOverloads constructor(
context: Context,
attributeSet: A... | Hello I try to add view binding in my custom view but unfortunately my custom view is not visible, every thing works fine but when I open the activity the custom view is not displayed my custom view class [CODE] main activity [CODE] my customview layout item_sticker.xml [CODE] I appreciate you guys if u help me sorry f... | android|kotlin|android-custom-view|android-viewbinding | 2 | 2022-05-21T15:24:53.213Z | 2,022 | 5 | 15 | 5 | 144 | 1 | 337 | 56 | 4 | 3 | true | false | false | false | false | false | low |
72,330,938 | How exactly video chatting applications work on android | <p>I'm trying to build a video chatting application using pure android and/or open source libraries (jetpack is fine; closed-source 3rd party is not)</p>
<p>Conceptually I understand this as:</p>
<p>sending side of each party:</p>
<pre><code>VideoSource => MediaEncoder (video) => sequence of Frames
AudioSource =&... | I'm trying to build a video chatting application using pure android and/or open source libraries (jetpack is fine; closed-source 3rd party is not) Conceptually I understand this as: sending side of each party: [CODE] receiving side of each party: [CODE] (I omit topics of NAT traversal and the others, network is not a p... | android|video-streaming | 0 | 2022-05-21T15:29:50.330Z | 2,022 | 5 | 15 | 5 | 23 | 0 | 558 | 55 | 2 | 2 | true | true | false | false | false | false | zero |
72,331,004 | kotlin serialization of array | <p>I am trying to serialise a fixed-size array of a data class into a JSON string, and then decode it back into an array, the problem is I can't seem to find the correct way to deserialize it into an array object</p>
<pre class="lang-kotlin prettyprint-override"><code>object LisStyles {
@Serializable
data clas... | I am trying to serialise a fixed-size array of a data class into a JSON string, and then decode it back into an array, the problem is I can't seem to find the correct way to deserialize it into an array object [CODE] A call to serialiseData() encodes the array correctly but gives a JSON exception: Expected start of the... | android|json|kotlin|serialization | 0 | 2022-05-21T15:38:06.317Z | 2,022 | 5 | 15 | 5 | 169 | 1 | 411 | 29 | 4 | 1 | true | false | false | false | false | false | zero |
72,331,190 | my ads do not show while debugging and also while internal testing, lgcat: E/Ads: Fail to get isAdIdFakeForDebugLogging"" | <p>this is my xml code
i am trying to show the ad within a fragment
every thing work fine except for the ads
what ever i did it doesnot show , even when debuggibg using another device
also while pushing a new release with new version, it is now about 3 days "processing "
and now notifications are sent to test... | this is my xml code i am trying to show the ad within a fragment every thing work fine except for the ads what ever i did it doesnot show , even when debuggibg using another device also while pushing a new release with new version, it is now about 3 days "processing " and now notifications are sent to testers... | java|android|android-studio|admob | 0 | 2022-05-21T16:01:30.110Z | 2,022 | 5 | 16 | 5 | 26 | 0 | 411 | 121 | 4 | 2 | true | true | false | false | false | false | zero |
72,331,257 | How to create a class to call in multiple activities - Java android | <p>I would like to create a class with this method:</p>
<pre><code>int readNumber (int id){
return Integer.parseInt(((EditText)findViewById(id)).getText().toString());
}
</code></pre>
<p>so, i can call it in my activities when needed.
Is that possible?
When i create a new java file with the method above, i get the ... | I would like to create a class with this method: [CODE] so, i can call it in my activities when needed. Is that possible? When i create a new java file with the method above, i get the error for the findViewById(id) . Thanks a lot | java|android|class | 0 | 2022-05-21T16:10:34.750Z | 2,022 | 5 | 16 | 5 | 20 | 0 | 230 | 67 | 3 | 1 | true | true | false | false | false | false | zero |
72,331,300 | Json file is not serialized properly | <p>I'm trying to get data from API. My app crashes and gives me this message:</p>
<blockquote>
<p>kotlinx.serialization.json.internal.JsonDecodingException: Expected
start of the array '[', but had 'EOF' instead
JSON input: .....f2afd0-71e8-5229-9ac9-17d602cd35e4"}],"meta":{"hits":3934}}}</p>
<... | I'm trying to get data from API. My app crashes and gives me this message: kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the array '[', but had 'EOF' instead JSON input: .....f2afd0-71e8-5229-9ac9-17d602cd35e4"}],"meta":{"hits":3934}}} I'm facing this error since ... | android|json|kotlin|serialization | 0 | 2022-05-21T16:17:12Z | -1 | -1 | -1 | -1 | 50 | 2 | 517 | 36 | 4 | 3 | true | false | false | false | false | false | zero |
72,331,371 | Is it possible to query a root URI from an app? | <p>As the title says, Is it possible to query a root URI from an app. As in the following snippet from the onActivityResult of a StorageVolume.OpenDocumentTreeIntent:</p>
<pre><code>@Override
public void onActivityResult(ActivityResult result) {
if (result.getResultCode() == Activity.RESULT_OK) {
Intent d... | As the title says, Is it possible to query a root URI from an app. As in the following snippet from the onActivityResult of a StorageVolume.OpenDocumentTreeIntent: [CODE] This will crash with: [CODE] I can read and write files to the tree URI without any permission issue, but I can't query the root. I want to be able t... | android|android-contentresolver | 0 | 2022-05-21T16:25:42.473Z | 2,022 | 5 | 16 | 5 | 60 | 0 | 469 | 47 | 2 | 2 | true | true | false | false | false | false | zero |
72,331,393 | How to build animations with 3d objects in JetpackCompose? | <p>I want to build background animation like in IOS default weather app. As i know, in ios used <code>CAEmitterLayer</code> for this purposes. Does android have a similar library for Jetpack Compose?
I don't think placing video in the background is a good idea.</p>
<hr />
<p>IOS Weather app example:</p>
<p><a href="htt... | I want to build background animation like in IOS default weather app. As i know, in ios used CAEmitterLayer for this purposes. Does android have a similar library for Jetpack Compose? I don't think placing video in the background is a good idea. IOS Weather app example: | android|android-jetpack-compose | 1 | 2022-05-21T16:29:17.983Z | 2,022 | 5 | 16 | 5 | 129 | 0 | 270 | 58 | 2 | 0 | false | true | false | false | false | false | low |
72,331,425 | Deleting images obtained by ActivityResultContracts.GetMultipleContents on API level < 30 | <p>I'm finding myself incapable of deleting images, the Uri's of which are being obtained via <code>ActivityResultContracts.GetMultipleContents()</code> on API level < 29. As opposed to using the deprecated way of making the user select images via</p>
<pre><code>startActivityForResult(
Intent(Intent.ACTI... | I'm finding myself incapable of deleting images, the Uri's of which are being obtained via ActivityResultContracts.GetMultipleContents() on API level < 29. As opposed to using the deprecated way of making the user select images via [CODE] , ActivityResultContracts.GetMultipleContents() invokes this more generic file ex... | android|kotlin | 0 | 2022-05-21T16:33:09.667Z | 2,022 | 5 | 16 | 5 | 99 | 0 | 1,343 | 89 | 2 | 3 | true | true | false | false | false | false | zero |
72,331,529 | How to execute ADB inside Android app with Flutter? | <p>It possible to run ADB inside android flutter application without root.</p>
<p>There is an application that did it and it works as expected:<br />
<a href="https://github.com/nightmare-space/adb_tool" rel="nofollow noreferrer">https://github.com/nightmare-space/adb_tool</a></p>
<p>It is using ADB binary compiled for... | It possible to run ADB inside android flutter application without root. There is an application that did it and it works as expected: https://github.com/nightmare-space/adb_tool It is using ADB binary compiled for Android like we can see here: https://github.com/nightmare-space/adb_tool/tree/main/assets/android However... | android|flutter|dart|adb | 1 | 2022-05-21T16:47:43.130Z | 2,022 | 5 | 16 | 5 | 343 | 0 | 490 | 51 | 4 | 1 | true | true | false | false | false | false | low |
72,331,544 | Exoplayer next and previous buttons get hidden when portrait video is played in landscape mode | <p>A part of my app shows the videos in the phone and provides video playing functionality. This is the exoplayer layout implementation.</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="... | A part of my app shows the videos in the phone and provides video playing functionality. This is the exoplayer layout implementation. [CODE] Everything works fine, except that when autorotate is on and a video which is taken in portrait mode is played in landscape mode, the NEXT and PREVIOUS buttons are not shown. Like... | android|exoplayer | 1 | 2022-05-21T16:50:32.553Z | 2,022 | 5 | 16 | 5 | 82 | 0 | 906 | 94 | 2 | 2 | true | true | false | false | false | false | low |
72,331,602 | Android Studio Chipmunk removes all resources. Why? | <p>I use the latest version of Android Studio and faced an issue with removing unused resources under <code>Right click->Refactor->Remove Unused Resources</code>.</p>
<p>The issue is that it removes almost all resources when I only want to remove unused ones.</p>
<p>Why does the Android Studio removes used resour... | I use the latest version of Android Studio and faced an issue with removing unused resources under Right click->Refactor->Remove Unused Resources . The issue is that it removes almost all resources when I only want to remove unused ones. Why does the Android Studio removes used resources too? | android-studio | 1 | 2022-05-21T16:58:33.347Z | 2,022 | 5 | 16 | 5 | 203 | 0 | 293 | 51 | 1 | 0 | false | true | false | false | false | false | low |
72,331,712 | Xamarin Forms, Android 11+, Access music folder in root | <p>Hi i searched and searched.</p>
<p>How do i access the music folder in android? <strong>Not</strong> the music folder of the app.</p>
<p>Android.OS is not available.</p>
<p>I even tried System.IO.Directory.GetFiles("/"); no permissions.</p>
<p>I checked every permission in the manifest that states storage ... | Hi i searched and searched. How do i access the music folder in android? Not the music folder of the app. Android.OS is not available. I even tried System.IO.Directory.GetFiles("/"); no permissions. I checked every permission in the manifest that states storage or read. I need the filepath to each audio file ... | xamarin.forms|xamarin.android|mp3|android-permissions | 0 | 2022-05-21T17:11:26.540Z | 2,022 | 5 | 17 | 5 | 164 | 1 | 578 | 55 | 4 | 0 | false | false | false | false | false | false | zero |
72,331,756 | How to draw ticket shape in Jetpack Compose | <p>I would like to draw the ticket shape in the picture using Path in Jetpack Compose</p>
<p>Path().apply</p>
<p>Help is appreciated.
<a href="https://i.stack.imgur.com/gUGUI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gUGUI.png" alt="enter image description here" /></a></p> | I would like to draw the ticket shape in the picture using Path in Jetpack Compose Path().apply Help is appreciated. | android-jetpack-compose | -1 | 2022-05-21T17:17:57.247Z | 2,022 | 5 | 17 | 5 | 178 | 1 | 116 | 43 | 1 | 0 | false | false | false | false | false | true | negative |
72,331,923 | How do we send an SMTP email using AWS from my JAVA (Android studio) app | <p>I suspect it is my transport.connect(HOST, SMTP_USERNAME, SMTP_PASSWORD); line. I think there is no connection established at all. My code currently looks like this:</p>
<pre><code>private void sendEmail(String messegeToSend) {
final String FROM = "joe.blogs@mydomain.com";
final String FROMNAME = ... | I suspect it is my transport.connect(HOST, SMTP_USERNAME, SMTP_PASSWORD); line. I think there is no connection established at all. My code currently looks like this: [CODE] At the end of it all, I want to finally send an email from within this app. I was previously using Google's Gmail SMTP but it is to be decommission... | java|android|amazon-web-services|smtp|gmail-imap | 0 | 2022-05-21T17:41:49.027Z | 2,022 | 5 | 17 | 5 | 32 | 0 | 389 | 72 | 5 | 1 | true | true | false | false | false | false | zero |
72,331,953 | How to set CountDownInterval to shorttime | <p>Here I want to countdowntime every 1000ms then divide 20ms. but that is cant work properly. the program only can count for 8 time. actually,if I divide 1000ms/20ms program can count for 50 time. so how to fix this</p>
<pre><code>new CountDownTimer(1000, 20) {
public void onTick(long millisUntilFinished) {
... | Here I want to countdowntime every 1000ms then divide 20ms. but that is cant work properly. the program only can count for 8 time. actually,if I divide 1000ms/20ms program can count for 50 time. so how to fix this [CODE] Result | java|android | 0 | 2022-05-21T17:46:13.217Z | 2,022 | 5 | 17 | 5 | 19 | 0 | 227 | 41 | 2 | 1 | true | true | false | false | false | false | zero |
72,331,990 | How can I limit the number of devices connected to ESP32 (with mac filter) ESP32 itself is a Wifi router | <p>I want to use the mac address filter to limit the number of devices connected to the ESP32. What can I do to do this?</p> | I want to use the mac address filter to limit the number of devices connected to the ESP32. What can I do to do this? | android|security|arduino|mac-address|arduino-esp32 | 0 | 2022-05-21T17:52:36.503Z | 2,022 | 5 | 17 | 5 | 40 | 0 | 117 | 104 | 5 | 0 | false | true | false | false | false | false | zero |
72,332,003 | Recyclerview item deleting not working properly | <p>I have a <strong>Recyclerview</strong> that I'm trying to delete items inside it's adapter. I have a trouble here: Items are deleting very well but some <strong>Views</strong> that belong to deleted items are appearing on remained items(Overlapping)!
Here is my code:</p>
<pre><code>int position = holder.getAbsoluteA... | I have a Recyclerview that I'm trying to delete items inside it's adapter. I have a trouble here: Items are deleting very well but some Views that belong to deleted items are appearing on remained items(Overlapping)! Here is my code: [CODE] | java|android|android-recyclerview | 0 | 2022-05-21T17:54:18.007Z | 2,022 | 5 | 17 | 5 | 23 | 0 | 240 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
72,332,084 | how to solve at com.example.dbdemo.MainActivity$2.onClick(MainActivity.java:61)? | <p>Please help me out. I have tried everything but am unable to solve this. The app keeps crashing Because of activity main:61 what is wrong with the code?</p>
<p><strong>MainActivity.java</strong></p>
<pre><code>package com.example.dbdemo;
import android.content.Intent;
import android.os.Bundle;
import android.view.V... | Please help me out. I have tried everything but am unable to solve this. The app keeps crashing Because of activity main:61 what is wrong with the code? MainActivity.java [CODE] activity_main.xml for ActivityMain.java activity_main.xml [CODE] Here is RegistrationActivity that is intended to show when I click on on Regi... | android|android-studio | -1 | 2022-05-21T18:07:02.657Z | 2,022 | 5 | 18 | 5 | 136 | 1 | 527 | 80 | 2 | 4 | true | false | false | false | false | true | negative |
72,332,149 | Apache poi 5.2.2 - XWPFRun setText() error | <p>I used Apache poi 4.1.2 and everything worked well .
I tried the same code with the new version of Apache poi (5.2.2)
and the error occurs when I use run.setText()</p>
<pre class="lang-kotlin prettyprint-override"><code>fun function(){
val document = XWPFDocument()
val paragraph = document!!.createParagraph()
... | I used Apache poi 4.1.2 and everything worked well . I tried the same code with the new version of Apache poi (5.2.2) and the error occurs when I use run.setText() [CODE] and i get this error: [CODE] this is the single dependency i use build.gradle(app): [CODE] tried with/without these and the error didn't solve [CODE]... | android|apache-poi|xwpf | 0 | 2022-05-21T18:14:26.940Z | 2,022 | 5 | 18 | 5 | 297 | 0 | 360 | 42 | 3 | 5 | true | true | false | false | false | false | zero |
72,332,180 | Different userid problem in Google play services plugin and firebase email authentication in Unity | <p>i am using google play and firebase email authentication.
i want to player can be used to play services or emailpassword authentication. if a user uses play services then no need to firebase email authenticatin. When a user singning in with play services i hide the loginpage and load userdata from firebase and user ... | i am using google play and firebase email authentication. i want to player can be used to play services or emailpassword authentication. if a user uses play services then no need to firebase email authenticatin. When a user singning in with play services i hide the loginpage and load userdata from firebase and user can... | android|firebase|unity3d | 0 | 2022-05-21T18:17:50.033Z | 2,022 | 5 | 18 | 5 | 27 | 0 | 873 | 98 | 3 | 0 | false | true | false | false | false | false | zero |
72,332,236 | Pagination is not working after refresh() is called. [Paging 3 Library] | <p>I'm currently working with paging 3 library. I'm able to populate the list and pagination is working as expected. But when I call <em>adapter.refresh()</em> method twice by using pull to refresh, the pagination stops working.</p>
<p>I have gone through the documentation and read many articles but no success yet.</p>... | I'm currently working with paging 3 library. I'm able to populate the list and pagination is working as expected. But when I call adapter.refresh() method twice by using pull to refresh, the pagination stops working. I have gone through the documentation and read many articles but no success yet. One more thing I'm not... | android|android-paging|android-paging-3 | 3 | 2022-05-21T18:26:02.580Z | 2,022 | 5 | 18 | 5 | 485 | 1 | 572 | 71 | 3 | 2 | true | false | false | false | false | false | low |
72,332,346 | How to make TextView appear when app is run? | <p>My text views aren't appearing when running the app. I've tried adjusting the visibility and elevation. I've looked online and none of the answers worked.
How do I fix this? (Java)</p>
<p><a href="https://i.stack.imgur.com/VfqHO.png" rel="nofollow noreferrer">This is the render in android studio</a></p>
<p><a href="... | My text views aren't appearing when running the app. I've tried adjusting the visibility and elevation. I've looked online and none of the answers worked. How do I fix this? (Java) This is the render in android studio This is the emulator, my physical phone shows the same thing activity_main.xml [CODE] | java|android|textview | 0 | 2022-05-21T18:44:01.423Z | 2,022 | 5 | 18 | 5 | 28 | 0 | 303 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
72,332,371 | Is there a way to get the text of a list element based on which element is clicked? | <p>I am trying to have a different activity load based on which element of a TextView list is clicked.
Is there a way to get the text or some ID, or a method I can call for that?</p>
<p>I have two TextView lists that obtain a String Array values using Intent.putStringArrayListExtra and Intent.getStringArrayExtra. The c... | I am trying to have a different activity load based on which element of a TextView list is clicked. Is there a way to get the text or some ID, or a method I can call for that? I have two TextView lists that obtain a String Array values using Intent.putStringArrayListExtra and Intent.getStringArrayExtra. The code should... | java|android-studio | 0 | 2022-05-21T18:47:22.200Z | 2,022 | 5 | 18 | 5 | 19 | 0 | 471 | 83 | 2 | 2 | true | true | false | false | false | false | zero |
72,332,539 | Javascript async functions doesn't work in android chrome from js in url bar | <p>I made a simple script to run in my android chrome. It comes that there are 2 scenarios working differently:</p>
<p>first one <code>javascript:(alert("try"))</code> works with no problems</p>
<p>second one <code>javascript:(async function test(){alert("try")};test())</code> does NOT work</p>
<p>o... | I made a simple script to run in my android chrome. It comes that there are 2 scenarios working differently: first one javascript:(alert("try")) works with no problems second one javascript:(async function test(){alert("try")};test()) does NOT work obv it's not what i am trying to do but in my desir... | javascript|android|google-chrome | 0 | 2022-05-21T19:11:17.117Z | 2,022 | 5 | 19 | 5 | 91 | 1 | 1,101 | 76 | 3 | 1 | true | false | false | false | false | false | zero |
72,332,557 | com.google.gms.google-services stops my geofencing | <p>I have such a problem I can't figure out how to solve it. I have a task to make geofencing + firebase token. Geofencing works well even in the background, but if I add com.google.gms.google-services it stops my geofencing in the background, I tried different versions but nothing works. Maybe someone had the same pro... | I have such a problem I can't figure out how to solve it. I have a task to make geofencing + firebase token. Geofencing works well even in the background, but if I add com.google.gms.google-services it stops my geofencing in the background, I tried different versions but nothing works. Maybe someone had the same proble... | android|google-maps|geofencing | 0 | 2022-05-21T19:14:06.057Z | 2,022 | 5 | 19 | 5 | 55 | 0 | 385 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
72,332,646 | Multi ImageView e EditText Upload via Parse Android | <p>I'm trying to register multiple products at once with dynamic layout, when it's in the single registration option of a product it works normally, but when it's the multiple option it doesn't load all items, can someone help me please
<a href="https://i.stack.imgur.com/Lk8fw.jpg" rel="nofollow noreferrer">Imagem do L... | I'm trying to register multiple products at once with dynamic layout, when it's in the single registration option of a product it works normally, but when it's the multiple option it doesn't load all items, can someone help me please Imagem do Layout [CODE] | java|android|parse-platform | 0 | 2022-05-21T19:26:50.813Z | 2,022 | 5 | 19 | 5 | 31 | 0 | 257 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
72,332,649 | Notification is not appearing at particular time although time is getting add correctly | <p>These are in on create:</p>
<pre><code>Calendar c=Calendar.getInstance();
c.set(Calendar.HOUR_OF_DAY,hour);
c.set(Calendar.MINUTE,minute);
c.set(Calendar.SECOND,0);
updateTimeText(c);
startAlarm(c);
private void updateTimeText(Calendar c... | These are in on create: [CODE] Firstly it was not taking the value of flag so i have added (if BUild version code [CODE] ALret Reciever Class [CODE] Notification Helper Class: [CODE] } I am taking the time from the user, the time is getting selected properly. I have shown the time via toast its giving correct output. B... | android|background|android-notifications|alarmmanager|android-alarms | 0 | 2022-05-21T19:27:19.260Z | 2,022 | 5 | 19 | 5 | 16 | 0 | 363 | 87 | 5 | 4 | true | true | false | false | false | false | zero |
72,332,738 | Room database query for several Entities | <p>Could you please help me? I try to get data from TMDB via Retrofit2 to Room database and display it in Recyclerview. I make 3 api calls to get data about popular movie id/poster/overview/title/genres, with the second call I get movie duration by movie id, and with the 3rd call I get movie cast by movie id.</p>
<pre>... | Could you please help me? I try to get data from TMDB via Retrofit2 to Room database and display it in Recyclerview. I make 3 api calls to get data about popular movie id/poster/overview/title/genres, with the second call I get movie duration by movie id, and with the 3rd call I get movie cast by movie id. [CODE] And I... | android|kotlin|retrofit|android-room|dao | 0 | 2022-05-21T19:44:18.620Z | 2,022 | 5 | 19 | 5 | 109 | 1 | 840 | 40 | 5 | 4 | true | false | false | false | false | false | zero |
72,332,952 | Android Studio: a picture is not displaying in the device but it does in the design | <p>I've added a sample picture into my app but it doesn't show on the device.
What's wrong ?</p>
<p><a href="https://i.stack.imgur.com/QGg49.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QGg49.jpg" alt="enter image description here" /></a></p> | I've added a sample picture into my app but it doesn't show on the device. What's wrong ? | android|image|android-studio | 1 | 2022-05-21T20:19:38.567Z | 2,022 | 5 | 20 | 5 | 144 | 1 | 89 | 83 | 3 | 0 | false | false | false | false | false | false | low |
72,332,981 | problem with displaying graph points in MPAndroidChart | <p>I use MPAndroidChart to draw geometric shapes and for some reason some points that belong to a circle are not drawn. what could this be related to?</p>
<pre><code> ArrayList<ILineDataSet> dataSets = new ArrayList();
for (int i = 0; i < fig.size(); i++) {
LineDataSet dataset = ... | I use MPAndroidChart to draw geometric shapes and for some reason some points that belong to a circle are not drawn. what could this be related to? [CODE] the part of the code where I get the points for the circle: [CODE] enter image description here | java|android-studio | 0 | 2022-05-21T20:22:54.143Z | 2,022 | 5 | 20 | 5 | 20 | 1 | 250 | 54 | 2 | 2 | true | false | false | false | false | false | zero |
72,333,078 | WearOS - Is there a way to collect raw data from ECG sensor? | <p>I was hoping WearOS HealthServices provide a way to fetch raw ECG samples, but ECG isn't among MeasureClient's supported DataTypes. Is there another way to obtain these readings?</p>
<p>GalaxyWatch4 contains "BioActive" sensor set that has electrodes for acquiring RA-LA voltage difference, so I'm wondering... | I was hoping WearOS HealthServices provide a way to fetch raw ECG samples, but ECG isn't among MeasureClient's supported DataTypes. Is there another way to obtain these readings? GalaxyWatch4 contains "BioActive" sensor set that has electrodes for acquiring RA-LA voltage difference, so I'm wondering how to ac... | android|wear-os|samsung-mobile | 2 | 2022-05-21T20:39:22.813Z | 2,022 | 5 | 20 | 5 | 161 | 1 | 413 | 60 | 3 | 0 | false | false | false | false | false | false | low |
72,333,148 | Elegant Number Button in android studio implementation | <p>i have problem in this library 'com.cepheuen.elegant-number-button:lib:1.0.2'
and someome told me:</p>
<p>That library has not been updated in a few years.</p>
<p>there is a library can i use it , to use the elegant number button in (android studio with java)</p>
<p>please help !!!!</p> | i have problem in this library 'com.cepheuen.elegant-number-button:lib:1.0.2' and someome told me: That library has not been updated in a few years. there is a library can i use it , to use the elegant number button in (android studio with java) please help !!!! | java|android | 0 | 2022-05-21T20:53:23.777Z | 2,022 | 5 | 20 | 5 | 83 | 0 | 262 | 54 | 2 | 0 | false | true | false | false | false | false | zero |
72,333,185 | check if url available on Android | <p>I have URL like <a href="http://www.YourId.com" rel="nofollow noreferrer">www.YourId.com</a>. I need to check if the URL exists or not in my android app and use the response code (200) to enable a button/information. Any suggest?</p> | I have URL like www.YourId.com . I need to check if the URL exists or not in my android app and use the response code (200) to enable a button/information. Any suggest? | android|url | 0 | 2022-05-21T21:01:34.080Z | 2,022 | 5 | 21 | 5 | 8 | 0 | 168 | 33 | 2 | 0 | false | true | false | false | false | false | zero |
72,333,216 | Android bluetoothLeScanner doesn't stop scanning for devices | <p>I am trying to develope an app, which needs to scan for BLE Advertisement packets. I am receiving packets from nearby devices, but I can't stop the scan.</p>
<p>A similar question was already posted here: <a href="https://stackoverflow.com/questions/41955768/bluetoothadapter-wont-stop-scanning-for-ble-devices">Bluet... | I am trying to develope an app, which needs to scan for BLE Advertisement packets. I am receiving packets from nearby devices, but I can't stop the scan. A similar question was already posted here: BluetoothAdapter won't stop scanning for BLE devices , but the answers don't seem to agree on eachother and suggested ... | android|kotlin|bluetoothlescanner | 0 | 2022-05-21T21:07:28.397Z | 2,022 | 5 | 21 | 5 | 88 | 0 | 786 | 60 | 3 | 2 | true | true | false | false | false | false | zero |
72,333,429 | Translation editor android | <p>I am using translation editor, and to use the translation I have created, I use in the xml @string/example_01.</p>
<p>But how can I use it in the activity like this example?</p>
<p><code> progressDialog.setTitle("@string/PleaseWait")</code></p> | I am using translation editor, and to use the translation I have created, I use in the xml @string/example_01. But how can I use it in the activity like this example? progressDialog.setTitle("@string/PleaseWait") | android|string|kotlin|translation | 0 | 2022-05-21T21:46:42.293Z | 2,022 | 5 | 21 | 5 | 35 | 1 | 222 | 26 | 4 | 0 | false | false | false | false | false | false | zero |
72,333,474 | FLAG_ACTIVITY_NEW_TASK not working in API 31? | <p>I'm upgrading my app target SDK from API 30 to API 31.
I have an ever-displayed notification during the execution of my app. This notification when clicked, opens the app if it is in background. The ContentIntent of my Notification triggers the execution of:</p>
<pre><code>...
Intent myIntent = new Intent(context, M... | I'm upgrading my app target SDK from API 30 to API 31. I have an ever-displayed notification during the execution of my app. This notification when clicked, opens the app if it is in background. The ContentIntent of my Notification triggers the execution of: [CODE] So,this code works as expected on my app that targets ... | android|android-intent | 2 | 2022-05-21T21:54:05.723Z | 2,022 | 5 | 21 | 5 | 313 | 1 | 666 | 45 | 2 | 1 | true | false | false | false | false | false | low |
72,333,528 | Auto Sliding In ViewPager2 | <p>I have a View Pager2 To hold my on boarding screens
The current screens change only when a user manually slides it.
I am trying to achieve a functionality where it auto slides ever 2 seconds and also the user has the option to manually slide.</p>
<p>The code of my View Pager2 Adapter is :</p>
<pre><code>class ViewPa... | I have a View Pager2 To hold my on boarding screens The current screens change only when a user manually slides it. I am trying to achieve a functionality where it auto slides ever 2 seconds and also the user has the option to manually slide. The code of my View Pager2 Adapter is : [CODE] How can I Achieve it in Kotlin... | kotlin|android-viewpager2 | 0 | 2022-05-21T22:04:28.693Z | 2,022 | 5 | 22 | 5 | 64 | 0 | 321 | 26 | 2 | 1 | true | true | false | false | false | false | zero |
72,333,602 | Where to write the logic to upload FCM token or to subscribe to any topic while using FCM service with Firebase? | <p>I am new to flutter and Firebase. I have registered my android app with firebase. My final goal is to send notifications to all the users automatically with a cloud function. So far, I know either I need to store the list of FCM tokens of all the users or subscribe them to perticular topic. I was thinking of going w... | I am new to flutter and Firebase. I have registered my android app with firebase. My final goal is to send notifications to all the users automatically with a cloud function. So far, I know either I need to store the list of FCM tokens of all the users or subscribe them to perticular topic. I was thinking of going with... | android|firebase|flutter|firebase-cloud-messaging | 1 | 2022-05-21T22:19:29.083Z | 2,022 | 5 | 22 | 5 | 146 | 1 | 786 | 112 | 4 | 0 | false | false | false | false | false | false | low |
72,333,713 | react native android release apk navigation error | <pre><code> const OnSignInPressed = async () => {
const formData={email,password}
const res = await loginUser(formData);
// await storeToken(res.data.token)
ConstantId.accessToken = res.data.token;
console.log("logtoken",res.data.token)
... | [CODE] i am able to move to home screen after hitting signin in debug mode but in release apk i installed on my phone i am able to log the token from so the response from backend is perfect the only problem is i am unable to navigate to homescreen | android|reactjs|react-native|react-navigation|release-apk | 0 | 2022-05-21T22:46:58.120Z | 2,022 | 5 | 22 | 5 | 43 | 0 | 247 | 49 | 5 | 1 | true | true | false | false | false | false | zero |
72,333,873 | Problem Implement Update UI with LiveData, Retrofit, Coroutine on Recyclerview : adapter Recyclerview not update | <p>I'm newbie use Kotlin on my dev apps android,
and now, I on step learn to implement Update UI with LiveData, Retrofit, Coroutine on Recyclerview. The My Apps:</p>
<pre><code>MainActivity > MainFragment with 3 Tab fragment > HomeFragment, DashboardFragment, and SettingsFragment
</code></pre>
<p>I call function ... | I'm newbie use Kotlin on my dev apps android, and now, I on step learn to implement Update UI with LiveData, Retrofit, Coroutine on Recyclerview. The My Apps: [CODE] I call function to get data from server on onCreateView HomeFragment, and observe this with show shimmer data on my Recylerview when is loading, try updat... | android|kotlin|android-recyclerview|kotlin-coroutines|mutablelivedata | 1 | 2022-05-21T23:32:01.593Z | 2,022 | 5 | 23 | 5 | 221 | 1 | 890 | 112 | 5 | 4 | true | false | false | false | false | false | low |
72,334,008 | Can unpublished app be removed from Google Play Console? | <p>Can an unpublished app be removed from the Google Play Console if it violates a policy? I have 3 unpublished apps that I don't want to update anymore</p> | Can an unpublished app be removed from the Google Play Console if it violates a policy? I have 3 unpublished apps that I don't want to update anymore | android | 0 | 2022-05-22T00:14:12.523Z | 2,022 | 5 | 0 | 6 | 27 | 0 | 149 | 56 | 1 | 0 | false | true | false | false | false | false | zero |
72,334,051 | Android TV, Get callback when remote hover on Items | <p>I'm attempting to obtain a call back when an item hovers over. Managed workflow using Android in Expo. Is there a method to obtain a callback when the item is hovered using the remote control on the TV?</p> | I'm attempting to obtain a call back when an item hovers over. Managed workflow using Android in Expo. Is there a method to obtain a callback when the item is hovered using the remote control on the TV? | react-native|expo|android-tv | 0 | 2022-05-22T00:30:04.797Z | 2,022 | 5 | 0 | 6 | 78 | 0 | 202 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
72,334,154 | Android recyclerview does not show any data | <p>I'm using a template and I replaced the placeholder data with a Retrofit 2 request that parses a JSON file of the data from an URL and puts it into an object list. I ran into a problem where my retrofit call gets executed and returns items = 0 at first, then the code executes further ahead using the value <em>items=... | I'm using a template and I replaced the placeholder data with a Retrofit 2 request that parses a JSON file of the data from an URL and puts it into an object list. I ran into a problem where my retrofit call gets executed and returns items = 0 at first, then the code executes further ahead using the value items=0 and a... | java|android|android-recyclerview|retrofit2|android-adapter | 0 | 2022-05-22T01:04:57.783Z | 2,022 | 5 | 1 | 6 | 49 | 1 | 617 | 43 | 5 | 3 | true | false | false | false | false | false | zero |
72,334,238 | How to implement Glium's Backend for Android's SurfaceTexture (Render with Rust into SurfaceTexture) | <p>Rust's <a href="https://github.com/glium/glium" rel="nofollow noreferrer">glium</a> lib is a nice OpenGL wrapper that facilitate slots of stuff. In order to implement a new backend for it, you must implement <a href="https://github.com/glium/glium/blob/cacb970c8ed2e45a6f98d12bd7fcc03748b0e122/src/backend/mod.rs#L36"... | Rust's glium lib is a nice OpenGL wrapper that facilitate slots of stuff. In order to implement a new backend for it, you must implement https://github.com/glium/glium/blob/cacb970c8ed2e45a6f98d12bd7fcc03748b0e122/src/backend/mod.rs#L36 I want to implement Android's SurfaceTexture as a Backend Looks like I need to impl... | android|rust|opengl-es|egl|glium | 1 | 2022-05-22T01:30:55.127Z | 2,022 | 5 | 1 | 6 | 166 | 1 | 1,578 | 100 | 5 | 0 | false | false | false | false | false | false | low |
72,334,362 | Is there a way for a raspberry pi pico to pretend it is a gyro that can be used on an android phone | <p>I want my raspberry pi pico to fake steps. the app i am using doesn't require GPS. i haven't found any ways to do this. all i would want to do is send something like: z+10,z-10. thanks for help</p> | I want my raspberry pi pico to fake steps. the app i am using doesn't require GPS. i haven't found any ways to do this. all i would want to do is send something like: z+10,z-10. thanks for help | android|raspberry-pi-pico | 0 | 2022-05-22T02:17:30.697Z | 2,022 | 5 | 2 | 6 | 15 | 0 | 193 | 99 | 2 | 0 | false | true | false | false | false | false | zero |
72,334,654 | Animation Is Interfering with Other View's Visibility Change in Android | <p>I have two views in an android studio program, one that holds a custom drawable and a black view that overlays it. The point of the overlaying view is to transition from clear to opaque at need, revealing or hiding the view underneath in a nice animation effect. However, there are times where I just want to hide the... | I have two views in an android studio program, one that holds a custom drawable and a black view that overlays it. The point of the overlaying view is to transition from clear to opaque at need, revealing or hiding the view underneath in a nice animation effect. However, there are times where I just want to hide the vi... | java|android|animation|visibility | 0 | 2022-05-22T03:42:02.990Z | 2,022 | 5 | 3 | 6 | 21 | 0 | 1,354 | 71 | 4 | 1 | true | true | false | false | false | false | zero |
72,334,686 | 1. My Location services on my phone didn't turn on even I allowed the permission. 2. Asking permissions only once, 3. I'm getting null values | <p>I am a beginner and I'm trying to create an app where I can get my device current location and display latitude, longtitude, and accuracy on my app. I followed a youtube tutorial regarding this but everything doesn't work fine.</p>
<ol>
<li>My Location services on my phone didn't turn on even I allowed the permissio... | I am a beginner and I'm trying to create an app where I can get my device current location and display latitude, longtitude, and accuracy on my app. I followed a youtube tutorial regarding this but everything doesn't work fine. My Location services on my phone didn't turn on even I allowed the permission. Asking permis... | java|android|gps|android-permissions | 0 | 2022-05-22T03:51:08.053Z | 2,022 | 5 | 3 | 6 | 28 | 0 | 513 | 141 | 4 | 4 | true | true | false | false | false | false | zero |
72,334,730 | Is it possible to force Android to redirect web endpoints system wide? | <p>I was wondering if it is possible to redirect any "url" elements on Android for the entire system (including non browser apps), which could both be used for something like parental controls or pranks. Could be any alternative, including apps, system configurations or root-only solutions.
For example, when ... | I was wondering if it is possible to redirect any "url" elements on Android for the entire system (including non browser apps), which could both be used for something like parental controls or pranks. Could be any alternative, including apps, system configurations or root-only solutions. For example, when you... | android|redirect|networking|forwarding | 0 | 2022-05-22T04:06:44.730Z | 2,022 | 5 | 4 | 6 | 13 | 0 | 618 | 70 | 4 | 0 | false | true | false | false | false | false | zero |
72,334,732 | Flutter in Android Studio view secondary dart | <p>I am new to Android Studio and have began building some screens but have not yet connected to my main.dart How can I send a secondary dart to the emulator? Or can I? Just want to check the layout. Can do this in VS just wondering if it is possible...</p> | I am new to Android Studio and have began building some screens but have not yet connected to my main.dart How can I send a secondary dart to the emulator? Or can I? Just want to check the layout. Can do this in VS just wondering if it is possible... | flutter|android-studio | 0 | 2022-05-22T04:06:59.080Z | 2,022 | 5 | 4 | 6 | 15 | 0 | 250 | 45 | 2 | 0 | false | true | false | false | false | false | zero |
72,334,757 | Disable AmbientMode for WearOS Apps? | <p>To keep a Wear OS app always visible I have been using</p>
<pre><code>window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
</code></pre>
<p>Unfortunately if the watch face is accidentally covered the app still moves to Ambient Mode</p>
<p>Ideally I want to disable AmbientMode altogether but can see no mea... | To keep a Wear OS app always visible I have been using [CODE] Unfortunately if the watch face is accidentally covered the app still moves to Ambient Mode Ideally I want to disable AmbientMode altogether but can see no means of achieving this. Instead the documentation indicates keeping the display on requires the app t... | android|wear-os|samsung-galaxy | 1 | 2022-05-22T04:14:11.787Z | 2,022 | 5 | 4 | 6 | 200 | 1 | 925 | 36 | 3 | 2 | true | false | false | false | false | false | low |
72,334,775 | Accessing shared folder on a Windows PC from browser's file chooser on Android | <p>I have developed an application, in which, the back-end is cloud-based and the front-end is browser-based. The end user can access the application from a desktop browser or a tab browser.</p>
<p>The application has a "file upload" feature, using which, the user is expected to upload files from either a loc... | I have developed an application, in which, the back-end is cloud-based and the front-end is browser-based. The end user can access the application from a desktop browser or a tab browser. The application has a "file upload" feature, using which, the user is expected to upload files from either a local drive o... | android|google-chrome|browser|opera|filechooser | 0 | 2022-05-22T04:19:34.873Z | 2,022 | 5 | 4 | 6 | 265 | 0 | 978 | 78 | 5 | 0 | false | true | false | false | false | false | zero |
72,334,818 | Tab bar activity taking to much time to load | <p>'i have two activity A and B . A is normal activity and activity B have a tab bar which have 5 fragment. activity transaction using intent. when try to transaction From activity A to activity B , activity B taking to much time to load</p>
<blockquote>
<p>viewPager = findViewById(R.id.pager)
tabLayout = findViewById(... | 'i have two activity A and B . A is normal activity and activity B have a tab bar which have 5 fragment. activity transaction using intent. when try to transaction From activity A to activity B , activity B taking to much time to load viewPager = findViewById(R.id.pager) tabLayout = findViewById(R.id.tabs) val myViewPa... | android|kotlin|tabbar | 1 | 2022-05-22T04:29:07.773Z | 2,022 | 5 | 4 | 6 | 48 | 0 | 846 | 44 | 3 | 0 | false | true | false | false | false | false | low |
72,334,832 | Synchronous API call using retrofit execute | <p>Im trying to do a synchronous api call in Kotlin android, actually I'm having a function with 2 parameters and I need to make a post request and get a particular response for it and depending on the response i have to return true or false.</p>
<p>I have tried enqueue() & execute() from Retrofit2 but execute() wo... | Im trying to do a synchronous api call in Kotlin android, actually I'm having a function with 2 parameters and I need to make a post request and get a particular response for it and depending on the response i have to return true or false. I have tried enqueue() & execute() from Retrofit2 but execute() works on the UI ... | android|api|retrofit|retrofit2|synchronous | 0 | 2022-05-22T04:34:05.140Z | 2,022 | 5 | 4 | 6 | 195 | 1 | 611 | 43 | 5 | 1 | true | false | false | false | false | false | zero |
72,334,926 | WalletConnectV1 kotlin JSON_RPC method doesn't show pop up on metamask | <p>I am a beginner in android application development(Kotlin) and recently I was handover a project on NFT which involves walletConnect integration & for that I am using the <a href="https://github.com/WalletConnect/kotlin-walletconnect-lib" rel="nofollow noreferrer">walletConnectV1</a> library.</p>
<p>Fetching the... | I am a beginner in android application development(Kotlin) and recently I was handover a project on NFT which involves walletConnect integration & for that I am using the walletConnectV1 library. Fetching the public key and Connecting with metamask was not so hard but I am struggling when it comes to signing methods. i... | android|metamask|nft|wallet-connect | 0 | 2022-05-22T05:02:51.147Z | 2,022 | 5 | 5 | 6 | 121 | 0 | 545 | 70 | 4 | 2 | true | true | false | false | false | false | zero |
72,334,959 | Method does not override method from its superclass? android studio | <p>I have download this source code from github and copied to my project. Does anyone know the solution. Please tell me the answer.</p>
<pre><code>enter code here
@Override
public void onStart(){
super.onStart();
FirebaseRecyclerAdapter<Data, IncomeViewHolder> incomeAdapter=new FirebaseRecyclerAdapter... | I have download this source code from github and copied to my project. Does anyone know the solution. Please tell me the answer. [CODE] | java|android | -2 | 2022-05-22T05:15:45.350Z | 2,022 | 5 | 5 | 6 | 334 | 1 | 135 | 67 | 2 | 1 | true | false | false | false | false | true | negative |
72,335,055 | heads up notification not working on android 8 > | <p>We are trying to implement heads up notification for our app. Before asking question here, we went through all the threads that discussed this issue. Taking references, we went ahead implementing the code, but still heads up notification does generate the push but not in the heads up fashion (like whatsapp), despite... | We are trying to implement heads up notification for our app. Before asking question here, we went through all the threads that discussed this issue. Taking references, we went ahead implementing the code, but still heads up notification does generate the push but not in the heads up fashion (like whatsapp), despite cr... | android|firebase|push-notification|heads-up-notifications | 0 | 2022-05-22T05:39:25.060Z | 2,022 | 5 | 5 | 6 | 35 | 0 | 543 | 48 | 4 | 1 | true | true | false | false | false | false | zero |
72,335,073 | Android Material TextInputLayout hint/label colors | <p>I have a material TextInputLayout and am trying to make the hint a different colour when the input is in an "empty resting state", where the hint is shown as a placeholder, than when in a "filled resting state", when the text is shown as a label in the upper left (I'm using outline view).</p>
<p>... | I have a material TextInputLayout and am trying to make the hint a different colour when the input is in an "empty resting state", where the hint is shown as a placeholder, than when in a "filled resting state", when the text is shown as a label in the upper left (I'm using outline view). I have to ... | android|material-components-android | 0 | 2022-05-22T05:42:40.270Z | 2,022 | 5 | 5 | 6 | 28 | 0 | 923 | 50 | 2 | 0 | false | true | false | false | false | false | zero |
72,335,153 | How to animate all the menu icons like lottie animation? | <p>I want to animate all the items of the navigation drawer continuously like Lottie animations.
Is it possible to animate them all continuously?</p>
<p>These are my menu items.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
</code></pre>
<pre><code><group android:checkableBehavior=... | I want to animate all the items of the navigation drawer continuously like Lottie animations. Is it possible to animate them all continuously? These are my menu items. [CODE] [CODE] How to animate these all items in the navigation drawer? | android|android-layout|navigation-drawer|android-navigation|android-navigationview | 1 | 2022-05-22T05:57:36.637Z | 2,022 | 5 | 5 | 6 | 64 | 0 | 238 | 56 | 5 | 2 | true | true | false | false | false | false | low |
72,335,190 | is it possible to draw something using canvas then view it in image view as a jpeg or any other image format? | <p>so I have created a canvas of an image and drawn over it using the function <code>canvas.drawCircle( 250F, 150F, 15F, paint)</code>
but the problem is that I can no longer zoom in or zoom out using a class that I made.
so I was wondering if it is possible to make the canvas into an image after drawing that circle so... | so I have created a canvas of an image and drawn over it using the function canvas.drawCircle( 250F, 150F, 15F, paint) but the problem is that I can no longer zoom in or zoom out using a class that I made. so I was wondering if it is possible to make the canvas into an image after drawing that circle so that it would m... | android|android-studio|kotlin|android-canvas | 0 | 2022-05-22T06:07:19.350Z | 2,022 | 5 | 6 | 6 | 20 | 0 | 362 | 109 | 4 | 0 | false | true | false | false | false | false | zero |
72,335,316 | React Native Android Module: method does not override or implement a method from a supertype | <p>I am trying to create a native module for react native using MPAndroidCharts in java. I am getting the following error.</p>
<pre><code>error: method does not override or implement a method from a supertype
@Override
</code></pre>
<p>Here is my code:</p>
<pre><code>p... | I am trying to create a native module for react native using MPAndroidCharts in java. I am getting the following error. [CODE] Here is my code: [CODE] I am following all the examples I see online. My RN version is 63.4. I've been reading about it possibly being an issue with Jcenter? | android|react-native | 0 | 2022-05-22T06:35:24.647Z | 2,022 | 5 | 6 | 6 | 24 | 0 | 284 | 92 | 2 | 2 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.