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
copied.
Can someone help me?

Thanks for all.

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



Other Threads

1. Bitmap Matrix Rotate

Hello,

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
rotate?

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

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

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

Kind Regards
Nir

-- 

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

hi
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); 
//path
to image
                                Toast toast = Toast.makeText(this, "path: "+
getRealPathFromURI(uri),
                                Toast.LENGTH_SHORT); toast.show();
                                return;
                } else if
                        (extras.containsKey(Intent.EXTRA_TEXT)) {
}

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

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

-- 

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.