All Projects → pavelsust → MoreApps

pavelsust / MoreApps

Licence: MIT license
No description or website provided.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to MoreApps

FFmpeg-3.4-Android
This repository helps to compile FFmpeg 3.4 Version for Android using Android NDK Standalone Toolchain.
Stars: ✭ 23 (-32.35%)
Mutual labels:  androiddevelopment
App-Manager-Android
An app manager for Android written in Kotlin. View app related info, launch or uninstall apps.
Stars: ✭ 31 (-8.82%)
Mutual labels:  androiddevelopment
Root-Checker
Displays all root related info(Device Rooted, Root Available, Root Path, Root given, Busy Box installation) of an Android Device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 21 (-38.24%)
Mutual labels:  androiddevelopment
hacktoberfest-2021
This repository is made for people who wanted to learn about open-source and paricipate in Hactoberfest 2021.
Stars: ✭ 19 (-44.12%)
Mutual labels:  androiddevelopment
android-development-best-practices
With best practices under your fingertips, you will not lose precious time on reinventing the wheel. Instead, you can focus on writing quality code and getting the job done.
Stars: ✭ 111 (+226.47%)
Mutual labels:  androiddevelopment

More Apps in Play Store

As a individual developer I have to copy and paste some common code to add "More Apps" feature in my applications. It's a pathetic work to add common codes in all applications and some times it makes silly mistakes and have to fix it again. So I thought why don't I make a library which can make my work simple. By writing two/three line of code and get all the features.

Install

You can download from JitPack.

Add this dependency in your build.gradle:

allprojects {
	repositories {
		maven { url 'https://jitpack.io' }
		}
	}
dependencies {
    compile 'com.github.paveltech:MoreApps:1.2'
}

Json File Ready : make your json file looks like...

[

{
	"name": "Your App Name",
	"rating": 5,
	"package_name": "package name",
	"image": "icon image link"
},

{
	"name": "Call Blocker",
	"rating": 4.8,
	"package_name": "com.playoffstudio.callblocker",
	"image": "https://lh3.googleusercontent.com/CnqXt1s12Mzu-rzMcUEQpdmsk3SlBSHCHtmc02T8pTqngJeij6hLFIgcwi1R8G-Fs-am=w300"
},
{
	"name": "USA Online Shopping",
	"rating": 5,
	"package_name": "com.creativeapp.usashopping",
	"image": "https://lh3.googleusercontent.com/PiGn6kwmGltl7QEgMUwHtdpCJ7sPrTZOpY-ezN5zK6OJR0GNAB7c64yTMEI497Lhb9s=w300"
}

]

Configuration : Now have to configure java code.

1.First make a class which can extends Application class. Looks like

public class AppController extends Application {

    App app;
    @Override
    public void onCreate() {
        super.onCreate();
	  /// initialized more app library 
        app = new App(getApplicationContext());
    }
}
  1. Add Internet permissions and Application class in your Androidmanifest
<uses-permission android:name="android.permission.INTERNET" />
 <application>
        android:name=".AppController"
         ......................
	 ......................
    </application>
  1. Now you can use it as a Activity or as a Fragment

For Activity

Intent intent = new Intent(YourActivity.this , MoreActivity.class);
       MoreActivity.url = "your json file link";
       startActivity(intent);

For Fragment

   MoreAppFragment moreAppFragment = new MoreAppFragment();
        MoreAppFragment.url = "your json file link";
		

License

Licensed under the MIT License. See the LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].