Hi all !
I've got a weird problem in my interface and I'd like to ask for
comments, if anyone already seen such a case :
I've created a dialog style Activity :
an Activity with translucent background and a listView centered in it.
(so we can see the previous activity around my listview )
the li
Android video view is displaying a big black screen when opening a
video for first time before playing for some miliseconds.
then Video is playing fine.But how to remove that black screen while
playing the video ?
I'm using a VideoView integrated in my layout.
when the videoview start playing, it
any more comment on this ?
On 22 juil, 11:00, Guian wrote:
> but I'm not adding twice the same fragment in one fragment
> transaction.
>
> here is what happens :
>
> 1) launch app
> => call to "onTabSelected" => add my fragment with this piece
ous; isAdded() doesn't return true until
> the transaction is committed.
>
>
>
>
>
>
>
>
>
> On Thu, Jul 21, 2011 at 9:33 AM, Gab wrote:
> > I have a same problem, my fragment lost the reference of activity
> > after pause/resume...
> > I don
t;);
and I recreate a previously build fragment which I think isn't very
optimised ...
any comment/advise on this is welcome.
On 19 juil, 14:31, Guian wrote:
> here is the source code forisAdded:
>
> /**
> * Return true if the fragment is currently added to its acti
ent from scratch since I've lost
its activity owner ?
what cause this reference on mActivity being lost ?
if its the onPause => onResume, what's the point of having a onPause
onResume methods to implement in Fragment, if we have to recreate it
anyway ?
On 19 juil, 12:23, Guia
I've seen that isAdded() can return false even if the field 'mAdded'
in the Fragment is true ?
(seen in the 'Variables' view in eclipse )
does anybody know why ?
On 19 juil, 11:46, Guian wrote:
> I can't understand how this piece of code
I can't understand how this piece of code :
if(!fragmentsToAdd.isAdded())
ft.add( R.id.parent, fragmentsToAdd, "myFragment");
can lead to this exeption :
FATAL EXCEPTION: main
java.lang.IllegalStateException: Fragment already added:
TestFragment{40856358 #0 id=0x7f060024 "myFragment"}
at
say that at first.
On 19 jan, 17:10, Phil Endecott wrote:
> On Jan 19, 2:40 pm, Guian wrote:
>
> > in our openGL implementation
>
> There are multiple Android OpenGL implementations, one for each
> graphics chip vendor, so you may see different results in each case.
>
&
ERRATUM :
sorry guys, it seems like
gl.glHint(GL11.GL_LINE_SMOOTH_HINT, GL11.GL_NICEST);
actually do something ... like its a very little bit better...
more informations about it are still welcome.
On 19 jan, 15:40, Guian wrote:
> hi every one !
>
> can we use
>
>
hi every one !
can we use
gl.glHint(GL11.GL_LINE_SMOOTH_HINT, GL11.GL_NICEST);
to get antialiased lines in android's openGL ES ?
I tried it but it doesn't seem to work.
the doc (http://www.khronos.org/opengles/sdk/1.1/docs/man/ )
says :
"The interpretation of hints depends on the implementatio
It seems like I've got a low memory issue in my App...
Can it be the reason why my IME process run away ?
On 25 oct, 10:37, Guian wrote:
> thx Dianne for the answer.
> I'm meeting the same problem and I still wonder how can we prevent the
> current IME's process from
thx Dianne for the answer.
I'm meeting the same problem and I still wonder how can we prevent the
current IME's process from going away...
( Did I say something that upset it ? )
Any clue on this ?
On 25 oct, 10:13, Dianne Hackborn wrote:
> As per:
>
> W/InputMethodManager( 2368): IME died:
Someone's already talk about it about two years ago but the topic
seems closed.
I wonder is the situation evolved or not ?
the topic was :
Android ecommerce and processing credit cards through Android (Google
Checkout, PayPal, PCI Compliance)
link:
http://groups.google.com/group/android-developer
hi guys! seems like I'm gona ask a "noob question" :D
I've some horizontal linearLayout in a vertical one:
[syntax="xml"]
extures, vbos, etc) to
> video memory when the surface has changed.
> After the surface has changed, when reloading, get all new texture and
> vertex buffer IDs. Do not use the old ones or you could crash the gl
> system.
>
> If you follow these rules, your app should play nicely wi
s or you could crash the gl
> system.
>
> If you follow these rules, your app should play nicely with Android.
>
> On Sep 22, 11:05 am, Guian wrote:
>
>
>
> > thx for your answer. I'm not familiar with it, should I use a
> > SurfaceHolder.Callback to be no
or anything like that. I use GLSurfaceView
> onPause and onResume and they work correctly for me on the G1 and
> Emulator.
>
> On Sep 21, 8:18 am, Guian wrote:
>
>
>
> > well, I did put those lines in the onPause/onResume methods but still
> > have the black
well, I did put those lines in the onPause/onResume methods but still
have the black screen with this error in the logcat:
ERROR/SurfaceComposerClient(15353): using an invalid surface id=0,
identity=1431 should be 1435
Doesn't seem exactly the same error...
can anybody help please ?
On 30 août
I've created a custom view via .xml file,
and I wanted to add it as a a contentView to an alert Dialog usinf a
dialogBuilder:
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setNeutralButton( _Res.getString(R.string.close), new
DialogInterface.OnClickListener(){
Why is this possible ?
code :
private OnClickListener _Listener = new OnClickListener()
{
public void onClick(View v)
{
if(v== myView){
if(myView.getVisibility()==View.GONE)
Log.d("on
:25, Guian wrote:
> nobody can help?
>
> On 24 avr, 17:24, Guian wrote:
>
>
>
> > I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
> > glSurfaceView from API demo )
>
> > my app works fine on the emulator with these minor errors :
nobody can help?
On 24 avr, 17:24, Guian wrote:
> I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
> glSurfaceView from API demo )
>
> my app works fine on the emulator with these minor errors :
>
> 04-24 16:57:04.957: ERROR/GLLogger(213): couldn
I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
glSurfaceView from API demo )
my app works fine on the emulator with these minor errors :
04-24 16:57:04.957: ERROR/GLLogger(213): couldn't load
library (Cannot find library)
04-24 16:57:05.147: DEBUG/SurfaceFlinger(45): pid
I'm porting my app on the t-mobile G1. this app uses OpenGL (using the
glSurfaceView from API demo )
my app works fine on the emulator with these minor errors :
04-24 16:57:04.957: ERROR/GLLogger(213): couldn't load
library (Cannot find library)
04-24 16:57:05.147: DEBUG/SurfaceFlinger(45): pid
I think I have exactly the same probleme...
The Androidmanifest file shows :
(MyProvider exetends ContentProvider)
but the "onCreate()" methode of "MyProvider" is never called so my
database is never created...
Is there something I forgot... ?
I've also followed the example from th
here is my solution :
(very simple with the Bitmap from android SDK ;) )
its NOT possible to load non power of two size bitmap as texture
but it's very easy to resize our bitmap ;)
=>
[syntax="java"]
//correct the bitmap if its not a power of two width
if(((Math.log((doubl
s not support non-power-of-2 textures.
>
> > On Thu, Dec 4, 2008 at 8:48 AM, Guian <[EMAIL PROTECTED]> wrote:
>
> > > in the OpenGL android API (android.opengl.GLUtils.texImage2D() )
> > > (http://code.google.com/android/reference/android/opengl/GLUtils.html
>
in the OpenGL android API (android.opengl.GLUtils.texImage2D() )
( http://code.google.com/android/reference/android/opengl/GLUtils.html
)
we can read=>
"Whether or not bitmap can have non power of two dimensions depends
on
the current OpenGL context."
I load my OpenGL context using :
mEglConte
I should create a new topic for this new question.
--~--~-~--~~~---~--~~
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 fro
in the OpenGL android API =>
Whether or not bitmap can have non power of two dimensions depends on
the current OpenGL context.
I load my OpenGL context using :
mEglContext = mEgl.eglCreateContext(mEglDisplay,
mEglConfig,EGL10.EGL_NO_CONTEXT, null);
do you know what do I have to use i order t
the probleme was: I tried to use this picture as an OpenGL texture
but, its width was 1023 with is not a power of 2...
it works with the same picture, reSize to 1024.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "
ps : my picture file is a .jpg file, encode with the flex jpg encoder.
--~--~-~--~~~---~--~~
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.c
Hi guys !
I'm looking for a way to build a picture from an array of bytes
here is the way I use to store my picture (read from a ZIP file) into
a byte[] :
Java source code:
--
final ZipInputStr
I'm looking for this solution too...
If you already found it can you explain me please ?
On Nov 3, 6:05 pm, petunio <[EMAIL PROTECTED]> wrote:
> Hi there
>
> I used to use the following sentence:
> OpenGLContext mGLContext = new OpenGLContext(0);
> in the old (3) sdk.
>
> Now, with the new one,
35 matches
Mail list logo