07-05-2010, 04:42 AM
|
#1 (permalink)
|
| Knows Where the Search Button Is
Join Date: Jun 2010 Model: 7100 PIN: N/A Carrier: Dev
Posts: 19
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Navigation from one screen to another Please Login to Remove! hello guys,
for (int i = 0; i < 5; i++) {
backgroundBitmap1 = Bitmap.getBitmapResource(images[i]);
if (i > 0) {
total = total + 50;
}
graphics.drawBitmap(10, total, totalWidth , totalWidth,
backgroundBitmap, 0, 0);
graphics.drawBitmap(30, total + 5, backgroundBitmap1
.getWidth() , backgroundBitmap1.getHeight(),
backgroundBitmap1, 0, 0);
graphics.setColor(Color.BLACK);
graphics.setFont(f);
graphics.setStipple(i);
graphics.drawText(data[i], 80, total + 20,
DrawStyle.HCENTER | DrawStyle.VCENTER);
super.paint(graphics);
}
I have added 5 bitmap one by one i need to navigate each to separate page
how to navigate? any one help me........
Thanks in adv,
Venkatesh |
| Offline
| |