[android-developers] In app billing implements problem

2012-08-22 Thread Shaun Z
Hi everybody I try to implements in app billing simple, but when i buy "sword_001" and "potion_001" ,then google play send a error message code: [DF-BPA-13] , when i buy "android:test.purchased" and "android:test:refunded" that can succeed! who know what happend?! thanks all.

[android-developers] Using the new RTP libraries to stream with NAT in the way

2012-08-21 Thread Shaun
tAudio_port()); dsocket.send(packet); dsocket.close(); dsocket = null; packet = null; } catch (Exception e) { e.printStackTrace(); } } }).start(); } If I call punchHole(remote_audio_port, remote_media_address); after the audiostream is set then it errors with: java.net.BindException: bind fai

[android-developers] Suggestions/copyright issues on package name....

2012-03-08 Thread Shaun
I want to release an app on the market and I've read the guidelines on coming up with an appropriate android package name. Unfortunately I do not have a personal website or company/organization that I can associate the application with. I was thinking of either: 1. Use my email address. i.e. pac

[android-developers] widgets: onEnabled() not getting called correctly at bootup...

2012-02-03 Thread Shaun
t to hack onUpdate() - I'd rather understand what I'm doing wrong. thanks shaun Logs follow: 01-31 14:54:11.474: I/ActivityManager(58): Start proc org.example.widget for broadcast org.example.widget/.Widget: pid=251 uid=10049 gids={} 01-31 14:54:12.034: D/WIDGET(251): onEnabled 01

[android-developers] Re: Native SIP Supported on all ICS Devices?

2011-12-29 Thread Shaun
Thanks for the reply, that's the direction I am looking at going now, CSipSimple has an API as well so that might make things easy, but I would much rather use the native SIP stack Google built in, I think this is all a carrier issue. On Dec 29, 6:06 am, Mukesh Srivastav wrote: > Hi Shau

[android-developers] Re: Native SIP Supported on all ICS Devices?

2011-12-22 Thread Shaun
t; > > > > > > > > > On Wed, Dec 21, 2011 at 4:56 PM, Shaun wrote: > > From what I understand ICS is supposed to bring devices up to more or > > less equal standards, does this include the native SIP library, i.e. > > as soon as my Galaxy S II gets I

[android-developers] Native SIP Supported on all ICS Devices?

2011-12-21 Thread Shaun
>From what I understand ICS is supposed to bring devices up to more or less equal standards, does this include the native SIP library, i.e. as soon as my Galaxy S II gets ICS will I be able to use the native SIP client on it and any other ICS device? Thanks! Shaun -- You received this mess

[android-developers] Re: How to communicate between an Android Broadcast Receiver and a RemoteService

2011-11-10 Thread Shaun Shirey
0, 7:50 pm, Dianne Hackborn wrote: > If you just want to communicate with a service if it is already running, > you can use this: > > http://developer.android.com/reference/android/content/BroadcastRecei..., > android.content.Intent) > > On Thu, Nov 10, 2011 at 3:06 PM, Shaun Shire

[android-developers] Re: How to communicate between an Android Broadcast Receiver and a RemoteService

2011-11-10 Thread Shaun Shirey
I would love to do that, the only problem that I'm running into is that I can't bind to the service (via a service connection). The startService works fine but the bind won't work in a broadcastreceiver object. If I can't bind to the service, I don't believe there is a way to communicate with it?

[android-developers] How to communicate between an Android Broadcast Receiver and a RemoteService

2011-11-09 Thread Shaun Shirey
I have an Android application that contains a remote service of which I want to use to process data sent via a BroadcastReceiver. What would be the best way to send data from the BroadcastReceiver to the remote service? My first intention was to Bind using the RemoteServiceConnection, but this is

[android-developers] Native SIP Client Device Support List?

2011-08-22 Thread Shaun Clark
nother SIP stack we should look to use? Thanks! Shaun -- 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

[android-developers] receiving Google Contacts update notifications

2011-06-29 Thread Shaun
I'm assuming that the Google Contacts syncadapter is somehow tied into a C2DM listener so that it knows when an update has occurred on the server and it needs to sync. Am I correct? (ie, someone updates a contact via the website, Google sends an update notification message from their servers to yo

[android-developers] Re: Replace Stock Voicemail?

2011-05-25 Thread Shaun Clark
Any ideas? Thanks! On May 17, 3:41 pm, Shaun Clark wrote: > I noticed Google Voice is able to replace the stock voicemail app or > at least the voicemail number. How can I do this with my app? Thanks! > > Shaun -- You received this message because you are subscribed to the G

[android-developers] Re: Failed SIP Call

2011-05-19 Thread Shaun Clark
I was able to solve this by simply putting the full address in, so for example if trying to dial extension 900, instead of just putting 900, I had to put in "900@asterisk_server_address" to get it to work. Hope this helps! On May 18, 4:07 pm, Shaun Clark wrote: > When I try to fire

[android-developers] Re: SIP API in Android 2.3 with IP/Port problems

2011-05-18 Thread Shaun Clark
Did you ever find a solution? I have this same issue. Thanks! On May 1, 6:45 am, Sebastian wrote: > Hello everyone, > > for a while now I've been playing around with the SipDemo in the 2.3 > SDK. > The documentation on Android's developer page is nicely written, but > not a lot. > It does not exp

[android-developers] Failed SIP Call

2011-05-18 Thread Shaun Clark
why this doesn't work? I can see it register on the asterisk server fine, but nothing happens on the server when the call attempt is made. The other SIP client like SIPDroid can make it through with the same username/password/server combo. Thanks for the help! Shaun -- You received this

[android-developers] Replace Stock Voicemail?

2011-05-17 Thread Shaun Clark
I noticed Google Voice is able to replace the stock voicemail app or at least the voicemail number. How can I do this with my app? Thanks! Shaun -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: good 2d physics engine

2011-05-12 Thread shaun
Angry birds runs like crap on my Eris though. On May 12, 12:53 pm, Eamonn Dunne wrote: > Box2d is a good idea, its what angry birds uses. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Resuming Previous Activity Properly

2011-03-19 Thread Shaun Clark
I have two Activities which both share a toolbar component that extends a linear layout, the toolbar looks like this: public class Toolbar extends LinearLayout { ... public Toolbar(final Context con, AttributeSet attrs) { super(con, attrs); setGravity(Gravity.BOT

[android-developers] Switch back to my application after phone call ends

2011-03-11 Thread Shaun Clark
>From my application I am currently launching the dialer: newCallIntent = new Intent(Intent.ACTION_DIAL); PhoneCallReciever receiver = new PhoneCallReciever(); telephonyManager.listen(receiver, PhoneStateListener.LISTEN_CALL_STATE); startActivityForResult(newCallIntent, DIAL_RESULT); Then I have

Re: [android-developers] Re: TableLayout issue

2011-03-02 Thread shaun walsh
Agreed, don't use the tablelayout, the linearlayout would work much better. On Feb 27, 2011 5:00 PM, "Jonathan Foley" wrote: > > I agree with TreKing. I have never found a situation where I actually > need a TableLayout. They are too restrictive IMO and don't afford > much control over layout. One

[android-developers] Re: getFlashMode method

2010-09-28 Thread Shaun McCloud
Any other suggestions on what to look at? I am stumped here :( -- 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-d

[android-developers] Re: What is the best gui editor?

2010-09-28 Thread Shaun McCloud
I'm partial to DroidDraw. But that is just me. On Sep 28, 8:19 am, ArcDroid wrote: > I am creating the gui in xml using eclipse, is there a better way? -- 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: getFlashMode method

2010-09-27 Thread Shaun McCloud
Yes, that is already in my AndroidManifest.xml file. I tried it on my fiance's Epic 4G over the weekend and I have the same issue with her phone. On Sep 26, 2:08 pm, dan raaka wrote: > Have you thought about adding the following into your AndroidManifest.xml > > > > -Dan > > On Thu, Sep 23, 201

[android-developers] Re: ADC 3 ?

2010-05-21 Thread shaun
I always thought the purpose of ADC was to gain adoption. There really does not seem to be the need to get developers on board the Android wagon. Android has mucho momentum it seems and the new features being added with the new APIs are making users and developers alike excited. Not to mention h

[android-developers] Re: uploading image + optional tags via HTTP POST

2010-04-30 Thread shaun
If Android does not have all the classes necessary to compile that, try include commons-httpclient in your classpath (http://hc.apache.org/ downloads.cgi) On Apr 30, 11:54 am, shaun wrote: > I found this bit of code.  Not put it to use yet, but looks good to > go.  The "data" ob

[android-developers] Re: uploading image + optional tags via HTTP POST

2010-04-30 Thread shaun
I found this bit of code. Not put it to use yet, but looks good to go. The "data" object is the byte[] representing the image. PostMethod method; try { HttpClient client = new HttpClient(); client.getHttpConnectionManager().getParams().setConnectionTime

[android-developers] Re: Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

2010-04-26 Thread shaun
ot;, but you should be able to search for "pub:Yakloin" to see it. Thanks for any help. On Apr 23, 9:42 am, shaun wrote: > Well, something changed and it now shows up on my Moto Droid on the > Market.  Not sure what caused it to show up though, because I tested > after each

[android-developers] Re: Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

2010-04-23 Thread shaun
come. Anyone with thoughts? On Apr 21, 5:36 pm, shaun wrote: > And this is the initial release and the version I wanted to use: > > >     xmlns:android="http://schemas.android.com/apk/res/android"; >     package="com.yakloinmobile.lw.physics&q

[android-developers] Re: Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

2010-04-21 Thread shaun
And this is the initial release and the version I wanted to use: http://schemas.android.com/apk/res/android"; package="com.yakloinmobile.lw.physics" android:versionCode="101" android:versionName="1.01">

[android-developers] Re: onSharedPreferenceChanged() Not Called in Live Wallpaper (WallpaperService) Engine

2010-04-18 Thread shaun
not support use across multiple processes. This will be added later." So, I just removed the android:process configuration from AndroidManifest.xml and things are working as expected. On Apr 16, 3:39 pm, shaun wrote: > Well, I tested one of the sample applications (http://code.google.com

[android-developers] Re: onSharedPreferenceChanged() Not Called in Live Wallpaper (WallpaperService) Engine

2010-04-16 Thread shaun
do I have any other code related to shared preferences outside of what is being discussed here. So, Android is serving up 2 separate instances of SharedPreferences for some reason Why? I am boggled. Please help me think. On Apr 16, 11:45 am, shaun wrote: > I am experiencing something stran

[android-developers] onSharedPreferenceChanged() Not Called in Live Wallpaper (WallpaperService) Engine

2010-04-16 Thread shaun
I am experiencing something strange with a Live Wallpaper. I very closely followed several examples out there on Live Wallpapers in regards to shared preference settings (e.g. Android sample app Cube Live Wallpaper). The Engine implements SharedPreferences.OnSharedPreferenceChangeListener and the

[android-developers] Re: onLowMemory not getting called

2010-04-14 Thread shaun
@Streets Of Boston, Is there anything further you can explain about your implementation? Even a high-level strategy would be helpful. On Apr 14, 10:45 am, mike wrote: > On 04/14/2010 07:17 AM, Streets Of Boston wrote: > > > "AFAIK, there's no way to work on the full image directly" > > Yes there

[android-developers] Re: Android OpenGL Game - App Architecture and Threading Logic

2010-04-09 Thread shaun
Here is some more talk about threading (on Replica Island's Dev Diary/ Blog): http://replicaisland.blogspot.com/2009/10/rendering-with-two-threads.html On Apr 9, 2:58 pm, Eddie Ringle wrote: > Is it as simple as: > > In GameView.java (my custom GLSurfaceView class): > World _world = new World();

[android-developers] Re: Android OpenGL Game - App Architecture and Threading Logic

2010-04-09 Thread shaun
I wonder how much true parallelism is happening when the game logic runs on a separate thread than the rendering (in addition to the Activity thread for a total of 3). I do not claim to be an expert in this arena, but what follows is what I think about the subject of threads in Android games. Sin

[android-developers] Re: Android OpenGL Game - App Architecture and Threading Logic

2010-04-09 Thread shaun
I suggest you take a look at the open source Android game Replica Island. Chris Pruett (a Google employee and Android advocate) programmed it and I understand he uses a Thread for rendering, a Thread for game logic and a Thread for the Activity (life cycle, input etc...). He has a synchronization

[android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-06 Thread shaun
Assuming I correctly identified the code that unixseb uses as the workaround/fix for orientation changes on Droid in Live Wallpaper with OpenGL, the following code is the same with the exception of recursion: public EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config

[android-developers] Re: opengl es and Live wallpaper

2010-04-05 Thread shaun
ctly on Droid > 2.1.  I've been posting info to this group but no good responses so > far.  I debugged it for over a day and can't see anything wrong with > the threading or order of egl calls.  Seems like something else is > wrong... > > On Apr 5, 11:29 am, shau

[android-developers] Re: opengl es and Live wallpaper

2010-04-05 Thread shaun
Check out and example here: http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers On Apr 5, 8:23 am, Musafir wrote: > hi friends, > Using live wllpaper we can add  interactive application in home screen > but i want to know how can i add my opengl drawing(which itself > inter

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-22 Thread shaun
eloper decides to integrate this feature)." partnerships [at] scoreloop [dot] com for more information. On Mar 18, 2:50 pm, Kevin Duffey wrote: > Shaun, yah.. saw that too. No big.. so it looks like its limited on Android > at this point. They provide an iPhone SDK which means you're dependent

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread shaun
@Kevin About Scoreloop, I just tried to access their SDK for Android and here is what is listed: "Android SDK Core Social for Android is being released to a first group of developers. If you're interested in early access, please email partnersh...@scoreloop.com" On Mar 18, 2:41 am, Robert Green

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-17 Thread shaun
We are considering the use of Scoreloop (http://www.scoreloop.com/) to add a social component to our games and apps. Since we have no real experience in that arena, I'll just leave this link as my contribution. On Mar 16, 8:08 pm, Kevin Duffey wrote: > Hey all, > > I am curious how the various g

[android-developers] Re: Programmatically Create/Destroy AppWidgets

2010-03-08 Thread shaun
Not sure if this is what you are going for It is possible to have a single APK install that has a main Activity component as well as a Widget. I saw a demo where the .apk file is installed, you can open the Activity as a normal application and on the home screen(s) add a Widget from that appl

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-18 Thread shaun
added to the scene just before Low Ding. On Feb 18, 1:54 pm, shaun wrote: > Ernest, > > Your response is helpful.  I am not using > android.opengl.GLSurfaceView, but I did try to get my EGL config > chooser routine to look like what is provided therein.  Are you saying > that if I

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-18 Thread shaun
; confirmed that when freeze occurs, logcat still logs "CPU pegged?" > messages). > > Definitely a bad error on my part.  Dan, if you wish to see the bug in > action, search Android Market for "FRG Lite".  Watch out you'll have > to pull the phone battery on

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-17 Thread shaun
If you determine what the issue is, please share here. ongPay! (com.yakloingames.ongpay) is also not working really at all on Samsung Moment. It is probably OpenGL related as there are a few other posts speaking to that effect. On Feb 16, 11:07 pm, dan raaka wrote: > what game is this ? can you

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
I apparently live under a rock: Float.SIZE => "Constant for the number of bits needed to represent a float in two's complement form." Taken from Android API (Java 1.5+ API same). Sheepish. On Jan 15, 10:04 am, shaun wrote: > Sorry.  I need to be clear that the Float.SIZE

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
Sorry. I need to be clear that the Float.SIZE usage I mentioned was in my code not the Android OpenGL code. On Jan 15, 10:00 am, shaun wrote: > Be aware that Android 2.0.1 and 2.1 both return bits instead of bytes > for Float.SIZE.  The expected return value is 4, but 32 is returned >

[android-developers] Re: Preparing for Droid OpenGL issues

2010-01-15 Thread shaun
Be aware that Android 2.0.1 and 2.1 both return bits instead of bytes for Float.SIZE. The expected return value is 4, but 32 is returned for some reason! This was used in a couple of places where allocation was involved and fatal errors ensued. Just so happens the errors were in OpenGL part of t

[android-developers] Re: OpenGL hardware requirements specification

2009-12-19 Thread shaun
much OpenGL programming so maybe this is not really a case that comes up. On Dec 18, 5:43 pm, Robert Green wrote: > Shaun, > > Most "effects" are things that you program so to enable/disable them, > you have to do it in your own code.  Most other primitive features > lik

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread shaun
And to be able to access the device's setting for GPU class (or whatever it ends up being) programmatically at runtime if we want to disable/enable features/effects based upon its value. On Dec 18, 3:12 pm, shaun wrote: > I think Robert Green is on the right track.  We need something lik

[android-developers] Re: OpenGL hardware requirements specification

2009-12-18 Thread shaun
I think Robert Green is on the right track. We need something like this now! On Dec 18, 2:34 pm, Robert Green wrote: > I'd really like to see a GPU Class enumeration starting with the > software renderer. > > android:gpuClass="integer" > > class 0 = software renderer > class 1 = MSM7200 series >

[android-developers] Adding TextView Elements to Contacts Application

2009-12-09 Thread Shaun
emulator? I wrote this up in a little more detail on the android-porting list (see appended), but this list seems to have more activity than that one. Any advice would be much appreciated. Thanks in advance, Shaun. Previously posted on android-porting: //Dear All, // //I am trying to customize

[android-developers] Re: help with game development.

2009-12-04 Thread shaun
Check out http://replicaisland.blogspot.com/2009/11/android-game-development-resources.html The rest of the blog is useful as well. It comes from a reliable source. On Dec 3, 12:33 pm, Neilz wrote: > Lot's of useful stuff and links to blogs here... > > http://www.anddev.org > > On Dec 3, 5:17 

[android-developers] Re: Where to get a Samsung Moment for development

2009-12-03 Thread shaun
Only thing I can offer up is searching your local Craigslist.org listings. How did you acquire the others? On Dec 3, 12:28 am, "SoftwareForMe.com" wrote: > Hi, > > We have a G1, MyTouch, Hero and Droid. However, we've been getting odd > reports from our Moment customers, and it's time we get o

[android-developers] Re: What does glGetString(GL10.GL_EXTENSIONS) return?

2009-08-19 Thread shaun
Any one? Por favor. I can include detailed instructions if you are unfamiliar with OpenGL interface on Android. On Aug 18, 10:52 pm, shaun wrote: > OK.  Here is the information: > > -- on actual HTC G1 device (USA) > GL_ARB_texture_env_combine > GL_ARB_textu

[android-developers] Re: What does glGetString(GL10.GL_EXTENSIONS) return?

2009-08-18 Thread shaun
GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap On Aug 18, 12:10 pm, shaun wrote: > I am curious to know w

[android-developers] What does glGetString(GL10.GL_EXTENSIONS) return?

2009-08-18 Thread shaun
I am curious to know what extensions are on the phone given out at Google I/O, as I do not have one. I think they are HTC Magics, but correct me if I misunderstood. I would appreciate if someone would list the output from "glGetString (GL10.GL_EXTENSIONS)" on that device. In fact, it would be n

[android-developers] Re: DDMS Allocation Tracker - Start Tracking Disabled

2009-07-30 Thread shaun
In the first line in the last post, I meant to say, "I just exited eclipse and ddms, then "STARTED" the emulator from the command line, and ddms from the command line and it looks to work." On Jul 30, 2:05 pm, shaun wrote: > I just exited eclipse and ddms then the em

[android-developers] Re: DDMS Allocation Tracker - Start Tracking Disabled

2009-07-30 Thread shaun
inside eclipse or just go straight command line. Either way, thank you. On Jul 30, 1:56 pm, shaun wrote: > I start with eclipse running, emulator not running, ddms not > running. > > I then run my application on emulator (I don't know if the eclipse > plugin will start some

[android-developers] Re: DDMS Allocation Tracker - Start Tracking Disabled

2009-07-30 Thread shaun
Exiting DDMS does not produce further logcat ouput. Would netstat results help here at all? On Jul 30, 1:11 pm, fadden wrote: > On Jul 30, 7:14 am, shaun wrote: > > > =The emulator is 1.5 avd with an SD card. > > =I have a G1 device also. > [...] > > =The Info tab of DDMS

[android-developers] DDMS Allocation Tracker - Start Tracking Disabled

2009-07-30 Thread shaun
I have not been able to use the Allocation Tracker in DDMS (stand alone from command line). I open DDMS and on the Allocation Tracker tab, the two buttons are disabled as if I do not have something configured correctly or I am not connected to the right process etc... Details: =I think I may hav

[android-developers] Re: Android Physics Engine

2009-04-02 Thread shaun
is because of my > > poor Android programming knowledge). > > > Here is a zipped Android project of it. Please experiment with it and > > send results to here i.e. is it slow for you also after re-re-re-.. > > staring?www.kotiposti.net/lkelemen/android/testape2d.zip > &

[android-developers] Re: Android Physics Engine

2009-03-31 Thread shaun
: > Thanks for your feedback Shaun, I too unfortunately think a bespoke > engine will need to be written for Android, which is a real pity as > the iPhone has several physics engines which can easily handle > hundreds of objects. > > Having said that Anton (2nd reply) has said he has

[android-developers] Re: Android Physics Engine

2009-03-31 Thread shaun
I am the author of simpull. Sorry guys for the demo being out of whack for Simpull to the Core. The version of PulpCore that I integrated simpull with did not support Chrome, but you should be able to see it in IE, FF Safari. It is nice to take a look at that demo to get a feel for what the engi

[android-developers] Re: OpenGL ES show case

2009-02-26 Thread shaun
This looks pretty promising. Keep it up! Did you use any extensions from GL11 or any other OpenGL ES 1.1 features (undocumented)? If so, please post information to this thread: http://groups.google.com/group/android-developers/browse_thread/thread/1d94cd6cc4554e8e I am interested in the verte

[android-developers] Re: A thread useful for whole community - Reply with all working OpenGL ES Extension functions

2009-02-18 Thread shaun
@Suhas Please provide more details and perhaps sample code, because I had some issues when trying to use VBO. Have you had VBO usage working on the emulator or just the real device, because I have only tried on the emulator with no luck? What type of frame rate increase did you realize just by s

[android-developers] Re: Android Developers in Atlanta, GA

2009-02-02 Thread shaun
I am in Marietta. I would like to participate, especially if some game developers start joining...or at least someone with valuable experience with OpenGL. On Feb 2, 4:30 pm, BarbieDahl wrote: > Great, do you know any other people in this area interested in > Android?? If you are on google chat

[android-developers] Re: G1 support for OpenGL ES 1.1?

2009-02-02 Thread shaun
I sure would love to know more on this subject also. Any game developer really. To clearly understand the current supported subset of the 1.1 API that is presently available in Android SDK 1.0 r2 would be great. I mean, the fact that we can cast the GL context to either GL10 or GL11 is a little

[android-developers] IntBuffer Overflow - OpenGL ES

2009-02-02 Thread shaun
I am trying to optimize the OpenGL ES rendering pipeline, along with general optimizations for a proof of concept. One thing I did was to take vertex and texture coordinate float[] data and FloatBuffer that are passed to gl*Pointer methods and convert them into int[] data and IntBuffer objects, b

[android-developers] Custom Preference and Focus

2008-10-08 Thread Shaun
I have a custom preference that is a container with a slider (SeekBar) and some text. How can I get the slider to take focus when the list item is highlighted (I want it to take focus so the user can use the trackball to move the slider). I've tried listening to the ListViews selection changes b

[android-developers] Re: Transparent Buttons & Focus

2008-09-25 Thread Shaun
You can use ColorStateList to set the Button background on focus. The post > below has a nice example on using > it:http://groups.google.com/group/android-developers/msg/0714e077e25d63a6 > > 2008/9/24 Shaun <[EMAIL PROTECTED]> > > > > > I have some buttons without b

[android-developers] Transparent Buttons & Focus

2008-09-24 Thread Shaun
I have some buttons without backgrounds ( produced either by setBackgroundDrawable(null) or setBackgroundColor(0x) ) -- that part works fine. However, when the button does not have a background it never gets the orange focus highlight and hence is not navigable via trackball. It does actu