Category "android"

gridview with image and text android

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:

The specified child already has a parent. You must call removeView() on the child's parent first (Android)

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

Jetpack compose remember

I was converting my simple paint app to compose and I came across a problem that I was able to fix, this question is for help in trying to understand why it beh

Jetpack compose remember

I was converting my simple paint app to compose and I came across a problem that I was able to fix, this question is for help in trying to understand why it beh

Phone number visual transformation in Jetpack compose

How can I implement phone number visual transformation in jetpack compose? I have read this article for the card number. And I want to format my phone number li

How to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)

I have an android app currently published in Google Play which I update periodically. I follow the following process to sign the app before a new push: Press

Android - How to set a notification to a specific date in the future?

Edit: SOLVED! Ever wanted to set a notification from a specific date starting a certain point in time (when an activity is started or when a button is pressed?)

In flutter app Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

Please help me to sort out the problem. I give a link to the git. https://github.com/Vasajj/radio_tysa_fm.git something is wrong with PendingIntent, with packag

WiFi suggestion API fail on Android

I've been trying to use the new Android WiFi Suggestion API with the code taken exactly from the example, but each time I try to connect to a network, when I ca

Recycler View Not Showing

I have been making an app that uses a recycler view in a navigation drawer. Why the contents of the recycler view are not showing up. The view is definitely the

Unnecessary padding in CardView?

I have implemented CardView in my app and everything works fine except there is a little padding around the image if I put radius to the card. It appears like

Google Play Console Package Name

I have one application of Trivia, the package name is es.test.triv.sh, there are all things for play one player, I have add a new feature is a multi-player opti

How to run a method every X seconds

I'm developing an Android 2.3.3 application and I need to run a method every X seconds. In iOS, I have NSTimer, but in Android I don't know what to use. Someo

How to create a EditText with the top corner rounded and the bottom rectangle

I have a simple background in my drawable folder, just a border that I use on my EditText : <shape xmlns:android="http://schemas.android.com/apk/res/and

how to draw poly line on google map in android

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); se

Implementing search bar and getting 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference error

I am new to android studio and I have been trying to implement a search bar onto my app and I've come across a building error. It install's fine but when I try

file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;

I have an app that has been in production for years. It ships with the standard Sqlite DB. The lastest version of the app has SqlCipher 3.5.6 library integrated

Android in-app purchase setup keeps returning - Billing service unavailable on device. (response: 3:Billing Unavailable)

I'm trying to implement In-app billing in an app currently on google play store. I keep getting the same result for any device running the app. (I have read the

Bitmap image to base64 conversion

I am trying to convert a bitcode image to base64 format. I tried to code like public static String encodeToBase64(Bitmap image, Bitmap.CompressFormat compressF

TabLayout gravity center is not working

I have a TabLayout, where I want the tabs to be displayed in the center of the screen. Below is the XML for my TabLayout. <android.support.design.widget.Tab