Category "android"

PayPal callback does not trigger after login to the PayPal account

I'm stuck with the next issue. I integrated PayPal sdk into my android app. implementation 'com.paypal.checkout:android-sdk:0.6.1' My app has an underscore in t

React native Ctrl M or dev tool not showing in my emulator

He thanks in advance, In react native am not able to right click or open dev mode in emulator.

How to generate JSON Stringer in Android for this format

I need to send data to database in this format - {"param1":"value1", "param2":"value2", "param3": {"username": "admin", "password": "123"}} How to generate

Black background behind image in ImageView

Seems silly but I have tried using ImageButton, Image view but the black square behind circular image is not going. I am using png image and want transparent ba

Admob ads not showing in the real device although its working on the Emulator

I am having the Admob problem its working fine with test AppId and AdUnitId on emulator and real device. both the devices show the "Nice Job" test Ads Afte

Install Android App Bundle on device

I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I dow

retrofit 2 @path Vs @query

I am new to retrofit 2 library.I read several articles to get started as a beginner and I managed to fetch XML data from my RESTful API without specifying param

why I still can't set progress bar in the center of the screen ? even though I have set it in constraint layout

as you can see from the image above, the progress bar is always right below the tab layout, even though I have set the progress bar always in the center of th

Does Android Jetpack Compose support Toolbar widget?

I'd like to use Toolbar with Jetpack Compose. Does it have such a Composable component?

How to add icon of the app on the home android screen (react-native)?

When installing on Android, it does not add a shortcut on home screen, but the app used to. You can find it in the app drawer only now. How to add icon of the a

How to load data in one fragment in Android

I want show 3 fragments in my Activity and load data from json in any fragments! I want show each json data into one fragment, but in my application show all of

Android status bar is the same color as Toolbar

I am running an android project. My toolbar and status bar are all green in my activity_main layout. If i change toolbar color to other color the status bar wil

Call recording, call multiple(repetitive) telephonic stages and creates multiple audio files

I have created one service and broadcast receiver to get telephony state. Below is my code : @Override public int onStartCommand(Intent intent, int fla

How to change the ellipsis string of Android TextView?(... to ...more)

I want to change the ellipsis string from ... to custom string, such as ...[more]. But in TextUtil, the ellipsis string is fixed: private static final St

How to remove Header title in bottom nav bar - Android Studio

My objective is removing the orange bar thar has the label "App name". Currently I have a top_app_bar and bottom_nav_bar. As far as I know the orange bar is gen

Strange empty bar above fragment on BottomNavigationView

This is how it is supposed to look: https://i.stack.imgur.com/4bLy5.png This is how it looks: https://i.stack.imgur.com/oSUjF.png Strange white space appears

Android databinding set padding if value is true

I want to be able to to be able to set padding values if a boolean is true. The problem is that Android studio cannot parse the layout because it thinks 2dp is

Android instant app deeplink with custom scheme: UNKNOWN_URL_SCHEME

I have an SDK that registers an Activity to handle a custom scheme, at some point the SDK would open a http url to my website, upon clicking a button in the web

how to show alert dialog on top of any activity in an application android

I want to display an alert dialog. And this alert dialog is created in one activity. But Problem is i want to display this dialog on top of any activity in an a

Cross Compiling ghostscript for android, what host should I use?

Hi Guys I am using this tutorial to build ghostscript-9.19 to be able to use in my android application to convert eps document to pdf. It fails while configure.