• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Music/Video Player App

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
     
    Bartender
    Posts: 598
    26
    Oracle Notepad Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
     
    Saloon Keeper
    Posts: 7582
    176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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.
    reply
      Bookmark Topic Watch Topic
    • New Topic