Android :: Packaging Hidden Asset Files
Jun 9, 2010
I'm placing the file '.nomedia' into a folder in order to avoid Android's MediaScanner from detecting the media files in the folder. I need to copy this folder (including '.nomedia') from the APK's assets to the SD card (so other apps can make use of these media files, etc.). When I package the APK in Eclipse, it doesn't package the '.nomedia' file. Presumably it's detecting it as a hidden file. Any ideas how to fix this? Is there a secret aapt flag I can use? I'd like to avoid copying the folder and then manually creating a '.nomedia' folder, if possible.
View 1 Replies
Feb 17, 2010
I am creating a game using the irrlicht c++ 3D graphics engine port to android platform. The graphics engine is written in c++. I need to be able to load meshes and textures etc from c++ code. My current plan is to place all the game asset files in either the res/raw directory or the assets directory then on start-up copy these files to the sdcard so they are accessible from the irrlicht c++ code.Is this the best way to make the game media files accessible from c++?
View 2 Replies
View Related
May 17, 2009
It seems that the hidden files app will not download for me. I have already purchased and cannot get it installed. It seems it is hit or miss on cupcake.
View 31 Replies
View Related
Jan 6, 2010
I created a hidden directory/folder with astro using the .filename technique. The problem is I can't find the folder. When I mount the droid to the computer, I can see the files, so I know they are there. How can I make it so I can see them on the phone when not connected to the computer?
View 2 Replies
View Related
Jun 5, 2014
I have broken the screen on my s3, and have several hidden folders and files using a '.' at the beginning of the filename. I know that Windows won't find the files/folders that use the '.' method, but would it be possible to emulate Linux on my pc (running Windows 8) to find and rename these files?
View 3 Replies
View Related
Aug 4, 2010
Can we able to store recorded files in hidden form apart from SDcard in android.It should be shown only to particular user and third party should not open the recorded files(ie-songs,images,messages)
View 1 Replies
View Related
Mar 9, 2014
I only have 155mb worth of pics on my phone but it shows 255mb on Settings>Storage>Pictures, videos. Where did that 100mb came from?
View 2 Replies
View Related
Oct 7, 2013
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.
View 1 Replies
View Related
Feb 21, 2012
I have only 150mb of internal memory on my phone. These are some items that consume critical amounts of internal memory space. When I download an app, it seems I am downloading an install package. The installed app itself takes up additional space. I believe the install package persists on the internal memory, invisible to the average retail user, and takes up internal space even after the app is moved to the card.
Ex: an anonymous app
android market listed size- 3.51mb (this must be the download size of the installer)
download and install on internal memory, size listed- 5.73mb
move to SD card, size listed- 2mb
move back to internal memory, size listed- 5.73mb
Further thoughts:
1. The install package seems to remain on the internal memory even though the app moves to the card.
2. Beyond the above example, I went through each and every item listed in my settings - applications - storage use - All.
I found 105 total items on internal memory and SD card all together. By adding up the listed "Total" size of each (yes, I went through each and every one), I arrived at approximately 109mb. The phone lists internal memory use at 135mb. I would expect the internal memory use to be LESS than 109mb because some of the apps are on the card. My assumption is that much of this extra internal storage is taken up by all of the installers sitting invisible on the internal memory.
3. Based on observing the change in the Internal Memory usage when I delete app "Data", I believe the app data is being written to the internal memory even if the app is on the SD card.
Why isn't the install package deleted after the app is successfully installed? Is there an app for that?If I uninstall the app while it sits on internal memory, does it also delete the install package?If I uninstall the app without first moving it back to the internal memory, does it delete the uninstall package? How can I reclaim this internal memory space for actual use??
View 2 Replies
View Related
Jan 5, 2014
So I know the method of hiding a file or folder by placing a period in the beginning of the title then SETTINGS > *Uncheck* SHOW HIDDEN FILES
Okay, to make everything clear...... from the home page I go to my Apps......click FILES, then there are the following items: ALL FILES, IMAGES, VIDEOS, MUSIC, DOCUMENTS.
When I click IMAGES....I get to my CAMERA, a generic PHOTO album, and some downloads from FACEBOOK. There are also two hidden files called .THUMBNAIL and .THUMBNAILS2 (I may have named one of them I'm not sure).
What are these files for? They contain literally thousands of previous and current pictures I had stored in my phone including deleted pics. They are lower resolution than normal too. I want to delete the ".thumbnail" folders but I don't know what will happen. They're annoying me and include a lot of deleted stuff.
View 3 Replies
View Related
Apr 12, 2014
There is an app called PPDigital, it stores DRM free PDF files in a folder
Android/data/com.lht.privateerpress/files/
On my Asus Transformer TF101
I don't see that folder using "ES File Explorer" or "file manager" or when plugging into my PC via USB. I tried rooting my tablet and still haven't had any luck.
On my Samsung Galaxy S4
I see the folder but only 2 of the dozen PDFs that are in it, sadly they are the 2 I care the least about, both via "my files" and a USB connection to my PC.
View 1 Replies
View Related
Mar 3, 2010
So I made a folder on astro and I put some pictures in it and then I made it hidden and now my music and pictures are hidden . How do I fix this with out making the pictures unhidden.
View 10 Replies
View Related
Oct 28, 2009
I've noticed that the PNGs of my application with some gradients effects looked terribly bad at the device (a Samsung Galaxy) and at the emulator, and I've found the following note at the documentation (http://developer.android.com/guide/topics/graphics/2d- graphics.html):
Image resources placed in res/drawable/ may be automatically optimized with lossless image compression by the aapt tool. For example, a true-color PNG that does not require more than 256 colors may be converted to an 8-bit PNG with a color palette. This will result in an image of equal quality but which requires less memory. So be aware that the image binaries placed in this directory can change during the build. If you plan on reading an image as a bit stream in order to convert it to a bitmap, put your images in the res/raw/ folder instead, where they will not be optimized."
I've tried the res/raw suggestion, but it didn't worked.
I've tried to use the image as JPEG as a workaround, but I couldn't use 9-patch.
I've uploaded a comparison between the original png and the "optimized" png that is shown on the emulator or devices: [url]
One workaround would be put the images at /assets/ and manually load and set the image on the ImageViews, but it requires a lot of code changes.
View 11 Replies
View Related
Sep 8, 2010
I have created a SQLite database on my PC. I have imported it into my assets folder in the project directory. How do I access it from my Android application?
View 1 Replies
View Related
Jul 10, 2009
I have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that?
View 4 Replies
View Related
May 3, 2009
I've got ~200 png files in the /res/drawable folder, mostly interface and sprite sheet stuff. They're all indexed pngs, and weigh in at a grand total of a bit over 400kb.
When I run aapt to package them into the apk, their filesize nearly doubles. Opening the apk up with 7zip and extracting the drawables confirms it: 790kb.
Does anyone have any idea why this would be happening? I thought the packaging process was meant to compress the pngs, not inflate them!
View 4 Replies
View Related
Aug 21, 2009
In Windows, we write "installer script", and user an "installer compiler" to generate an installer, let's say .inf for .msi/.cab and .nsi for NSIS.
But when it comes to Android, is there a similar method?
View 2 Replies
View Related
Apr 12, 2010
If I create an application for Android, how do you package extra items in with it like a live wallpaper or widgets? For example, google maps does this by including a live wallpaper with the download of the latest version.
On a related note, with google maps, it's available for, I believe, 1.6 and up, but it seems that it is all the same download. So how do you ensure that, even though there may be a 2.x only feature included, it still shows up for lower OS phones? Or is the marketplace maybe actually holding onto two separate APKs for each OS?
View 1 Replies
View Related
May 19, 2010
I am getting an error in my Problems tab for my Android Project in Eclipse. The error is "Android Packaging Problem" with an Unknown location. Unknown Error NullPointerException
I cannot determine what this problem is. My project was working a few hours ago. The only change I made was to add a public interface ITrackDao to my project and implement it. There are no errors associated with this. I am not even sure where to begin to look. I cannot launch the application.
View 7 Replies
View Related
Oct 20, 2010
I'm getting this crazy error on multiple projects, even when I revert back to prior versions that compiled just fine. Unknown Error - java.lang.NullPointerException Android Packaging Problem Path is blank Location is Unknown. 1 - Project -> Clean -> All 2 - Deleting .metadata folder 3 - reimporting projects into the eclipse 4 - reverting my projects back to prior working versions using git. I just can't get anything to compile now, and I've searched for solutions here and on eclipse forums.
View 3 Replies
View Related
Nov 1, 2011
My team is currently trying to package a native .so library within an AIR APK. This native library is used by a native extension we've built, but the library is not the extension itself, therefore the standard process of creating an AIR APK with an extension does not include these libraries. We have to, somehow, instruct AIR to include the native libs in the packaging process.
The real headache is that for Android to link to these libraries, it appears that they must sit in the following directories (we have 2 .so files):
/lib
/armeabi
mynativelib.so
/armeabi-v7a
mynativelib.so
When using ADT we can include the /lib directory in the APK, but AIR sticks the /lib directory in the APK's /assets directory with the rest of the AIR files....but this does not work because Android does not appear to find the native libs.
how we can get this lib directory sitting at the root of the APK?
View 1 Replies
View Related
Nov 30, 2009
From digging around a bit, getAssets() is an inherited method from ContextWrapper. It returns an AssetManager, and using open() it can return an InputStream. What I'm attempting to do at this point, is use the GLSurfuceViewActivity, Cube and CubeRenderer to work and learn off of and read in vertex data from a binary file. I've already created the binary output by parsing a model obj file and added to the assets directory. My Shape class (modified from the Cube class) does not have access to calling getAssets() since it's not a subclass of Activity or ContextWrapper. Once I accepted that, I tried to think of the best way to read in the data (without storing it extra places) to the Shape class. What I did, and seems to be working okay, was modify the Shape and ShapeRenderer constructors to accept an AssetManger as a parameter.
View 3 Replies
View Related
Mar 29, 2009
I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I have an image called myImage.gif
View 7 Replies
View Related
Nov 11, 2010
I want to check, whether a file exists or not in the /assets/ folder.How could I do it? Please help.
View 1 Replies
View Related
Jul 16, 2010
Comes with everything.... Chance
View 4 Replies
View Related
May 10, 2009
The Typeface can not read a TTY font from external file. I just want to know why. Why this feature is denied even in 1.5r1? And have any plan to open the feature?
View 6 Replies
View Related
Nov 20, 2009
Is there any inbuilt function to load PDF file from Local Asset in Browser or Webview. Tried using loading file to Buffer .. But the content was not displayed. Dnt suggest me to install Application like DocumentToGo or any like that.
View 6 Replies
View Related
Sep 18, 2009
Is it possible for the App to create a new file/asset and write this into the /assets directory. The reason being, that's the only way I can tell webkit will load a local file/resource.
View 10 Replies
View Related
Jan 2, 2010
I have been trying to figure this out for some time now. Is there any way to load the entire Assets folder instead of having to code it for every single item? Also, once the images are read, is there a way to have another app (already installed on the device) grab that data? The intent is declared in the manifest and on it's own with the items in the res/ drawable it works fine but to have more then one option I'm using the assets folder with subdirectories. The user choses an option, that directory loads through another app already installed, if that makes sense.
View 3 Replies
View Related
Nov 8, 2010
I need to be able to be able to call readAsset from outside of the main activity of my application. I have heard people mention needing to pass the Context around, but the language has been very vague. Can someone describe the steps necessary to add the ability to call readAsset to an existing class that is not the main activity? Creating a public function in the main activity and having others call that will not work as the place I need to add readAsset to, is in a separate thread.
View 1 Replies
View Related