Can't open pdf files in Redmi 8A dual - Xiaomi Redmi 8A Questions & Answers

After updating to android 10, my phone is unable to open pdf files. Error in opening file, invalid etc. I can't open pdf files shared via whatsapp gmail etc. Previously saved pdf can be opened. I got pdf reader app and WPS office and both failed. How to fix this?

Micky93 said:
After updating to android 10, my phone is unable to open pdf files. Error in opening file, invalid etc. I can't open pdf files shared via whatsapp gmail etc. Previously saved pdf can be opened. I got pdf reader app and WPS office and both failed. How to fix this?
Click to expand...
Click to collapse
Try Google drive ?

Micky93 said:
After updating to android 10, my phone is unable to open pdf files. Error in opening file, invalid etc. I can't open pdf files shared via whatsapp gmail etc. Previously saved pdf can be opened. I got pdf reader app and WPS office and both failed. How to fix this?
Click to expand...
Click to collapse
try this:
https://play.google.com/store/apps/details?id=com.google.android.apps.pdfviewer&hl=en&gl=US

Hi there,
pranam
Here is one solution,
1 : open ''developer option''
2 : then scroll to the end and press ''reset to the default values '' multiple time .
3 : turn on ''miui optimisation ''.
By doing this
You get
1-- fine working three finger screenshot
2-- open any file (pdf, exel files, zip files ,word files etc.) like before by your default mi file viewer
and many more,

Saranswer said:
Hi there,
pranam
Here is one solution,
1 : open ''developer option''
2 : then scroll to the end and press ''reset to the default values '' multiple time .
3 : turn on ''miui optimisation ''.
By doing this
You get
1-- fine working three finger screenshot
2-- open any file (pdf, exel files, zip files ,word files etc.) like before by your default mi file viewer
and many more,
Click to expand...
Click to collapse
It worked like a charm
you are a life saver

Related

open a file tapping on it!

hi guys, the problem i have is this:
i'd like to open *.epub file attached to an email (or if i find it in the system file manager), just tapping on it,(like IOS do) and even if i've the app that can open this file (i've installed moon+reader and alkido) under file like the *.epub appear only the button 'info' and if i tap on it, it says 'no app for this file' .
this problem is for all the ebook files epub/mobi/ecc...ecc.. and rar archives!
another question :
how can i open the book i've already bought in google play books?!
it seems it can open books only if you download it from the 'play books store'.
i find a "solution" even if it is not really what i expect, in some file manager ("Root Explorer", "ES Gestore File" and "X-plore") you can choose tha app that have to open the file, but they didin't memorize that setting, and all the time you wanna open that file, you have to do a long tap on it and than choose 'open with' and than the app you want to use!
sorry for my english!
i hope i'd been able to explain my problem!(and to find a solution)
Try uninstalling aldiko and the other book readers then reinstall them.
When you've done this open aldiko and search your epub file, it will add to your book shelf!
but it will not find an ebook attached to an email!
even if i unistall and reinstall the ebook readers!
maphioso_ali said:
but it will not find an ebook attached to an email!
even if i unistall and reinstall the ebook readers!
Click to expand...
Click to collapse
youll have to save the attachment from the email first then open it
i use gmail as email manager, and im not even able to save it! i just can tap 'info'
i'd like to find a 'windows like' solution , for this extension use this app!!
and not all the time 'save' than open a specific file manager , find the file and funally open it!it's boring!

How to view a local *. html file with Chrome

Hi,
I would like to open a *.html file from my SD card with Chrome.
With Opera it is : "file://localhost/mnt/extSdcard/Myfolder/myfile.html"
With the native browser it is "file://mnt/extSdcard/Myfolder/myfile.html"
I have tried with Chrome many possibilities but it doesn't work.
Any idea please.
Thanks.
Daniel
Danielfr said:
Hi,
I would like to open a *.html file from my SD card with Chrome.
With Opera it is : "file://localhost/mnt/extSdcard/Myfolder/myfile.html"
With the native browser it is "file://mnt/extSdcard/Myfolder/myfile.html"
I have tried with Chrome many possibilities but it doesn't work.
Any idea please.
Thanks.
Daniel
Click to expand...
Click to collapse
I don't know. Try open it when you browse your files with a file manager.
lelinuxien52 said:
I don't know. Try open it when you browse your files with a file manager.
Click to expand...
Click to collapse
No I need to open this *.html file with Chrome because I have exported all my bookmarks in an html file
Danielfr said:
No I need to open this *.html file with Chrome because I have exported all my bookmarks in an html file
Click to expand...
Click to collapse
Try : "file:///localhost/mnt/extSdcard/Myfolder/myfile.html" with three "/" after "file:".
On my laptop (running Archlinux and Chromium), to open file I have try "file:///localhost/home/*myuseraccount*/*myfilename*.txt" and it works.
lelinuxien52 said:
Try : "file:///localhost/mnt/extSdcard/Myfolder/myfile.html" with three "/" after "file:".
On my laptop (running Archlinux and Chromium), to open file I have try "file:///localhost/home/*myuseraccount*/*myfilename*.txt" and it works.
Click to expand...
Click to collapse
It doesn't work
Daniel
Here's a link which worked for me on my Nexus 4:
file://localhost//storage/emulated/0/MyFolder/MyFile.ex
\___________________________________/\___________________/
..............................↓................................................↓...............
................Path of the sd-card.........................Your path........
For example:
file://localhost//storage/emulated/0/Download/picture.jpg
I tried to open the sd-card and it denied the access, but I could open the downloads folder. I don't know exactly why but it doesn't matter. The main thing is that the link is workin
CheckThisOutGuys said:
Here's a link which worked for me on my Nexus 4:
file://localhost//storage/emulated/0/MyFolder/MyFile.ex
\___________________________________/\___________________/
..............................↓................................................↓...............
................Path of the sd-card.........................Your path........
For example:
file://localhost//storage/emulated/0/Download/picture.jpg
I tried to open the sd-card and it denied the access, but I could open the downloads folder. I don't know exactly why but it doesn't matter. The main thing is that the link is workin
Click to expand...
Click to collapse
Using ES File Explorer on my XPERIA Z1, choosing Open As > Other > Chrome Beta, I get the following URL:
"file:///sdcard/Download/file.html"
As long as the file is on the internal storage, and not on an SD card, the page will open.
Otherwise i get a page stating "Access to the file was denied. ERR_ACCESS_DENIED
How to open/view a local/SD card web page/html file in Android browser
wlxgrf said:
Using ES File Explorer on my XPERIA Z1, choosing Open As > Other > Chrome Beta, I get the following URL: "file:///sdcard/Download/file.html"
As long as the file is on the internal storage, and not on an SD card, the page will open.
Otherwise i get a page stating "Access to the file was denied. ERR_ACCESS_DENIED
Click to expand...
Click to collapse
Having the file on the internal storage (i.e. the phone / device) and not an external storage (SD card) worked for me also.
FOR OTHERS WITH SIMILAR ISSUES:
Generally Android browsers do not allow viewing of files on the external media card (SD card) for security reasons (e.g.. a malicious website could read/write to your SD card). Directory browsing is also prohibited. So if you try to load a page it may give the option to open the file using its HTML viewer - which isn't as fully functional as a browser (and no good for simple web page design testing).
Placing the file on the device's internal storage (e.g. in Download folder) and opening the URL link in the browser (e.g. file:///sdcard/Download/file.html †) will open the HTML file in the browser normally.
†Despite "sdcard" being in the name, "file:///sdcard/Download/file.html" is actually a path to the internal device storage. (The device's internal storage is an emulated SD card for technical reasons). An external SD card path is usually "extSDcard" or similar - but the browser will not load it due to the security restrictions mentioned.

[Q] how to access hidden folder on Android (4.3) / recover lost files on Nexus 7

Hi,
I have lost a few pdfs which I have been reading for weeks (!) on my Nexus 7 (Android 4.3). Via the reading history of my pdf reader (Moon+ reader) I can see that at least one file is still present in the cache under the following folder address: /data/data/com.google.android.apps.docs/cache/filecache2/c042587322c4a438463efbd2cc533cbf/mypdf1.pdf
How can I access this folder? When accessing the device via the Android File Transfer sofware for Mac, I don't see this folder. I have access to Android/data/com.google.android.apps.docs/files, but this folder contains no files but only another folder (called "pinned_doc_files_not_for_edit") which is also empty.
The lost pdf is still there, I can open it in the reader via the reading history, but I would like to access the folder to see whether other lost files (which are not in the reading history) are also still present. To be clear, the file which I can open is also not detected when searching the device for pdfs.
Any help on this issue would be very much appreciated. I put weeks of work into these pdfs (annotating etc), but for reasons beyond my understanding, they disappeared.
I have no significant experience working with Android (apart from being a user).
Many thanks!
z
Try any other file browser like
Es file xplorer ,root browser etc-2
And still if u face the problem
Try fixing the .pdf file perrmission..
Hit thnx if u found this helpful
Sent from my GT-S5830i using xda app-developers app

[Q] How do I open HTML files on MicroSD Card in Chrome?

Verizon Galaxy Note 3, up-to-date, stock ROM, not rooted.
I have a 64gb MicroSD card installed, and put a copy of my photography website on it. I find I am unable to figure out a way to open it in Google Chrome.
I used ES File Explorer's FTP function to begin with, to copy files from my website to the card, and this worked beautifully. When I click on the index.html file on the card, the only options offered are HTML Viewer and some text editors. Chrome is not an option (Chrome is the default browser for my phone). I can try "Open as" and choose Chrome, but get the same error message as below.
If I long-press the file, and select Properties, I can copy the (full) Path for the file, but when I paste this into Chrome's URL bar, it won't open:
Access to the file was denied
"The file at file:///storage/extSdCard/PhotoWebsite/index.html is not readable. It may have been removed, moved, or file permissions may be preventing access"
I have searched quite a bit, and tried various addresses, including localhost, localhost/mnt, content:, etc., etc., but nothing seems to work.
Ultimately I want to have a Bookmark in Chrome where I can view my website offline when necessary, but this seems to be more complex than would appear necessary.
Any help appreciated.
Seriously? Is there no way to accomplish what should be a fairly basic task: for a browser to open up an html file???

How to exclude whatsapp gif_preview_cache folder from being included by windows scan

Whatsapp version 2.17.427 (latest updated as at 07 Jan 2018)
Phone : Samsung Galaxy S7 Edge
Android : Nougat 7.0
Windows : Windows 7 Ultimate
I would plug in my phone to pc via USB, the Autoplay options will appear, I will select "Import pictures and videos" and then it will start scanning all the folders in my phone, including microSD card.
The results will always include ALL the hundreds of gifs that I scrolled in whatsapp to preview first, before selecting and sending the 1 that I want. So I googled and read about the ".NOMEDIA" file. I did the following :
Folder path : Computer\Samsung Galaxy S7 Edge\Phone\Android\data\com.whatsapp\cache\gif\gif_preview_cache
I copied existing .nomedia files that i can find in my phone to the above folder. Didn't work, scanning still pickup the gifs.
I deleted the .nomedia file I copied, and use the native "My Files" explorer to create a new file in the above folder and name it as .nomedia. Didn't work, scanning still pickup the gifs.
I tried the above 2 methods, but this time, I restarted the phone and re-plugged in the usb. Didn't work, scanning still pickup the gifs.
I tried using ES File Explorer and create the .nomedia file. Didn't work, scanning still pickup the gifs.
I installed Nomedia app. The app didn't even have this gif cache folder on the list. No add folder function too. Next!
I tried renaming using one of my file explorer app by adding a dot to the gif_preview_cache folder so it becomes ".gif_preview_cache". From my pc, the folder disappeared. But I can still see the renamed folder from using file explorer from my phone. So the renaming works. As for the gifs scan, well it "works" because now the folder is considered hidden. Scanning will not pickup. But this is not a good permanent solution because of the problem below.
The problem is that, if i go to whatsapp to preview gifs again, whatsapp will create a NEW gif_preview_cache folder and store all the previewed gifs. Scanning will pickup. So that means, I gotta constantly rename. or it is like the same as deleting the whole folder each time. The .nomedia is supposed to do its job as a permanent solution.
After all these, I know the following will also be unlikely to work, but i still tried anyways by putting .nomedia files in the parent folders "gif" and the parent of gif, "cache". Didn't work, scanning still pickup the gifs.
The only thing i can think of is a workaround by telling whatsapp to save the gifs cache to the dot folder ".gif_preview_cache". I don't see such option available in the app. So this would require hacking whatsapp, so nah.
I am out of ideas now. Does anyone knows why certain folder like the gif_preview_cache is still pickup with the .nomedia file in it?
oh, by the way, "lockscreen_capture_port.png" keeps getting pickup as well in the folder :
Computer\Samsung Galaxy S7 Edge\Phone\Android\data\com.android.systemui\cache
I already put the .nomedia file in it. I believe this info will help, as it is now two different locations. I suspect maybe its the parent folders, maybe the "data" folder or the "Android" folder being excluded by... windows scanning procedures or something, or it is an android problem, I don't know...
I am exhausted of all possible experiments. Any contribution is appreciated. Thank you for your time and expertise!
I hate it too when all my **** pics get sucked into my wife's laptop.
Sent from my PH-1 using XDA Labs

Categories

Resources