upload file to custom server using httpclient

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

upload file to custom server using httpclient

Postby Niketa » Mon Oct 06, 2008 10:33 am

Hi,

I want to upload image file to my server and want to use Default HttpClient.

I mean i do not want to add any jar like commons. i want to use default methods only.

And i am using Android sdk 1.0.

so is it possible?

if yes then please give me some suggestions or sample code to do.

Thanks......
Niketa
Developer
Developer
 
Posts: 36
Joined: Wed Sep 17, 2008 12:37 pm

Top

Postby coding_android » Mon Oct 06, 2008 12:46 pm

If you want to use multipart messages then you have to use external libs. This way is suggested by the Google developers. So why don't you use this libs? I would assume that this libs will be implemented later on into the system so you will not do any useless work. An example for doing this with the external libs can be found in the "Code Snippets" forum.

Regards!
If you got job opportunities for me. Just drop me a personal message. - Android developement - integrating social media into Android
User avatar
coding_android
Moderator
Moderator
 
Posts: 76
Joined: Mon May 05, 2008 10:22 am
Location: Germany

Postby Niketa » Mon Oct 06, 2008 12:52 pm

Thanks for reply..

but i do not want to use any jar because it will increase my apk file size.
Niketa
Developer
Developer
 
Posts: 36
Joined: Wed Sep 17, 2008 12:37 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest