[android-developers] Re: How to best build Android SDK samples in Eclipse?

2008-12-04 Thread Xavier Ducrohet

Hello,

just use the new project wizard, and select create project from
existing source.
You can then point the wizard to the ApiDemos folder.

Xav

On Thu, Dec 4, 2008 at 11:26 AM, Freddy [EMAIL PROTECTED] wrote:

 I installed the Android SDK and Eclipse and built some simple apps
 using the new Andriod Project wizard.  Now I would like to build/debug
 some of the nice apps included with the SDK (samples\ApiDemos\src\com
 \example\android\apis\app) .  For example, there's a
 PreferencesFromCode.java sample I would like to build.  I started
 going down the road of creating a new app and copying the sample code
 and resource files into it but that's just not fun (and I assume since
 Eclipse is the recommended platform that there's got to be a slick way
 to do this).  Thanks.

 What's the best method to import and build these SDK sample apps?
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to best build Android SDK samples in Eclipse?

2008-12-04 Thread Freddy

Great thanks.  I was trying to add each project individually.  I
didn't realize the ApiDemos were all in a single project starting at
the samples\ApiDemos folder.

Thanks for the tip!  Works great now.

On Dec 4, 11:51 am, Xavier Ducrohet [EMAIL PROTECTED] wrote:
 Hello,

 just use the new project wizard, and select create project from
 existing source.
 You can then point the wizard to the ApiDemos folder.

 Xav



 On Thu, Dec 4, 2008 at 11:26 AM, Freddy [EMAIL PROTECTED] wrote:

  I installed the Android SDK and Eclipse and built some simple apps
  using the new Andriod Project wizard.  Now I would like to build/debug
  some of the nice apps included with the SDK (samples\ApiDemos\src\com
  \example\android\apis\app) .  For example, there's a
  PreferencesFromCode.java sample I would like to build.  I started
  going down the road of creating a new app and copying the sample code
  and resource files into it but that's just not fun (and I assume since
  Eclipse is the recommended platform that there's got to be a slick way
  to do this).  Thanks.

  What's the best method to import and build these SDK sample apps?- Hide 
  quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---