Hi Dianne,

I will post a sample code in android sometime soon. I have problem in
my opengl app: Basic logic is as follows:

drawframe()
{
if (time < 400) {
  // step 1
  drawobjects();
} else if (time < 800) {
  //step 2
  draw sprite text();
}
}

I first draw the text using GL10 in step 1, then I use the SDK sprite
text to draw some notification text. I don't clear the screen between
steps 1 and 2. The code Works perfectly on android 2.1 and 2.2 (in
step 2 I can see perfectly the objects and the text), but on 2.3.3
nexus only step 1 works when I get to the portion about draw text
(step 2) it throws all sorts of random colors on the screen.

My minsdkversion is 4 (version 1.6). I haven't specified a target sdk
version yet.

I was wondering if I need to step into 2.3.x android framework code to
debug this or just file a sample app code illustrating the problem and
post it as a bug. Would you recommend I post the sample code as a bug
ticket?

-Leo



On May 13, 5:52 pm, Dianne Hackborn <[email protected]> wrote:
> GL10 has nothing to do with SDK version.  I really don't understand what you
> are asking in relation to that.
>
> You set the minSdkVersion to the minimum number you will run on.  Market
> will filter your app from older versions of the platform.  You set
> targetSdkVersion to the newest version you have tested on.  This allows
> newer versions of the platform to turn off compatibility features on your
> app, many of which are described in the page I pointed to.
>
>
>
>
>
>
>
>
>
> On Fri, May 13, 2011 at 9:21 PM, Leo <[email protected]> wrote:
>
> > Hi Dianne,
>
> > That page lists what each version number's code name is but that is
> > not I am seeking.
>
> > I have more fundamental question.
>
> > Say if I have opengl GL10 calls in my app and I have set minSDK level
> > to 4 and targetSDK level 5 in my manifest and the app runs on a phone
> > that has 2.3 Gingerbread where do the opengl library code get pulled
> > from
>
> > level 3, level 4 or gingerbread.
>
> > In particular I am wondering what are parameters to consider when
> > setting minSDK level and targetSDK level if I am interested in
> > targeting 2.1 and 2.2 and 2.3+ users.
>
> > If I released an app with min SDK level 4, can I then change the min
> > SDK level to higher number in upgrades or I am stuck with min SDK
> > level 4 for the lifetime of the app?
>
> > Thanks,
> > Leo
>
> > On May 13, 1:57 pm, Dianne Hackborn <[email protected]> wrote:
> > > The mappings between code names, version numbers, and API levels is here:
> >http://developer.android.com/reference/android/os/Build.VERSION_CODES...
>
> > > On Fri, May 13, 2011 at 8:55 PM, Leo <[email protected]> wrote:
>
> > > > Can somebody clarify where the java libraries get pulled from with
> > > > regard to
>
> > > > Min SDK version vs target SDK version vs actual device android
> > > > version.
>
> > > > When compiling in SDK I see min SDK version android*.jar getting
> > > > pulled into referenced libraries by the eclipse plugin. But how does
> > > > that referenced library relate to the libraries specified in target
> > > > SDK and the version of android running on device is a little unclear
> > > > to me.
>
> > > > By library - I mean android framework classes that are needed to run
> > > > the app.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to
> > [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to