So I’m using https://reactnavigation.org/docs/getting-started to make my navigation. I did the yarn add @react-navigation/native and yarn add react-native-screens react-native-safe-area-context. At this point my app is still fine even after restarting yarn start. The problem started after I add the code…
Tag: android
Why is the number 30 not displayed at the end of the output? [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 1 y…
How to change a backgound of a button in recyclerview [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 12 months ago. Improve this question I made a recyclerview and there is a button on myitem. I want to change …
get content html page with web view in android
I am working on an Android project in which I am loading an HTML page from the internet, not locally and then displaying it in WebView. It works fine, but unfortunately, when I click on any of the element in WebView, it opens the link in Browser. What changes do I need to make so that any links clicked within
Android Studio calculate total price
I wanna ask how can I sum all patty price and display in the total ? The total is in activity_main.xml layout while all the product price is in view_product.xml . Screenshot of app As you can see the grey color text is per patty price , and the right side black text is price after multiply the quantity of
Alertdialog running ongoing dosen’t dismiss or cancel
According this answer , I wanna to show dilaog until the next 10 posts is loaded so I created the static alertDialog method to use it in different places in my app, but the problem is the dialog doesn’t cancel or dismiss setProgressDialog in Utils class then I used it in HomeFragment on click load more …
How to find an element by mobile xpath with Appium matching @text attribute with a regular expression (regex)?
I’m automating Android apps using Selenium-Appium (Java) and I got some difficult to address the following need: I have an element that doesn’t have any of ID or ACCESSIBILITY ID configured. But I’ve noticed that its value is a fixed pattern, a date, like “dd/MM/yyyy”. So, I need…
Make sure to call FirebaseApp.initializeApp(Context) first.Default FirebaseApp is not initialized in this process
I am facing this issue and seen some answers on this site but did not get any proper solution. I have used previous version of Firebase which works fine but when I try to upgrade using Upgradation and update Firebase class to DatabaseReference it shows error and not working. Error Screenshot My Module app is …
Run background service only when phone is in use
I’m trying to make an android app that fires a background intent to “ping” a server with a post request about every 2 minutes (by default, interval is user-configurable). I absolutely need to avoid the service running when the phone is not in active use, and I need it to not defer the servic…
how to change image position to center in PDF android
My app create pdf using this code problem is when user select smaller size image than page size it will move to top left corner i have tried and if image is bigger than page size it goes out of the page I want to shrink the image size to page size Answer I have Changed this image position to