How to Put String Variable in following Code, Please Help me.
parameters.putString("attachment","{\"name\":\"Facebook application By Martin\",\"href\":\"http://www.google.com/\",\"caption\":\"By Google Technology \",\"description\":\"Description\",\"media\":[{\"type\":\"image\",\"src\":\"http://4.bp.blogspot.com/-9RPH9UGDSsE/TcGjy3fAHlI/AAAAAAAAAeI/kuQXLE_G5Ew/s1600/Flag+Wallpaper+of+India+%25283%2529.jpg\",\"href\":\"http://s.facebook.com/connect.php?tab=iphone/\"}],\"properties\":{\"another link\":{\"text\":\"for more tips click here\",\"href\":\"http://www.google.com/\"}}}");
I use Above Code for Upload Image on Facebook Wall.But i want to use string variable & pass following path from variable.
Thanks in Advance.
Look at how I have changed the url in your call by using the concatenation operator ‘ + myPath + ‘
This is very, very basic. You should start learning java if you want to become an Android developer.
On another note, on your picture, top left corner, are you really sure you are a “PROUND” indian ?? 😀