Hi,
 
I am a Phone/OEM developer, working on a phone, not an application developer. 
 
I have few basic questions, could you please respond to my question
 
a) Can i call media framework native API in my native library which is in C++ ?
    Like in my sample.cpp file
    can i have a below piece of code
        MediaPlayer * mp = new MediaPlayer();
        mp->setDataSource (uri); 
 
b) I have a usecase where my native library gives RGB 565 format data and that 
data needs to get display on a screen .
 
Design is:
a) My Java app will call a JNI interface of my native library
b) And my native library will give a RGB 565 data
 
Now the question is: 
 
a) How can i display a RGB data ?
 
If its the responsibility of my native library to display RGB data then I need 
to call surface flinger native APIs.
 
If its the responsibility of my java application then how can i set this frame 
to surfaceView ?
 
Thanks
Sriniamul




      From Chandigarh to Chennai - find friends all over India. Go to 
http://in.promos.yahoo.com/groups/citygroups/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to