Category "android"

How to remove ImageButton's standard background image?

In ImageButton I want to remove the standard button background image. In http://developer.android.com it is said, that one must define his\her own background im

How to remove ImageButton's standard background image?

In ImageButton I want to remove the standard button background image. In http://developer.android.com it is said, that one must define his\her own background im

Kotlin: return a value on button click

I'm just starting out on learning Kotlin, and I'm currently making a simple Quiz application for Android. The user can choose an answer with four buttons which

Android: how to hide ActionBar on certain activities

I've developed a simple demo application with a splash screen a map and some regular screens. I have an action bar at the top that contains a logo. It all look

How to mock location without enabling setting

I am looking for a way to be able to mock location without needing to use ACCESS_MOCK_LOCATION. I know that I need to have root, move app to the system. But whe

Check if AlarmManager exists always returning false

I want to show a daily notification with helping of AlarmManager. It was working properly until I tried to make it persistent after reboot I create the Alarm

How to handle back button in activity

How to handle a back button in an activity? I have some buttons. If I click one of the button it's redirecting to the buttons which I required. It's working fin

Flutter - How to download files in WebView?

I am using flutter_webview_plugin: ^0.3.8 but I have the same problem with webview_flutter: ^0.3.13. In webview, I want to make use of a website which triggers

How can I add only the new items of the JSON API without duplicating the existed items?

I want to make an auto refreshing system for my android application. I use a JSON API in order to get the posts. Here is what I did: handler.postDelayed( runnab

Samsung: Provider for ContactDirectory not supported

I did some tested related to the providers. My goal is to display a contact name stored in my app when you receive a call from this number that is not present o

Android Cover Flow without Gallery

I saw many examples of cover flow implements in Android, but all extends Gallery, but Gallery is deprecated over 2.2. does anyone have new implements without Ga

Don't navigate to other pages in WebView,disable links and references

I have a webView in Android, and I open a html webpage in it. But it's full of links and images, and when I click one of them, it loads in my webview. I want to

Retrieve location from Firebase and map it on Google Map using Android studio

I am working on my tracker system which I will get the live location from GPS Module (hardware) and the data will map it on the google map in android studio. I

How to use different menu in fragment than in activity?

I want to have a menu for my main activity and a menu for a fragment which is contained in the main activity. The main activity menu should be removed and the f

Privacy policy link for Google Play

I am having trouble here, this is my first app and there is so much involved, I did not think it was this hard, currently I am stuck on adding a link to my app'

EditText not automatically saved on screen orientation change

I read that Android automatically saves the content of EditText objects when an application is about to be stopped or killed. However, in my app the content of

Emulators can't load "libGLES_emulation" driver

I am in the process of setting up FirebaseUI using Google's guide but I suddenly got an error I can't seem to find a solution for. I'm pretty sure it has to do

How to get the key from the value in firebase

How do I get the key "-KLpcURDV68BcbAvlPFy" when I know the field "name" contains "efg" in the following structure in Firebase. clubs -KLpcURDV68BcbAvlPFy

how we can display pound and euro symbol in android TextView?

How do I display pound(£) and euro(€) symbol in TextView? need help!

PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

I've searched the whole internet, tried every possible solution, still I'm not being able to sign in using GoogleSignIn from my flutter app. Things I've tried