Em Andamento

Convert JAVA class to J2ME class

I need someone to convert the following JAVA class to a usable J2ME class. It uses Apache HTTP Client and HTTP Entity and some other classes which are not usable to J2ME. So it may require the use of J2ME's native classes. Here's the code:

//-----------------------------------------------------------------------------CODE START

long newFileId = 'some value here';

String sessionKey = 'some value here';

long dcId = 'some value here';

String url = 'some value here';

try {

HttpClient client = new DefaultHttpClient();

HttpPost post = new HttpPost(url);

MultipartEntity me = new MultipartEntity();

StringBody rfid = new StringBody("" + newFileId);

StringBody rfb = new StringBody("" + 0);

InputStreamBody isb = new InputStreamBody(new BufferedInputStream(new FileInputStream(f)), "FilePart");

[url removed, login to view]("resumableFileId", rfid);

[url removed, login to view]("resumableFirstByte", rfb);

[url removed, login to view]("FilePart", isb);

[url removed, login to view](me);

HttpResponse resp = [url removed, login to view](post);

HttpEntity resEnt = [url removed, login to view]();

}

//-----------------------------------------------------------------------------CODE END

Habilidades: J2ME, Java

Ver mais: string j, post execute, convert code j2me, java string, convert client, java apache, java native, convert java code, convert code java, code rfid, rfid code, convert java j2me, convert j2me code, j2me convert, java code convert, post url string, j2me java, apache url post, convert j2me java, j2me post, convert url, java j2me, url convert, code convert java, java url

Acerca do Empregador:
( 2 comentários ) Manila, Philippines

ID do Projeto: #5106057

Premiar a:

aoefmpes

Hello Sir, I have experience on java, javaME , i can convert this code for you using javaMe, pl ping me and get the source code thanks

$40 USD em 3 dias
(34 Avaliações)
4.9