Please can anyone tell me where to get a list of the system calls available for android? I need to be able to change from silent/vibrate/sound ASAP, but would like a list of all that are available (especially for reading/writing system settings) so I can access them as needed from Delphi.

Comments

  1. Arioch, your statement is true and moderately self-evident. I can
    find heaps of documentation: abstruse, convoluted, arcane. And not
    helpful. A decent manual of them with some helpful examples would be
    wonderful.

    Chester.
    ________________________________________________________________

    ReplyDelete
  2. Oookay, then the next step, true and self-evident.

    When person needs Android documentation the most efficient place to ask for it is Android forum rather than Delphi forum (or Fortran forum, or Basic forum, etc)

    ReplyDelete
  3. There is a decent manual at developer.android.com - Introduction to Android

    If you want to interact with Android OS you have to read Android documentation. There is no way around it. Just like you have to read Windows documentation provided by Microsoft if you want to interact with Windows.

    Yes, you access settings via putX... and getX... methods.

    You can also find documentation about ContentResolvers and ContentProviders in Android Docs. To summarize, they abstract access to various data, including system settings.

    The most simple example how to use it would be (in Java)

    Settings.System.putXXX(getContentResolver() ,
    Settings.System.XXX , Value );

    getContentResolver is part of Context interface that is implemented through Activity.

    ReplyDelete

Post a Comment