Re: [android-developers] Can a system service read and write files inside app space[Framework]

2013-10-14 Thread Baodong Chen
you mean /data/data/*/ directory? if you adb shell and ls -l files you want to operate with check the permissions and uid gid. i don't think you can operate with app private data. On Tue, Oct 15, 2013 at 2:58 AM, Giles Ian gilesian@gmail.com wrote: 1. Can any system service (lets say

Re: [android-developers] Re: ADB PUSH ERROR - failed to copy 'D:\xxx\Android.jpg' to '/Download': Read-only file system

2013-10-11 Thread Baodong Chen
try adb push D:\\Android.jpg /sdcard/Download On Fri, Oct 11, 2013 at 3:32 PM, Sreedhar Reddy V srib4uf...@gmail.comwrote: Notes i found: By seeing the error i thought that the device is Not at all detected by pc. But the device is mounted and shown clearly in my

Re: [android-developers] List reach at start when i come back to activity

2013-09-18 Thread Baodong Chen
how about record scroll position and scroll to that position when onResume! 2013/09/19 5:21 Amit Mangal forum.amit.man...@gmail.com: Hi developers I have a list view which is having 1000 entries i scroll to down and click on some item new activity opens. When i come back my scroll view points

Re: [android-developers] onPreviewFrame() not being called the same number of times as the frame rate

2013-09-18 Thread Baodong Chen
Though not sure why this happened,this is not a good way to show preview! why not use setPreviewDisplay method? 2013/09/18 18:41 TimeManx shubhade...@gmail.com: I've created a subclass of SurfaceView which also implements Camera.PreviewCallback SurfaceHolder.Callback. The time difference

Re: [android-developers] Android screen capture delay due to writing data in the file..

2013-09-18 Thread Baodong Chen
Of course you can,but you should use native code to do that, SurfaceFlinger has interface for that! 2013/09/18 17:27 ashish ashish.a...@gmail.com: Hi, I have a rooted device and i successfully capture the screenshot of current screen.and use the below code. Process process =

Re: [android-developers] Need to Load .a static lib.

2013-09-16 Thread Baodong Chen
you can only used shared library for dynamic load static library only used for linker to construct a dynamic library or executable... On Sat, Sep 14, 2013 at 4:43 PM, Amit Sinha toamitsi...@gmail.com wrote: Can any one tell me how can I load test.a static library file in my java file .

Re: [android-developers] Hardware support for Face Detection

2013-09-16 Thread Baodong Chen
need camera device and kernel driver which support these features i think On Sat, Sep 14, 2013 at 4:38 AM, KM karthik.k.ri...@gmail.com wrote: All: I want to use the Android 4.0 face detection mechanism startFaceDetection etc. However when reading the API docs, there is a statement in

[android-developers] about WifiDisplayController's connect function

2013-07-15 Thread Baodong Chen
dear all: i'm seeing wifi display source code and wondering why using !mDesiredDevice.deviceAddress.equals(device.deviceAddress) and !mConnectedDevice.deviceAddress.equals(device.deviceAddress) to test? meaning not equal?? plz help!

[android-developers] How to use MediaRecorder without a Preview Surface to catpure video for JB?

2013-05-04 Thread Baodong Chen
Hello,Guys: what i want to do is like this:http://stackoverflow.com/questions/1252172/android-how-to-initialize-mediarecorder-without-a-valid-surface-for-video-previ is it possiable? please help... -- -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Use MediaRecorder for video without preview Surface

2013-05-02 Thread Baodong Chen
Hi,James: have you got a workaround for this issue? 在 2010年7月7日星期三UTC+8上午10时57分23秒,James Aguilar写道: I asked a couple of questions about the MediaRecorder a few weeks ago, and have finally gotten around to doing some more digging on the topic, actually testing out recording media myself. The

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-24 Thread Baodong Chen
在 2012年4月22日星期日UTC+8下午4时23分48秒,Slay3r写道: Oops typo in my previous post should be; ActionBar actionbar = getActionBar(); actionbar.hide(); thats as close to fullscreen as you can get on a tablet i believe.. thanks , i will try ! Sent from my ASUS Eee Pad Baodong Chen lt

[android-developers] how to make real full screen app on android 4.0.3?

2012-04-21 Thread Baodong Chen
hi,all: i have an app on android ics for pad,and i want my app to cover the whole screen,but android:theme=@android:style/Theme.Black.NoTitleBar.Fullscreen and setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION); DO NOT work for me...help! -- You received

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-21 Thread Baodong Chen
在 2012年4月21日星期六UTC+8下午7时32分29秒,Mark Murphy (a Commons Guy)写道: You cannot get rid of the system bar on a tablet, if that is what you are trying to do. --yes,i want to do that! but viddo player can do it?how can i? On Sat, Apr 21, 2012 at 7:15 AM, Baodong Chen chenbdche...@gmail.com

Re: [android-developers] How to used new Canvas()?

2011-06-25 Thread Baodong Chen
why this happens? is this an android system's bug or am i using SurfaceView in a wrong way? On Fri, Jun 24, 2011 at 5:11 AM, Dianne Hackborn hack...@android.com wrote: Getting stuck in lockCanvas() has nothing to do with creating a new Canvas... On Thu, Jun 23, 2011 at 1:51 PM, Baodong Chen

[android-developers] How to used new Canvas()?

2011-06-23 Thread Baodong Chen
Hi All: Can anyone be so kind to give me an example to show how to used new Canvas() to create my own Canvas object and how to use it to draw something like a Bitmap and the show my Canvas object on device's display? I want to do this becasue in my APP, i am doing follows in a native thread

Re: [android-developers] Re: About Location Service

2011-06-20 Thread Baodong Chen
seconds. But that is an awfully short period of time. On Jun 16, 6:18 pm, Baodong Chen chenbdche...@gmail.com wrote: Hi:  I have a APP using Location Service, and i tested it and found that  my Location Listener's onLocationChanged() was not called for more than ten seconds

[android-developers] AudioTrack cant not play sound on device with FM?

2011-06-19 Thread Baodong Chen
Hi all: i have a APP using AudioTrack to play pcm buffers,it works well on some devices. but when the device have FM, my APP can not make the sound, can someone give some advice? I used AudioTrack.MODE_STREAM and AudioManager.STREAM_MUSIC when new AudioTrack(); -- You received this

[android-developers] About Location Service

2011-06-17 Thread Baodong Chen
Hi: I have a APP using Location Service, and i tested it and found that my Location Listener's onLocationChanged() was not called for more than ten seconds. but onGpsStatusChanged() was called normally. this means that i can not decide user's location for too long time. I want to know why