Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Android 2.0.1 API 6 Samples
PostPosted: Tue Oct 05, 2010 10:38 pm 
Offline

Joined: Sat Jan 31, 2009 11:49 pm
Posts: 5
Curently Android 2.0.1 (API level 6) is the latest version supported for the AT91SAM9M10-G45-EK.

This SDK is listed as obsolete but is supported at Android developer site:

http://developer.android.com

The samples for "android-6" are not listed. The samples for "android-7" and "android-7" are present but not all of the examples run under API level 6.

Does anyone have a link to the Android-6 samples?


Top
 Profile  
 
 Post subject: Re: Android 2.0.1 API 6 Samples
PostPosted: Wed Oct 06, 2010 8:52 am 
Offline

Joined: Wed Jul 14, 2010 8:27 am
Posts: 5
Android 2.0.1 = Android 2.1
So API 7 is you need.


Top
 Profile  
 
 Post subject: Re: Android 2.0.1 API 6 Samples
PostPosted: Wed Oct 06, 2010 7:38 pm 
Offline

Joined: Sat Jan 31, 2009 11:49 pm
Posts: 5
That's good news!

I am digging into the logcat output and it looks like the problem is due to the camera being missing.

Has anyone modified ApiDemos to not require a camera?


Top
 Profile  
 
 Post subject: Re: Android 2.0.1 API 6 Samples
PostPosted: Wed Oct 06, 2010 9:55 pm 
Offline

Joined: Sat Jan 31, 2009 11:49 pm
Posts: 5
The "ApiDemos" from the API Level 7 samples will work on the AT91SAM9M10-G45-EK running Android 2.01 if the camera function is removed. I was able to do this by opening the ApiDemos Manifest and making these three changes:

1. Remove .graphics.CameraPreview (Activity) from Application Nodes.

2. Remove android.permission.CAMERA from Permissions.

3. Remove the two lines with "android.hardware.camera" from the AndroidManifest.xml file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: