[android-developers] ResolverActivity HierarchyView tool causes system_server crash and device rebooting

2011-11-04 Thread Gary Wang
Dear Romain,

I found ResolverActivity sometime will not be displayed correctly in
Honeycomb 3.2.1 (only dim layer is rendered without its dialog).  When
HierarchyView tool try to connect to the view layers, the device will
be rebooted.

E/AndroidRuntime(  131): *** FATAL EXCEPTION IN SYSTEM PROCESS:
android.server.ServerThread
E/AndroidRuntime(  131): java.lang.IllegalArgumentException: width and
height must be  0
E/AndroidRuntime(  131):at
android.graphics.Bitmap.createBitmap(Bitmap.java:602)
E/AndroidRuntime(  131):at
android.graphics.Bitmap.createBitmap(Bitmap.java:584)
E/AndroidRuntime(  131):at android.view.ViewDebug
$4.pre(ViewDebug.java:1003)
E/AndroidRuntime(  131):at android.view.ViewDebug
$5.run(ViewDebug.java:1052)
E/AndroidRuntime(  131):at
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(  131):at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(  131):at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime(  131):at
com.android.server.ServerThread.run(SystemServer.java:593)

Please refer the attachments.

Any ide on it?

Thanks!

Gary

-- 
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] Email's message threading

2011-03-07 Thread Gary Wang
Dear all,

For message threading on Email app, I know it lacks the conversation
view (like Gmail's conversation view) on message list.

can any expert give me any advices on the indexing mechanism in
Email's sync mechanism?! Thanks!

Gary

-- 
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] The purpose of resource name mipmap?!

2011-02-15 Thread Gary Wang
Dear all,

I found the following resource folders are existing in Honeycomb-
version Borwser apk.

mipmap-hdpi
mipmap-mdpi

The meaning of mipmap resource is not listed in its SDK's
documentation.

Can anyone help to explain it?

Thanks for your help!

Gary

-- 
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] Cannot use AXMLPrinter2 to translate binary xml correctly in Honeycomb-version apk

2011-02-14 Thread Gary Wang
Dear all,

I try to use AXMLPrinter2 to translate the binary xml files in
resource directory of Honeycomb-related apk. But I always got
following error,

java.lang.ArrayIndexOutOfBoundsException: 71 at
android.content.res.StringBlock.getShort(StringBlock.java:231) at
android.content.res.StringBlock.getString(StringBlock.java:91) at
android.content.res.AXmlResourceParser.getName(AXmlResourceParser.java:
140) at test.AXMLPrinter.main(AXMLPrinter.java:56)

Any format change to binary XML in Honeycomb?!

Thanks!

Gary

-- 
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] IPC (by domain socket) between Android's LocalSocket and Linux kernel's PF_LOCAL socket

2008-09-24 Thread Gary Wang

Dear all,

I try to create the communication between Android Application and
Linux kernel Process by IPC domain socket (using abstract namespace
mode), but when I try to creaste new LocalSocketAddress, it always
casued the exception lsited below,

:
E/me  (  372): java.io.IOException: Connection refused
E/me  (  372):  at android.net.LocalSocketImpl.connectLocal(Native
Method)
E/me  (  372):  at
android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
E/me  (  372):  at
android.net.LocalSocket.connect(LocalSocket.java:95)
:

When i try to create local socket and connect from linux kernel to my
LocalSocketServer, it also arised the same problem,

:
Unix socke, connect failed: Connection refused(errno is 111)
:

is it possible to build bi-directed connection domain socket for
exchanging data between dalvik vm and linux kernel ?

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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---