Hey,
i read some stuff about SQLite databases to use them within my own application.
so for this point, it should work.
BUT:
for most of my data stuff i need a database that i can directly put into my application. i read on stackoverflow that it's possible to put up to 1,2mb files in the assets folder and then copy them anywhere else to use them.
my question is:
is it possible to acces those databases in the assets folder directly to read from them? there's no need to insert data into this database, it's just a data storage to read from? is it possible? and if it is than how could i do this?
regards,
Sh4itan
so there's no one hre with the answer of my question? or an idea to achieve this?
Related
Hi..
I was wondering if it is possible to save my contact onto my SD card.
I want to save them, before I wipe the Hero to install Modaco's new ROM.
Non of my contacts are google-contacts, so that is not an option.
My Hero is rooted, and I have been playing around in the filesystem, using "File Explorer".. I have come across a file called: "htccontacts.odex"
It is a file in system/app.
It uses 1MB.
I haven't been able to open the file in notepad or wordpad, with readable result.
My question to you, my dear android-lovers, simply is:
Does "htccontacts.odex" contain my contacts, their picture aswell as their facebook-link?
Because that could be an easy way to dbackup contacts..
Maybe to easy??
Regards
Tazimn
i dont know, but what you could do to test it is:
boot in cyanogen mod, and rename the file (with adb shell), then boot and look if your contacts have been gone (afterwards name it back to original name)..
or check whether the size of the file increases when you add some contacts.
Yeah... that could be a way to to it.. and maybe it will.. but I am holding my breath to see, if anyone in this forum knows exactly what the file contains..
Thank you for the idea..
Hi everyone,
I have a question or maybe someone can give me some advice?
Is there an application that can do this or maybe a terminal app, and someone knows the commands to enter?
I am very anal and a complete neat freak, so my sd card on my xperia looks very unorganized. I have tried to create a folder called android and move all the dependent files to android there but the folders and files just get recreated.
I would love to have my sd card Folders look like:
Android (defualt for android),
Music,
Pictures,
Movies,
Temp,
and so on.
does anyone know how this type of organization could be done, I have an X10a rooted. So could i not open a terminal and change the default path to my sd card to a folder rather than the root of the card.
So this would make android put anything it wanted to write to the sd card into a folder called Android.
Hope someone is as anal as me and has figured out a way to do this.
I agree and would also like to know if there's an option to deal with this. I think it's absurd that Android defaults to dumping temp files an app folders all over the sdcard with no actual organization. I can't think think of a single reason why it can't just put all of these things in an "Android" folder and make a giant mess out of that, instead of doing it right in the sdcard root.
This was posted in July and this is the first response. Anyone have any ideas?
Root explorer paid app will allow to create folders and move stuff around
sent from my Commodore 64
BUMP
would also really like to know if it can be tidied up
what about dynamic links like the same way apps2sd works
Just an idea
Bump, still searching for a solution to this
I would think that with all the mods, this might be able to be done.
I'm going to ask if the moderators good move this thread to a more general forum like the android q&a?
would be nice to have all sym links go to an android folder, instead of the root of the sd card. or maybe the android files need to be on root?
still searching......
I am afraid this cant be done - every Android app has a ability to write wherever on sdcard. There is dierectory Android, which is default for every android app data.
Some developers respect it some not, many apps dont write do /sdcard/Android but creates their own dirs wherever on sdcard.
I think about one solution, because I am linux geek and hopefully many thinks could be done on Android similar way
Repartition the sdcard with two discs - one to be mounted as /mnt/sdcard - where all of the junk stuff and android configs will be stored as usual and second one partition (bigger) mounted eg. as /mnt/ext_sdcard
But there is one problem, because not all of apps are able to work with files on eternal storage....
Does anyone know where I can view a guide regarding the file structure on the Mini pro? I want to try and understand what everything does. For instance where is browser cache / temporary files stored? Do programs contain many attributes spanning multiples folders or do they just act like a portable app residing in the /system/app folder? Where are emails stored from the email.apk? If anyone knows of a guide I can start with that would be cool.
Its basically the standard linux directory structure. If you search google you'll find plenty of info.
Yes but where are things like temp files stored, browser cache etc?
Hi all!
I have created a script that reads a .db file and exports a .txt file based on the data contained in the database.
That script actually works only with the root user but I would prefer not to use root for this.
The problem seems to be that when the db file is updated (after exiting Epistle, a note editor) it loses all the permissions I gave it with chmod. The db file is located inside /system
Thanks and regards.
In case you want to know, I'm trying to execute a script after modifying some notes (with Epistle) that will export every note to a different txt file.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Sorry about that
Can anyone lend a hand? I'm trying to make an application be able to access the data of another one. If you want to know, I'm trying to make Tasker access the database of Epistle (a text editor)
Thanks!
Hey,
I haven't proven this yet but I think I've got a method for securely deleting files on any OS. The reason people need to do "secure delete" rather than simply deleting files is because this only removes the directory to those files, a fact that can be exploited by anyone motivated to see whatever file it is you're trying to trash, Complex programs that can be used do some sort of shuffling to accomplish a more secure delete. This is all necessary until the space is used up again, at which point it can't be storing both the old and the new file.
All you gotta do is:
take any group of files,
copy and paste them repeatedly
keep filling in the free space until there's none
delete copies
jobs done
I'd love to know if and why this isn't true, it does seem too simple. Anyone know how to extract deleted files (to test it)?