At first glance: internalformat in glTexImage2D do not match format in
glTexSubImage2D. You should either define texture as RGB565 or change data
format passed to glTexSubImage2D.
--
Bart Janusz
--
You received this message because you are subscribed to the Google
Groups Android Developers
Thank you all for your replies, they were really helpful.
I think I am going to launch an intent just before calling
setContentView() the first time the application starts up
followed by finish(), and call setContentView() all other
times.
Regards,
John Goche
--
You received this message
Thanks for the replys
Yes, I use RGB 565 and my first Texture is: 512x512
bitmap =
BitmapFactory.decodeStream( getAssets().open(icon_512.png) );
GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
This is showing nice ... but then the Bitmap in the
canvasBufferAsShort Buffer (320x200) is not
Here is a tip:
If you use ObjectAid UML diagrams in your Eclipse Android project, the
Android packaging tools will add all the ObjectAid files
(.ucls, .useq, .PNG) into your final APK binary file, which is a zip
file.
This is not wanted because it increases the APK size unnecessarily. So
a
On Tuesday, September 27, 2011 5:41:46 PM UTC+2, Mark Murphy (a Commons
Guy) wrote:
On Mon, Sep 26, 2011 at 8:06 AM, MrArti mr.art...@gmail.com wrote:
I've tried to reproduce the ActionMode with the following ActionMode
callback started when the user clicks on the button but the items's
I'd like my checkboxes to appear like the default ICS checkboxes.
how can i do that and maintaining backward compatibity.
i assume it has to do with style..or is it a theme.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I am enclosing an image of my application to make it easy to ask my
question.The app shows 400 entries. I want to implement a A-Z filter on
the right side of the listview containing the entries like the Android
Contacts application shows and i have highlighted what exact
functionality i want
I am enclosing an image of my application to make it easy to ask my
question.The app shows 400 entries. I want to implement a A-Z filter on
the right side of the listview containing the entries like the Android
Contacts application shows and i have highlighted what exact
functionality i want
invoke your launchor activity using broadcast for intent of reboot
On Fri, Dec 23, 2011 at 2:40 PM, Ali Chousein ali.chous...@gmail.comwrote:
Have a look at the intent actions and see if any, or a set of them
will serve your purpose.
Both 320 and 200 aren't powers of two. Your maybe confusing it with
being divisible by two. Power of 2 textures are 1, 2, 4, 8, 16, 32, 64,
128, 256, 512 etc
This could be the problem but since I never use non-power-of-two
textures I can't be 100% sure. Unless you have a REALLY compelling
For all those who might bump on the same problem, the following
solution (inspired by the answer of 'Streets Of Boston') helped:
I have created another Android library project AL0 that was just a
stub for a JP. I replaced all the references to JP with references to
AL0. That's it.
Kind regards,
On 23 дек, 07:49, Seb stsiop...@googlemail.com wrote:
Brilliant, that's useful, will give that a go. Any advice for the
original issue?
Well, I have got only one idea, but I think there is another better
method to do, but never mind, try to call
Activity.runOnUIThread(Runnable) method and
Thanks
Graham
On 23 Dec 2011 13:51, TreKing treking...@gmail.com wrote:
On Fri, Dec 23, 2011 at 4:15 AM, Graham Bright gbwienmobil...@gmail.com
wrote:
To store the te...
How long is this string? If it's relatively short, a preference. If it's
relatively long, a file.
I believe that Mark Murphy (and others, he is just who I remember
answering this) details the things wrong with these sorts of things,
but they basically boil down to: this is a hack (even catching the
home key in the old way has been fixed on newer devices) and
catching a broadcast intent and
On Sat, Dec 24, 2011 at 7:31 AM, String sterling.ud...@googlemail.com wrote:
I have found that the the Done button WILL invoke onDestroyActionMode() if
your callback is an instance of AbsListView.MultiChoiceModeListener, rather
than simply ActionMode.Callback. You need to implement one more
Ah, ok... I will test it, thanks! :)
On 24 Dez., 17:05, Leigh McRae leigh.mc...@lonedwarfgames.com wrote:
Both 320 and 200 aren't powers of two. Your maybe confusing it with
being divisible by two. Power of 2 textures are 1, 2, 4, 8, 16, 32, 64,
128, 256, 512 etc
This could be the problem
16 matches
Mail list logo