Android Framework -Creating system application in android

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 27

  • @shivarajus7244
    @shivarajus7244 4 роки тому +1

    Good one

  • @lastkarma-j3y
    @lastkarma-j3y Рік тому +1

    Thanks 🎉

  • @ameenmaheen
    @ameenmaheen 3 роки тому

    Very much appreciate the effort.

  • @swapneelvibhute9334
    @swapneelvibhute9334 2 роки тому

    Hello Dimple,
    It is helpful session, looking forward for new videos in various topics.
    I want to know one thing where I will find core.mk file in AOSP 12.
    please let me know.

  • @mohammedasifahmed426
    @mohammedasifahmed426 3 роки тому

    Hi Dimple,
    This is very much helpful.
    1 question:
    Where can I check in aosp source code all the available macro functions to learn?
    For example,
    What if I want to use retrofit for API calls, how to add that or any other library.?

  • @ChandrashekarCN
    @ChandrashekarCN 4 роки тому

    u r the best

  • @azmalhussainaakil555
    @azmalhussainaakil555 2 роки тому

    Hello Dimple,
    Explanation was good. I was able to create a system app [runs as a service , doesnt have any UI].
    Is it possible to deploy a ML model on android system app ? as we only have Android.mk and AndroidManifest.xml file
    If you have any resource link for same, can you please share ?
    Thanks.

    • @dimples_android_geek
      @dimples_android_geek  2 роки тому

      Hi Azmal, Thank you . I'm really not sure of ML model on Android system app nor do I have any resource link for the same

  • @cid007007
    @cid007007 4 роки тому +1

    Why we can't use custom system service directly in dummy app running on emulator and why we need to create system application to use our custom system service ? I mean we can use other system services like LOCATION_SERVICE, NOTIFICATION_SERVICE etc... directly in dummy app running on Android Emulator... then what is case with custom system service ? Kindly reply to clear my doubt asap.

    • @dimples_android_geek
      @dimples_android_geek  4 роки тому

      Hi ohri, yes the system service i hav written shd b accessed via system app... Because this is customized and APIs related to this service are not generalized... In other cases of power manager or alarm manager or any such manager for tat case, the APIs provided by them are standardized and hence we can access via dummy app. Remember here we hav written customized system service and this service is not exposed to outer world

  • @himanshusharma03
    @himanshusharma03 5 років тому +3

    Why don't you put this full course on udemy? As for framework limited resources available.

  • @rakeshgpt15
    @rakeshgpt15 4 роки тому

    Which android version source code are you using? I am using android-10 r45 and I can't find core.mk inside build/target/product.

    • @dimples_android_geek
      @dimples_android_geek  4 роки тому

      When i did this video I was referring to android M . Yes in android 10/Q things have changed

    • @vinothjayaram6406
      @vinothjayaram6406 4 роки тому

      You can add in base.mk or target path make file. Please ensure you added under PRODUCT_PACKAGES

  • @EverythingWithKotlin
    @EverythingWithKotlin Рік тому

    can i develop new app using kotlin ?

  • @TalesbySwe
    @TalesbySwe 4 роки тому

    I have created custom system service and trying to use that aosp SDK in android studio SDK and running the app and check if the service called getting error in main activity.java at getSystemService(Context.TEST_SERVICE); help me!!

    • @dimples_android_geek
      @dimples_android_geek  4 роки тому

      Please check if u have imported all the packages correctly ..Can you be more specific on your error ? What error your receiving

    • @TalesbySwe
      @TalesbySwe 4 роки тому

      @@dimples_android_geek 10-07 12:24:11.913 1814 1814 I SystemServer: Test Service
      10-07 12:24:11.913 1474 1474 E SELinux : avc: denied { add } for service=test pid=1814 uid=1000 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
      10-07 12:24:11.913 1474 1474 E ServiceManager: add_service('test',82) uid=1000 - PERMISSION DENIED
      10-07 12:24:11.913 1814 1814 W SystemServer: ***********************************************
      10-07 12:24:11.913 1814 1814 E SystemServer: BOOT FAILURE Starting Test Service
      These are the logs I collected test service is my custom service, I guess u would get clarity with this logs.
      Thanks for revert.

    • @dimples_android_geek
      @dimples_android_geek  4 роки тому

      @@TalesbySwe , I guess you are using this on Android N and above. SE Policy was introduced from Android N and above, due to that there are permission issues

    • @TalesbySwe
      @TalesbySwe 4 роки тому

      @@dimples_android_geek yes I'm working on 9 any solution or other way for this now?

    • @dimples_android_geek
      @dimples_android_geek  4 роки тому

      @@TalesbySwe , Please refer to the following link , source.android.com/security/selinux/device-policy
      You have to create a separate file and provide label to it and then build and flash the device to avoid avc denials