I think you have some wrong understanding of Android.

As far as i know, you can't directly write application on C/C++ level
but write it in Java. At least you won't be able to use your own C/C++
libraries in the "normal" way unless using some hacks to modify the
firmware or compiling your own version of the Android OS. Developing
for android is more like developing for mobile phones with java than
ones where you directly write apps in C/C++ like symbian.

On Jan 12, 3:38 pm, srini amul <[email protected]> wrote:
> Hi,
>  
> I am new to andriod. I have some basic doubts, please clarify it.
>  
> a) I have a RGB565 frame buffer. I need to display it on a screen. I am not 
> finding a suitable API to pass a frame buffer [unsigned char*] to display on 
> a screen.  How can i display my own frame buffer on a screen ?
>
> I have my own library file say [sample.so file] and it will be in library 
> layer and its in C/C++ . I need to load this library in a application say 
> Browser app.
>  
> b) How browser app can load my library ? Is it dl_open function call (or) 
> through BINDER IPC ?
>  
> c) My library exposed a function say CreatePlayer(). If browser wants to call 
> CreatePlayer() then does browser should use dl_sym() function ? Can a 
> application directly talks to a library through dl_sym function call which is 
> in library layer ? My librray also exposed a JNI API.
>  
> d) My library needs media framework utitlity in andriod. So From C/C++ code, 
> can i call JNI API of media framework function say mPlayer = new 
> MediaPlayer() .. so on,
>
> Thanks & Regards,
> P.Sriniamul
>
>       Add more friends to your messenger and enjoy! Go 
> tohttp://messenger.yahoo.com/invite/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to