I am trying to get datafrom database in a list. This is my code: private class LoadData extends AsyncTask<Void, Void, Void> { private ProgressDialog
Is there a way to implement something similar to what RelativeLayout does on Android? In particular I'm looking for something similar to centerInParent, layout
I have a problem using GridLayout using library compatibility (not tried without). I am using app:layout_gravity="fill_horizontal" instead of android:layout_gra
i am using a recyclerView to show my listitems in the navigation drawer.I have implemented the onclickListener but i have been stuck on how to open a different
I want to remove the shadow from the button to make it seem more flat. I have this right now: But I want this:
I want to know where is all the stored in android. Like inbox messages are stored in content://sms/inbox and outbox msgs in content://sms/outbox or may b
I'm having an issue with building my project. First time build. I'm behind a proxy and all other dependencies downloaded only this having an issue. I tried a f
EDIT For anyone wondering, my problem was I was using android.widget.SearchView instead of android.support.v7.widget.SearchView. I hope this helps anyone else w
I am to trying to create a signed app in Android Studio, but i am stuck at this error which says keytool error: java.io.FileNotFoundException: C:\AndroidWor
I wanted to create an android apk file in react-native. I followed the instructions as per the link below https://reactnative.dev/docs/signed-apk-android Gene
I am trying to open my existing project in new Android Studio 3.0 canary 2. I updated Gradle according to instructions, changed names for dependency configurati
I am trying to open my existing project in new Android Studio 3.0 canary 2. I updated Gradle according to instructions, changed names for dependency configurati
I have the following AlertDialog. showDialog( context: context, child: new AlertDialog( title: const Text("Location disab
How do I send a notification to another user when one user presses a button? Can someone show me a code snippet? I realize that this question was asked before,
I have open the Google Play store using the following code Intent i = new Intent(android.content.Intent.ACTION_VIEW); i.setData(Uri.parse("https://play.google
I'm using a RecyclerView in my Android app. I've many cardviews in my RecyclerView, such that only 1 cardview is displayed to the user at a time. The user has t
I am working with an App which contains web service things. In that I need to know the status when the Internet speed is low. How to find the internet speed le
After i upgrade the targetSdkVersion to 31 telephonyManager.listen is not working. Consider following line of code: telephonyManager.listen(phoneStateListener,P
I successfully created a gridview populated with images. Now, what I want to do is put a text below the image. This is the screenshot of my app so far. http:
I have to switch between two layouts frequently. The error is happening in the layout posted below. When my layout is called the first time, there doesn't occu