First of all, don't forget to create an account, log in, and download the dex files from the sidebar :)
How to Use ModExy files
1. Required Permissions
Add these lines to your
AndroidManifest.xml
:
uses-permission android:name="android.permission.INTERNET"
uses-permission android:name="android.permission.READ_PHONE_STATE"
uses-permission android:name="android.permission.ACCESS_WIFI_STATE"
uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
uses-permission android:name="android.permission.POST_NOTIFICATIONS"
2. Smali Integration
2.1 License Dialog (if you do not want to add license verification, skip this part)
move-object p0, p0
invoke-static {p0}, Lcom/modexy/org/LoginDialog;->show(Landroid/content/Context;)V
2.2 Update Check and notification sending
invoke-static {p0}, Lcom/modexy/org/Utils;->checkUpdate(Landroid/app/Activity;)V
2.3 App Statistics
invoke-static {p0}, Lcom/modexy/org/Utils;->initStats(Landroid/content/Context;)V
3. Java Integration
Place the following code inside onCreate()
of your main activity:
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.modexy.org.LoginDialog;
import com.modexy.org.Utils;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Show license dialog
LoginDialog.show(this);
// Check for updates
Utils.checkUpdate(this);
// Initialize app statistics
Utils.initStats(this);
}
}
4. License Activation
- Start the application on the device.
- Copy the Android ID shown in the license dialog.
- Go to the license server and open "License Management".
- Paste the ID, select expiration date, and create the license.
5. Allow Offline Mode
If this option is enabled when creating the license, the app will remain active even without an internet connection. Otherwise, it will check the license online each time it runs.
6. Admin Contact Setup
Edit the following line in LoginDialog$100000002.smali
:
const-string v8, "your_telegram_adress"
Replace it with your Telegram username, for example:
const-string v8, "@yourusername"
7. Developer Follow
If this feature is active, the follow application developer dialog will appear at the application login. It will appear at every application login unless the user clicks the follow button.
© 2025 ModExy Documentation viewer