How to create a "Shop Savvy" kind of button?

by roreb1313 » Sat, 07 Mar 2009 10:59:48 GMT


Sponsored Links
 Hi,
I am trying to find out what kind of layout and widget was used on
Shop Savvy for the 1st screen so I can use on my app. The Screen that
I am talking about is the 1st one that loads when you start Shop Savvy
and that has "Search for a product", "Wish Lists", etc. When you click
on each row it opens/slides left a new screen/activity.
It seems to be a tableLayout with a onClick Listener for each
tableRow. Is that what it is? How do they manage to do the slide/open
new activity thing? Does anybody know?
Thanks,

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



Other Threads

1. SurfaceView overriding onDraw

I'm attempting to extend SurfaceView and override it's "onDraw"
method.

But, the onDraw method is never called.... ?

@override
protected void onDraw(Canvas canvas)
{


}

What's the problem?
--~--~---------~--~----~------------~-------~--~----~

2. Touch Screen Driver Issue on ARM9 Board

Hi ,

I have ported android on the ARM9 based board. I are able to see the
home page after booting android on target. But the touch screen is
not  working. The touch screen driver is modified to pass the of X,Y
pressure as shown below.


                   xtmp = (axis_table[2] + axis_table[0]*x +
axis_table
[1]*y )>>axis_table[6];
                                ytmp = (axis_table[5] + axis_table[3]
*x + axis_table[4]*y )>>axis_table[6];


                                printk("x (xtmp)-> %d (%d)\t y(ytmp)
-





                                input_report_abs(d->idev, ABS_X,
xtmp);
                                input_report_abs(d->idev, ABS_Y,
ytmp);
                                input_report_abs(d->idev,
ABS_PRESSURE, p);
                                input_report_key(d->idev,BTN_TOUCH,
1);
                                input_sync(d->idev);

ours is resistance based touchscreen with resoultion of 240*432.


The pointer location application of the android does'nt recognise the
touch screen inputs. The touch screen is calibrated using
ts_calibrate  of tslib. The max values for x and y is 4095.


Currently the date and time bar scrolls down upon clicking on the
screen, we are not able to lauch any of the applications.

Can anyone please tell what needs to be done to correct the
touchscreen issue.


Thanks

Ajay



--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. save image file in sqlite db

4. ApiDemos MapViews no show (Proxy problems?)

5. Generating MD5 Fingerprint of the SDK Debug Certificate

6. Play wav files in Media player

7. Camera Focus Facility