Hey guys
Well I have been searching for a while time and I didn't find an answer for this question
How can I use the activity starter to download an mp3 file from a specified URL
I am currently able to push the file to the system, like when you click a button it asks you which player you want to play the file with
using
Activity starter
Action, android.intent.action.VIEW
Data Uri, http://somewhere.com/filename.mp3
does anybody know how to directly download it ?
Please note there are several other choices I left empty for the activity starter like
activity package
activity class
extra key
extra value
result
Thanks !
Related
Hi Friends, Am learning android application development and working on my first android application Named "Password Safe".
This is a very simple password keeper application with following features
1. You can save user id and passwords (of different types ) for different websites.
2. Password details can be saved in Phone memory as well as Memory card
3. Password details in memory card will be stored in encrypted formatted using your Password Safe Application.
4. In case you flashed your phone or uninstalled the application, You can recover all your password details by using this Password safe application. And to do so-
a. install the password safe application
b. Create User id and password ( same as which you used before to store your password details)
c. Go to Password details page and use Load from sdcard menu.
Please try this application and let me about any issues (or enhancement) so that we can make it more user friendly and useful.
Change Log Version 1.2
1. Now you can fetch details for any particular site ( No need to give the complete name just mention 2 - 3 character of the name and it will fetch details of all the similar sites )
2. Option to delete all the password details from phone memory.
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that
Working great !!!!!!!! Good job !!!
Sent from my X10i using xda premium
Great work
Why does it need Internet access permission ?
Rapier07 said:
Great work
Why does it need Internet access permission ?
Click to expand...
Click to collapse
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Okay...
Good work mate
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that
Hello
I know nothing about writing applications for Android: What is the simplest way to create an applet that will simply...
1. generate the date and time as "[YYYY-MM-DD] ",
2. copy this string the clipboard
3. display an OK dialog just to confirm that it worked?
Since I know nothing about development on Android and Java, I'd like something that won't take me days to get up and running. Could I get this done in B4A within a day?
Thank you.
FreyrNjord said:
Hello
I know nothing about writing applications for Android: What is the simplest way to create an applet that will simply...
1. generate the date and time as "[YYYY-MM-DD] ",
2. copy this string the clipboard
3. display an OK dialog just to confirm that it worked?
Since I know nothing about development on Android and Java, I'd like something that won't take me days to get up and running. Could I get this done in B4A within a day?
Thank you.
Click to expand...
Click to collapse
You could do this in 2-3 hours
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
Should I used intent service for downloading updates even though I'm using Download manager? Does it defeat the purpose and make things more complicated? Or should I use Java URL stream to download files instead for app? I found using download manager was easier but when it downloads, it notifies the user of download, is this acceptable user experience?
Hello
After typing the title, XDA forums showed me similar threads but unfortunately none of them had the answers i wanted, so here i continue.
I have rooted my device and i would like to know if there is some way to set the default "Download" location to sd card for media files that i download using some apps and not the default install location. please do tell, if it possible by editing any files or something.
Thanks
##UPDATE##
Hi guys, Found a way to deal with my above mentioned problem.
But it is only possible for rooted devices as it requires Xposed Framework and a Module called "Downloads2SD"
I guess it should work properly as it allows me to change download directory for different types of files.
I try to radically solve the problme by move the deafult app installation to ExtSdcard and found poor results:
too many programs was fake
an old program called "install manager" mentioned that it do so but when i try it :it always get error message although i rooted my mobile and the app shows the window of choose which installer use to setup the app
any helper to move deafult installation of apps to ExtSdcard
Thanks in advance
dear community i hope everyone are doing fine, so am gonna go straight to the point
i have a Magisk on both mobile and emulator with all important plugins installed + Frida well installed + many http interceptors + installed the http interceptors certificates in the root ...
- now i have a game that i want to mod and i want to explore as well. the problem is i spent the last 4 days decompiling it and reading it's source code and i couldn't find any urls i even tried using frida to bypass the ssl pinning and i did bypass the ssl pinning and the root detection and still no links and when i use burpsuite the game show other links that has no relation to the game api.
also to mention that when i use this tool HTTP Toolkit and i setup the tool with adb to intercept the calls the game says that the connection to the server is lost and game freezes .
i tried every possible solution before coming here trust me and the last thing is i found these errors in the output from frida which i couldn't find in the source code because there is no functions named
HTTP.SecureProtocol.Org.BouncyCastle.X509.Store
BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
......................................
now my question is : can someone give me any idea on how to get the requests without letting the game freezes
another question : if the links aren't present in the apk source code from where the tool is getting those links to perform the api calls
third question : is this has any relation with libraries .so ?
-----------------------
Game Url : https://play.google.com/store/apps/details?id=com.lockwoodpublishing.avakinlife&hl=en&gl=US
------------------------
i hope i can get some help from your guys and thanks in advance ^^
up