OpenCORE API Question

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


Sponsored Links
 Hi Experts,

In OpenCORE,
nodes/pvsocketnode/include/pvmf_socket_node_extension_interface.h

 /**
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.

Thanks
George

--



Other Threads

1. TabActivity resulting in a crash.

Hi,

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{be.defimedia.android.walkawaremobile/
be.defimedia.android.walkawaremobile.ItemListActivity}:
java.lang.NullPointerException
E/AndroidRuntime( 6306):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2496)
E/AndroidRuntime( 6306):        at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2512)
E/AndroidRuntime( 6306):        at android.app.ActivityThread.access
$2200(ActivityThread.java:119)
E/AndroidRuntime( 6306):        at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime( 6306):        at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6306):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 6306):        at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 6306):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6306):        at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 6306):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 6306):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 6306):        at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 6306): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 6306):        at
be.defimedia.android.walkawaremobile.ItemListActivity.onCreate(ItemListActivity.java:
75)
E/AndroidRuntime( 6306):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
E/AndroidRuntime( 6306):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2459)
E/AndroidRuntime( 6306):        ... 11 more

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

Best regards

-- 

2. JPEG Image has a map

Hi,

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

regards
Sal

-- 

3. [hawkboard.org] 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