json - Connect Android app to Play framework application -


i'm developing first android application, i'm trying send video files i've recorded , saved in applications external cache directory other data usernames, etc. have play application running on server , have mysql db running on server.

i have experience jdbc , oracle, unsure of how should make connection between android app , play app, i'm thinking don't want android app talking mysql db ever! i'll send json object android application play application, play application take json object parse , update db user details , pointer video file , add video file designated folder.

i'm unsure how implement connection on the android app, create new activity or maybe fragment connection play app? link simple tutorial taking video file , sending json object play application me going. realize might bit ask.

i reading post multipartentity , thought might along lines of how make connection android app play app, unsure if using json(the comments suggest does, can't see json object creation) multipartentity solution connection needs?

how deal json object when receive on server end? i'm thinking i'll have route set deal with, again link similar example great.

any pointing me in right direction appreciated.

your play! application must have endpoint send data post method (restful web service), play! restful, handle uploaded file in action. in android application, can send data volley library follow link how multipart data using android volley or follow tutorial php web service want http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -