• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Music/Video Player App

 
Arjun Varma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a back ground in C/C++ but new to the world of Android programming. My query is as follows (mostly for learning purpose):

  • 1
  • Music Player and Video Player Apps : Are they solely developed in Java or for all the critical function where efficiency & speed of execution are required one has to bank upon C++

  • 2
  • Similarly, Apps like CCleaner which are used to clean up android phones (and interact closely with the system) are made in C/C++ or Java or both

    any help will be appreciated.

    Thanks!
     
    Brian Tkatch
    Bartender
    Posts: 567
    25
    Linux Notepad Oracle
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    The native language is Java. C and C++ can be used, but must be compiled with the NDK. I don't know much more about it, but the NDK link is likely a good place to start.
     
    Tim Moores
    Bartender
    Posts: 3127
    50
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    #1: It probably differs from app to app, but I doubt you *have to* use C/C++ for performance reasons. Most such apps will likely use standard libraries such as ffmpeg, so you would have to use at least some native code in those cases. You can check out the source of the VLC Android app to see how it's done there.

    #2: I doubt such apps would use native code, as it doesn't provide any advantage. If you're interested in performance, also check our RenderScript (RS) in addition to the NDK. That's primarily geared towards graphics and math, though.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic