嗨我想在Android中將我的視頻文件上傳到Web服務器。我跟着這個教程:如何在android中將視頻文件上傳到網絡服務器?
Uploading files to HTTP server using POST on Android.
不過。我在我的logcat中出現了這個錯誤。我也收到了來自服務器的消息。
09-11 10:20:55.088: D/dalvikvm(284): GC_FOR_MALLOC freed 1137 objects/74200 bytes in 70ms
09-11 10:20:55.768: I/dalvikvm-heap(284): Grow heap (frag case) to 3.611MB for 1048592-byte allocation
09-11 10:20:55.918: D/dalvikvm(284): GC_FOR_MALLOC freed 202 objects/10144 bytes in 142ms
09-11 10:20:56.178: D/dalvikvm(284): GC_FOR_MALLOC freed 86 objects/3424 bytes in 91ms
09-11 10:20:56.568: I/dalvikvm-heap(284): Grow heap (frag case) to 5.601MB for 2097364-byte allocation
09-11 10:20:56.868: D/dalvikvm(284): GC_FOR_MALLOC freed 2 objects/56 bytes in 304ms
09-11 10:20:57.178: D/dalvikvm(284): GC_FOR_MALLOC freed 4 objects/1120 bytes in 48ms
09-11 10:20:57.748: I/dalvikvm-heap(284): Grow heap (frag case) to 11.600MB for 6291668-byte allocation
09-11 10:20:57.918: D/dalvikvm(284): GC_FOR_MALLOC freed 0 objects/0 bytes in 168ms
09-11 10:21:24.827: I/uploadFile(284): HTTP Response is : OK: 200
09-11 10:21:24.847: E/Debug(284): Server Response There was an error uploading the file, please try again!
09-11 10:21:24.858: I/System.out(284): RES : 200
09-11 10:21:24.997: WARN/InputManagerService(59): Window already focused, ignoring focus gain of: [email protected]
09-11 10:23:34.277: DEBUG/SntpClient(59): request time failed: java.net. Socket Exception: Address family not supported by protocol
按照此過程中,我要上傳的視頻文件爲wowza媒體服務器。我該如何解決這個問題。我怎樣才能繼續在wowza服務器?任何人都可以幫助我實現這個目標嗎? 在此先感謝。