G1 Storage Space

by WebsiteMagazine » Fri, 13 Mar 2009 03:53:28 GMT


Sponsored Links
 How much storage space does a G1 phone come with?
--~--~---------~--~----~------------~-------~--~----~



G1 Storage Space

by Stoyan Damov » Fri, 13 Mar 2009 05:00:24 GMT


 ~70MB for apps, 1GB SD card.
I know the 70MB is hilarious, tough luck.
Maybe a next release, when Google implement file system encryption
will allow installing and running apps off the SD card, but that's not
likely to happen soon.

On Thu, Mar 12, 2009 at 9:53 PM, WebsiteMagazine



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


G1 Storage Space

by WebsiteMagazine » Fri, 13 Mar 2009 22:42:44 GMT


 Thanks for the info.

What is the the recommended folder naming convention for data stored
on the user's SD card?




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. OnClickListener problem

I tried to make the most simplest app I could come up with in using
textview, edittext and button. Idea is to insert some text into edit
box and when you click on button, text will be copied into text view.
I defined UI in main.xml and everything works fine. But when I insert
listener into onCreate() method, app is crashing(some exception
occurs). Now I know this is maybe stupid question, but I couldn't find
complete instruction on this. So anyone help please...
This is the code:

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        final TextView view = (TextView)findViewById(R.id.textLabel);
        final Button button = (Button)findViewById(R.id.callButton);
        final EditText edit = (EditText)findViewById(R.id.editBox);
        //THIS PART IS CRUSHING
        //**********
        button.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
                view.setText(edit.getText());
            }
        });
        //***********
        setContentView(R.layout.main);
}

--~--~---------~--~----~------------~-------~--~----~

2. Help debugging frequent garbage collection

I am having an issue with my latest game (available in the market as
"BreakTheBlocks Lite")

This is a simple "arcade" style game, It started with a thread
controlling the game loop but now I just have a runnable that performs
the game loop functions and then posts back to itself.

In its original release there was a noticeable "stutter" in the game
every other second or so.  After a great deal of time debugging I
finally realized that every time the stutter happened LogCat showed
that garbage collection was taking place.

I went through my code and got rid of creating as many "temporary"
objects as possible.  After that the stutter went from happening every
1.5 seconds to happening every 13-16 seconds.  This is much better,
but I can't seem to reduce the time any further.

According to LogCat the garbage collector is still running on my game
thread every 15 seconds I see the message "GC freed 19833 objects /
878848 bytes in 131ms"... and since my game runs at about 30 frames a
second a 131 millisecond stutter causes about 4 frames to be dropped
which is an annoyance for me and the users of my game.

So my question is What can I do to further debug this problem?  I have
always known garbage collection existed but I have never bothered to
care about it until now because it is finally affecting the
performance of my app (and I am a C++ programmer by day so I usually
forget about the GC)

Is there any way to see what the garbage collector is collecting?  Is
there any way that I can tweak the behavior of the GC for my app?

Sorry for the long winded question and thank you in advance for any
responses
--~--~---------~--~----~------------~-------~--~----~

3. Up-to-date G1 sales figure

4. Making ListView stop on a finger press

5. Cannot enable gears in emulator

6. sip ua in android

7. Can we start a new activity or at least display a Toast in TimerTask.run()?