How do i open a sample Android SDK app in Eclipse
I have created a basic program in Eclipse for Android 2.1. then I wanted to look at some of the samples, and import sample projects which are in the SDK directory. I have tried opening a new project and 'create project from existing source', I browse and can select a project, all the details come up and I can click finish, but I receive an error message saying 'could not write file', and if I click on details, it says "access is denied" I have tried copying a project folder into my own workspace but it still does the same thing.
Right click in the package explorer window.
Select New -> Other
Under the Android folder select Android Sample Project
Choose the build target and then the sample project
In the new android project window there should be three options:
1. Create new project in workspace
2. Create project from existing source
3. Create project from existing sample
(The third one is a bit hidden, as there is a text box, and check box below the second item before the third one.
Select #3, then select the api level you want the sample for (in the list below), then you can select a sample from the now non-grayed out list.
This is security issue: