i need some function for android app

Selesai Dipasang 7 tahun yang lalu Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

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 Mobile App Development

ID Proyek: #11890435

Tentang proyek

4 proposal Proyek online Aktif 7 tahun yang lalu

Diberikan kepada:

VizierFreelance

i have done this before. codes are ready

$35 USD dalam 0 hari
(2 Ulasan)
1.8