OpenCORE API Question

by whglee » Sat, 17 Jul 2010 02:27:31 GMT

Sponsored Links
 Hi Experts,

In OpenCORE,

Only for UDP based data flow, API helps to set UDP port range.
@aMaxUdpPortNum[in] - Maximum udp port number
@aMinUdpPortNum[in] - Minimum udp port number
@return - PVMFSuccess, if maximun port number successfully set
OSCL_EXPORT_REF virtual PVMFStatus SetMaxUDPPortNum(uint32&
aMaxUdpPortNum, uint32& aMinUdpPortNum) const = 0;

I wonder if this API has been incorporated into the Java Application
Framework or not. If not, how hard it is to do it myself.

I am building an application that I want to specify the UDP client
port range when establishing an RTSP session. I use
VideoView::setVideoURI to establish the RTSP sesson, but I could not
find a method to specify the client port, or port ranges.



Other Threads

1. Page Cycler test flakiness on Android

I downloaded a bunch of webpages using Chrome and am trying to use
them as test data for the Android page cycler tests on the emulator.
I've been seeing issues whereas either the __onload function isn't
called in head.js or after some random number of iterations the
LoadTestAutoTest finishes even though the cycle hasn't completed. I
tried removing all scripts other than head.js from the webpages but
I'm still seeing this issue.

For example, if I try to load in the page cycler for 10
iterations, it only ever reaches 8 or 9 and then dies without
completing the cycle and showing report.html. dies after 3
or more. Other pages don't even hit the report.html file for a single

I haven't had these issues running these same pages in the Chromium
page_cycler. Even the acid3 page_cycler data from the chromium tree
dies after 2 runs in the Android page_cycler. I'll see
V/TestShell( 3573): onPageStarted, url=file:///data/local/pc/acid3/
n=10&i=2&p=0&ts=125909219022&td=3855&tf=180, and then before the
head.js script in the index.html file gets called I see:
V/LoadTest( 3573): Dumping memory information. Which means that it has
finished the activity. I'm pretty sure I don't have a timeout set, so
I don't think that's the issue.

I think the problem may be that the test activity is finishing before
it is supposed to. What triggers a finish() for the LoadTestAutoTest
activity? I have seen the following warning in my adb logs: W/
ActivityManager(  565): Duplicate finish request for HistoryRecord
(43a85070}. I'm not sure
if this is a problem or not.

I know Chromium uses page_cycler data that cannot be open sourced, is
Android using any specific data that avoids the issues I've seen?

Thanks again.


2. Error Eclair for ADP1 compilation

During the compilation of Eclaire for ADP1 based on page

I get the following error, do you have idea to solve it !

target StaticLib: libwebcore (out/target/product/dream-open/obj/
make: execvp: /bin/bash: Argument list too long
make: *** [out/target/product/dream-open/obj/STATIC_LIBRARIES/
libwebcore_intermediates/libwebcore.a] Error 127
make: *** Waiting for unfinished jobs....


3. Warning when using BufferedInputStream

4. is it possble to covert .apk file iPhone compatibale device file

5. Create a BKS keystore file for SSL support of web server and handshake process

6. Android phones violating german/european laws?

7. Layout Animation Issue