Press and hold Dpad direction doesn't generate continuous events

by ron » Sat, 27 Dec 2008 07:03:31 GMT


Sponsored Links
 Hi,

I am thinking to write a game that uses the Dpad as the direction
keys. I am expecting to press and hold the Dpad's up/down/left/right
to control my game character to move in those directions. However,
when I test it on the emulator, pressing the Dpad right will first
generate 1 onKeyDown event, then it wait for a long while (~2 seconds)
before generate successive key events.. that's not good for me since
my character will move one step and stop (the first event), then wait
for a second or 2 and it continue to move.

Anyone has any idea why it happens and anyway to work around it??
thx.

Ron

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



Press and hold Dpad direction doesn't generate continuous events

by andyclap...@googlemail.com » Tue, 30 Dec 2008 03:13:14 GMT


 Couple of points:
You shouldn't really be relying on the keyboard repeat in a game. Set
a flag on the keydown, and clear it on the keyup. Check the flag
periodically (in the main game loop or via a timer) to see what keys
are currently held down and act accordingly.
No devices have dpads yet. The G1 has a trackball that sends dpad
style keypress events, but it's no way usable for games (though it
would be interesting to see it used as a real trackball - centipede
anybody?!) Make sure you also allow an alternative keyboard control
scheme (WSAD perhaps, although a bit close to G1's menu key).




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


Sponsored Links


Other Threads

1. BitmapDrawable with unexpected size in Android 2.0.1 WVA854

I had something similar. But Android wasn't resizing the bitmap.

Doing bitmapDrawable.getBitmap().getWidth() and
bitmapDrawable.getBitmap().getHeight() returned the expected values
(in your case those would be 480 and 320). However, i loaded the
bitmap seperately and then wrapped it within a BitmapDrawable. Still,
the bitmapDrawable.getIntrinsicWidth/Height returned these scaled
values (320 x 213 in your case).




-- 

2. Javadoc compile issue

I followed the instructions on the source.android.com and I tried to
compile the android source code, but it gives me errors. I downloaded
the Java 5 JDK since Ubuntu 9.10 only has jdk6 in their apt
repository. Android was able to find the java development kit I
downloaded and here are the errors I got:

diff: out/target/product/generic/obj/PACKAGING/
updater_extensions_intermediates/register.inc.list: No such file or
directory
/bin/bash: line 0: cd: development/tools/layoutopt/app/src/resources:
No such file or directory
build/tools/droiddoc/src/ClassInfo.java:17: package com.sun.javadoc
does not exist
import com.sun.javadoc.*;
^
build/tools/droiddoc/src/ClassInfo.java:18: package
com.sun.tools.doclets does not exist
import com.sun.tools.doclets.*;
^
build/tools/droiddoc/src/ClassInfo.java:39: cannot find symbol
symbol  : class ClassDoc
location: class ClassInfo
            ClassDoc cl,
            ^
build/tools/droiddoc/src/PackageInfo.java:17: package com.sun.javadoc
does not exist
import com.sun.javadoc.*;
^
build/tools/droiddoc/src/PackageInfo.java:18: package
com.sun.tools.doclets does not exist
import com.sun.tools.doclets.*;
^
build/tools/droiddoc/src/ClassInfo.java:1406: cannot find symbol
symbol  : class ClassDoc
location: class ClassInfo
    private ClassDoc mClass;
            ^
build/tools/droiddoc/src/PackageInfo.java:32: cannot find symbol
symbol  : class PackageDoc
location: class PackageInfo
    public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo
position)
                       ^
build/tools/droiddoc/src/PackageInfo.java:182: cannot find symbol
symbol  : class PackageDoc
location: class PackageInfo
    private PackageDoc mPackage;
            ^
build/tools/droiddoc/src/ClearPage.java:17: package com.sun.javadoc
does not exist
import com.sun.javadoc.*;
^
build/tools/droiddoc/src/Converter.java:17: package com.sun.javadoc
does not exist
import com.sun.javadoc.*;
^
build/tools/droiddoc/src/Converter.java:18: package
com.sun.tools.doclets does not exist
import com.sun.tools.doclets.*;
^
build/tools/droiddoc/src/Converter.java:27: cannot find symbol
symbol  : class RootDoc
location: class Converter
    private static RootDoc root;
                   ^
build/tools/droiddoc/src/Converter.java:29: cannot find symbol
symbol  : class RootDoc
location: class Converter
    public static void makeInfo(RootDoc r)
                                ^
build/tools/droiddoc/src/Converter.java:72: cannot find symbol
symbol  : class ClassDoc
location: class Converter
    private static void initClass(ClassDoc c, ClassInfo cl)
                                  ^
build/tools/droiddoc/src/Converter.java:110: cannot find symbol
symbol  : class Tag
location: class Converter
    private static TagInfo convertTag(Tag tag)
                                      ^
build/tools/droiddoc/src/Converter.java:116: cannot find symbol
symbol  : class ThrowsTag
location: class Converter
    private static ThrowsTagInfo convertThrowsTag(ThrowsTag tag,
                                                  ^
build/tools/droiddoc/src/Converter.java:125: cannot find symbol
symbol  : class ParamTag
location: class Converter
    private static ParamTagInfo convertParamTag(ParamTag tag,
                                                ^
build/tools/droiddoc/src/Converter.java:135: cannot find symbol
symbol  : class SeeTag
location: class Converter
    private static SeeTagInfo convertSeeTag(SeeTag tag, ContainerInfo
base)
                                            ^
build/tools/droiddoc/src/Converter.java:141: cannot find symbol
symbol  : class SourcePosition
location: class Converter
    private static SourcePositionInfo convertSourcePosition
(SourcePosition sp)
                                                            ^
build/tools/droiddoc/src/Converter.java:150: cannot find symbol
symbol  : class Tag
location: class Converter
    public static TagInfo[] convertTags(Tag[] tags, ContainerInfo
base)
                                        ^
build/tools/droiddoc/src/Converter.java:176: cannot find symbol
symbol  : class ClassDoc
location: class Converter
    public static ClassInfo[] convertClasses(ClassDoc[] classes)
                                             ^
build/tools/droiddoc/src/Converter.java:187: cannot find symbol
symbol  : class Parameter
location: class Converter
    private static ParameterInfo convertParameter(Parameter p,
SourcePosition pos)
                                                  ^
build/tools/droiddoc/src/Converter.java:187: cannot find symbol
symbol  : class SourcePosition
location: class Converter
    private static ParameterInfo convertParameter(Parameter p,
SourcePosition pos)
                                                               ^
build/tools/droiddoc/src/Converter.java:196: cannot find symbol
symbol  : class Parameter
location: class Converter
    private static ParameterInfo[] convertParameters(Parameter[] p,
MemberDoc m)
                                                     ^
build/tools/droiddoc/src/Converter.java:196: cannot find symbol
symbol  : class MemberDoc
location: class Converter
    private static ParameterInfo[] convertParameters(Parameter[] p,
MemberDoc m)
                                                                    ^
build/tools/droiddoc/src/Converter.java:207: cannot find symbol
symbol  : class Type
location: class Converter
    private static TypeInfo[] convertTypes(Type[] p)
                                           ^
build/tools/droiddoc/src/Converter.java:235: cannot find symbol
symbol  : class ClassDoc
location: class Converter
    static ClassInfo obtainClass(ClassDoc o)
                                 ^
build/tools/droiddoc/src/Converter.java:235: obtainClass
(java.lang.String) is already defined in Converter
    static ClassInfo obtainClass(ClassDoc o)
                     ^
build/tools/droiddoc/src/Converter.java:287: cannot find symbol
symbol  : class MethodDoc
location: class Converter
    private static MethodInfo[] getHiddenMethods(MethodDoc[] methods){
                                                 ^
build/tools/droiddoc/src/Converter.java:313: cannot find symbol
symbol  : class MethodDoc
location: class Converter
    private static MethodInfo[] convertMethods(MethodDoc[] methods)
                                               ^
build/tools/droiddoc/src/Converter.java:335: cannot find symbol
symbol  : class ConstructorDoc
location: class Converter
    private static MethodInfo[] convertMethods(ConstructorDoc[]
methods)
                                               ^
build/tools/droiddoc/src/Converter.java:349: cannot find symbol
symbol  : class ConstructorDoc
location: class Converter
    private static MethodInfo[] convertNonWrittenConstructors
(ConstructorDoc[] methods)
                                                              ^
build/tools/droiddoc/src/Converter.java:363: cannot find symbol
symbol  : class MethodDoc
location: class Converter
    private static MethodInfo obtainMethod(MethodDoc o)
                                           ^
build/tools/droiddoc/src/Converter.java:367: cannot find symbol
symbol  : class ConstructorDoc
location: class Converter
    private static MethodInfo obtainMethod(ConstructorDoc o)
                                           ^
build/tools/droiddoc/src/Converter.java:455: cannot find symbol
symbol  : class FieldDoc
location: class Converter
    private static FieldInfo[] convertFields(FieldDoc[] fields)
                                             ^
build/tools/droiddoc/src/Converter.java:469: cannot find symbol
symbol  : class FieldDoc
location: class Converter
    private static FieldInfo obtainField(FieldDoc o)
                                         ^
build/tools/droiddoc/src/Converter.java:473: cannot find symbol
symbol  : class ConstructorDoc
location: class Converter
    private static FieldInfo obtainField(ConstructorDoc o)
                                         ^
build/tools/droiddoc/src/Converter.java:498: cannot find symbol
symbol  : class PackageDoc
location: class Converter
    private static PackageInfo obtainPackage(PackageDoc o)
                                             ^
build/tools/droiddoc/src/Converter.java:498: obtainPackage
(java.lang.String) is already defined in Converter
    private static PackageInfo obtainPackage(PackageDoc o)
                               ^
build/tools/droiddoc/src/Converter.java:513: cannot find symbol
symbol  : class Type
location: class Converter
    private static TypeInfo obtainType(Type o)
                                       ^
build/tools/droiddoc/src/Converter.java:605: cannot find symbol
symbol  : class MemberDoc
location: class Converter
    private static MemberInfo obtainMember(MemberDoc o)
                                           ^
build/tools/droiddoc/src/Converter.java:629: cannot find symbol
symbol  : class AnnotationDesc
location: class Converter
    private static AnnotationInstanceInfo[] convertAnnotationInstances
(AnnotationDesc[] orig)
 
^
build/tools/droiddoc/src/Converter.java:640: cannot find symbol
symbol  : class AnnotationDesc
location: class Converter
    private static AnnotationInstanceInfo obtainAnnotationInstance
(AnnotationDesc o)
                                                                   ^
build/tools/droiddoc/src/Converter.java:692: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
    private static HashMap<AnnotationValue,AnnotationValueInfo>
mAnnotationValues = new HashMap();
                           ^
build/tools/droiddoc/src/Converter.java:693: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
    private static HashSet<AnnotationValue>
mAnnotationValuesNeedingInit = new HashSet();
                           ^
build/tools/droiddoc/src/Converter.java:695: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
    private static AnnotationValueInfo obtainAnnotationValue
(AnnotationValue o, MethodInfo element)
                                                             ^
build/tools/droiddoc/src/Converter.java:712: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
    private static void initAnnotationValue(AnnotationValue o,
AnnotationValueInfo v) {
                                            ^
build/tools/droiddoc/src/Converter.java:224: cannot find symbol
symbol  : class ClassDoc
location: class Converter.ClassNeedingInit
        ClassNeedingInit(ClassDoc c, ClassInfo cl)
                         ^
build/tools/droiddoc/src/Converter.java:229: cannot find symbol
symbol  : class ClassDoc
location: class Converter.ClassNeedingInit
        ClassDoc c;
        ^
build/tools/droiddoc/src/DroidDoc.java:17: package com.sun.javadoc
does not exist
import com.sun.javadoc.*;
^
build/tools/droiddoc/src/DroidDoc.java:55: cannot find symbol
symbol  : class RootDoc
location: class DroidDoc
    public static RootDoc root;
                  ^
build/tools/droiddoc/src/DroidDoc.java:88: cannot find symbol
symbol  : class RootDoc
location: class DroidDoc
    public static boolean start(RootDoc r)
                                ^
build/tools/droiddoc/src/DroidDoc.java:340: cannot find symbol
symbol  : class LanguageVersion
location: class DroidDoc
    public static LanguageVersion languageVersion()
                  ^
build/tools/droiddoc/src/DroidDoc.java:425: cannot find symbol
symbol  : class DocErrorReporter
location: class DroidDoc
    public static boolean validOptions(String[][] options,
DocErrorReporter r)
                                                           ^
build/tools/droiddoc/src/DroidDoc.java:984: cannot find symbol
symbol  : class Doc
location: class DroidDoc
    private static boolean hasHideAnnotation(Doc doc) {
                                             ^
build/tools/droiddoc/src/DroidDoc.java:992: cannot find symbol
symbol  : class Doc
location: class DroidDoc
    private static boolean isHidden(Doc doc) {
                                    ^
build/tools/droiddoc/src/ClassInfo.java:1292: cannot find symbol
symbol  : class ClassDoc
location: class ClassInfo
        ClassDoc cl = mClass;
        ^
build/tools/droiddoc/src/Converter.java:36: cannot find symbol
symbol  : class ClassDoc
location: class Converter
        ClassDoc[] classDocs = r.classes();
        ^
build/tools/droiddoc/src/Converter.java:74: cannot find symbol
symbol  : class MethodDoc
location: class Converter
        MethodDoc[] annotationElements;
        ^
build/tools/droiddoc/src/Converter.java:75: cannot find symbol
symbol  : class AnnotationTypeDoc
location: class Converter
        if (c instanceof AnnotationTypeDoc) {
                         ^
build/tools/droiddoc/src/Converter.java:76: cannot find symbol
symbol  : class AnnotationTypeDoc
location: class Converter
            annotationElements = ((AnnotationTypeDoc)c).elements();
                                   ^
build/tools/droiddoc/src/Converter.java:78: cannot find symbol
symbol  : class MethodDoc
location: class Converter
            annotationElements = new MethodDoc[0];
                                     ^
build/tools/droiddoc/src/Converter.java:128: internal error; cannot
instantiate ParamTagInfo
(java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String,ContainerInfo,SourcePositionInfo)
at ParamTagInfo to ()
        return new ParamTagInfo(tag.name(), tag.kind(), tag.text(),
               ^
build/tools/droiddoc/src/Converter.java:155: cannot find symbol
symbol  : class Tag
location: class Converter
            Tag t = tags[i];
            ^
build/tools/droiddoc/src/Converter.java:160: cannot find symbol
symbol  : class SeeTag
location: class Converter
            if (t instanceof SeeTag) {
                             ^
build/tools/droiddoc/src/Converter.java:161: cannot find symbol
symbol  : class SeeTag
location: class Converter
                out[i] = Converter.convertSeeTag((SeeTag)t, base);
                                                  ^
build/tools/droiddoc/src/Converter.java:163: cannot find symbol
symbol  : class ThrowsTag
location: class Converter
            else if (t instanceof ThrowsTag) {
                                  ^
build/tools/droiddoc/src/Converter.java:164: cannot find symbol
symbol  : class ThrowsTag
location: class Converter
                out[i] = Converter.convertThrowsTag((ThrowsTag)t,
base);
                                                     ^
build/tools/droiddoc/src/Converter.java:166: cannot find symbol
symbol  : class ParamTag
location: class Converter
            else if (t instanceof ParamTag) {
                                  ^
build/tools/droiddoc/src/Converter.java:167: cannot find symbol
symbol  : class ParamTag
location: class Converter
                out[i] = Converter.convertParamTag((ParamTag)t, base);
                                                    ^
build/tools/droiddoc/src/Converter.java:198: cannot find symbol
symbol  : class SourcePosition
location: class Converter
        SourcePosition pos = m.position();
        ^
build/tools/droiddoc/src/Converter.java:244: cannot find symbol
symbol: class ClassDoc
            ClassDoc c = (ClassDoc)o;
            ^
build/tools/droiddoc/src/Converter.java:244: cannot find symbol
symbol: class ClassDoc
            ClassDoc c = (ClassDoc)o;
                          ^
build/tools/droiddoc/src/Converter.java:260: cannot find symbol
symbol: class AnnotationTypeDoc
                    (c instanceof AnnotationTypeDoc),
                                  ^
build/tools/droiddoc/src/Converter.java:245: internal error; cannot
instantiate ClassInfo
(ClassDoc,java.lang.String,SourcePositionInfo,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,java.lang.String,boolean)
at ClassInfo to ()
            ClassInfo cl = new ClassInfo(
                           ^
build/tools/droiddoc/src/Converter.java:276: cannot find symbol
symbol: class ClassDoc
                initClass((ClassDoc)o, (ClassInfo)r);
                           ^
build/tools/droiddoc/src/Converter.java:376: cannot find symbol
symbol: class AnnotationTypeElementDoc
            if (o instanceof AnnotationTypeElementDoc) {
                             ^
build/tools/droiddoc/src/Converter.java:377: cannot find symbol
symbol: class AnnotationTypeElementDoc
                AnnotationTypeElementDoc m = (AnnotationTypeElementDoc)
o;
                ^
build/tools/droiddoc/src/Converter.java:377: cannot find symbol
symbol: class AnnotationTypeElementDoc
                AnnotationTypeElementDoc m = (AnnotationTypeElementDoc)
o;
                                              ^
build/tools/droiddoc/src/Converter.java:378: internal error; cannot
instantiate MethodInfo(java.lang.String,TypeInfo
[],java.lang.String,java.lang.String,ClassInfo,ClassInfo,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,MethodInfo,TypeInfo,ParameterInfo
[],ClassInfo[],SourcePositionInfo,AnnotationInstanceInfo[]) at
MethodInfo to ()
                MethodInfo result = new MethodInfo(
                                    ^
build/tools/droiddoc/src/Converter.java:401: cannot find symbol
symbol: class MethodDoc
            else if (o instanceof MethodDoc) {
                                  ^
build/tools/droiddoc/src/Converter.java:402: cannot find symbol
symbol: class MethodDoc
                MethodDoc m = (MethodDoc)o;
                ^
build/tools/droiddoc/src/Converter.java:402: cannot find symbol
symbol: class MethodDoc
                MethodDoc m = (MethodDoc)o;
                               ^
build/tools/droiddoc/src/Converter.java:403: internal error; cannot
instantiate MethodInfo(java.lang.String,TypeInfo
[],java.lang.String,java.lang.String,ClassInfo,ClassInfo,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,MethodInfo,TypeInfo,ParameterInfo
[],ClassInfo[],SourcePositionInfo,AnnotationInstanceInfo[]) at
MethodInfo to ()
                MethodInfo result = new MethodInfo(
                                    ^
build/tools/droiddoc/src/Converter.java:427: cannot find symbol
symbol: class ConstructorDoc
                ConstructorDoc m = (ConstructorDoc)o;
                ^
build/tools/droiddoc/src/Converter.java:427: cannot find symbol
symbol: class ConstructorDoc
                ConstructorDoc m = (ConstructorDoc)o;
                                    ^
build/tools/droiddoc/src/Converter.java:428: internal error; cannot
instantiate MethodInfo(java.lang.String,TypeInfo
[],java.lang.String,java.lang.String,ClassInfo,ClassInfo,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,MethodInfo,TypeInfo,ParameterInfo
[],ClassInfo[],SourcePositionInfo,AnnotationInstanceInfo[]) at
MethodInfo to ()
                MethodInfo result = new MethodInfo(
                                    ^
build/tools/droiddoc/src/Converter.java:482: cannot find symbol
symbol: class FieldDoc
            FieldDoc f = (FieldDoc)o;
            ^
build/tools/droiddoc/src/Converter.java:482: cannot find symbol
symbol: class FieldDoc
            FieldDoc f = (FieldDoc)o;
                          ^
build/tools/droiddoc/src/Converter.java:483: internal error; cannot
instantiate FieldInfo
(java.lang.String,ClassInfo,ClassInfo,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,TypeInfo,java.lang.String,java.lang.Object,SourcePositionInfo,AnnotationInstanceInfo
[]) at FieldInfo to ()
            return new FieldInfo(f.name(),
                   ^
build/tools/droiddoc/src/Converter.java:507: cannot find symbol
symbol: class PackageDoc
            PackageDoc p = (PackageDoc)o;
            ^
build/tools/droiddoc/src/Converter.java:507: cannot find symbol
symbol: class PackageDoc
            PackageDoc p = (PackageDoc)o;
                            ^
build/tools/droiddoc/src/Converter.java:522: cannot find symbol
symbol: class Type
           Type t = (Type)o;
           ^
build/tools/droiddoc/src/Converter.java:522: cannot find symbol
symbol: class Type
           Type t = (Type)o;
                     ^
build/tools/droiddoc/src/Converter.java:524: cannot find symbol
symbol: class ClassDoc
           if (t instanceof ClassDoc) {
                            ^
build/tools/droiddoc/src/Converter.java:525: cannot find symbol
symbol: class ClassDoc
               simpleTypeName = ((ClassDoc)t).name();
                                  ^
build/tools/droiddoc/src/Converter.java:529: internal error; cannot
instantiate TypeInfo
(boolean,java.lang.String,java.lang.String,java.lang.String,ClassInfo)
at TypeInfo to ()
           TypeInfo ti = new TypeInfo(t.isPrimitive(), t.dimension(),
                         ^
build/tools/droiddoc/src/Converter.java:537: cannot find symbol
symbol: class Type
            Type t = (Type)o;
            ^
build/tools/droiddoc/src/Converter.java:537: cannot find symbol
symbol: class Type
            Type t = (Type)o;
                      ^
build/tools/droiddoc/src/Converter.java:543: cannot find symbol
symbol: class ClassDoc
            else if (t instanceof ClassDoc) {
                                  ^
build/tools/droiddoc/src/Converter.java:544: cannot find symbol
symbol: class ClassDoc
                ti.setTypeArguments(Converter.convertTypes(((ClassDoc)
t).typeParameters()));
                                                             ^
build/tools/droiddoc/src/Converter.java:559: cannot find symbol
symbol: class Type
            Type t = (Type)o;
            ^
build/tools/droiddoc/src/Converter.java:559: cannot find symbol
symbol: class Type
            Type t = (Type)o;
                      ^
build/tools/droiddoc/src/Converter.java:564: cannot find symbol
symbol: class Type
              for(Type ty : t.asParameterizedType().typeArguments()){
                  ^
build/tools/droiddoc/src/Converter.java:574: cannot find symbol
symbol: class Type
              for(Type ty : t.asTypeVariable().bounds()){
                  ^
build/tools/droiddoc/src/Converter.java:584: cannot find symbol
symbol: class Type
              for(Type ty : t.asWildcardType().superBounds()){
                  ^
build/tools/droiddoc/src/Converter.java:589: cannot find symbol
symbol: class Type
                for(Type ty : t.asWildcardType().extendsBounds()){
                    ^
build/tools/droiddoc/src/Converter.java:614: cannot find symbol
symbol: class MethodDoc
            if (o instanceof MethodDoc) {
                             ^
build/tools/droiddoc/src/Converter.java:615: cannot find symbol
symbol: class MethodDoc
                return Converter.obtainMethod((MethodDoc)o);
                                               ^
build/tools/droiddoc/src/Converter.java:617: cannot find symbol
symbol: class ConstructorDoc
            else if (o instanceof ConstructorDoc) {
                                  ^
build/tools/droiddoc/src/Converter.java:618: cannot find symbol
symbol: class ConstructorDoc
                return Converter.obtainMethod((ConstructorDoc)o);
                                               ^
build/tools/droiddoc/src/Converter.java:620: cannot find symbol
symbol: class FieldDoc
            else if (o instanceof FieldDoc) {
                                  ^
build/tools/droiddoc/src/Converter.java:621: cannot find symbol
symbol: class FieldDoc
                return Converter.obtainField((FieldDoc)o);
                                              ^
build/tools/droiddoc/src/Converter.java:649: cannot find symbol
symbol: class AnnotationDesc
            AnnotationDesc a = (AnnotationDesc)o;
            ^
build/tools/droiddoc/src/Converter.java:649: cannot find symbol
symbol: class AnnotationDesc
            AnnotationDesc a = (AnnotationDesc)o;
                                ^
build/tools/droiddoc/src/Converter.java:651: package AnnotationDesc
does not exist
            AnnotationDesc.ElementValuePair[] ev = a.elementValues();
                          ^
build/tools/droiddoc/src/Converter.java:715: cannot find symbol
symbol  : class Type
location: class Converter
        if (orig instanceof Type) {
                            ^
build/tools/droiddoc/src/Converter.java:717: cannot find symbol
symbol  : class Type
location: class Converter
            converted = Converter.obtainType((Type)orig);
                                              ^
build/tools/droiddoc/src/Converter.java:719: cannot find symbol
symbol  : class FieldDoc
location: class Converter
        else if (orig instanceof FieldDoc) {
                                 ^
build/tools/droiddoc/src/Converter.java:721: cannot find symbol
symbol  : class FieldDoc
location: class Converter
            converted = Converter.obtainField((FieldDoc)orig);
                                               ^
build/tools/droiddoc/src/Converter.java:723: cannot find symbol
symbol  : class AnnotationDesc
location: class Converter
        else if (orig instanceof AnnotationDesc) {
                                 ^
build/tools/droiddoc/src/Converter.java:725: cannot find symbol
symbol  : class AnnotationDesc
location: class Converter
            converted = Converter.obtainAnnotationInstance
((AnnotationDesc)orig);
                                                            ^
build/tools/droiddoc/src/Converter.java:727: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
        else if (orig instanceof AnnotationValue[]) {
                                 ^
build/tools/droiddoc/src/Converter.java:728: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
            AnnotationValue[] old = (AnnotationValue[])orig;
            ^
build/tools/droiddoc/src/Converter.java:728: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
            AnnotationValue[] old = (AnnotationValue[])orig;
                                     ^
build/tools/droiddoc/src/Converter.java:745: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
            HashSet<AnnotationValue> set =
mAnnotationValuesNeedingInit;
                    ^
build/tools/droiddoc/src/Converter.java:747: cannot find symbol
symbol  : class AnnotationValue
location: class Converter
            for (AnnotationValue o: set) {
                 ^
build/tools/droiddoc/src/DroidDoc.java:342: cannot find symbol
symbol  : variable LanguageVersion
location: class DroidDoc
        return LanguageVersion.JAVA_1_5;
               ^
build/tools/droiddoc/src/DroidDoc.java:994: cannot find symbol
symbol  : class MemberDoc
location: class DroidDoc
        if (doc instanceof MemberDoc) {
                           ^
build/tools/droiddoc/src/DroidDoc.java:999: cannot find symbol
symbol  : class ClassDoc
location: class DroidDoc
        if (doc instanceof ClassDoc) {
                           ^
build/tools/droiddoc/src/DroidDoc.java:1000: cannot find symbol
symbol  : class ClassDoc
location: class DroidDoc
            ClassDoc classDoc = (ClassDoc) doc;
            ^
build/tools/droiddoc/src/DroidDoc.java:1000: cannot find symbol
symbol  : class ClassDoc
location: class DroidDoc
            ClassDoc classDoc = (ClassDoc) doc;
                                 ^
build/tools/droiddoc/src/DroidDoc.java:1009: cannot find symbol
symbol  : class ClassDoc
location: class DroidDoc
            ClassDoc current = classDoc;
            ^
build/tools/droiddoc/src/DroidDoc.java:1040: cannot find symbol
symbol  : class Doc
location: class DroidDoc
                if ((entry instanceof Doc) && isHidden((Doc) entry)) {
                                      ^
build/tools/droiddoc/src/DroidDoc.java:1040: cannot find symbol
symbol  : class Doc
location: class DroidDoc
                if ((entry instanceof Doc) && isHidden((Doc) entry)) {
                                                        ^
build/tools/droiddoc/src/DroidDoc.java:1080: cannot find symbol
symbol  : class Type
location: class DroidDoc.HideHandler
            if (proxy instanceof Type && methodName.equals
("toString")) {
                                 ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
136 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/droiddoc_intermediates/
javalib.jar] Error 41



So what is the problem? The first like says something about javadoc
not existing. Doesn't javadoc come with the JDK? Please help me with
this because I really want to get started with Android kernel
modification and development.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Papago for android

4. Google Marketplace Chargeback Fee

5. Perfect spl

6. Android "disuntik" ke device lain

7. com.android.camera replaced by com.motorola.camera