:: wat is the limit for the size of the .apk file

by Imran » Wed, 19 Nov 2008 12:32:29 GMT


Sponsored Links
 guys help me.........



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



Other Threads

1. Create Drawable IDs in a loop??

Just on Question. hope you have a sec to help me.

if i have many drawables to request like

        mbs[0] = (Button) findViewById(R.id.cmd_door_0);mbs
[0].setOnClickListener(myOcl);
        mbs[1] = (Button) findViewById(R.id.cmd_door_1);mbs
[1].setOnClickListener(myOcl);
        mbs[2] = (Button) findViewById(R.id.cmd_door_2);mbs
[2].setOnClickListener(myOcl);
        mbs[3] = (Button) findViewById(R.id.cmd_door_3);mbs
[3].setOnClickListener(myOcl);
        mbs[4] = (Button) findViewById(R.id.cmd_door_4);mbs
[4].setOnClickListener(myOcl);
       .. lets say up to 100;

is it possible to create that in a loop like:

                for (int i = 0; i <= 41; i++)
                {
                  mbs[i] = (Button) findViewById("R.id.cmd_door_"+i);mbs
[i].setOnClickListener(myOcl);
                }

. i know its not working in that style
but is it possible to create IDs like R.id.cmd_door_xxx (where just
xxx change) in a loop?

Hope you understand how i mean this :)

Greets
Chris
--~--~---------~--~----~------------~-------~--~----~

2. Optimizing very big switch?

I have switch with 255 cases in my project - DroidGear...
How i could optimize it?

Sorry for my english
--~--~---------~--~----~------------~-------~--~----~

3. Good New's cupcake" development branch Merged to The master project

4. All SYMBIAN based end devices accept Java language Applications :: Need Clarification

5. Observation and comments on Android and "regularly" scheduled events

6. Performance Tests

7. Broken Gallery View? using Gallery.setSelection(int position, boolean animate)