Make a android store for your company, your team.
Server: Create Api return as http://work.magik.vn/api.php
Android Client: add library to dependencies:
dependencies {
compile 'vn.magik.libraries:moreapps:1.5'
}
We have Fragment "AppsFragment", so we can add Fragment to Activty:
Function Init load api
public static final String URL = "http://work.magik.vn/api.php";
InitLib.getInstance().initLab(MagikAppsActivity.this, URL, new CallBackLoadServer() {
@Override
public void onFinishLoadServer(int countNewApp) {
//todo update new app
}
});
Function add fragment to View, you must to call function Init before add Fragment to view
private void addFragment(){
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
AppsFragment appsFragment = new AppsFragment();
fragmentTransaction.add(R.id.view_contain, appsFragment);
fragmentTransaction.commit();
}
https://medium.com/@daniellevass/how-to-publish-your-android-studio-library-to-jcenter-5384172c4739
Aplication of Magiklab:
Detail: https://play.google.com/store/apps/details?id=vn.magik.labstore