Sending Objects over AIDL via Parcelables
I have a server and client app, and I am just trying to send an object called Component over AIDL from server to client.
Here is the AIDL interface aidlinterface.aidl:
// aidlInterface.aidl
package com.example.aidl_service;
import com.example.aidl_service.Component;
interface aidlInterface {
double[] getRandomLatLong(); // Existing method to get random location
void setNewLatLong(double lat, double lon); // New method to send modified location
// New methods for Component...