Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
stephen.n.nikki
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 23
Join Date: Mar 2007
Default Question

So if we used a symbolic link to store data/app and data/data on the sdcard instead of our phones, what would be the potential risk if we removed the sdcard after having done this? Would our phone go crazy and blow up or what? Would this not solve the problems of apps being stored on the phone's internal memory?
 
neerhaj
Old
#2  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Nov 2008
theres a discussion going on here
 
Stericson
Old
#3  
Stericson's Avatar
Retired Senior Mod / Elite Recognized Developer - Godfather of Android Theming
Thanks Meter 347
Posts: 1,187
Join Date: Nov 2008
Quote:
Originally Posted by neerhaj View Post
theres a discussion going on here
Thanks.

One of the users on that forum said that a symbolic link would simply duplicate the information...is that correct?
 
neoobs
Old
#4  
Retired Moderator
Thanks Meter 9
Posts: 1,268
Join Date: Mar 2008
Quote:
Originally Posted by Stericson View Post
Thanks.

One of the users on that forum said that a symbolic link would simply duplicate the information...is that correct?
unless this phone changes the way a symbolic link works that user is incorrect... Think of it like shortcuts on your desktop... it doesn't create a new program to display the shortcut... it just is a small file that tells the computer to run the real program. You could do the same but there needs to be a lot more work than just that. Basically the app is stored in data/app and the data is stored in data/data but then there are other files the program may have installed elsewhere and links may need to be done to quite a few different folders. Basically it will be messy... someone needs to make an app that installs to the sdcard
 
Stericson
Old
#5  
Stericson's Avatar
Retired Senior Mod / Elite Recognized Developer - Godfather of Android Theming
Thanks Meter 347
Posts: 1,187
Join Date: Nov 2008
Ok, I thought he was wrong but I was just making sure....Do you know where the android market is storing all of its cache because the app is growing on my phone and I want to

A) reduce it by clearing the data
or
B) use a symlink to stop it from taking up space on my phone.
 
neoobs
Old
#6  
Retired Moderator
Thanks Meter 9
Posts: 1,268
Join Date: Mar 2008
if I am not mistaken cache is in data/cache... I know that the /cache directory is a symlink to somewhere else. Forgot where thou.
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more