Crash Launcher2 NullPointerException in onDetachedFromWindow()
Hi,
I'm developping an application on Nexus S that testing some Android API.
To do so, I need to pause/resume my application :
// Cause activity to be brought to front
void resumeActivity()
{
Intent intent = new Intent(Intent.ACTION_
erious flaw in android development. I think the compiler shall be
> able to incorporate resources within JAR files into APK.
>
> On May 13, 11:22 am,cg-dev wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > If I understand well your issue :
>
> > > Wha
Hi,
> export it as 32bpp (tried 3 differenty image editing tools).
It's strange you cannot get 32 bpp png. I use gimp every day and my
PNG with transparency
work very well.
> (Take care : android downsampling PNG without transparency to 565)
Sorry this issue seems occurs only on 2.1
> Here a Sc
I know, but in Eclair it's not working. If you put Bitmap option to RGBA.
You get a RGBA image but the image is altered.
Maybe I'm wrong, but I remember I face this issue on my Eclair phone and
take this workaround using libpng.
In eclair release, if the bitmap has no alpha it was converted to
Hi,
> Also the 3 textures loaded from jpg
There is no transparency in JPEG. You mean 2 jpeg and 1 png.
And for the png one, you didn't get transparency. Right ?
(Take care : android downsampling PNG without transparency to 565)
You can try other combination of parameters for this gl.glBlendFunc
Hi,
your custom view should derives from a Viewgroup. (Viewgroup inherit
from View)
Then simply create the View you want to add and call
Viewgroup.addView().
Regards.
On 12 mai, 18:32, Kapil wrote:
> Dear Developers,
>
> My name is Kapil and I am trying to write a custom view which inherits
> V
Hi,
As far as I know, I don't think you can put an image into a tag in a
standard way.
Check with Smart Poster Ndef tag type, maybe you can with this type.
If only your application need to read and write the image, you can
simply use Ndef type "Text" and put your image in a raw buffer.
Regards.
Hi,
If I understand well your issue :
> What if I want to add some resources to the jar (e.g. a layout for
> custom notification), is it possible ?
No as layout are XML files that are compress when building APK.
And there is no API to load an raw XML layout. (except if it changes
recently)
If y
Hi,
I face the same issue with OpenGL texture. I use gradient texture and
this one was "damaged" due to
convertion from 24bit => 565.
To solve this issue I embeded libpng in my application using NDK.
You said that "the screen is 565 so we loose precision" : Yes but in
OpenGL,
glEnable(GL_DITHER)
Hi,
I face the same issue with opengl. My texture gradient were dirty due
to convertion.
So I embed libpng in my application using NDK.
Regards.
On 13 mai, 13:04, Ralf Schneider wrote:
> Your image is probably convert to 565 and the back to 24bits.
> This thread discusses a related problem:
>
>
Hi all,
I'm trying to launch Google Latitude using Intent.
I'm using an URI found on the net :
latitude://latitude/friends/location/exam...@gmail.com
And this code :
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, uri);
intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
intent.ad
();
}
super.tearDown();
}
This : "if (sTestCaseCounter == 1)" should be replaced by "if
(sTestCaseCounter == 0)" ?
Regards.
On 4 mar, 11:41, cg-dev wrote:
> Hi,
>
> We're developping a test activity using SingleLaunchActivityTestCase<>
> and JUnit on An
Hi,
We're developping a test activity using SingleLaunchActivityTestCase<>
and JUnit on Android 2.3.3
We face the following issue :
In JUnit view in eclipse we have the following function call order :
testActivityTestCaseSetUpProperly() <- this one is built in android.
testA()
testB()
testC()
Hi,
I answer to myself :
I update Acer liquid to official OTA update 2.1 the issue seems fixed.
Drivers issue maybe ...
--
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
Hello,
I'm developping a native application for android and I face to
artefacts when rendering the scene.
I can reproduce the issue with Java code.
While the following code running, I got a green screen.
But If I move the status bar up and down over the screen, I see some
red artefacts.
Here a s
15 matches
Mail list logo