Exclude directory with adb pull

by Francesco Pace » Thu, 13 Aug 2009 16:24:20 GMT

Sponsored Links
 Hy guys, I need a help.
With my java application I have created a private directory in my
/data/data/org.android.myapplication. The name is "backup".

I want that when anyone execute "adb pull /data" my directory must not be
Can someone help me?

Thanks for all.


Other Threads

1. Bitmap Matrix Rotate


I have a bitmap that i want it to rotate all the time.
This bitmap is placed in a SurfaceView.
My question is: Do i have to create the bitmap every time i want it to

here is my code it is placed is the on draw method:

leftMatrix.setRotate(degrees++, coords.getX()+bitmap.getWidth()/2,

                graphic.setBitmap(Bitmap.createBitmap(bitmap, 0, 0,
bitmap.getWidth(), bitmap.getHeight(), leftMatrix, false));
canvas.drawBitmap(bitmap, coords.getX(), coords.getY(), null);

Kind Regards


2. How do i multi select images in the Gallery and send there URL to my activity?

In the gallery I have added my Item to the share menu. But i can only
get one image and making my Activity start. This code give me the URL
for one image. Is it possible to set up the Gallery or the share menu
so that user can select one or many pictures?

if (Intent.ACTION_SEND.equals(action))
        { if extras.containsKey(Intent.EXTRA_STREAM))
                { Uri uri = (Uri)extras.getParcelable(Intent.EXTRA_STREAM); 
to image
                                Toast toast = Toast.makeText(this, "path: "+
                                Toast.LENGTH_SHORT); toast.show();
                } else if
                        (extras.containsKey(Intent.EXTRA_TEXT)) {

} public String getRealPathFromURI(Uri contentUri) { String[] proj =
                MediaStore.Images.Media.DATA }; Cursor cursor =
                proj, null, null, null); int column_index =
                cursor.moveToFirst(); return cursor.getString(column_index);

                        <action android:name="android.intent.action.SEND" />
android:name="android.intent.category.DEFAULT" /
                    <data android:mimeType="image/*" />


3. Building android 2.2 for pb11mpcore

4. OOP objects + complex view

5. InetAddress and the isReachable method

6. icons graphics in android app

7. Providing EXTRA_AUTHORITIES when showing the ACTION_ADD_ACCOUNTS in order to show restricted account types to the user.