Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:03:48 GMT


Sponsored Links
 I just downloaded the source for Camera and get 447 errors when I open the
project in Eclipse.

Here are some sample errors:
Description    Resource    Path    Location    Type
android.content.res.Configuration.HARDKEYBOARDHIDDEN_NO cannot be
resolved    MenuHelper.java    Camera/src/com/android/camera    line 690
Java Problem
android.R.styleable cannot be resolved    ImageGallery2.java
Camera/src/com/android/camera    line 807    Java Problem
Class com.android.camera.UploadService does not exist
AndroidManifest.xml    Camera    line 14    Android Problem
com.android.camera.PhotoAppWidgetProvider does not extend
android.content.BroadcastReceiver    AndroidManifest.xml    Camera    line
206    Android Problem
Environment.MEDIA_CHECKING cannot be resolved    Camera.java
Camera/src/com/android/camera    line 913    Java Problem
ERROR Error: No resource found that matches the given name (at 'theme' with
value '@android:style/Theme.NoDisplay').    AndroidManifest.xml    Camera
line 223    aapt Problem
ERROR No resource identifier found for attribute 'configure' in package
'android'    appwidget_info.xml    Camera/res/xml    line 17    aapt Problem

I'll be glad if I can get advice on getting rid of them.

Thx,
wmhtet

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



Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:04:08 GMT


 I got some of the answer in this thread  http://tinyurl.com/dx993n 






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


Sponsored Links


Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:04:19 GMT


 I notice that the reason for that many error is because R.java is not
generated. I have learned that R.java won't get generated if the project is
not created as android or if there are errors at the start up of the project
or if there are errors in res. I have created the project as an android
project properly. I have errors in res tho.

Here they are
Description    Resource    Path    Location    Type
Class com.android.camera.UploadService does not exist
AndroidManifest.xml    Camera    line 14    Android Problem
com.android.camera.PhotoAppWidgetProvider does not extend
android.content.BroadcastReceiver    AndroidManifest.xml    Camera    line
206    Android Problem
ERROR Error: No resource found that matches the given name (at 'theme' with
value '@android:style/Theme.NoDisplay').    AndroidManifest.xml    Camera
line 223    aapt Problem
ERROR No resource identifier found for attribute 'configure' in package
'android'    appwidget_info.xml    Camera/res/xml    line 17    aapt Problem
ERROR No resource identifier found for attribute 'initialLayout' in package
'android'    appwidget_info.xml    Camera/res/xml    line 17    aapt Problem
ERROR No resource identifier found for attribute 'updatePeriodMillis' in
package 'android'    appwidget_info.xml    Camera/res/xml    line 17    aapt
Problem
ERROR Error: String types not allowed (at 'stretchMode' with value
'spacingWidthUniform').    gallerypicker.xml    Camera/res/layout    line
20    aapt Problem






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



Other Threads

1. Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?

Hi,

First of all, the SensorGestureDetector you refer to is in its alpha
state, and so far an experimental feature of OpenIntents. In the long
run of course it would be nice if it could make its way into the
Android Framework.

Indeed I have designed it to be as close to GestureDetector as
possible. As you have noticed, the events are different, because the
underlying events delivered also differ.

As for how to use it, I expect the classes to still change a lot, so
if you need something now, it is probably better to copy & paste what
you need into your project (!Note: Apache license requires you to
properly attribute though if you use some code!), until we can provide
something more stable.

Peli
www.openintents.org


On Mar 18, 10:43am, Learning_Android <nidhiagarwal.l...@gmail.com>


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

2. [Android framework protected API] Permission protection level definitio

On Mon, Mar 16, 2009 at 10:29 AM, Guillaume Leterrier <



Signature-based permissions require that the .apk being granted the
permission be signed with the same certificate as the one declaring it.  You
could make new types of permissions that allow other things, but we haven't
needed such things so haven't implemented them.

This is just a directory.  Each .apk has a line in its manifest declaring
which certificate it should be signed with, if it doesn't want to use the
default.

I don't understand the question.  This protection level just means "same as
signature, but also allow anyone installed in /system to be granted the
permission."

You don't do this, because you will break existing applications.  This kind
of change will be considered a compatibility breakage, and such a device is
not considered to be an Android compatible device.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

3. Android Keystore V2 - Project Star

4. WIFI TETHER!!! I NEED HELP!!!

5. Your UK sales

6. Disk Activity and Disk Usage

7. a way to make signal processing