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

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 - Upload/download image

Upload/download image

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

Upload/download image

Postby thomasmckay » Sat Nov 22, 2008 9:48 pm

My setup: Android send/receive to Django on Goolge App Engine server.
My problem: Trying to send an image (byte[]) up to GAE and struggling.

If from Android I use UrlEncodedFormEntity, then the server can decode the POST fine. How do I include the byte[] jpeg data in this?

I tried using MultipartEntity with StringBody and InputStreamBody but the server side isn't picking out the values like it does with UrlEncodedFormEntity.

Any hints on what I'm doing wrong, or where to look?

My overall goal, again, is to send up the image bytes and retrieve them later. An example of POSTing an image would be fantastic.

Thanks!
thomasmckay
Freshman
Freshman
 
Posts: 7
Joined: Fri Nov 21, 2008 7:10 pm

Top

Postby thomasmckay » Mon Nov 24, 2008 11:35 pm

thomasmckay
Freshman
Freshman
 
Posts: 7
Joined: Fri Nov 21, 2008 7:10 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 4 guests