i need some function for android app

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

I need 3 function. Functions are must be like this. I will use this function inside main class and i must call this function everywhere in class and output must be string. application must wait until connection finished.

public String load_webview( String url, String UserAgent, String, String HttpReferer, int Timeout );

When I call this function inside service. I must get html data from url. But webview must work properly in background. I must set specific useragent, httpreferer and connect timeout. Android APP must wait webview load until it finished

public String http_get( String url, String UserAgent, String, String HttpReferer, int Timeout );

I want to make get http connection to any website with this function.

public String http_post( String url, String post_data, String UserAgent, String, String HttpReferer, int Timeout );

I want to make get http connection to any website with this function.

Important situations

- All application must wait until webview or http connections finish. then function must return html code of site.

- Program must not crash because of http connections. If there is problem with connection. Function must write error with Log.v() but user must not see error. User has not to know there is problem inside application. If there is error. function will stop and application will continue to work properly and application will wait next function call.

- I want to see response and request header. you must define this datas as a string in function. I can watch with Log.v() function.

PROJECT MUST FINISH WITHIN 3-4 HOURS. IF YOU CANT START RIGHT NOW. PLEASE DONT OFFER.

Android Desarrollo de apps móviles

Nº del proyecto: #11890435

Sobre el proyecto

4 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

VizierFreelance

i have done this before. codes are ready

$35 USD en 0 días
(2 comentarios)
1.8