Discussion Forums  >  Uncategorized

Replies: 5    Views: 254

Ninjaselo
Apple Fan
Profile
Posts: 221
Reg: Apr 04, 2011
TR, Izmir, Alsa...
2,910
07/08/11 12:07 AM (14 years ago)

Which files or folders can we delete to make app lighter?

Can we delete sample.css, sample.txt, sample.doc, etc... from BT_Docs folder? Can we delete FBConnect folder if we do not use Facebook in our app? Can we delete MobFox.framework folder if we do not use it? Can we delete TwitterOAuth folder? Can we delete BT_Sound folder if we don't use any sounds? Oh, soo many can we delete's :) Sorry.
 
Ninjaselo
Apple Fan
Profile
Posts: 221
Reg: Apr 04, 2011
TR, Izmir, Alsa...
2,910
like
07/08/11 12:10 AM (14 years ago)
If we can delete all of these, we could save approx. 3 MB.
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
07/08/11 05:06 AM (14 years ago)
Ninja, I believe the way things were set up before (prior to schooner, don't things have changed though) had a lot of references to all included files in the bundle. That way, if you want to add a feature later, you didn't have to recompile the source and resubmit. Just go to your control panel and enable a new type of screen. If you want to try to delete those files, you will end up with lost of warnings (I tried it a few months ago to see what would result) As you need the files, I would say make a test version for testing and edit all the files so they are blank. That should result in only a few kb in memory usage. If image files are also being looked at, make the png's just clear backgrounds and any jpg and the like all white. (Black in photos takes more memory to save, white less)
 
Ninjaselo
Apple Fan
Profile
Posts: 221
Reg: Apr 04, 2011
TR, Izmir, Alsa...
2,910
like
07/08/11 05:09 AM (14 years ago)
Wow! Never thought like this. Thank you for your reply :)
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
07/08/11 05:13 AM (14 years ago)
I can't guarantee your results. This is a hack method but could yield promising results. And you can save the blank files and use them for future apps too. Good luck.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
07/08/11 10:22 AM (14 years ago)
@erichopf - Fantastic tip! Love this hack.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.