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. HTTPClient post delay

Good morning everyone,

I am having a hugely annoying issue with delays using HTTPClient and
post the first time I call execute on the client the response takes 5
seconds to come back. Subsequent calls take around 100 to 200 ms. I am
using the Apache client so does anyone know why this takes so long?
The client setup looks like below

HttpParams params2 = new BasicHttpParams();
params2.setParameter(CoreProtocolPNames.PROTOCOL_VERSION,
HttpVersion.HTTP_1_1);
params2.setParameter(CoreConnectionPNames.TCP_NODELAY, true);
params2.setParameter(CoreProtocolPNames.HTTP_CONTENT_CHARSET,
HTTP.UTF_8);
params2.setParameter(CoreProtocolPNames.USER_AGENT, "Apache-HttpClient/
Android");
params2.setParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 15000);
params2.setParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,
false);
HttpClient client = new DefaultHttpClient(params2);

// params are a bunch of post params about 5 of them.

HttpPost post = new HttpPost(baseURL);
post.setEntity(getPostContent(params));
client.execute(post);


The timing for this look like below.

11-16 08:10:50.709: VERBOSE/SG Log verb(332): Call complete 5753
11-16 08:10:50.979: VERBOSE/SG Log verb(332): Call complete 271
11-16 08:10:51.099: VERBOSE/SG Log verb(332): Call complete 114
11-16 08:10:51.319: VERBOSE/SG Log verb(332): Call complete 221
11-16 08:10:51.419: VERBOSE/SG Log verb(332): Call complete 97
11-16 08:10:51.579: VERBOSE/SG Log verb(332): Call complete 165
11-16 08:10:51.689: VERBOSE/SG Log verb(332): Call complete 106
11-16 08:10:51.849: VERBOSE/SG Log verb(332): Call complete 161

Any help is much appreciated!

-- 

2. ACTION_PHONE_STATE_CHANGED broadcast doesn't fire my broadcast receiver

So, I added the receiver (contained in application) in the manifest

<receiver android:name="mypkg.IncomingCallReceiver">
                <intent-filter><action
android:name="android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED"/
</receiver>


I gave the readphone state permission

    <uses-permission
android:name="android.permission.READ_PHONE_STATE"/>


But the onReceive method of my receiver is never called, using a real
device (hero) or the emulator.

Am I missing something? This is driving me mad.

Thanks,

     Federico

-- 

3. Mms reopen problem?

4. very most powerful information health information

5. ERROR/AndroidRuntime(584): java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.provider.Telephony.SPN_STRINGS_UPDATED

6. XmlPullParserException: unexpected type

7. MOVING BACKGROUND IMAGE FOR ANDROID GAME