./
Communicating /w PHP
11 March, 2010 - 22:11
#1
Communicating /w PHP
12 March, 2010 - 08:42
#2
Are you posting to the PHP script? If so, you format your POST string and write it to the connection.
I've not tested it, but it will be something like this.
HttpConnection* conn = new HttpConnection(this);
String myPostData = "user=rival&password=qwerty";
conn->create("http://myserver/myscript.php", HTTP_POST);
conn->setRequestHeader("content-type", "application/x-www-form-urlencoded");
conn->finish();
void myClass::httpFinished(HttpConnection* conn, int result)
{
conn->write(myPostData.c_str(), myPostData.length());
}
12 March, 2010 - 11:52
#3
./
12 March, 2010 - 12:38
#4
For graphics, I suggest you take a look at our tutorial: http://www.mosync.com/documentation/manualpages/graphics-primitives
12 March, 2010 - 14:47
#5
./
12 March, 2010 - 15:01
#6
Sorry, I misunderstood. There is no alpha for regular drawing operations, except maDrawImage() and maDrawRGB(). Fonts use alpha too.