[android-beginners] Re: Tab layout... switch to landscape change tab...

2008-10-24 Thread atrus123
<[EMAIL PROTECTED]> wrote: > > The activity gets restarted by the process of switching the land > scape..Thats the reason .. you are facing this problem > > On Wed, Oct 22, 2008 at 8:44 PM, atrus123 <[EMAIL PROTECTED]> wrote: > > > > > So I've start

[android-beginners] Tab layout... switch to landscape change tab...

2008-10-22 Thread atrus123
So I've started debugging my first real application with my actual G1, and one thing I've noticed is that if I have, say, tab 2 selected and I switch to landscape mode, it switches to tab 1. I don't lose any content in tab 2, so I can just click back on over, but it is an annoyance, and many user

[android-beginners] Re: TabHost and TabWidget

2008-10-22 Thread atrus123
Small note: I got said book a week or so ago, and it is very good. On Oct 21, 9:27 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Andrex wrote: > > Yeah I still can't get it. :( Can you give me another example, or > > source code? > > Well, the guy who wrote the blog post over on AndroidGuys also w

[android-beginners] Re: sqlite create two tables onCreate...

2008-10-13 Thread atrus123
nm... figured out what I was doing wrong. On Oct 13, 9:44 am, atrus123 <[EMAIL PROTECTED]> wrote: > What I want to do is create more than one table during onCreate: > > public void onCreate(SQLiteDatabase db) { > // TODO Auto-generated method stub > db.

[android-beginners] sqlite create two tables onCreate...

2008-10-13 Thread atrus123
What I want to do is create more than one table during onCreate: public void onCreate(SQLiteDatabase db) { // TODO Auto-generated method stub db.execSQL(CREATE_TABLES); } where CREATE_TABLES is something like this: private static final String CREATE_TABLES = "create table this (

[android-beginners] Re: Bulk insert on database create...

2008-10-11 Thread atrus123
I figured it out. I was trying to insert data prior to opening the database for writing. On Oct 11, 11:17 am, atrus123 <[EMAIL PROTECTED]> wrote: > What would be a good way to approach performing a bulk insert of > values during the database creation? > > What I had tried d

[android-beginners] Bulk insert on database create...

2008-10-11 Thread atrus123
What would be a good way to approach performing a bulk insert of values during the database creation? What I had tried doing was something like this: public void onCreate(SQLiteDatabase db) { // TODO Auto-generated method stub db.execSQL(CREATE_TABLE);

[android-beginners] Re: Simple Maps app crashes...

2008-10-08 Thread atrus123
Ah, that was it. Thanks for your help! On Oct 8, 1:41 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > atrus123 wrote: > > I'm just starting to play around with Android, and I'm stumped when > > working with Google Maps. > > > The error I'm gettin

[android-beginners] Simple Maps app crashes...

2008-10-08 Thread atrus123
I'm just starting to play around with Android, and I'm stumped when working with Google Maps. The error I'm getting is this: "The application MapsTest (process maps.google.maps.test) has stopped unexpectedly. Please try again." So far, my application is pretty bare-bones, which makes me think t