ericaddison / APT_miniProject_Android

The Android App for Connexus
0 stars 0 forks source link

How to use ServerCommunicator.java #9

Closed mspagon closed 6 years ago

mspagon commented 6 years ago

I see that you are using Volley to perform HTTP requests? I also see that you created a ServerCommunicator class. Can you please explain how I can use this class to query our NDB by calling GET requests to /services/?

What confuses me is the callback action in the method arguments:

public void requestAllStreamInfoData(ServerResponseAction callbackAction){

What is callbackAction doing?

Thanks for the help.

mspagon commented 6 years ago

Oh I see usages in your TestActivity.java.

This might help me.

mspagon commented 6 years ago

Hmm just found out I had build error all this time that made it so the APK wasn't uploaded to virtual device, no wonder nothing was working. Need to resolve this.

mspagon commented 6 years ago

Got what I need working for now.

Thanks.

ericaddison commented 6 years ago

Cool! Let me know if more comes up :)