[android-developers] How can i layout text(get the width and height) from c/c++ and in non-UI thread?

2015-12-02 Thread fei wang
Hi guys, How can i layout text(get the width and height) from c/c++ and in non-UI thread? I have been developing a dynamic layout engine(written in c) which takes html(css + dom tree) as input and generates a native android view. The key point of affecting the performance is the must layout

[android-developers] Re: monkeyrunner + ADB over TCP

2012-11-14 Thread fei wang
Because monkeyrunner will use 12345 port(hard coded) for forward usage, so please make sure port 12345 is not used by other applications. Anyway, to be simple, export ADBHOST=${your_target_device_IP_here} in bash, then adb kill-server; adb start-server; then run your python script, may be it's

[android-developers] Re: monkeyrunner via TCP

2012-11-13 Thread fei wang
I also run across this problem! On Tuesday, October 18, 2011 9:51:37 PM UTC+8, Jakub Czaplicki wrote: When connecting monkeyrunner to a device via TCP, it throws up the Adb rejected adb port forwarding command: unknown host service error. I can successfully talk to the device using just

[android-developers] Re: monkeyrunner via TCP

2012-11-13 Thread fei wang
FYI: https://groups.google.com/forum/?fromgroups=#!topic/android-developers/KFK5r-0CGTI On Tuesday, October 18, 2011 9:51:37 PM UTC+8, Jakub Czaplicki wrote: When connecting monkeyrunner to a device via TCP, it throws up the Adb rejected adb port forwarding command: unknown host service

Re: [android-developers] 【android-developers】AndroidManifest.xml service android:isolatedProcess

2012-10-02 Thread fei wang
whatever its default value is, you can always specify your wanted value explicitly in the AndroidManifest.xml file. 2012/9/4 安藤玲生 ando.reo...@gmail.com Hello i am japanese programmer. it is a question. AndroidManifest.xml serviceandroid:isolatedProcess The default value of the attribute is

Re: [android-developers] 【android-developers】AndroidManifest.xml service android:isolatedProcess

2012-10-02 Thread fei wang
whatever its default value is, you can always specify your wanted value explicitly in the AndroidManifest.xml file. 2012/9/4 安藤玲生 ando.reo...@gmail.com Hello i am japanese programmer. it is a question. AndroidManifest.xml serviceandroid:isolatedProcess The default value of the attribute is

Re: [android-developers] 【android-developers】AndroidManifest.xml receiver android:icon

2012-08-30 Thread fei wang
Do you mean you want to change the icon of a Application at runtime? 2012/8/31 安藤玲生 ando.reo...@gmail.com sorry. (2012/08/30 22:44), Justin Anderson wrote: Umm... this question is not very clear. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware

[android-developers] Problem when Modify the Default botton bar location from center_vertical | right to bottom | center_horizental in portrait orientation?

2011-09-09 Thread fei wang
This is the content of my layout filelauncher.xml : RelativeLayout android:id=@+id/all_apps_button_cluster android:layout_width=fill_parent android:layout_height=@dimen/button_bar_height android:layout_gravity=bottom|center_horizontal

[android-developers] How to change the Android system beep sound(when you adjusting the volume by the + or - key) behavior [where is the code that control it]?

2011-08-04 Thread fei wang
How to change the Android system beep sound(when you adjusting the volume by the + or - key) behavior [where is the code that control it]?**wangfei584...@163.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] How to change the Android system beep sound(when you adjusting the volume by the + or - key) behavior [where is the code that control it]?

2011-08-04 Thread fei wang
I preciate for your response. But where can i find the sound file? I have find it in all the source code tree,without any result! 2011/8/4 Carl Lee ljbha...@gmail.com Find it in the system partition and replace it, you must have Root permission to do that On Thu, Aug 4, 2011 at 5:05 PM, fei

[android-developers] How to create a Activity that cannot be covered/disturbed by another app in expected time?

2011-07-26 Thread fei wang
Though this requirement ruined the Android design fundamentals, but I need to create an app with this feature! For some days, i studyed the Launcher app,but the intent,broadcast receiver,intent-resolving principle is defined by the Android OS.I cannot break it.I want to create a app to display the

[android-developers] What is the location of the default Launcher source in Android 2.3.3 source code?

2011-07-20 Thread fei wang
When in emulator, through DDMS I see there is an com.android.launcher process, but I can not find the source code, only get ./packages/apps/ Launcher2/src/com/android/launcher2/Launcher.java,can somebody help me? -- You received this message because you are subscribed to the Google Groups

[android-developers] Is there a way to access a service(constucted in the AIDL technique) through native code?

2011-07-11 Thread fei wang
Is there a way to access a service(constucted in the AIDL technique) through native code?Now I think it is impossible,but still expecting an exception! -- 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] Help! How can I add a fake keyevent to the Android Input System in native code(c/c++, but not in java calling IWindowManager.injectKeyEvent) without modifying kernel?

2011-07-10 Thread fei wang
How can I add a fake keyevent to the Android Input System in native code(c/c++, but not in java calling IWindowManager.injectKeyEvent) without modifying kernel? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Can somebody give me a Google+ invitation?

2011-07-08 Thread fei wang
Thank all of you! -- 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

[android-developers] Can somebody invite me to the Google+?

2011-07-05 Thread fei wang
I need a help! -- 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

[android-developers] fei wang想要聊天

2011-07-05 Thread fei wang
--- fei wang希望通过 Google 的一些最炫酷的新产品与您保持更密切的联系。 如果您已经拥有 Gmail 或 Google Talk,请访问: http://mail.google.com/mail/b-803439b0d3-20757800b9-dhA779IygQ8y_Urwrxs1zbqhfKA 您需要点击此链接才能与fei wang聊天。 要获取 Gmail(Google 提供的免费电子邮件帐户,存储空间超过 2,800 MB

[android-developers] How to debug a Problem that MediaPlayerService Died without giving a Log/Stack info

2011-01-28 Thread fei wang
/mediaserver) died. Can somebody tell me how to debug problems of this type? Sincerely, Fei Wang -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android