Re: how does skia OpenGL backend works?
No ETA and definitely not for Donut. On Tue, Apr 28, 2009 at 9:34 PM, mailandroid mailandr...@gmail.com wrote: Thanks for immediate response. any idea when this will be done? Can we expect the support in Donut releases? On Apr 29, 9:28 am, Romain Guy romain...@google.com wrote: The OpenGL backend for Skia is not supported and not enabled. On Tue, Apr 28, 2009 at 9:27 PM, mailandroid mailandr...@gmail.com wrote: Hi, Could anyone explain me how skia OpenGL backend works? SkCanvas is the drawing context for Skia. How and When SkGLCanvas gets invoked? On what parameter drawing gets diverted to OpenGL form? Does application has to set some parameter? thanks and regards -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: OpenCORE :: Using individual nodes from the application
Hi, I am also interested to know on how to use the parser node? May I know the output of the parser node.. What is the format of data? bit stream? Thanks in advance Jai On Apr 27, 7:12 pm, Freepine freep...@gmail.com wrote: I think you can use the parser directly instead of the parser node:) external/opencore/fileformats/xxx On Mon, Apr 27, 2009 at 9:10 PM, MMF android...@gmail.com wrote: Hi All, Can anyone please let me know if I can use individual OpenCORE nodes (e.g. 3gp parser node) from the application. My requirement is to send the file URL and get the parsed data back rather that decoding it. Thanks APT- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: How to set position for overlay engine?
The application can change position of the Push Surface, and it is finally handled in LayerBuffer. You can refer LayerBuffer::OverlaySource::onVisibilityResolved in LayerBuffer.cpp On Apr 29, 1:32 pm, Jill.Zhou ruohong.z...@gmail.com wrote: \hardware\libhardware\libhardware\modules\overlay has a interface overlay_setPositiion to set position of overlay engine. But it seems this interface doesn't expose to application to set up overlay position. Is there any way for application to set up overlay position? Thanks Jill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
How how can we keep Overlay Surface unchanged when switch from Portrait to Landscape mode
In current android implementation,all the Surface will rotate 90degree when switch to landscape. We have requirement to keep the video unchanged (no rotation) and it seems the only way is to ignore the orientation in LayerBuffer::OverlaySource::onVisibilityResolved(). Please let me know if you have comments. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: How to set position for overlay engine?
Hi, Tony Thank for your reply. I changed code as following before. But it doesn't work. Do you know what's the problem? What's your test code? Does it work? spSurface surface = client-createSurface(getpid(), 0, 320, 240, PIXEL_FORMAT_UNKNOWN, ISurfaceComposer::ePushBuffers); surface-setPosition(10, 10); /* it doen't work for me */ // get to the isurface spISurface isurface = Test::getISurface(surface); printf(isurface = %p\n, isurface.get()); // now request an overlay spOverlayRef ref = isurface-createOverlay(320, 240, PIXEL_FORMAT_RGB_565); spOverlay overlay = new Overlay(ref); ... Regards, Jill On Wed, Apr 29, 2009 at 4:12 PM, tony e13...@gmail.com wrote: The application can change position of the Push Surface, and it is finally handled in LayerBuffer. You can refer LayerBuffer::OverlaySource::onVisibilityResolved in LayerBuffer.cpp On Apr 29, 1:32 pm, Jill.Zhou ruohong.z...@gmail.com wrote: \hardware\libhardware\libhardware\modules\overlay has a interface overlay_setPositiion to set position of overlay engine. But it seems this interface doesn't expose to application to set up overlay position. Is there any way for application to set up overlay position? Thanks Jill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Build OpenCORE outside of Android
Can you post the output of your 'source setup.sh opencore' command ? The makefiles for whihc you are getting errors are actuallt kept in the folder :opencore\tools_v2\build\make Just check if you have those files there.. Regards, Sonal On Wed, Apr 29, 2009 at 3:05 PM, Rajesh rajesh.mahalingam...@gmail.comwrote: Hi raj Rktp, I run the command source setup.sh opencore successfully. Then I tried the command make -j , here I am Getting the error as follow ~~~ makefile:2: /entry_point.mk: No such file or directory makefile:6: /../common/local.mk: No such file or directory makefile:18: /cml2_shared.mk: No such file or directory make: *** No rule to make target `/cml2_shared.mk'. Stop. ~~~ I dont know why this error happened. could U help me to solve this error. Best Regards, -Rajesh On Apr 6, 12:03 pm, raj.10788 raj.10...@gmail.com wrote: Hi Rktp, When I try the same in the quick_start file. I am geeting a error when building the make -j. When I make -j, am geeting the follwoing error, So can anyone help me out to solve this error. ------ Building /home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/installed_lib/linux/ libopencore_mp4local_debug.so... DONE building /home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/installed_lib/linux/ libopencore_mp4local_debug.so. Building /home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/engines/player/test/build/android/linux/ test_pv_player_engine.o Using /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp cc1plus: warnings being treated as errors /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp: In function ‘int _local_main(FILE*, cmd_line*)’: /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp:1878: error: format not a string literal and no format arguments make: *** [/home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/engines/player/test/build/android/linux/ test_pv_player_engine.o] Error 1 andr...@android-desktop:~/mydroid/external/opencore/build_config/ opencore_dynamic$ make run_pe_test TEST_ARGS=-help /home/android/mydroid/external/opencore/tools_v2/build/make/library.mk: 53: warning: overriding commands for target `/home/android/mydroid/ external/opencore/build_config/opencore_dynamic/build/ installed_include/getactualaacconfig.h' /home/android/mydroid/external/opencore/tools_v2/build/make/library.mk: 53: warning: ignoring old commands for target `/home/android/mydroid/ external/opencore/build_config/opencore_dynamic/build/ installed_include/getactualaacconfig.h' Building /home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/engines/player/test/build/android/linux/ test_pv_player_engine.o Using /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp cc1plus: warnings being treated as errors /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp: In function ‘int _local_main(FILE*, cmd_line*)’: /home/android/mydroid/external/opencore/engines/player/test/src/ test_pv_player_engine.cpp:1878: error: format not a string literal and no format arguments make: *** [/home/android/mydroid/external/opencore/build_config/ opencore_dynamic/build/engines/player/test/build/android/linux/ test_pv_player_engine.o] Error 1 ------ On Apr 3, 5:49 pm, sonal gupta sonal.aqua.gu...@gmail.com wrote: THe .cfg file should be present in the same directory as your pvplayer_engine_test application . The application will pick it at run time to register the OMX Core. You can find it in theopencore/ directory. Regards, Sonal On Fri, Apr 3, 2009 at 3:46 PM, renu ren...@gmail.com wrote: Hi Sonal, In one of the mail chains you had mentioned that the pvplayer.cfg file has to be kept in our working directory. I'm trying to run PVOpenCoretest cases out ofAndroidas there seem to issues with RTSP streaming on emulator. Can you tell me what has to be done with the .cfg file .where do have to take it from and where do we have to keep it? Thanks, Renu- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To
Re: Query on HID support on latest google release
Thanks for your response . Based on the Bluez support would you be able to answer the below mentioned queries ? a) HID profile version implemented b) if Bluez provides support for the device to behave both as HID device as well as HID host Thanks Simantini On Apr 29, 5:35 am, Jaikumar jaikum...@gmail.com wrote: Hi Simantini There is no HID support from the framework yet in the latest Android release, though Bluez supports it and the files you are referring to are in bluez. Thanks On Apr 28, 4:13 am, Simantini Bhattacharya simantini.bhattacha...@gmail.com wrote: Hi, Had a couple of queries regarding HID support on latest Android release 1) What is the HID version implemented on latest Android . 2)Does Android provide support for the phone to be a HID host as well as HID device . 3)I had a preliminary glance at the donut code and saw a couple of files like fakehid.c and Hid-input.c . In both these files the input key mappings are done for specific keyboards. Will HID in android provide support for HID devices like mouse , joysticks etc . Also do we separate key mappings per device or is there a generic HID class driver. Awaiting your responses Thanks Simantini- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: How how can we keep Overlay Surface unchanged when switch from Portrait to Landscape mode
The application chooses the orientation. You can't force this from the hardware layer. On Apr 29, 1:26 am, tony e13...@gmail.com wrote: In current android implementation,all the Surface will rotate 90degree when switch to landscape. We have requirement to keep the video unchanged (no rotation) and it seems the only way is to ignore the orientation in LayerBuffer::OverlaySource::onVisibilityResolved(). Please let me know if you have comments. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Which process is responsible for injecting KeyEvents to the system ?
Hi all: This happened When i tryed to send keyevents repeatly: After a period of time (may be 2h or more) , I started to get RemoteExceptions. obviously, the process hadling keyevents is dead ,But i'm not sure which process is,Could anyone tell me ? And, how i could avoid this happen ? Or,how could i recover the system after this error(maybe just killing the Process is ok?) Thanks in advance ! Ashrotronics --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Which process is responsible for injecting KeyEvents to the system ?
It's the core system process that implements the function. You can't kill it without bringing down the entire system. On Wed, Apr 29, 2009 at 6:50 PM, Ashrotronics 030440...@163.com wrote: Hi all: This happened When i tryed to send keyevents repeatly: After a period of time (may be 2h or more) , I started to get RemoteExceptions. obviously, the process hadling keyevents is dead ,But i'm not sure which process is,Could anyone tell me ? And, how i could avoid this happen ? Or,how could i recover the system after this error(maybe just killing the Process is ok?) Thanks in advance ! Ashrotronics -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
getNeighboringCellInfo()
Hello, Could someone please explain to me why the public getNeighboringCellInfo() method in TelephonyManager.java causes my application to crash (see error log below)? 04-29 23:46:05.754: WARN/dalvikvm(5854): VFY: unable to resolve interface method 23808: Lcom/android/internal/telephony/ ITelephony;.getNeighboringCellInfo ()Ljava/util/List; 04-29 23:46:05.754: WARN/dalvikvm(5854): VFY: rejecting opcode 0x72 at 0x0004 04-29 23:46:05.754: WARN/dalvikvm(5854): VFY: rejected Lcom/android/ locationtest/TelephonyManager;.getNeighboringCellInfo ()Ljava/util/ List; 04-29 23:46:05.754: WARN/dalvikvm(5854): Verifier rejected class Lcom/ android/locationtest/TelephonyManager; 04-29 23:46:05.774: WARN/dalvikvm(5854): threadid=3: thread exiting with uncaught exception (group=0x40013e28) 04-29 23:46:05.774: ERROR/AndroidRuntime(5854): Uncaught handler: thread main exiting due to uncaught exception 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): java.lang.VerifyError: com.android.locationtest.TelephonyManager 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at com.android.locationtest.LocationTest.onCreate(LocationTest.java:172) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1122) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2103) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2156) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.os.Handler.dispatchMessage(Handler.java:88) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.os.Looper.loop(Looper.java:123) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at android.app.ActivityThread.main(ActivityThread.java:3742) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at java.lang.reflect.Method.invokeNative(Native Method) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at java.lang.reflect.Method.invoke(Method.java:515) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 04-29 23:46:06.074: ERROR/AndroidRuntime(5854): at dalvik.system.NativeStart.main(Native Method) Trying to obtain neighboring cell information in any number of ways (including via CellState, for example) has the same result. In addition, I found at least one case, in RIL.java, where the code for retrieving neighboring cell information is commented out: public void getNeighboringCids(Message response) { /* TODO: Remove this hack when backward compatibility issue is fixed. * RIL_REQUEST_GET_NEIGHBORING_CELL_IDS currently returns REQUEST_NOT_SUPPORTED */ AsyncResult.forMessage(response).exception = new CommandException (CommandException.Error.REQUEST_NOT_SUPPORTED); response.sendToTarget(); response = null; /* RILRequest rr = RILRequest.obtain( RILConstants.RIL_REQUEST_GET_NEIGHBORING_CELL_IDS, response); if (RILJ_LOGD) riljLog(rr.serialString() + + requestToString(rr.mRequest)); send(rr); */ } I would appreciate it if someone could tell me if there is a known problem with getting neighboring cell information or if I made a mistake (it would help to know how to correct it), or both. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---