Passing data from Android app to a Java program -


i'm pretty new android apologies if i've missed obvious solution. i'm writing system includes android app , java swing program. want know if there way pass data (eg. strings, integers) java swing program android app , receive data directly.

the data won't contain heavy stuff photos or videos simple strings.

any appreciated!

you need web application in order expose web services android app users.

this answer addresses first part (java swing webapp). more complex interactions recommend using framework web development (spring framework). least configuration can use spring boot.

the android app connects internet , consumes web services. here's lesson android development guides .

here's an introduction concept of webservices. recommend restful web services.

a spring introductory lesson restful web services.

here's introduction spring using swing


Comments