Import Sample Project Into Eclipse
I know it may be a rookie question but I haven't done this before. How do I import android sample project like: https://developer.android.com/training/location/retrieve-current.htm
Solution 1:
This is very easy:
Unzip the code, now you have the folder "LocationUpdates
" containing the Manifest.xml
file, /src
and /res
folders.
In Eclipse Go to: File
> import
> select Android
Folder, Existing Android Code Into Workspace
>
Browse to the directory where your project to import is located, and check the option Copy projects into workspace
> Next
> Change if you want the project name in New Project Name
> Finish
Refresh F5 and Build your project
In other situations where we only have /res
and /src
folder, the only way is creating a new project.
Solution 2:
I guess you should create a new Android application project , and copy paste the all the res,source and manifest will be only solution
Post a Comment for "Import Sample Project Into Eclipse"