windows phone 7 - Convert a variable to a byte array -


i want convert video byte array upload.

var videoinput = new uri("/uploadnewvideo;component/test.mp4", urikind.relative); 

i trying upload byte array parameter php:

string = "trial"; string url = "phpurl?"; client.downloadstringasync(new uri(url + "&uploadedfile=" + bytearray + "&name=" + a)); 

first of all, using wrong method download video itself. instead of downloadstringasync, need use openreadasync. way can access incoming byte stream.

also, fyi, not able concatenate byte array , string way it.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -