[android-developers] is there an andriod simulator?

2009-03-17 Thread ytbryan

hi all,


may i know is there an andriod simulator ? like how the iphone
simulator works?

thank you


regards
bryan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Developing Android app for tablet

2010-09-05 Thread ytbryan
Hi all,


do we(developer) need to alter our app to suit the android
tablet(samsung galaxy tab)? or will them automatically run on the
tablet?

Is a documentation on developing for android tablet?

thanks!
bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Developing Android app for tablet

2010-09-05 Thread ytbryan
thanks guys

On Sep 6, 12:42 am, Kumar Bibek  wrote:
> Do test out your apps on emulators.
>
> http://techdroid.kbeanie.com/2010/09/getting-started-with-tablets-the...
>
> -Kumar Bibekhttp://techdroid.kbeanie.com
>
> On Sep 5, 9:32 pm, ben  wrote:
>
>
>
> > I would make sure your app isn't drawing anything to exact pixel
> > locations and sizes. If you're using the built in layouts you should
> > be in good shape. Also you can use the AVD manager to create an
> > emulator with larger resolutions and screen sizes. That should at
> > least give you some idea of what it will look like.
>
> > On Sep 5, 11:56 am, Droid  wrote:
>
> > > And is landscape view preferred or default for these bigger screens?
> > > Many of my apps are fixed to portrait...
>
> > > On Sep 5, 1:50 pm, ytbryan  wrote:
>
> > > > Hi all,
>
> > > > do we(developer) need to alter our app to suit the android
> > > > tablet(samsung galaxy tab)? or will them automatically run on the
> > > > tablet?
>
> > > > Is a documentation on developing for android tablet?
>
> > > > thanks!
> > > > bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] android design pattern

2010-09-05 Thread ytbryan
hi all,

I'm new to android.

As i am building multiple activities, i realise that i have to code
out repetitively this segment.

Intent i = new Intent();
i.setClass(this, Main_Form.class);
startActivity(i);

So that i can return to the home page.

Is there some structural pattern or design pattern that i am missing
out? Like a Activities Manager that manage all the activities? can
someone give me some advice?

thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: android design pattern

2010-09-06 Thread ytbryan
I see. thank you Kumar.

On Sep 6, 3:25 pm, Kumar Bibek  wrote:
> There can be many ways of doing this. What I regularly use, is to have
> my own Activity class, say, MyActivity which extends the Activity
> class.
>
> All the other activities in my application extend MyActivity instead
> of Activity. In Activities, I have a few methods, which I think would
> be used by almost all my activities, like firing intents, showing
> toasts, dialogs, etc.
>
> So, in MyActivity, you can have a method, startIntent(Class class),
> and write these three lines of code here.
>
> Now whenever you need to trigger an intent, just call this method with
> the target activity class.
>
> -Kumar Bibekhttp://techdroid.kbeanie.com
>
> On Sep 6, 12:13 pm, xc s  wrote:
>
>
>
> > Actually I also do this.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] galaxy s (2.1) and google api 2.2

2010-09-06 Thread ytbryan
Hi all,

I want to run the map activity sample app on samsung galaxy s but
realised that i need it to be 2.2.

is there a workaround?

thanks!
bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] another design pattern question

2010-09-06 Thread ytbryan
hi all,

if i want to let all my views be location aware, but i am going to
have say like map view, camera view and normal list view.

how should i go about doing this? should i have a main_activity class
that holds a location manager and let every view extends?

Sorry i am new with these.

Thanks!
bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how do i get xmlresourceparser?

2010-09-06 Thread ytbryan
Hi all,

I want to do Resource.getxml(R.xml.stringname);

But how do i get to the "Resource" object?

Thanks~!
bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how do i get xmlresourceparser?

2010-09-06 Thread ytbryan
sorry the subject should be " how do i get to the Activity's
Resource.

On Sep 7, 12:17 pm, ytbryan  wrote:
> Hi all,
>
> I want to do Resource.getxml(R.xml.stringname);
>
> But how do i get to the "Resource" object?
>
> Thanks~!
> bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] parsing kml

2010-09-07 Thread ytbryan
hi all,

i change my kml to xml and place it at Res/xml/test.xml.

I tried this

XmlResourceParser x = this.getResources().getXml(R.xml.test);

but it return null.

So how do i parse a kml?

I want to display it as listview.

and also ulimately use it on a map.

below is a copy of the kml.http://maps.google.com/maps/ms?
ie=UTF8&hl=en&vps=1&jsv=260d&oe=UTF8&msa=0&msid=106069377598790155454.0004720325247dc0c953a&output=kml

bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how to create a semi transparent image for the camera overlay?

2010-09-07 Thread ytbryan
Hello,

i want to put a image on the camera overlay.

But how to make the image semi-transparent? so that i can still see
the camera view?

Thanks

Bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] layar's platform

2010-09-07 Thread ytbryan
hi all,

layar has this "platform" line-like image (See photo
http://lifehacker.com/5357691/layar-brings-semi+augmented-reality-to-your-android-phone)
that will adjust as the pitch of the phone increase or decrease.

how do i create that image so that i can put on the camera overlay.
How do i make it "tilt" as the sensor data changes? i know how to
shift images on camera overlay but really have no idea how to start
with this.

can someone advise me?

thanks
bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en