write an Android project

“My question is about android. I want to know How we can write a program in android that the frontend of the project is open source for the user and the backend unaccessible for the user?”

View details »

What OS (Android) Do We Use For own Product And its Hardware?

I have some experience about internet of things and MCU programming. I wanted to know to build a product like mirror or tonal or something like them. Android TV or Car monitor. What operating system

View details »

Flutter show incoming call

I created a video calling application but for the moment, when somebody wants to call a person, the receiver is getting a push notification to start the call. I want to be able to show an incoming c

View details »

How can I detect time press duration of button in android?

I want to detect time press duration of button by using setOnTouchListener with onTouch method How I can do this ? Thanks you so much

View details »

How to secure sponsored scholarships for Android or Java away from Africa

"I am learning how to code in android through YouTube but the information is not structured and if find it all confusing. I have been through Udacity but they dont teach on the new updated libraries

View details »

I am connected to Wifi from my mobile device and I need to connect to Bixolon printer which connected to same network but has private IP address?

I am trying to make an application for Android which is connected to wi-fi on the network and there is this printer which is connected to same router but having private IP, how to connect and send t

View details »

Set Width and Height from Bitmap or ImageView to CustomView

I'm trying to get Width and Height of Bitmap and set them as Layout Parameter of CustomView JAVA : private void setBg() { drawView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.La

View details »

Notifications are not working anymore. How to fix it?

My application implements 5 type of Custom Notifications. In february, everething worked fine. I'm now working back on it and there are no Notification displayed anymore. First, i made a test With

View details »

MOSHI Expected BEGIN_OBJECT but was BEGIN_ARRAY

I'm trying to do a POST with retrofit, moshi and coroutines but I'm always getting this error Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $ I've looked for other answers but none

View details »

Error in android gradle plugin : it must have dependency on com.google.firebase:firebase-core for firebase service to work as intended

The app gradle file must have a dependency on com.google.firebase:firebase-core for Firebase services to work as intended

View details »

Could not find com.android.tools.build:aapt2:3.4.1-5326820

When I'm going to run the project, this messes up for me Could not find com.android.tools.build:aapt2:3.4.1-5326820. Searched in the following locations: - https://repo.maven.apache.org/maven2/co

View details »

How do i rearrange my firebase database structure when data will delete?

In my app user can upload their data in form of array like this. { "0": "...", "1": "...", "2": "...", "3": "...", "4": "...", "5": "..." } But the problem is that when

View details »

Get ViewModel ViewModelProvider.Factory and Application Context

I am extending AndroidViewModel to get an application context in my ViewModel but Now I also want to pass some parameters to my ViewModel. After some google search, I came to know that I can use Vie

View details »

How to create single activity application with navigation architecture component?

I want to use the new Navigation architecture component to navigate to different screens in my app. As google recommends to have single activity for our app and use multiple fragments. But i have a

View details »

Closing an Android Popup Menu

I am attempting to use a popup menu that uses the view of a dynamically added EditText box. When I do not create the new popup menu inside the onTouch method, the popup closes as expected but, I c

View details »

Send Hashset of data from Android to Firebase cloud function

I am trying to send a set of objects from Android app to cloud function. What I have is not working. How might I fix it? On Android side: override fun doStuff(input:Set<Dogs>){ val data = hashMa

View details »

Button at bottom of ScrollView getting cut off

I have a scrollview which is very similar to the whatsapp group info section. It shows a list (recyclerview) of all the group participants, and a button to leave the group. The problem is, when ther

View details »

How can I visualize the value for simplest way?

here is my code for (int i = 0; i < StationNMArray.size(); i++) { String current_Station = StationNMArray.get(i); station_in_course = station_in_course + "\nStation: " + current_Station

View details »

Android - Is there a better approach to show states view?

I am learning about Clean, and now I need to show a loading view in every fragment and a error view, with try again, when something wrong happens. My case is: is there a BETTER APPROACH to make it?

View details »

Entire gradle project corrupted in Android Studio, caches incorrect, sync failed

it seems my computer going onto sleep mode and shutting down with the sync still on has corrupted a project, but luckily it only affected gradle, and not my src files. I've noticed my project woul

View details »