Re: [android-developers] Remove '@override' annotion

2012-04-01 Thread Cristiano
I met the same questions from 2.3 update to 4.0

2012/4/2 Harri Smått 

> On Apr 1, 2012, at 4:19 AM, Kirupa wrote:
> > After sdk updatting I got more no of errors. that Remove '@override'
> > annotion
>
> Could you provide a bit more specific information what SDK you updated
> (previous version, new version). Also it would be nice have an example
> method for which @Override does not work as expected.
>
> --
> H
>
> --
> 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
>

-- 
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 LBS apps get information?

2011-11-09 Thread Cristiano
Hi All,
Now there are many LBS apps,which can show user the information around
his location,such as restaurants,hotels,metro stations and so on,so how do
these apps get their needed information,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] Resources.getDimension() at different densities

2011-02-03 Thread Cristiano Ribeiro
Hi all,

I'm just testing Resources.getDimension() at different-density
emulators.
I've tested it in both 120 dpi and 160 dpi, but this method always
returns 80.0 for a 80dip parameter.

I've written a xml and a Activity.onCreate() method:
---

80dip


float d = getResources().getDimension(R.dimen.spacing);


Shouldn't it return 60 and 80 for 120 and 160 dpi respectivelly?
Is it right?Is there some bug here?
Or should I multiple the return value by DisplyMetrics.density to get
the actual pixels?

Thanks in advance

-- 
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