Directory tempDir = await getTemporaryDirectory(); String tempPath = tempDir.path; In android native code, I use getCacheDir() How do i get the getApplicatio
I have table in my application and I'm Running my app on Huawei y9 and this error pops up after a 30 sec and force close my application. I link my other questio
In my app having cluster on map, Top/Main cluster marker show total marker count, click on that show all sub cluster item marker. In Cluster item(Sub cluster m
I have recently added fabric plugin in my android studio, but i am not finding twitter login option on that plugin. When i search on google then i found one qu
I am invoking image picker in my android app using intent ACTION_GET_CONTENT. In onActivityResult() I get Uri using data.getData(). Now I am using an already ex
I'm trying to figure out how we can track driver position on Google map as he is moving. Here's my code: public class TrackDriverActivity extends AppCompatActiv
I want too remove a border on my cardView. I try set elavation to 0 dp , app:cardPreventCornerOverlap to false and app:cardUseCompatPadding to true , but I can
I have a TextView which is rendering basic HTML, containing 2+ links. I need to capture clicks on the links and open the links -- in my own internal WebView (no
I'm converting a project to Kotlin and I'm trying to make my model (which is also my entity) a data class I intend to use Moshi to convert the JSON responses fr
I am trying to set the width and height of a view in code to show an ad for a free app I am working on. All of the UI is done in XML with the exception of this
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