Home/Support/Support Forum/Increasing available application space
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Increasing available application space

0 votes
The default image on the application dev kit here seems to have a number of applications that we won't want to use on our application, and the image takes up so much memory that I'm concerned as to if there will be room to deploy and debug our application on the device hardware directly.

Is there any documentation on deploying a changed image with some of the built in applications and features removed? The Email application and the File browser are two that we not only won't need, but don't want the users to utilize on the system, and I'm sure there are some other features of the system we won't be using. The 18 megabytes remaining seem like they would run out quickly as our application is barely started and is already taking 1 megabyte.

Alternately, is there any way to have the ADB deploy and debug the application directly in the SD Card file system instead of trying to utilize the small amount of internal flash storage? This would allow us to utilize significantly more space.
asked Apr 17, 2012 in Android by Kazriko New to the Community (6 points)

Please log in or register to answer this question.

10 Answers

0 votes
Kazriko,
what product are you working with? CC3G?
what development kit do you have? NETOS? linux?
keith
answered Apr 30, 2012 by kjensen8 Veteran of the Digi Community (623 points)
0 votes
CC-WMX53-ANDRD, the Android development kit. http://www.digi.com/products/wireless-wired-embedded-solutions/software-microprocessors-accessories/software/digi-android#overview
answered Apr 30, 2012 by Kazriko New to the Community (6 points)
0 votes
Hello Kazriko, I think you can increase Internal storage of the module. To do this ,modify the partition table using the command "flpart", i do not know exactly it is recommended one or not. for more information directly check with digi tech support @ this mail id : support.wizards@digi.com.
answered May 2, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
Hello Kazriko,

As you say, the default image includes several default applications with it. If you want to remove them, you can do it by several ways:

1.- Disable those applications in the sources and rebuild the image. To do so, you will need to uncompress the sources, modify these makefiles:

build/target/product/core.mk
build/target/product/generic.mk

And the perform a full build.

2.- Remove the applications from the file system directly (brute force). To do it this way, you only need to open the serial connection with the device, navigate to /system/app/ and remove the applications you don't want.

There is also the possibility of installing your application in the SD Card. To do so, you will need to include a new parameter in your application Manifest.xml file. In the root <manifest> element, you have to include the android:installLocation attribute. This attribute has 3 possible values:

- internalOnly: This is the default one. Means that the application cannot be installed in the SD Card.
- preferExternal: Means that the application would like to be installed on the SD Card.
- auto: Means that the application can be installed in either location.

If you use preferExternal, then your application will be initially installed on the SD Card in most cases. Android reserves the right to still install your application in the internal storage in cases where that makes too much sense (for example when there is not SD card installed). Here is an example of the manifest header:
Code:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.android" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">

If your application is already installed, you have the option to "manually" move it to the SD Card. To do so, open the Settings application, navigate to the Applications option, click on Manage Applications, select your application and in the new window click on Move to SD Card (The option will be enabled only if you specified the installLocation parameter with preferExternal or Auto values).

Hope that helps,

Kind regards.
answered May 3, 2012 by descalon New to the Community (40 points)
0 votes
Thanks for that help descalon. That should be almost everything I need.

Are there any instructions around for replacing the image on the controller?
answered May 4, 2012 by Kazriko New to the Community (6 points)
0 votes
Quote:
Hello Kazriko, I think you can increase Internal storage of the module. To do this ,modify the partition table using the command "flpart", i do not know exactly it is recommended one or not. for more information directly check with digi tech support @ this mail id : support.wizards@digi.com.

Ok, if I can't figure it out while compiling the new image, I'll send them an email.
answered May 4, 2012 by Kazriko New to the Community (6 points)
0 votes
The link you have provided doesn't work. Send another link.
answered May 5, 2012 by JamesCharles New to the Community (1 point)
0 votes
I also think you can increase Internal storage of the module.
answered May 23, 2012 by ronaldstanley New to the Community (7 points)
0 votes
Hello , If you are uisng the CCWi-i.MX53 512/512 variants , The below link will be useful to increase internal storage memory
http://www.digi.com/support/kbase/kbaseresultdetl?id=3304
answered Sep 17, 2012 by cpigilam Veteran of the Digi Community (655 points)
0 votes
This thread helps me so much so solving my problems. Thanks share more information.
answered Oct 2, 2012 by AlanBailey New to the Community (1 point)
...