Android File Upload (PHP)

by Bobbie » Sat, 14 Mar 2009 13:35:43 GMT


Sponsored Links
 I have looked literally everywhere I could find and cannot find a file
upload script (that will allow me to upload pictures, audio files and
video files) that works.  Could someone post a *current* and *working*
example for both the Android and PHP code?  Every example I have found
on the web are "older" examples and when I try to copy/paste and
modify them, my app just crashes or it just plain doesn't work.
Please get me some info.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. SIGSEGV on Droid X (libskia.so)

I'm getting logs like this from several Droid X users.
Currently i got no idea how to fix it so i guess i'll remove support
for Droid X alltogether.
Any other suggestions?

Btw. Android really needs a better way for dealing with bugs like
this.
This is the third time i got a bug that occurs on one device only.
Even if you don't want to call it fragmentation it's still very
annoying.

I/DEBUG   ( 1175): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   ( 1175): Build fingerprint: 'verizon/shadow_vzw/cdma_shadow/
shadow:2.1-update1/VZW/13516:user/ota-rel-keys,release-keys'
I/DEBUG   ( 1175): signal 11 (SIGSEGV), fault addr 00000004
I/DEBUG   ( 1175):  r0 00000021  r1 00890270  r2 00000008  r3 00890210
I/DEBUG   ( 1175):  r4 008902a0  r5 008902a0  r6 00890210  r7 000c4970
I/DEBUG   ( 1175):  r8 00000000  r9 00000000  10 00000000  fp 00000017
I/DEBUG   ( 1175):  ip 00000010  sp 482f6778  lr ac0ba214  pc
ac0b8a24  cpsr 20000050
I/DEBUG   ( 1175):          #00  pc 000b8a24  /system/lib/libskia.so
I/DEBUG   ( 1175):          #01  pc 000ba210  /system/lib/libskia.so
I/DEBUG   ( 1175):          #02  pc 000b40ac  /system/lib/libskia.so
I/DEBUG   ( 1175):          #03  pc 000b8670  /system/lib/libskia.so
I/DEBUG   ( 1175):          #04  pc 0009efac  /system/lib/libskia.so
I/DEBUG   ( 1175):          #05  pc 000474d8  /system/lib/libskia.so
I/DEBUG   ( 1175):          #06  pc 00084f8c  /system/lib/libskia.so
I/DEBUG   ( 1175):
I/DEBUG   ( 1175): code around pc:
I/DEBUG   ( 1175): ac0b8a14 0a00022c e59d8014 e59d700c e5930004
I/DEBUG   ( 1175): ac0b8a24 e598a004 e5914004 e598b008 e58da010
I/DEBUG   ( 1175): ac0b8a34 e0544000 e597a070 42644000 43a09001
I/DEBUG   ( 1175):
I/DEBUG   ( 1175): code around lr:
I/DEBUG   ( 1175): ac0ba204 e59d1008 e1a00005 e1a02006 ebfff95c
I/DEBUG   ( 1175): ac0ba214 e595e038 e5957030 e3a01034 e024e791
I/DEBUG   ( 1175): ac0ba224 e15e0004 2a000012 e59e000c e3500000
I/DEBUG   ( 1175):
I/DEBUG   ( 1175): stack:
I/DEBUG   ( 1175):     482f6738  0035f0b0  [heap]
I/DEBUG   ( 1175):     482f673c  0035f018  [heap]
I/DEBUG   ( 1175):     482f6740  000001f4
I/DEBUG   ( 1175):     482f6744  ac09c27c  /system/lib/libskia.so
I/DEBUG   ( 1175):     482f6748  00000258
I/DEBUG   ( 1175):     482f674c  0035f010  [heap]
I/DEBUG   ( 1175):     482f6750  0035f0b8  [heap]
I/DEBUG   ( 1175):     482f6754  482f676c
I/DEBUG   ( 1175):     482f6758  0086e720  [heap]
I/DEBUG   ( 1175):     482f675c  008d3dc4  [heap]
I/DEBUG   ( 1175):     482f6760  0000001c
I/DEBUG   ( 1175):     482f6764  ac0b5668  /system/lib/libskia.so
I/DEBUG   ( 1175):     482f6768  00000001
I/DEBUG   ( 1175):     482f676c  482f6798
I/DEBUG   ( 1175):     482f6770  df002777
I/DEBUG   ( 1175):     482f6774  e3a070ad
I/DEBUG   ( 1175): #00 482f6778  00000000
I/DEBUG   ( 1175):     482f677c  00000000
I/DEBUG   ( 1175):     482f6780  000c498c  [heap]
I/DEBUG   ( 1175):     482f6784  000c4970  [heap]
I/DEBUG   ( 1175):     482f6788  00000000
I/DEBUG   ( 1175):     482f678c  00000000
I/DEBUG   ( 1175):     482f6790  00890270  [heap]
I/DEBUG   ( 1175):     482f6794  00000004
I/DEBUG   ( 1175):     482f6798  00000001
I/DEBUG   ( 1175):     482f679c  00000000
I/DEBUG   ( 1175):     482f67a0  00000002
I/DEBUG   ( 1175):     482f67a4  00000001
I/DEBUG   ( 1175):     482f67a8  008d3c38  [heap]
I/DEBUG   ( 1175):     482f67ac  00890210  [heap]
I/DEBUG   ( 1175):     482f67b0  00000020
I/DEBUG   ( 1175):     482f67b4  00000001
I/DEBUG   ( 1175):     482f67b8  00000090
I/DEBUG   ( 1175):     482f67bc  0086e858  [heap]
I/DEBUG   ( 1175):     482f67c0  000c4970  [heap]
I/DEBUG   ( 1175):     482f67c4  00000001
I/DEBUG   ( 1175):     482f67c8  00000000
I/DEBUG   ( 1175):     482f67cc  00000000
I/DEBUG   ( 1175):     482f67d0  00000000
I/DEBUG   ( 1175):     482f67d4  008d3c38  [heap]
I/DEBUG   ( 1175):     482f67d8  000c4970  [heap]
I/DEBUG   ( 1175):     482f67dc  00000000
I/DEBUG   ( 1175):     482f67e0  00000000
I/DEBUG   ( 1175):     482f67e4  008d3efc  [heap]
I/DEBUG   ( 1175):     482f67e8  0000025c
I/DEBUG   ( 1175):     482f67ec  00000000
I/DEBUG   ( 1175):     482f67f0  0000d1d1  [heap]
I/DEBUG   ( 1175):     482f67f4  ac0ba214  /system/lib/libskia.so
I/DEBUG   ( 1175): #01 482f67f8  0001080b  [heap]
I/DEBUG   ( 1175):     482f67fc  00358088  [heap]
I/DEBUG   ( 1175):     482f6800  008d3c38  [heap]
I/DEBUG   ( 1175):     482f6804  008d3c38  [heap]
I/DEBUG   ( 1175):     482f6808  000c4b88  [heap]
I/DEBUG   ( 1175):     482f680c  00000000
I/DEBUG   ( 1175):     482f6810  0035fc78  [heap]
I/DEBUG   ( 1175):     482f6814  ac09ef18  /system/lib/libskia.so
I/DEBUG   ( 1175):     482f6818  0015aa90  [heap]
I/DEBUG   ( 1175):     482f681c  000c4964  [heap]
I/DEBUG   ( 1175):     482f6820  008113c0  [heap]
I/DEBUG   ( 1175):     482f6824  000c4b50  [heap]
I/DEBUG   ( 1175):     482f6828  ac0b9ec8  /system/lib/libskia.so
I/DEBUG   ( 1175):     482f682c  00010008  [heap]
I/DEBUG   ( 1175):     482f6830  482f6918
I/DEBUG   ( 1175):     482f6834  01f1c0ea
I/DEBUG   ( 1175):     482f6838  008d3c38  [heap]
I/DEBUG   ( 1175):     482f683c  ac0b40b0  /system/lib/libskia.so
I/DEBUG   ( 1175):     482f6840  007f1bd8  [heap]
I/DEBUG   ( 1175):     482f6844  0000022c

-- 

2. Errors after customizing Linux Kernel

I am porting Android on Friendly ARM board with Samsung S3C2440 chip
set. After image files were created, I tried  customizing the linux
kernel, where in I just need Blue tooth and Audio drivers in order to
make my board work as a MP3 player. In this process, I edited the
config file and compiled. I ended up with the following error

/tmp/ccQD3DIE.s:8511: Error: .err encountered

In brief,Please find the screen shots in the following URL:

Before Cross-Compilation : http://imagebin.ca/view/EkeFSITH.html

After Cross-Compilation:   http://imagebin.ca/view/Pe94Nx9C.html

Please help me to solve this problem.

Regards,
santhosh

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Downloading a file after http-get and http-post.

4. gagal rooting spica? loading connection....

5. Emulator keeps slowing down after a couple of deployments/Run as Android Application in Eclipse

6. Handroid1 (Porting Android to Samsung Vodafone 360 H1)

7. OOT: Miring di JCC