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. TabActivity resulting in a crash.


I have a small issue i hope someone will be able to help me.

Basically, I've a listactivity, and when the user clicks a line, it
starts a tabactivity.

The tabactivity starts with downloading a content in a separate thread
and when it's done, the runOnUI method is used to create the sub-tabs
accordingly to the downloaded data.

I works with the emulator on 2.2 and 2.3 but crashes with 2.1.

This is the resulting stack trace :

E/AndroidRuntime( 6306): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 6306): java.lang.RuntimeException: Unable to start
activity ComponentInfo{}:
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at android.os.Looper.loop(
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at dalvik.system.NativeStart.main(Native
E/AndroidRuntime( 6306): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        at
E/AndroidRuntime( 6306):        ... 11 more

Does anyone has an idea how I can do that for Android 2.1 ? Thanks a

Best regards


2. JPEG Image has a map


I have JPEG, PDF of sketch of my apartment, i want to make it as a google
map so that i can use Google API's (geocoding, reverse geocoding) on that.

may i know the solution for the problem



3. [] Flashing U-boot through uart

4. Problem Using Tamil font(Latha.ttf)

5. Image zooming functionality in Android just like the iphone

6. Desire nyangkut di booting up

7. TableRow not on top of each others