[Q] Opening zip file attachments - Nexus 7 (2013) Q&A

I am trying to open / save a mpeg 4 video file that I converted from an avi file that I compressed into a zip file. I email the file to myself through gmail. When I click on the file I get a message that says I can't open or save this file. The same file can be opened on my desktop. I have the same issue on my phone which is also an android. I am running kitkat on the Nexus & Jellybean on my phone. Maybe I'm missing something or do I need a specific app to open the file ?

topjimmy17866 said:
I am trying to open / save a mpeg 4 video file that I converted from an avi file that I compressed into a zip file. I email the file to myself through gmail. When I click on the file I get a message that says I can't open or save this file. The same file can be opened on my desktop. I have the same issue on my phone which is also an android. I am running kitkat on the Nexus & Jellybean on my phone. Maybe I'm missing something or do I need a specific app to open the file ?
Click to expand...
Click to collapse
Last I recall avi files dont compress much from a zip.
Plus you would have to deal with the zip file, lets say 300mb, then extract it, to another 300mb or so.
I think you would be better off just sending the avi file as is.

All you need to do is connect your nexus as a media device through the storage settings. (Make sure USB debugging is turned off in developer options). And then drag the uncompressed version over to your nexus from your computer. No need to email it if you have a computer. Make a folder called movies (don't have to just easier). And then download mxplayer from the play store of you haven't already.
Sent from my Nexus 7 using Tapatalk

Download attachment
topjimmy17866 said:
I am trying to open / save a mpeg 4 video file that I converted from an avi file that I compressed into a zip file. I email the file to myself through gmail. When I click on the file I get a message that says I can't open or save this file. The same file can be opened on my desktop. I have the same issue on my phone which is also an android. I am running kitkat on the Nexus & Jellybean on my phone. Maybe I'm missing something or do I need a specific app to open the file ?
Click to expand...
Click to collapse
Google is forbid us to save potential harmful attachment, including zip files.
So, If you insist using email, you need to open web browser and go to gmail website, login, and download the attached file.
Your file will be downloaded as downloadfile.bin.. You need to rename using file explorer to donwloadfile.zip, and then open & extract that file.
I'm using kitkat, and this method works for me.

Related

[Q] Zipped apk files open as directory on on my mac

Sometimes, when I download a zip file of an apk, my mac unzips it into a folder with all the internal files, not as one apk file.
This almost always happens when I download from mediafire. Sometimes from other sites as well.
Any way to get around this without running windows? Or to quickly repackage the folder into an apk?
It seems to do the same thing on my evo when I transfer the zip from my mac.
If I could open mediafire and other such sharing sites on my evo, I would, but they don't run correctly in my browser.
I appreciate the help.
elr0y said:
Sometimes, when I download a zip file of an apk, my mac unzips it into a folder with all the internal files, not as one apk file.
This almost always happens when I download from mediafire. Sometimes from other sites as well.
Any way to get around this without running windows? Or to quickly repackage the folder into an apk?
It seems to do the same thing on my evo when I transfer the zip from my mac.
If I could open mediafire and other such sharing sites on my evo, I would, but they don't run correctly in my browser.
I appreciate the help.
Click to expand...
Click to collapse
Those site should work fine in your browser, may want to check into that. Anyways, don't open the file after you download. Just rename to a .apk file and you'll be good to go. Macs can screw up zip files like apks and update.zips, so definitely don't open it. Renaming always works for me. Then you can load it on your phone.
If your using Safari it will all ways do that unless you change your settings in preferences in Safari so it wont automatically open files. It is set by default to open any folder when you download hope that helps I have a Mac too
Sent from my PC36100 using XDA App
Thanks for the advice. I'll try all of that going forward.

Zip & Rar File Management In Mango???

would it be possible now with mango for someone to make a app called Zip Manager or something that lets u d/l Zip and/or Rar files to that app and the zip files are only accessible within that app to open documents and other files contained in them and manage them in that app?
same with mp3 or other files be able to manage them in that app only?
the Free Music app made me think of that... we cant d/l mp3s through the browser and add to the device library but we can manage the mp3s we download through that app and with the paid version we can sync the files over
could something similiar to this be made to manage zip and rar files????
Due to the sandbox nature of WP7, you can't access the local file system. Also I don't think 1 app can open another app. So for example, you couldn't unzip a PDF and then call Adobe Reader to view it.
One way around this would be for your zip / rar app to download the file, un-compress and then upload it to a folder on skydrive. Then it would be there ready to open and use. I'm pretty sure I read that WP7 can already open zip files, so maybe you can already do this through the browser? What are you trying to download exactly??
an other good idea is too contact htc samsung lg or dell to make a app for bluetooth in and outbox and zip app all in one
Aphasaic2002 said:
Due to the sandbox nature of WP7, you can't access the local file system. Also I don't think 1 app can open another app. So for example, you couldn't unzip a PDF and then call Adobe Reader to view it.
One way around this would be for your zip / rar app to download the file, un-compress and then upload it to a folder on skydrive. Then it would be there ready to open and use. I'm pretty sure I read that WP7 can already open zip files, so maybe you can already do this through the browser? What are you trying to download exactly??
Click to expand...
Click to collapse
not really trying to do anything in particular I just kno on my tp2 I use to dl music in rar files all the time and documents thru zip folders.

save as apk?

hi not sure if this is the right place for this or not but i've got a question on apk files
I've made some changes to an apk file but not sure how to compress it back to an apk file.
is it as simple as compressing as a zip then renaming it to apk?
take care
denti said:
hi not sure if this is the right place for this or not but i've got a question on apk files
I've made some changes to an apk file but not sure how to compress it back to an apk file.
is it as simple as compressing as a zip then renaming it to apk?
take care
Click to expand...
Click to collapse
Use 7zip (7z.exe to be exact)
Copy it to a folder make a subfolder inside,
Put ur apk contents in subfolder
Open notepad, copy and paste these 3 lines
Save as script.bat in folder with 7z.exe
cd subfoldername
..\7z.exe -tzip archivename.apk "*" -mx0
Exit
Change subfoldername to name of subfolder to the name of subfolder u created ofc lmao
And archive name to sign.. mx0 is best for loadin, mx9 is compression, use signapk to sign if its not a system file
If the "..\7z" don't wotk 4 u use full path in quotes, example
"%userprofile%\desktop\foldername"
Is the same as: (vista)
"C:\users\username\desktop\foldername"
And: (xp)
C:\documents and settings\username\desktop\foldername"
Or use apk manager lol I prefermymethod personally, n fyi, googles ur friend
Should get to know it
thank you doug.
i did google it but found bunch of different programs and thought that there might be a simpler way of doing it rather than getting a program just to compress
denti said:
thank you doug.
i did google it but found bunch of different programs and thought that there might be a simpler way of doing it rather than getting a program just to compress
Click to expand...
Click to collapse
Ye no worries just hope it helped sorry if the post seemed rushed had like 5min left 2 my break when I origionally replyed lmao n this methods rather simple cuz when used correct its more or less drag n drop n run, zip is generated in folder with 7z.exe n 7z performs flawlessly
APKs are basically a zip file with an MD5 signature embedded in them. There are apk generators on market if you copy directory to sdcard is prolly easiest to start with specially with the processing power of this phone.
In Windows compressed folders work fine if you just enable viewing file extensions and change between zip and apk
or hold left shift key as you right click apk file in windows.
Now click open with...
and choose browse for application
Choose your favorite zip app or windows compressed folders
Next to last check always use box so checkmark is visible
Finally click OK
Now no need to modify extensions
Sent from my SGH-T989 using Xparent Green Tapatalk

Compress files

Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
cansado2930 said:
Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
Click to expand...
Click to collapse
have you tried zip...
dazza9075 said:
have you tried zip...
Click to expand...
Click to collapse
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
cansado2930 said:
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
Click to expand...
Click to collapse
+1 for the idea... I also want a program like winrar which also available in symbian phones.plz any dev note this and develop an app for compressing and decompressing files...
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
dazza9075 said:
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Hi dazza9075,
Thank you by answer, I had thought that it isn't possible, because I want to compress a folder of other app that her content are a lot of files and folders. So, Do some api exist in order to compress this? Or, Have I upload files and folders one by one?
Thank you again
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Leo_zodiac said:
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Click to expand...
Click to collapse
its doable so long as you have interop unlock and WP tools installed and setup
if the Windows Phone SDK is missing Zip functionality (it may be called "DEFLATE" which is the name of the compression algorithm; ZIP is the file format) then there are surely libraries for various compression methods which you could download. Alternatively, if you don't mind using native code homebrew, there are compression libraries (zlib, etc.) that can be compiled to a native DLL, and you could then access them via COM.
i add this to new version of my file manager and now you can compress and decompress file and folders
Hi!
Thanks you by your answer, they have been very useful.
Thanks you
Hi again,
I'm using the lib "SharpZipLib" and I have problems with it. Can you explain how use it? or what is the problema? I probe in a program of pc and it working correctly but in app for my mobile say it crashed when it go to create the file, this is code:
FileStream fsOut = File.Create("Copia.zip"); //here is the problema at this moment
ZipOutputStream zipStream = new ZipOutputStream(fsOut);
zipStream.SetLevel(3);
zipStream.Password = null;
........
It can't create the file.
Thank you again
Generally speaking, Silverlight (which WP7 uses for apps) doesn't even allow normal file access, so you might just be getting a MethodAccessException on File.Create. If not, that still won't work without elevated privileges. The default working directory for a program is it's install directory. For a WP7 app, that's going to be either its install location (\Applications\Install\<GUID>\Install) or the Windows directory where the taskhost.exe file lives (\Windows\). Trying to create a file without specifying full path will crete it relative to the working directory, which in this case means creating it in the working directory directly (no path specified). Since the app can't write to the working directory, you'll get an error from that too.
To get around the permissions error, use the IsolatedStore folder (\Applications\Data\<GUID>\Data\IsolatedStore\) or run the app with full permissions ("Trusted" or root unlocked).

Default Downloader app stores apk as zip files

Hi,
When I use the default AFTV stick Downloader app, all apk files I download are saved as zip files which can't be opened by the app. When I download the same file with Es Explorer, the files are stored as apk.
Any idea how to tell the downloader app to store files with their original extension rather than zip?
Sent from my SM-G950F using Tapatalk
tnbt23 said:
Hi,
When I use the default AFTV stick Downloader app, all apk files I download are saved as zip files which can't be opened by the app. When I download the same file with Es Explorer, the files are stored as apk.
Any idea how to tell the downloader app to store files with their original extension rather than zip?
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
Answering my own question. It seems there is an issue when you want to use this app to install apk files:
http://www.aftvnews.com/tag/downloader
Here it says:
"""
The current 1.1.3 version of my*Downloader*app in the Amazon appstore is not compatible with the new*Amazon Fire TV 3. When you try to install an APK file within Downloader, the APK does not install and a message saying “No app found to handle this file” appears.
"""
The blog also says that an updated version of the app is supposed to fix this issue, but apparently it's still not properly working with version 1.1.7 I'm using.
Sent from my SM-G950F using Tapatalk
tnbt23 said:
Answering my own question. It seems there is an issue when you want to use this app to install apk files:
http://www.aftvnews.com/tag/downloader
Here it says:
"""
The current 1.1.3 version of my*Downloader*app in the Amazon appstore is not compatible with the new*Amazon Fire TV 3. When you try to install an APK file within Downloader, the APK does not install and a message saying “No app found to handle this file” appears.
"""
The blog also says that an updated version of the app is supposed to fix this issue, but apparently it's still not properly working with version 1.1.7 I'm using.
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
Those previous issues have nothing to do with APK files being downloaded as ZIP files. The reason why some APK files don't get saved as APKs is because the server that the files are hosted on is incorrectly reporting the file type.
Enter the URL of the file you're downloading into this page: http://www.webconfs.com/http-header-check.php
That page shows what the server hosting the file is declaring about the file. The "Content-Type" header field is supposed to be "application/vnd.android.package-archive" for APK files. If it is not, then my app ends up saving the file as whatever the server tells it the file is. In your case, the server is telling the app that it is a ZIP file. Technically, the app is not doing anything wrong because it's trusting that the server is configured correctly, but I need to change it so that I don't always trust the server. I'll hopefully address this in the next version of the app.
Your best options until I fix this is to either host the file on a correctly configured server, or use another app, like ES File Explorer to either download the file or rename the file to .apk.

Categories

Resources