Note: If you're an Android app developer and want to integrate 1DM in your app(s) please send me an email at vb.kgec@gmail.com or ping me on telegram @vickybonick for more details or use this π Java Integration code or Kotlin Integration code π
Url format (intent) | intent:{download_url}#Intent;package={idm.internet.download.manager or idm.internet.download.manager.plus};scheme={idmdownload or 1dmdownload};S.title={filename};end |
1DM Example | <a href='intent:https://ash-speed.hetzner.com/100MB.bin#Intent;package=idm.internet.download.manager;scheme=idmdownload;S.title=File name;end'>Download using 1DM</a> |
1DM+ Example | <a href='intent:https://ash-speed.hetzner.com/100MB.bin#Intent;package=idm.internet.download.manager.plus;scheme=idmdownload;S.title=File name;end'>Download using 1DM+</a> |
Action | android.intent.action.VIEW |
PackageName | idm.internet.download.manager.plus or idm.internet.download.manager or idm.internet.download.manager.adm.lite |
ComponentName | idm.internet.download.manager.Downloader Usage: new ComponentName("idm.internet.download.manager.plus", "idm.internet.download.manager.Downloader"); or new ComponentName("idm.internet.download.manager", "idm.internet.download.manager.Downloader"); or new ComponentName("idm.internet.download.manager.adm.lite", "idm.internet.download.manager.Downloader"); |
Headers (version code 157+) | Key: headers or request or android.media.intent.extra.HTTP_HEADERS or extra_headers Values: Bundle with key/value pair or String array with keys at even place and values at odd place |
Data | download url |
Extras (should be self explanatory) | secure_uri (boolean available in version code 169+) force_editor (boolean available in version code 169+) hide_browser_option (boolean available in version code 169+) extra_filename extra_cookies (Cookie key/value pair can be sent in headers as well) extra_referer (Referer key/value pair can be sent in headers as well) extra_useragent (User-Agent key/value pair can be sent in headers as well) |
Multiple files download (version code 157+) | 1) video_list for urls and (video_list.filename or video_list.name) for filenames 2) subs for urls and (subs.filename or subs.name) for filenames 3) url_list for urls and url_list.filename for filenames 4) url_list_delimited for urls and url_list_delimited.filename for filenames the values are String delimited by your preferred delimiter (Pass delimiter in url_list_delimited.delimiter extra, the default value is \n) [available in version code 10210+ and 30210+]. Version code range is 10000 to 29999 and 30000 to 999999999 All values are String arrays (Except for url_list_delimited it's a string delimited by delimiter). Also Data needs to be set to a valid url to make the intent work (data url will be ignored) |
Java Integration code | https://www.apps2sd.info/idmp/Util1DM.java |
Kotlin Integration code | https://www.apps2sd.info/idmp/Util1DM.kt |
Action | android.intent.action.VIEW |
PackageName | idm.internet.download.manager.plus or idm.internet.download.manager or idm.internet.download.manager.adm.lite |
ComponentName | Normal: acr.browser.lightning.activity.MainActivity Usage: new ComponentName("idm.internet.download.manager.plus", "acr.browser.lightning.activity.MainActivity"); or new ComponentName("idm.internet.download.manager", "acr.browser.lightning.activity.MainActivity"); or new ComponentName("idm.internet.download.manager.adm.lite", "acr.browser.lightning.activity.MainActivity"); Incognito: acr.browser.lightning.activity.IncognitoActivity Usage: new ComponentName("idm.internet.download.manager.plus", "acr.browser.lightning.activity.IncognitoActivity"); or new ComponentName("idm.internet.download.manager", "acr.browser.lightning.activity.IncognitoActivity"); or new ComponentName("idm.internet.download.manager.adm.lite", "acr.browser.lightning.activity.IncognitoActivity"); User's preference: acr.browser.lightning.activity.BrowserLauncher Usage: new ComponentName("idm.internet.download.manager.plus", "acr.browser.lightning.activity.BrowserLauncher"); or new ComponentName("idm.internet.download.manager", "acr.browser.lightning.activity.BrowserLauncher"); or new ComponentName("idm.internet.download.manager.adm.lite", "acr.browser.lightning.activity.BrowserLauncher"); |
Data | Webpage url |
1DM+ | |
Action | idm.internet.download.manager.plus:action_start_all |
PackageName | idm.internet.download.manager.plus |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager.plus", "idm.internet.download.manager.DownloadService"); |
Start all using shell or Tasker app | am startservice -n idm.internet.download.manager.plus/idm.internet.download.manager.DownloadService -a idm.internet.download.manager.plus:action_start_all |
1DM | |
Action | idm.internet.download.manager:action_start_all |
PackageName | idm.internet.download.manager |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager", "idm.internet.download.manager.DownloadService"); |
Start all using shell or Tasker app | am startservice -n idm.internet.download.manager/idm.internet.download.manager.DownloadService -a idm.internet.download.manager:action_start_all |
1DM Lite | |
Action | idm.internet.download.manager.adm.lite:action_start_all |
PackageName | idm.internet.download.manager.adm.lite |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager.adm.lite", "idm.internet.download.manager.DownloadService"); |
Start all using shell or Tasker app | am startservice -n idm.internet.download.manager.adm.lite/idm.internet.download.manager.DownloadService -a idm.internet.download.manager.adm.lite:action_start_all |
1DM+ | |
Action | idm.internet.download.manager.plus:action_pause_all |
PackageName | idm.internet.download.manager.plus |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager.plus", "idm.internet.download.manager.DownloadService"); |
Pause all using shell or Tasker app | am startservice -n idm.internet.download.manager.plus/idm.internet.download.manager.DownloadService -a idm.internet.download.manager.plus:action_pause_all |
1DM | |
Action | idm.internet.download.manager:action_pause_all |
PackageName | idm.internet.download.manager |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager", "idm.internet.download.manager.DownloadService"); |
Pause all using shell or Tasker app | am startservice -n idm.internet.download.manager/idm.internet.download.manager.DownloadService -a idm.internet.download.manager:action_pause_all |
1DM Lite | |
Action | idm.internet.download.manager.adm.lite:action_pause_all |
PackageName | idm.internet.download.manager.adm.lite |
ComponentName | idm.internet.download.manager.DownloadService Usage: new ComponentName("idm.internet.download.manager.adm.lite", "idm.internet.download.manager.DownloadService"); |
Pause all using shell or Tasker app | am startservice -n idm.internet.download.manager.adm.lite/idm.internet.download.manager.DownloadService -a idm.internet.download.manager.adm.lite:action_pause_all |