[android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2011-12-21 Thread yc
There are surprisingly few benchmarks for recent Android devices -- also, I 
am surprised that the iPad 2 is the only one with OpenGL 2 benchmark 5 star 
ratio? 

-- 
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] ADK Errors in Eclipse

2011-05-23 Thread yc
I've managed to make my ADK board blink - I'm on the step where I am
trying to install the app on my Android, but when I got the v10 and
v12 API and created a new DemoKit file, I get 29 errors:

The import com.android.future cannot be resolved, etc
UsbAccessory cannot be resolved to a type

I've tried deleting v10 and 12 and redownloading via the AVD in
Eclipse. Same 29 errors. Please help!

http://a.android.com/demokit

-- 
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 set screen bright immediate in service(not in activity)?

2010-09-01 Thread YC
Hi everybody.

I use Android SDK 1.5

I want to set system screen bright but not activity because I run as
service.

I tried

android.provider.Settings.System.putInt(getContentResolver(),
android.provider.Settings.System.SCREEN_BRIGHTNESS,0);

but it's not working
the screen bright has no any change

and I tried

 WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 1.0f;
getWindow().setAttributes(lp);

it can work in avtivity but in service there's no getWindow() function
so I can't use this method

so how can i adjust screen bright immediate in service?(i want to
adjust screen bright for all system not only in activity)

By the way , in PowerManager Class there's a goToSleep() function but
when i call this function,it happen SecurityException ,but i already
adduses-permission android:name=android.permission.DEVICE_POWER/
 to AndroidManifest.xml.
I have search in android develop group and  there has same issues ,
but i don't know how to solve.
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] How to adjust screen bright immediately in service not activity?

2010-09-01 Thread YC
How to adjust screen bright immediately in service not activity?

I use Android SDK 1.5

i tried

 WindowManager.LayoutParams lp = getWindow().getAttributes();
  lp.screenBrightness = 1.0f;
  getWindow().setAttributes(lp);

but it can't work in service because service has no getWindow()

and I tried

 brightness = Settings.System.getInt(getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS)

 it's no use in service

so how to adjust screen bright immediately in service?

And when I call goToSleep() in PowerManager, it shows
SecurityException but i already add permission DEVICE_POWER to
manifast but it's still wrong why?
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: Ubuntu Jaunty and adb not playing well together

2009-04-27 Thread YC

Hi,
I had the same problem.
I was very skeptical about renaming the file to 51-android.rules,
because as you said, there are no other files with a name starting
with 50-...
but well, I tried, thinking that maybe, in some other directories, or
whatever...
And it solved my problem !

Hope it will work for you as well !

Best.

On Apr 15, 4:36 pm, Zigurd zigurd.medni...@gmail.com wrote:
 My not-very-elegant solution indicates this is a permission issue.
 The udev rule appears to set permissions, so it probably isn't being
 run. It would be nice to verify the udev rule match, but I'm a udev
 n00b and can't find what the ATTRS (formerly SYSFS) rule is supposed
 to match.

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