Re: [android-developers] Re: Tapping the overflow button make the action mode finish.
I am sorry, This is the android system's problem and I have no solution. 2013/10/22 Cliffus cliff.ophalv...@gmail.com can you please post the answer to your question? thanks! Cliff Op woensdag 6 maart 2013 09:13:53 UTC+1 schreef Hilda Chen: Dear All: I have added some menu items to action mode of EditText, and two menu items gone to overflow. But when I tapped the overflow button, the action mode disappeared at once. Why? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/kd4e0PKuox8/unsubscribe . To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Hilda Thanks and Regards! -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] launcher has no focus
Hi All: I create a launcher app(category android:name=android.intent.category.HOME /), and the app must check update in loading view, if there is a update version, it will display a dialog, but the dialog has no focus and I set OnShowListener on the dialog and ouput the result of getCurrentFocus() , the result is null. if I make the button of the dialog request focus in the setOnShowListener, the dialog also has no focus. Why? I want the button of the dialog has focus in the launcher app, How can I do? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to load .so lib in jni?
Hi All: I want to load a .so lib in JNI(C++). And I put it in the sub directory of jni directory, the code is below: dl_handle = dlopen(libcoder/libDutDecH264_arm11.so, RTLD_LAZY); But it fails(I use the eclipse). I want to know whether the android check a lib is 32bit or 64bit? I find there is a lot of .so lib in the android and why the 64bit system and 32bit system both can build android source code? if my code is wrong, what can I do that can load the .so lib successful? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to load .so lib in jni?
Does jni of android support to load .so lib? 在 2013年9月23日星期一UTC+8下午2时00分01秒,Hilda Chen写道: Hi All: I want to load a .so lib in JNI(C++). And I put it in the sub directory of jni directory, the code is below: dl_handle = dlopen(libcoder/libDutDecH264_arm11.so, RTLD_LAZY); But it fails(I use the eclipse). I want to know whether the android check a lib is 32bit or 64bit? I find there is a lot of .so lib in the android and why the 64bit system and 32bit system both can build android source code? if my code is wrong, what can I do that can load the .so lib successful? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to load .so lib in jni?
I have the idea, push the .so to /system/lib 在 2013年9月23日星期一UTC+8下午2时00分01秒,Hilda Chen写道: Hi All: I want to load a .so lib in JNI(C++). And I put it in the sub directory of jni directory, the code is below: dl_handle = dlopen(libcoder/libDutDecH264_arm11.so, RTLD_LAZY); But it fails(I use the eclipse). I want to know whether the android check a lib is 32bit or 64bit? I find there is a lot of .so lib in the android and why the 64bit system and 32bit system both can build android source code? if my code is wrong, what can I do that can load the .so lib successful? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Tapping the overflow button make the action mode finish.
Thanks! I konwn. 2013/3/6 Mark Murphy mmur...@commonsware.com Action modes and the overflow menu do not work together, last I tried. I have filed an issue on it: https://code.google.com/p/android/issues/detail?id=23381 On Wed, Mar 6, 2013 at 3:13 AM, Hilda Chen hilda.chen0...@gmail.com wrote: Dear All: I have added some menu items to action mode of EditText, and two menu items gone to overflow. But when I tapped the overflow button, the action mode disappeared at once. Why? Thanks! Hilda -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.6 Available! -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Hilda Thanks and Regards! -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Tapping the overflow button make the action mode finish.
Dear All: I have added some menu items to action mode of EditText, and two menu items gone to overflow. But when I tapped the overflow button, the action mode disappeared at once. Why? Thanks! Hilda -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Popup menu flash on the action bar
https://lh6.googleusercontent.com/-BLMoKD1eJJI/USXpTFYA9LI/APU/VYzg7R6oVBE/s1600/pic_5.png Dear all: I add the codes of two items to the action bar of framework/../widget/Editor.java and set them ACTION_IF_ROOM | ACTION_WITH_TEXT. They display in the popup menu when you click the menu button of action bar. But this popup menu flash past before I want to tap the one of the two items and the action bar disappears. Why? Thanks。 Hilda -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Popup menu flash on the action bar
The issue is the items of action overflow flash once by tapping action overflow icon. 2013/2/21 Hilda Chen hilda.chen0...@gmail.com https://lh6.googleusercontent.com/-BLMoKD1eJJI/USXpTFYA9LI/APU/VYzg7R6oVBE/s1600/pic_5.png Dear all: I add the codes of two items to the action bar of framework/../widget/Editor.java and set them ACTION_IF_ROOM | ACTION_WITH_TEXT. They display in the popup menu when you click the menu button of action bar. But this popup menu flash past before I want to tap the one of the two items and the action bar disappears. Why? Thanks。 Hilda -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Hilda Thanks and Regards! -- -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] why the underline is shorter than text's length --spinner android
https://lh6.googleusercontent.com/-HSr3EpgHwe0/UOf3ppcQhzI/AOI/ryRtbv_Ov-8/s1600/spinner.png Hi all: I make a spinner on android 4.1.2, and the resolution is hdpi. The default style of spinner is the attached picture. but my underline(the red line, please see the picture) is shorter than the text's length. Why? my code : Spinner android:id=@+id/spinner_filter android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=12dp android:layout_alignParentLeft=true / Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ContentResolver.query return null android
Thanks Chris. It is my mistake. There misses a 'break' in switch in function of provide code. I am so sorry. 2012/12/12 Chris Mawata chris.maw...@gmail.com Are you sure the uri coming into the method is not null? On Tuesday, December 11, 2012 10:19:13 PM UTC-5, Hilda Chen wrote: public int getCount(Uri uri){ Cursor c=null; int size=0; if(uri.equals(**DatabaseContants.CONTENT_URI_**SETTING)){ c=mContentResolver.query(uri, DatabaseContants.COLUMNS_**SETTING,null, null,null); } else if(uri.equals(**DatabaseContants.CONTENT_URI_** FAVORITEPOI)){ Log.v(TAG,ContentResolver is +mContentResolver); c=mContentResolver.query(uri, DatabaseContants.COLUMNS_**FAVORITEPOI,null, null,DatabaseContants.PLACEID_**FAVORITE+ DESC); Log.v(TAG,Cursor c is +c); } if(c!=nullc.getCount()0)**size=c.getCount(); c.close(); return size; } the error appears in this function. 在 2012年12月12日星期三UTC+**8上午11时13分55秒,Hilda Chen写道: Hi All: I create a datatbase with provider and get the data by content resolver. when call ContentResolver.insert is ok, but ContentResolver.query fail. c=mContentResolver.query(uri, DatabaseContants.COLUMNS_**FAVORITEPOI,null, null,DatabaseContants.PLACEID_**FAVORITE+ DESC); it return null, and the ContentResolver is not null; the log is 06-02 03:31:34.235: E/AndroidRuntime(23134): FATAL EXCEPTION: main 06-02 03:31:34.235: E/AndroidRuntime(23134): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.** providerdatabase/com.example.**providerdatabase.**PrivoterDatabaseActivity}: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2082) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.**handleLaunchActivity(** ActivityThread.java:2107) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.**access$600(ActivityThread.**java:139) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread$H.**handleMessage(ActivityThread.**java:1207) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Handler.* *dispatchMessage(Handler.java:**99) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Looper.loop(Looper.**java:137) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.**main(ActivityThread.java:4812) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.**invokeNative(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.**invoke(Method.java:511) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(** ZygoteInit.java:789) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:556) 06-02 03:31:34.235: E/AndroidRuntime(23134): at dalvik.system.NativeStart.**main(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): Caused by: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.**DatabaseController.getCount(** DatabaseController.java:47) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.**PrivoterDatabaseActivity.**onCreate(** PrivoterDatabaseActivity.java:**62) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Activity. **performCreate(Activity.java:**5008) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Instrumentation.**callActivityOnCreate(** Instrumentation.java:1079) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.**performLaunchActivity(** ActivityThread.java:2046) 06-02 03:31:34.235: E/AndroidRuntime(23134): ... 11 more can you help me? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Hilda Thanks and Regards! -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ContentResolver.query return null android
Hi All: I create a datatbase with provider and get the data by content resolver. when call ContentResolver.insert is ok, but ContentResolver.query fail. c=mContentResolver.query(uri, DatabaseContants.COLUMNS_FAVORITEPOI,null, null,DatabaseContants.PLACEID_FAVORITE+ DESC); it return null, and the ContentResolver is not null; the log is 06-02 03:31:34.235: E/AndroidRuntime(23134): FATAL EXCEPTION: main 06-02 03:31:34.235: E/AndroidRuntime(23134): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.providerdatabase/com.example.providerdatabase.PrivoterDatabaseActivity}: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2082) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2107) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.access$600(ActivityThread.java:139) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Handler.dispatchMessage(Handler.java:99) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Looper.loop(Looper.java:137) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.main(ActivityThread.java:4812) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.invokeNative(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.invoke(Method.java:511) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556) 06-02 03:31:34.235: E/AndroidRuntime(23134): at dalvik.system.NativeStart.main(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): Caused by: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.DatabaseController.getCount(DatabaseController.java:47) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.PrivoterDatabaseActivity.onCreate(PrivoterDatabaseActivity.java:62) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Activity.performCreate(Activity.java:5008) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2046) 06-02 03:31:34.235: E/AndroidRuntime(23134): ... 11 more can you help me? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ContentResolver.query return null android
public int getCount(Uri uri){ Cursor c=null; int size=0; if(uri.equals(DatabaseContants.CONTENT_URI_SETTING)){ c=mContentResolver.query(uri, DatabaseContants.COLUMNS_SETTING,null, null,null); } else if(uri.equals(DatabaseContants.CONTENT_URI_FAVORITEPOI)){ Log.v(TAG,ContentResolver is +mContentResolver); c=mContentResolver.query(uri, DatabaseContants.COLUMNS_FAVORITEPOI,null, null,DatabaseContants.PLACEID_FAVORITE+ DESC); Log.v(TAG,Cursor c is +c); } if(c!=nullc.getCount()0)size=c.getCount(); c.close(); return size; } the error appears in this function. 在 2012年12月12日星期三UTC+8上午11时13分55秒,Hilda Chen写道: Hi All: I create a datatbase with provider and get the data by content resolver. when call ContentResolver.insert is ok, but ContentResolver.query fail. c=mContentResolver.query(uri, DatabaseContants.COLUMNS_FAVORITEPOI,null, null,DatabaseContants.PLACEID_FAVORITE+ DESC); it return null, and the ContentResolver is not null; the log is 06-02 03:31:34.235: E/AndroidRuntime(23134): FATAL EXCEPTION: main 06-02 03:31:34.235: E/AndroidRuntime(23134): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.providerdatabase/com.example.providerdatabase.PrivoterDatabaseActivity}: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2082) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2107) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.access$600(ActivityThread.java:139) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Handler.dispatchMessage(Handler.java:99) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.os.Looper.loop(Looper.java:137) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.main(ActivityThread.java:4812) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.invokeNative(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): at java.lang.reflect.Method.invoke(Method.java:511) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556) 06-02 03:31:34.235: E/AndroidRuntime(23134): at dalvik.system.NativeStart.main(Native Method) 06-02 03:31:34.235: E/AndroidRuntime(23134): Caused by: java.lang.NullPointerException 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.DatabaseController.getCount(DatabaseController.java:47) 06-02 03:31:34.235: E/AndroidRuntime(23134): at com.example.providerdatabase.PrivoterDatabaseActivity.onCreate(PrivoterDatabaseActivity.java:62) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Activity.performCreate(Activity.java:5008) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079) 06-02 03:31:34.235: E/AndroidRuntime(23134): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2046) 06-02 03:31:34.235: E/AndroidRuntime(23134): ... 11 more can you help me? Thanks! Hilda -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Where is the code of the browser's select all bar?
Hi: if i long press a text in the browser, the browser will display a bar/menu above. and the bar contains SELECT ALL icon and some other icons. I want to know where the code of the bar in the android source code. https://lh6.googleusercontent.com/-cWRn1gtMS3Q/UI42oDITe4I/ANk/fsUTbjdRcfU/s1600/Screenshot+from+2012-10-29+15%5E%2550%5E%2550.png Thanks! Hilda https://lh6.googleusercontent.com/-cWRn1gtMS3Q/UI42oDITe4I/ANk/fsUTbjdRcfU/s1600/Screenshot+from+2012-10-29+15%5E%2550%5E%2550.png -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Where is the code of the browser's select all bar?
I have known the bar was named action bar,but i don't also know where the code is . 在 2012年10月29日星期一UTC+8下午3时57分31秒,Hilda Chen写道: Hi: if i long press a text in the browser, the browser will display a bar/menu above. and the bar contains SELECT ALL icon and some other icons. I want to know where the code of the bar in the android source code. https://lh6.googleusercontent.com/-cWRn1gtMS3Q/UI42oDITe4I/ANk/fsUTbjdRcfU/s1600/Screenshot+from+2012-10-29+15%5E%2550%5E%2550.png Thanks! Hilda https://lh6.googleusercontent.com/-cWRn1gtMS3Q/UI42oDITe4I/ANk/fsUTbjdRcfU/s1600/Screenshot+from+2012-10-29+15%5E%2550%5E%2550.png -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Error While building android4.1 on Ubuntu12.04 in VMware.
I have built the android develop environment and downloaded the android4.1-cts source code from the android develop website.But there is an error while building the source code as follows: host Java:ddmlib-tests (out/host/common/obj/JAVA_LIBRARIES/ddmlib- tests_intermediates/classes) host Java: swtmenubar (out/host/common/obj/JAVA_LIBRARIES/swtmenubar_intermediates/classes) Exception in thread main java.lang.OutOfMemoryError: Java heap space at java.util.Vector.init(Vector.java:111) at java.util.Vector.init(Vector.java:124) at org.antlr.analysis.DFA.createTransitionTableEntryForState(DFA.java:551) at org.antlr.analysis.DFA.createStateTables(DFA.java:440) at org.antlr.codegen.CodeGenerator.genLookaheadDecision(CodeGenerator.java:645) at org.antlr.grammar.v3.CodeGenTreeWalker.block(CodeGenTreeWalker.java:2876) at org.antlr.grammar.v3.CodeGenTreeWalker.rule(CodeGenTreeWalker.java:2382) at org.antlr.grammar.v3.CodeGenTreeWalker.rules(CodeGenTreeWalker.java:1537) at org.antlr.grammar.v3.CodeGenTreeWalker.grammarSpec(CodeGenTreeWalker.java:1441) at org.antlr.grammar.v3.CodeGenTreeWalker.grammar_(CodeGenTreeWalker.java:461) at org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:421) at org.antlr.Tool.generateRecognizer(Tool.java:655) at org.antlr.Tool.process(Tool.java:468) at org.antlr.Tool.main(Tool.java:93) make: *** [out/host/common/obj/JAVA_LIBRARIES/smali_intermediates/smaliLexer.java] Error 1 make: *** Waiting for unfinished jobs I have found some solutions, such as changing java -Xms16m -Xmx1024m, but it does not work either. What can I do? Thanks! -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en