rest - How to use Restlet API with Android app -


i have spent way time trying figure out how use restful api. there lot of information online on how use service after has been implemented little in terms of how start use services.

i may thinking way hard this.

basically, want create android application uses online server store of data. data shared many other users of same application.

this school project, intent of class software engineering uml , z specifications. implementation of actual android application showing how planning helps create software less complications.

well trying develop application , cannot connected data source. have been trying use restlet studio create server , android rest implementations.

restlet studio creates androidsdk.zip , restletserverskeleton.zip.

i thinking i´ve install server part on server maven , include android part in application, cannot figure out how done. don't know if looking @ right.

once installed on both, how whole thing implemented?

i not looking answer questions, more give me links example of actual implementation of type of setup.

a basic idea of need appreciated too.

even guiding me restful service might provide clearer concept of need do, great.

i running out of time... less 5 days until due.

thanks this.

sub

i haven't used restlet studio before,so checked website ,it seems restlet studio provides 2 sdks,one android client,the other 1 server.

no matter use sdks or not,here's have :

set database on server,create tables,insert original data if need;

write codes build api on server; part following things: 1 parameters http request send android client; 2 query database sql,get right result request; 3 put result in json string; 4 put json string http response ,and send android client;

the android client: 1 build ui; 2 when user take action ,for example,in case,press button inductions "uml" ,send http request server; 3 http response(json string,witch contains introductions uml); 4 parse json string need(generally java objects); 5 display introductions on screen;

the restlet studio sdk may parts above.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -