Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to upload a Bitmap to a server?

How to upload a Bitmap to a server?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

How to upload a Bitmap to a server?

Postby kombadil » Tue Mar 25, 2008 9:54 am

Hi there,

I've followed this link and I know how to upload a file to a server:
http://www.anddev.org/upload_files_to_w ... 3-s30.html

However, let's say I've a Bitmap that I've received from the web, and I want to upload it to a server. Is there any ways to upload the Bitmap directly without first saving it as a file?

Based on the link above, I think I just need to get the FileInputStream from the Bitmap. But I don't know how ...

Thanks!

Ken
kombadil
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Mar 25, 2008 9:47 am

Top

Postby plusminus » Sat Mar 29, 2008 7:19 pm

Hello kombadil,

sorry for the late answer.

You could just save/load the Data to a ByteArray using ByteArray(In/Out)putStreams.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests