1. fabbinde's Avatar
    Hey!
    I´m new here and I hope you can help me with some questions about Android System Developement, so more than only App Developement... I didn´t know if I´m right here, so please correct me or move the thread to another topic if I do something wrong...

    My device:
    - Samsung S3 international with CM13

    I like to create a global "Content Filter", which filters files (pictures, videos, documents, etc.) on my smartphone globaly. So what I mean is something like what the UserManager from Android framework does:
    User A (owner) creates pictures with the camera, download files, etc. and if User B (guest) logs in, User B can´t access the files from User A and vice versa.
    The diffrent part is that I like to "hide" or better make them not accessable by custom criteria - for example "only pictures from the last two hours will be shown to User B". And the main point ist that every application gets the same content.
    I thought I have to edit and extend the internal/external storage functions (or ContentProvider?) by my custom filter. Later there will be a system app for controlling the behavior of this filter.

    Now there are some question, which I ask myself:
    - Is it possible to implement this functionality in Android specific code and not in device specific code? So is it possible to make it transferable for other devices and Android versions (Custom ROM, manufacture ROM or the pure Stock Android from Google´s Nexus phones) without "much" effort?
    - Does it make more sense to use the original Stock Android instead of Cyanogenmod to reach the transferability?
    - Where do I have to start? I downloaded the source Code of CM13 for the Samsung S3. But how I ask before - is there a generic way for all devices and android versions? I started to look into the framework specific code of android (system/frameworks/base/... ). I thought I can build the filter between the api calls (java -> jni bridge -> c/c++), but that would be not the right place, yes?

    I hope someone understand my plan and can help me with some informations and tipps or where I have to look to get them!

    Thanks!!
    Fabian
    12-05-2016 05:02 AM

Similar Threads

  1. Which Android 7.0 Build should I sideload on Nexus 6?
    By androiduser_20161204 in forum Google Nexus 6
    Replies: 4
    Last Post: 12-11-2016, 09:34 PM
  2. Replies: 1
    Last Post: 12-05-2016, 04:05 PM
  3. Replies: 3
    Last Post: 12-05-2016, 03:12 PM
  4. how do i receive file by bluetooth
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 12-05-2016, 04:36 AM
LINK TO POST COPIED TO CLIPBOARD