I am developing an app in which user can browse through images. There is an upgrade button. When user clicks the upgrade button I want to download some more images on the device to browse.
Where should I put those extra images for user to download?
Can I put those images in Google Play itself, so that I don't have to access any server?
EDIT:
In ios we can add .pkg file and we can put images, database in this .pkg file. When the user will upgrade the app, this .pkg file will be available on his/her device and we can access it there.
Can we achieve something like this in Android?
Related
I have a mobile responsive website where users enter login credentials to gain access to view
pdf files inside my portal.
When viewing the website on my android phone, if a pdf is opened from inside the portal, my android phone automatically downloads a copy of the pdf on the android phone and then opens it.
This same process on a laptop or desktop simply opens the pdf in the default browser. There is a download button, but it is not automatically downloaded on the device.
From a programming standpoint, is there a way a programmer could prevent the PDF document from being automatically downloaded on the android phone and just have the document viewable in the browser?
Depends on what you mean by downloaded. Whenever you view ANYTHING on the web, you have to download it. Downloading is the process of receiving data from a remote source. You have to download any webpage or url to view it.
It seems what you're asking is "Does it have to be saved to a file in the Downloads folder". In which case no, it doesn't. You could download it and keep it in RAM.
I have feature check newest version the application, if current version is lesser than version in server it will show dialog to update the application like this .
in above update, if i click copy link and download, it will copy url and open the browser,after that download .apk from url server i already setting.
it's work , but i want make it more efficient. I want if i click the button , it will download .apk from server and show the progress download without open the browser. How can i do this ?
Thank's
Play Store
It's not a feature currently available to my knowledge. In apps I develop, I can check the version number and block the user from using the app via a dialog, but provide a link to the Play Store, so they can update to the latest version.
However, Android 11 provides Inline Updates, which provides a more streamlined experience.
Check out In-App Updates
Android 11 as of this date is currently in preview. To use the APIs you will have to use a platform channel to call natively from Flutter.
Side loading
Check out Install Application programmatically on Android
You will have to use http to download the APK to external storage, then call these APIs via a platform channel.
Yes you can make it to where when you click a button, a file (any format including APK) is downloaded to the Downloads/Files folder of the user's device.
However, it is something that is handled by the server that is storing the files.
For example, if you tap on this link, it will automatically download a PDF file on your Android phone or on your browser, even if PDFs generally open inside your browser.
There is a few suggestions given here on how to do it, including setting "Content-Disposition: attachment" or "Content-Type: application/octet-stream"
I've been searching but all I can find is a reference to download another browser called yandex and install the chrome extensions I have on that.
I want to create an app that uses a chrome extension in android to allow the user to download images and store them in a folder.
E.g. My app: the user will search google images and each image that the user views, an icon will appear top right on the image which provides the user with a menu to download to a specific folder.
But the only extensions I've been able to download are for desktop.
Can I achieve what I want with my app?
I'm trying to develop a hybrid app with Intel xdk and cordova.
How would it be possible to take several pictures, store the path to them in a form, and then when "submit" button in the form is pressed, the pictures along with the other inserted information is sent to a database?
I don't want the user to be able to access the path or pictures.
Thanks in advance
We are working on an android app that generates PDFs based on app contents on users' request. We are providing an option to launch an email agent and attach the generate PDF, but we also want the user be able to view the document later at any time. On android, there are no stock file explorer, so our first thought was to show on the stock Downloads app's file list. We've tried the following two methods but without luck.
We firstly tried to save the PDF to the default download folder (given by calling Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS)) and invoke media scanner, but the file doesn't show up in the Downloads app's list. It's shown in Adobe Acrobat's local document list though.
After some research, it seems that the Downloads app would only show files that downloaded though DownloadManager, so we tried to generate the PDF in a temporary directory and call DownloadManager to download it, but, somehow expected, it complains that we can only download via HTTP(S), so this approach isn't working as well.
Is there any other solution?
well if you have to provide access to the document without any file explorer app, i think your approach is correct it to allow to store it in the Download lists. To achive this you can use Nanohttpd in your application to host your pdf document and then invoke the DownloadManager download action using HTTP(S) to your webapp (you will have to create a small webapp to handle the download request) hosted on localhost server.