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. listview +icons+ sqlite

Hi! I'm trying to read datas from a db, display them into a list with
icons ( not fixed but changing in base of the value read in the db). I
know how to do this thing, reading values from a simple array:

public class DynamicDemo extends ListActivity {
TextView selection;
String[] items={"cinema", "cinema", "sport", "sport", "music", "art",
"shopping", "shopping", "music"};

public void onCreate(Bundle icicle) {
                setListAdapter(new IconicAdapter());

class IconicAdapter extends ArrayAdapter {
                IconicAdapter() {
                super(DynamicDemo.this, R.layout.row, items);

public View getView(int position, View convertView, ViewGroup parent)

        LayoutInflater inflater=getLayoutInflater();
        View row=inflater.inflate(R.layout.row, parent, false);

        //set view for text
        TextView label=(TextView)row.findViewById(;

        //set view for icon
        ImageView icon=(ImageView)row.findViewById(;

        //select correct icon
        if (items[position].equals("cinema")) {
        if (items[position].equals("sport")){
        if (items[position].equals("art")){
        if (items[position].equals("shopping")){
        if (items[position].equals("music"))    {

But I cannot find a way to do the same thing using the cursor with the
result of the query. Anyone can help?


2. No light sensor and/or proximity sensor detected on Hero?

Somebody? Anybody? I really need a tip on this one.
There is just no sense in this output of the getSensorList() function.
There is obviously a light sensor on the device (HTC Hero), yet I can
not programmaticaly access it. Why?


3. Programming the trackball light

4. How to create a map app with the new google maps?

5. How to make the consistent WebView (not lauching a new Web browser?)

6. why my onScrollStateChanged(AbsListView view, int scrollState) effetct nothing

7. Is WIFI default mode of communcation to internet