[android-developers] meanings of Android GC log messages

2013-03-07 Thread futurexiong
First I'd like to paste some GC log messages here for Honeycomb . 03-08 01:31:54.354: D/dalvikvm(258): GC_CONCURRENT freed 196K, 5% free 7078K/7431K, paused 3ms+3ms 03-08 01:31:54.494: D/dalvikvm(258): GC_FOR_ALLOC freed 4K, 5% free 7073K/7431K, paused 75ms 03-08 01:31:54.494:

[android-developers] Re: How to hide my widget from the Widgets list.....?

2013-03-01 Thread futurexiong
AppWidgetProvider is also a BroadcastReceiver,and I think you also can enable or disable it through your code.But I don't know whether it would work because I don't see AppWidgetService.java parse the enabled attribute and how it deals with that attribute.Get a try.Hope that can help you. 在

[android-developers] binding AppWidget on system lockscreen with android.permission.BIND_APPWIDGET

2013-02-28 Thread futurexiong
I develope a lockscreen app which installed in system/app,the app has permission:android.permission.BIND_APPWIDGET and android:sharedUserId = android.uid.system. In my app I would bind system music appwidget as default.And if I run it just as a system app,it runs properly and binds widget

[android-developers] can not create AVD for Android 2.3.3 based on Atom x86 Sysytem Image

2013-02-10 Thread futurexiong
I downloaded the Intel Atomx86 System Image (Intel Corporation) – API Level 10 through Android SDK Manager and also installed HAXM Extra. HAXM runs properly. But when I want to create a AVD,I can not find Intel Atomx86 System Image (Intel Corporation) – API Level 10 options in target dropdown

[android-developers] What does Advanceable Added in API level 16 mean?

2013-01-13 Thread futurexiong
What does Advanceable Added in API level 16 mean? And how to use those two methods in Advanceable Api?I saw this interface in Launcher source code. I am not clear about the specification in android docs.Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
Product must be built in usr mode... 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道: On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote: I modified createLockScreen method of LockPatternKeyguardView.java in framework,intend to change default LockScreen. In createLockScreen method I

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
are calling the methods using Reflection. So, Java doesn't know you are actually using them. So, the Java compiler just optimizes those methods out. Maybe you shouldn't use Reflection? On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote: Product must be built in usr mode

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
you shouldn't use Reflection? On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote: Product must be built in usr mode... 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道: On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote: I modified createLockScreen method

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
? On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote: Product must be built in usr mode... 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道: On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote: I modified createLockScreen method of LockPatternKeyguardView.java in framework

[android-developers] Weird situation when build with usr mode

2013-01-02 Thread futurexiong
I modified createLockScreen method of LockPatternKeyguardView.java in framework,intend to change default LockScreen. In createLockScreen method I use reflection to new my own lockscreen view in my own lockscreen apk which would be installed in /system/app/. It works fine when i build the entire

[android-developers] internal app can not import com.android.internal.xx?

2012-12-18 Thread futurexiong
I added an app in packages/apps in android build system and my app use some internal api.But when I use mm or mmm to make the app,android build system shows error:package com.android.internal.policy.impl does not exist etc.But I saw Phone app also uses internal api like com.android.internal.xx

[android-developers] Re: how to use android-support-v7-gridlayout project as a library project build in android2.3 launcher source code

2012-11-21 Thread futurexiong
anybody help? 在 2012年11月21日星期三UTC+8下午12时54分57秒,futurexiong写道: I am developing launcher base on android2.3 source code,I have tried to put android-support-v7-gridlayout.jar into libs and add LOCAL_STATIC_JAVA_LIBRARY in android.mk file and it complied well but have runtime error said

[android-developers] how to use android-support-v7-gridlayout project as a library project build in android2.3 launcher source code

2012-11-20 Thread futurexiong
I am developing launcher base on android2.3 source code,I have tried to put android-support-v7-gridlayout.jar into libs and add LOCAL_STATIC_JAVA_LIBRARY in android.mk file and it complied well but have runtime error said NoClassDefFind R$dimen etc.I want to know whether we can build

[android-developers] Where can I find the source code that handles the new tools: namespace in ADT?

2012-10-14 Thread futurexiong
Where can I find the source code that handles the new tools: namespace in ADT 17(and higher)? There is a new tools: namespace since ADT 17,but I can't find any documentations about that.So I want to find out the source code to know how this namespace can be used.Thanks. -- You received this

Re: [android-developers] Where can I find the source code that handles the new tools: namespace in ADT?

2012-10-14 Thread futurexiong
:04 AM, futurexiong futur...@gmail.comjavascript: wrote: Where can I find the source code that handles the new tools: namespace in ADT 17(and higher)? There is a new tools: namespace since ADT 17,but I can't find any documentations about that.So I want to find out the source code

Re: [android-developers] Where can I find the source code that handles the new tools: namespace in ADT?

2012-10-14 Thread futurexiong
/android-developers/iiCQf7cqtfE/hNwhJkzjG54J Tor Norbye answered part of it but did not give more details. 在 2012年10月15日星期一UTC+8下午12时19分01秒,Nikolay Elenkov写道: On Mon, Oct 15, 2012 at 1:10 PM, futurexiong futur...@gmail.comjavascript: wrote: Yes,i know it's only for tool usage and wolud

Re: [android-developers] Where can I find the source code that handles the new tools: namespace in ADT?

2012-10-14 Thread futurexiong
at 2:16 PM, futurexiong futur...@gmail.comjavascript: wrote: Thanks.I saw this post before and I know that tools:context and tools;ignore means.But I really want to know how many elements in the new tools: namespace and how they can be used. I have asked these in this post

Re: [android-developers] How does the new tools: namespace work?How many elements in this namespace,how to use them?

2012-10-10 Thread futurexiong
; to store lint rules to suppress for the given element and its children, to store which layout you'd like used for list items in a list view, and which layout to preview for a fragment tag. -- Tor On Tue, Oct 9, 2012 at 7:58 PM, futurexiong futur...@gmail.comjavascript: wrote: I noticed

[android-developers] How does the new tools: namespace work?How many elements in this namespace,how to use them?

2012-10-09 Thread futurexiong
I noticed that in newer version of ADT(higher than 17) we have a new namespace prefix call tools: in Layout Editor,but I can't find any documentations about this namespace.I want to know how the new tools: namespace works?How many elements in this namespace,how to use them?Thanks. -- You