how to mount the sd card to pc via android application?

by Azreal Yang » Sat, 07 Feb 2009 02:19:49 GMT


Sponsored Links
 i want to access gphone's sd card when the gphone connect to the pc
via usb, but i need click "mount" on notifications...is there any way
when the gphone connect to pc, then pc can access the sd card?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. AppWidget + Custom Views

Hi all.

I have built an empty custom view as follows:

public class MyView extends View {

        public MyView(Context context, AttributeSet attrs) {
                super(context, attrs);
        }

        @Override
        protected void onDraw(Canvas canvas) {
                super.onDraw(canvas);
        }
}

I would like to use my custom view to create a home application widget
(i.e. a class extending AppWidgetProvider), which will ultimately
consist of some buttons, a text field and my custom view.

In the main layout of my app I call it as follows, i.e.

        <com.example.widget.MyView android:id="@+id/my_widget"
                android:layout_gravity="left"
                android:layout_height="fill_parent"
                android:layout_width="wrap_content"/>

but when placing the widget on the home screen I get the following
error:

Error inflating AppWidget
AppWidgetProviderInfo(provider=ComponentInfo{com.example.widget/
com.example.widget.MyWidget}

Could anyone shed some light on this?

Cheers,

SegioL

-- 

2. How to develop an mp3 player on android platform

Hi,

I am just getting into android development, can anyone guide me how I
can write an mp3 player?

-- 

3. java.net.HttpURLConnection throws "Received authentication challenge is null"

4. Hello~~! I have a some question that how to get airplane mode.

5. New entries in Market

6. onActivityResult not being called in Activity

7. Just wondering that can I use C2DM service without uploading App to Android Market?