Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. public class MyServiceAidl extends Service {
  2. public MyServiceAidl() {
  3. }
  4.  
  5. @Override
  6. public IBinder onBind(Intent intent) {
  7. // TODO: Return the communication channel to the service.
  8. throw new UnsupportedOperationException("Not yet implemented");
  9. }
  10.  
  11.  
  12. public class MyIBind extends IMyAidl.Stub{
  13.  
  14. @Override
  15. public double soma(double a, double b) throws RemoteException {
  16.  
  17. return (a + b);
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement