[android-developers] Android project compilation error using IntelliJ

2016-04-01 Thread rainnow-guy
Hi. I am trying to compile a project under the IntelliJ development ide but getting this error message: Error:Abnormal build process termination: /usr/local/java/jdk1.8.0_77/bin/java -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true

[android-developers] What do u think about community based tool for testing and debugging real android devices from the community

2016-01-15 Thread Guy Doron
I'd love to hear your comments and thoughts about this type of solution to android developers : http://debug.network/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send

[android-developers] Re: [RFC] What are your thoughts on cross-platform development for Android and iOS?

2015-03-21 Thread Guy Smith
as cheaply as possible and don't care about performance or robustness, game developers probably care about performance, retailers probably care about lookfeel and robustness. On Saturday, March 21, 2015 at 11:39:26 AM UTC+10, Mario Zechner wrote: Hi, i'm the guy behind libGDX (http

[android-developers] Re: Chromium WebView not as fast as Chrome

2015-03-03 Thread Guy Smith
Yes. I've had quite a lot of trouble with WebView, to the point where I've put a button in so the user can invoke an external browser if the webview is blank or otherwise unreadable. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Dolby Audio API

2014-02-22 Thread Ubuntu guy
pushing for this since all their Kindle Fire HD(X) devices have Dolby built in. http://developer.amazon.com/public/community/post/Tx1G2N72C7VKCTR/Dolby-Raises-the-Bar-Again-for-Audio-Standards-on-Kindle-Fire On Sunday, January 5, 2014 7:18:12 PM UTC-8, Ubuntu guy wrote: These new APIs

[android-developers] Re: Activty on orientation

2014-02-12 Thread Guy Smith
I’ve found creating Views – even view hierarchies – quite fast. But accessing data can be slower, especially over the internet. Do you need to keep your view hierarchy, or just a cache of your data, between invocations of onCreate()? On Saturday, February 8, 2014 10:38:40 PM UTC+10, rahul

[android-developers] Re: Best solution for touchable Toast-like notification for plugin library

2014-01-26 Thread Ubuntu guy
Have you considered http://developer.android.com/reference/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW that facebook uses for its chat heads. But this needs explicit user permission during apk installation. Not sure how that works for 3rd party libraries. On Thursday, January 23,

[android-developers] Re: Android Implementation of Emacs

2014-01-19 Thread Guy Smith
Vim - an extension of vi. https://play.google.com/store/apps/details?id=net.momodalo.app.vimtouch Ah... the good old days. I remember the vi vs emacs religious wars in our office. After we'd buried our dead, we came to the conclusion that they were about as good as each other. But, vi uses

[android-developers] Re: Dolby Audio API

2014-01-05 Thread Ubuntu guy
These new APIs seem to be fun to try but is there any reason as to why the plug-in service is not distributed through play store just like google play services? Based on what i read, any updates, bug fixes in the plug-in service would be restricted by the OEM like amazon in this case, isn't

Re: [android-developers] Reusing bitmaps for BitmapFactory.decodeFile and BitmapFactory.Options.inBitmap

2013-08-24 Thread Romain Guy
and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- You received this message because you are subscribed

Re: [android-developers] SurfaceView crash in 4.3 - SurfaceHolder.unlockCanvasAndPost(canvas) IllegalArgumentException

2013-08-12 Thread Romain Guy
Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] No patcher for Android Studio?!?

2013-08-04 Thread Romain Guy
Some IntelliJ updates are downloaded as patches while some require a full download. I don't know what the difference is but it's been like this for a few years. On Aug 3, 2013 1:25 PM, rmz76 jeremy.de...@gmail.com wrote: From the website it appears there is not patch utility for Android Studio,

Re: [android-developers] Bizarre OpenGL ES rendering artifact on Nexus 7 with Android 4.3

2013-07-31 Thread Romain Guy
to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] Bizarre OpenGL ES rendering artifact on Nexus 7 with Android 4.3

2013-07-31 Thread Romain Guy
format to RGB_888 instead? Yes, that will fix your problem and improve perfornance. Regards, Thomas On Wednesday, July 31, 2013 12:13:51 PM UTC-5, Romain Guy (Google) wrote: Is your SurfaceView marked with the transparent pixel format? If so, what you are seeing would be expected. If your

Re: [android-developers] Rendering 24 bit RGB using Android Bitmap

2013-07-18 Thread Romain Guy
: what if I want to create mutable 24 bit Bitmap? Is there way? Thanks a lot, On Thursday, December 9, 2010 10:20:33 AM UTC+2, Romain Guy wrote: Hi, Just use the ARGB_ configuration and make sure all your pixels are opaque. On Wed, Dec 8, 2010 at 11:54 PM, KK krishnakumar

Re: [android-developers] Runnable to View.PostDelayed vs Handler.PostDelayed

2013-07-09 Thread Romain Guy
this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you

Re: [android-developers] Re: canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-23 Thread Romain Guy
-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread Romain Guy
to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain

Re: [android-developers] Call glGetShaderPrecisionFormat before GLSurfaceView created

2013-06-17 Thread Romain Guy
Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] Help XFermode

2013-05-28 Thread Romain Guy
an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: DisplayMetrics xdpi and ydpi returning incorrect values

2013-05-24 Thread Romain Guy
The UI doesn't use these values. We use the density field instead so that the conversion factor is the same on both axis. On May 24, 2013 2:56 AM, Rick rsmo...@gmail.com wrote: I was just being hti by this problem as I'm working on my own UI engine and I need to calculate my own device

Re: [android-developers] Re: DisplayMetrics xdpi and ydpi returning incorrect values

2013-05-24 Thread Romain Guy
clarification! I'll use the density(Dpi) field so my resolution result should be on par with the native UI. Should be good enough. Best regards, Rick On Friday, 24 May 2013 17:34:40 UTC+2, Romain Guy (Google) wrote: The UI doesn't use these values. We use the density field instead so

Re: [android-developers] rendering international text into GL texture with correct line breaks

2013-05-20 Thread Romain Guy
fails in the same way so the result should at least follow the principle of least surprise. Again, thanks a *lot* for your help Romain! On Mon, May 20, 2013 at 2:13 AM, Romain Guy romain...@android.com wrote: It's pretty easy. If you want the text to break, use the MeasureSpec AT_MOST X px

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Romain Guy
it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Romain Guy
The selected state is used when the item is focused using a keyboard. It has nothing to do with the choice mode. On May 20, 2013 12:32 PM, Miha Valencic miha.valen...@gmail.com wrote: On Mon, May 20, 2013 at 9:23 PM, Miha Valencic miha.valen...@gmail.com wrote: Am I misunderstanding this

Re: [android-developers] HELP

2013-05-20 Thread Guy Smith
OTOH, beware the second-system syndrome: http://en.wikipedia.org/wiki/Second-system_effect On Tuesday, May 21, 2013 12:52:46 AM UTC+10, John Coryat wrote: You might also find that the second time you code it up, it will be better... Good lesson in backup though. -- -- You received this

Re: [android-developers] rendering international text into GL texture with correct line breaks

2013-05-19 Thread Romain Guy
to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain

Re: [android-developers] rendering international text into GL texture with correct line breaks

2013-05-19 Thread Romain Guy
. I hoped there would be a way to leverage somehow the standard View machinery. I couldn't find it as admittedly, I'm not very experienced with the standard UI toolkit. On Sun, May 19, 2013 at 9:27 PM, Romain Guy romain...@android.com wrote: One way to do this is to create a TextView, call

Re: [android-developers] Too large bitmap to be uploaded into a texture - Getting max texture size.

2013-05-16 Thread Romain Guy
: private static final int MAXMIMUM_BITMAP_SIZE = 32766; * public int getMaximumBitmapWidth() {* * return MAXMIMUM_BITMAP_SIZE;* * }* Am I missing something? Thanks. On Tuesday, May 14, 2013 3:58:05 PM UTC-5, Romain Guy (Google) wrote: You can query the maximum size

Re: [android-developers] Too large bitmap to be uploaded into a texture - Getting max texture size.

2013-05-14 Thread Romain Guy
and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed

Re: [android-developers] setEGLConfigChooser

2013-05-13 Thread Romain Guy
Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com

Re: [android-developers] Children of LinearLayout can't have @+id/something

2013-05-09 Thread Romain Guy
Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain

Re: [android-developers] LayoutInflater

2013-05-08 Thread Romain Guy
. -- Romain Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] Switching between GLES2.0 and native Canvas rendering on the fly works in 2.3.6 but no in 4.2.2

2013-05-07 Thread Romain Guy
1. There is no drawing with GLES and Canvas at the same time I understand but that is not supported. Once you've rendered in a Surface with OpenGL it cannot be used with Canvas. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] drawing horizontally flipped Bitmap

2013-05-07 Thread Romain Guy
emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google

Re: [android-developers] HWUI

2013-05-06 Thread Romain Guy
The library called libhwui is responsible for rendering Android UIs using OpenGL. There are no documents available explaining the code architecture but you can refer to my Google I/O 2011 session entitled Android Accelerated Rendering for more information. On May 6, 2013 3:35 AM, chandra

Re: [android-developers] GridView inside ListView giving OutOfMemoryError

2013-05-06 Thread Romain Guy
to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] How does Hierarchy Viewer tool measure Draw time?

2013-04-30 Thread Romain Guy
to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer

Re: [android-developers] Switching between GLES2.0 and native Canvas rendering on the fly works in 2.3.6 but no in 4.2.2

2013-04-26 Thread Romain Guy
...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] AvoidXfermode is deprecated since API 16, is there a replacement?

2013-04-21 Thread Romain Guy
. -- Romain Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] Re: Optimise drawing speed

2013-03-31 Thread Romain Guy
On Mar 31, 2013 12:15 PM, Jason jason.poli...@gmail.com wrote: My first reaction is that if you really want render speed then you need to be leveraging the GPU which is going to be most reliable with OpenGL (as I understanding it more recent versions of Android will actually hardware accelerate

Re: [android-developers] Text dissapears when view is rotated in getChildStaticTransformation (4.x / maybe also honeycomb)

2013-03-18 Thread Romain Guy
with 4.2. Can't test on more. If nobody else has feedback on this, I would submit the bug anyways (?). Am Montag, 18. März 2013 06:56:50 UTC+1 schrieb Romain Guy (Google): Does it happen on all 4.x versions? (4.0, 4.1 and 4.2?) If so, please file a bug at b.android.com. On Sun, Mar 17

Re: [android-developers] Text dissapears when view is rotated in getChildStaticTransformation (4.x / maybe also honeycomb)

2013-03-17 Thread Romain Guy
group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
;) On Tue, Mar 12, 2013 at 12:33 AM, Romain Guy romain...@android.comwrote: I use IntelliJ for all my Android framework development work and I have used it to work on apps such as the stock Launcher and a couple of personal apps. I can live without ADT since the most critical tools are available

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
an ant file. There are a couple of C++ plugins for IntelliJ. I haven't used them, but it's hard to imagine them being worse for NDK work than Eclipse CDT ;-) On Tuesday, March 12, 2013 8:35:37 AM UTC-7, Romain Guy (Google) wrote: We use make internally but I used ant on personal apps. You can map

Re: [android-developers] Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
+ ADT as a black box for build config! Kris On Tue, Mar 12, 2013 at 3:33 AM, Romain Guy romain...@android.com wrote: I use IntelliJ for all my Android framework development work and I have used it to work on apps such as the stock Launcher and a couple of personal apps. I can live without ADT

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread Romain Guy
and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed

Re: [android-developers] When and how are LayoutParams examined, aside from onLayout and onMeasure

2013-03-03 Thread Romain Guy
You call measureChildren() which in turns call measureChild() which looks at the LayoutParams of each child. On Mar 1, 2013 10:12 PM, momo dun...@gmail.com wrote: I have a custom ViewGroup that's only ever managing the size and position of one child. I've override onMeasure and onLayout so

Re: [android-developers] When and how are LayoutParams examined, aside from onLayout and onMeasure

2013-03-03 Thread Romain Guy
All you have to do is call measure() on the children yourself. Or you could just use layout params :) On Mar 3, 2013 12:04 PM, Michael Dunn dun...@gmail.com wrote: Thanks Mr. Guy. What would be the minimum required to use a value instead of LayoutParams (on the entire tree)? I don't believe

Re: [android-developers] ListView background

2013-02-28 Thread Romain Guy
it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to check if screen is held touched?

2013-02-24 Thread Guy Smith
Are you using GestureDetector and onGestureListener? Perhaps OnGestureListener's onSingleTapUp method is what you're after. On Sunday, February 24, 2013 3:37:14 PM UTC+10, Edvinas Kilbauskas wrote: Ok, so I'm having a little problem with OnTouchListener on android 2.3+ devices. I'm making

Re: [android-developers] Debugging beta apps

2013-02-18 Thread Guy Smith
Actually, Guy is guilty of sloppy phrasing. I was thinking it seemed like the no-cost and low set-up backend was going. For me, not having to arrange storage was an attraction of ACRA. Apologies to those who have contributed to ACRA. On Tuesday, February 19, 2013 9:08:22 AM UTC+10, Indicator

[android-developers] Re: Debugging beta apps

2013-02-17 Thread Guy Smith
I've read somewhere not all errors get reported there. Sorry, can't remember where I read that. On Saturday, February 16, 2013 6:04:24 AM UTC+10, bob wrote: In the Google app Developer Control Panel, there's a link that says Errors sometimes. Then you can see how your app crashed for

Re: [android-developers] Debugging beta apps

2013-02-17 Thread Guy Smith
There are two parts to this. One, you need to get stack dumps back from your app. Two, you need to find testers. I set up testing in December. ACRA is essentially being phased out (IMHO) - see https://github.com/ACRA/acra/wiki/Notice-on-Google-Form-Spreadsheet-usage. There are several tools

[android-developers] Re: Debugging beta apps

2013-02-17 Thread Guy Smith
Briefly: I used HockeyApp for reporting back capability, and was happy. I used ElusiveStars, a forum and TheBetaFamily to find testers, and got best results from ElusiveStars. A more detailed post is at https://groups.google.com/d/topic/android-developers/PrW2hFpZzpk/discussion. On

Re: [android-developers] Re: libGLES_Trace server how to connect

2013-02-13 Thread Romain Guy
because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy

Re: [android-developers] ydpi != xdpi

2013-02-05 Thread Romain Guy
. -- Romain Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] Disable Triple Buffering In 4.1?

2013-02-04 Thread Romain Guy
...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Disable Triple Buffering In 4.1?

2013-02-01 Thread Romain Guy
No it cannot be disabled. What issue is it causing? On Feb 1, 2013 1:16 AM, muleskinner ja...@bitbull.com wrote: Hi, Is there any way to disable Jelly Bean triple buffering from within my app? It's causing me issues and the easiest way to fix would be to disable it... Help much

Re: [android-developers] Canvas efficiency

2013-02-01 Thread Romain Guy
are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework

Re: [android-developers] Canvas 101 question

2013-01-31 Thread Romain Guy
://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] simple matrix question

2013-01-31 Thread Romain Guy
options, visit https://groups.google.com/groups/opt_out. -- Romain Guy Android framework engineer romain...@android.com -- -- 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

Re: [android-developers] using Paint to draw text with specified locale on pre-API 17

2013-01-19 Thread Romain Guy
Guy Android framework engineer romain...@android.com -- 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

[android-developers] Re: sliding in a new layout

2013-01-19 Thread Guy Smith
I have similar functionality. I create a ViewGroup, large enough to hold the outgoing View below the incoming View. I replace the outgoing View with the ViewGroup in the tree, animate a translation, then replace the ViewGroup with the incoming View. It works well for me. Admittedly, I

Re: [android-developers] GLUtils.texImage2D

2013-01-14 Thread Romain Guy
Don't flip the bitmap, flip your texture coordinates. It's easier and less work for the device. On Jan 14, 2013 7:03 AM, bob b...@coolfone.comze.com wrote: Has anyone else noticed that GLUtils.texImage2D seems to want the image to be upside down? GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0,

[android-developers] How to avoid useless getView in GridView

2013-01-08 Thread William Guy
I have tested GridView behavior in getView() , and i got: 01-08 11:18:55.925: E/getView(4113): Position: 0, Child Count: 0, ConvertView: Null 01-08 11:18:55.945: E/getView(4113): Position: 0, Child Count: 0 01-08 11:18:55.955: E/getView(4113): Position: 1, Child Count: 1, ConvertView: Null

[android-developers] How to avoid useless getView in GridView?

2013-01-08 Thread William Guy
I have tested GridView behavior in getView, and i got: 01-08 11:18:55.925: E/getView(4113): Position: 0, Child Count: 0, ConvertView: Null 01-08 11:18:55.945: E/getView(4113): Position: 0, Child Count: 0 01-08 11:18:55.955: E/getView(4113): Position: 1, Child Count: 1, ConvertView: Null

Re: [android-developers] OpenGL 1.0 or 1.1?

2013-01-08 Thread Romain Guy
No you cannot choose at such a fine level. Just don't use OpenGL ES 1.1 features. Out of curiosity, why? (I would even recommend you used OpenGL ES 2.0 :) On Jan 8, 2013 7:50 AM, bob b...@coolfone.comze.com wrote: Is there a way to tell Android whether you want to use OpenGL 1.0 or 1.1? I

Re: [android-developers] OpenGL ES 2.0 glDrawElements() context switches for long time

2013-01-07 Thread Romain Guy
-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] Reading from another app - resources/assets (Take 2!)

2013-01-02 Thread Romain Guy
Using the package name and a resource ID you can load resources from another APK. That's how Launcher loads icons, strings and widget resources for instance. All the APIs you need are in the Resources class if I recall properly. On Jan 1, 2013 5:25 PM, Russell Wheeler russellpeterwhee...@gmail.com

Re: [android-developers] Install failing with Android SDK Manager

2012-12-31 Thread Dev Guy
Carlos thanks, that's what I did and got things working! On Sun, Dec 30, 2012 at 6:24 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: On Sun, Dec 30, 2012 at 3:53 AM, Dev Guy devguy...@gmail.com wrote: Hello I am getting the following error after I run the Android SDK Manager

[android-developers] Install failing with Android SDK Manager

2012-12-29 Thread Dev Guy
Hello I am getting the following error after I run the Android SDK Manager: Installing Google APIs, Android API 17, revision 1 Installed Google APIs, Android API 17, revision 1 Updated ADB to support the USB devices declared in the SDK add-ons. Stopping ADB server failed (code -1). Unable to run

Re: [android-developers] tessellation shaders

2012-12-14 Thread Romain Guy
at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] give uniform variables an initial value

2012-12-11 Thread Romain Guy
No, you have to bind the value from your code. On Dec 11, 2012 12:52 PM, bob b...@coolfone.comze.com wrote: Anyone know if there is a way to give uniform variables an initial value in an Android OpenGL shader? Thanks. -- You received this message because you are subscribed to the Google

Re: [android-developers] cleaner shaders

2012-12-10 Thread Romain Guy
at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread Romain Guy
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 -- Romain Guy Android framework engineer romain...@android.com

Re: [android-developers] Re: [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-09 Thread Romain Guy
:15:05 PM UTC-8, Romain Guy (Google) wrote: Instead of writing a loop like this you can just call Bitmap.eraseColor(). It's much more efficient. On Sun, Dec 9, 2012 at 11:55 AM, GJTorikian gjtor...@gmail.com wrote: All right, so after days I finally figured it out. After creating my bitmap

Re: [android-developers] EffectFactory effects under the hood

2012-12-07 Thread Romain Guy
It's exactly what they are :) On Dec 6, 2012 7:50 AM, bob b...@coolfone.comze.com wrote: Does anyone know what most of the EffectFactory effects are like under the hood? Are they basically GLSL shaders? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How can I be assigned a task/bug on the issues list?

2012-12-03 Thread Romain Guy
to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] setting the TextView alpha color value in pre api11

2012-12-03 Thread Romain Guy
to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] how to play a video on an OpenGL texture

2012-11-29 Thread Romain Guy
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 -- Romain Guy Android framework engineer romain...@android.com

Re: [android-developers] canvas.drawBitmap draws over screen image instead of replacing screen image

2012-11-25 Thread Romain Guy
. 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 -- Romain Guy Android

Re: [android-developers] canvas.drawBitmap draws over screen image instead of replacing screen image

2012-11-25 Thread Romain Guy
)); canvas.drawPaint(paint); On Monday, November 26, 2012 11:31:12 AM UTC+11, Romain Guy (Google) wrote: Surfaces are double (or even triple) buffered. You are indeed not getting in your canvas what's currently on screen but what was on screen a frame ago. The easiest way to clear the surface

Re: [android-developers] Re: In search of Nexus 10 ADB drivers

2012-11-23 Thread Romain Guy
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 -- Romain Guy Android framework engineer romain...@android.com -- You received this message because you are subscribed

Re: [android-developers] Re: In search of Nexus 10 ADB drivers

2012-11-23 Thread Romain Guy
Ah, good old works on my machine(TM), right? ;-) More like I've never heard of this issue before :) I'll ask around in the office on Monday to see if it's a known issue. -- Romain Guy Android framework engineer romain...@android.com -- You received this message because you are subscribed

Re: [android-developers] SurfaceView

2012-11-21 Thread Romain Guy
-- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] SurfaceView

2012-11-21 Thread Romain Guy
/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] OOM with heap enough

2012-11-21 Thread Romain Guy
As of 3.0 Bitmaps are allocated on Dalvik's heap. On Nov 21, 2012 10:23 AM, b0b pujos.mich...@gmail.com wrote: Bitmap data is not allocated in the Java heap but in a much smaller area of native memory. So you can have several MB of Java Heap free and still have Bitmap OOM. Bitmaps are a

Re: [android-developers] OOM with heap enough

2012-11-21 Thread Romain Guy
And they were not allocated in a smaller area. They used to be allocated on the native heap but they counted against the Dalvik heap's usage (which is why you would get OOM anyway.) On Nov 21, 2012 10:23 AM, b0b pujos.mich...@gmail.com wrote: Bitmap data is not allocated in the Java heap but in

Re: [android-developers] Disabling DisplayList creation by Views

2012-11-20 Thread Romain Guy
No you cannot disable DisplayLists. They are required by the UI toolkit. 2MB if display lists seems excessive. Apps like Launcher use in the order of 15 kB. On Nov 20, 2012 7:22 AM, hanni hann...@gmail.com wrote: I've created a bunch of custom views that draw themselves really fast, especially

Re: [android-developers] You fixed google voice, now what?

2012-11-19 Thread Romain Guy
-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 -- Romain Guy Android framework engineer romain...@android.com -- You received

Re: [android-developers] Are Layouts Reusable?

2012-10-30 Thread Romain Guy
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 -- Romain Guy Android framework engineer

Re: [android-developers] 2048 pixels limit of hardware acceleration

2012-10-25 Thread Romain Guy
The limit varies from GPU to GPU. 2048 is the minimum maximum but it can/will be higher on different GPUs. The limit can be queried using Canvas.getMaxBitmapWidth/Height(). On Oct 25, 2012 6:04 AM, Chi Ho Kwok chk...@digibites.nl wrote: So I ran into this limit a while ago on one of the views on

Re: [android-developers] android.view.MotionEvent

2012-10-25 Thread Romain Guy
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 -- Romain Guy

[android-developers] adb shell am start -W hangs

2012-10-23 Thread Guy Nicholas
and never returns. In LogCat, and on the device or emulator, I see my app launch, run tests, and quit, but I am still stuck in the shell command. Any ideas why this fails to return? Regards, Guy -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: overriding button style Widget.Button

2012-10-23 Thread Ubuntu guy
remove it, the text in the button needs to be drawn somewhere (probably left-aligned). You could just set it to the value you want:     E.g.     item name=android:gravityleft/item On Monday, October 22, 2012 7:59:41 PM UTC-4, Ubuntu guy wrote: Hello,    The button style has gravity

[android-developers] Re: adb shell am start -W hangs

2012-10-23 Thread Guy Nicholas
It launches the specified item rather than the default Activity. In my case it runs RunAllTests. The file Am.java exists at: android-sdk-macosx/sources/android-14/com/android/commands/am/Am.java...actually under android-14, 15, and 16. Regards, Guy On Tuesday, October 23, 2012 8:53:46 AM

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Romain Guy
-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com -- 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

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Romain Guy
for your help. It saved me hours of agony that I am about to jump into ... Satya On Mon, Oct 22, 2012 at 5:40 PM, Romain Guy romain...@android.com wrote: LinearLayout is doing the right thing. wrap_content results in an AT_MOST MeasureSpec. If you are writing a custom view that extends the base

  1   2   3   4   5   6   7   8   9   10   >