Posted by stilllife00 on August 6, 2011 at 6:27pm
Hi all!
I'm having a trouble during a simple Android application development. I'm trying to add a simple News on my Drupal site from the Android application. I created a new content type called "News" with 2 strings (title and body) and a Image field. I sent to my site a title and a body and it works correctly using JSONObject class.
The problem now is to send an Image. i have tried to convert the image in raw bytes and encript that with Base64 but I can't understand how Drupal receive a field of type Image (instead of a simple string like a title or a body). So, sending with JSON raw bytes did not work.
Can anyone help me? Thanks
Comments
maybe I have explained bad?
maybe I have explained bad? someone could tell me a good reference for services 3.0 that describes how to correctly use node/create with particular fields like Image(s) ? I've searched a lot but without results.
Thanks
Connecting drupal with android
hi I'm very new to Drupal, now i'm developing Android(in eclipse - java) applicationg which already having in website created using cms-Drupal 6, I downloaded services modules erxtracrted and placed in the modules folder. after i enabled the servers and services i could see only services, when u click on it Name, Server, path ro endpoint Authontication (session authontication) only apearing, but i want to get 'key' and where can i get it? pls help
myindra