ZipInputStream is easy to use, as is getting an InputStream from
either Apache's or Java's HTTP request/response classes. Just keep
calling getNextEntry until you find the entry you are looking for (or
null if you reach the end), then use the read method to read in the
data associated with that
I would always encourage use of the common features, so as to maximize
compatibility across devices, so I'd recommend your using
GL_OES_compressed_paletted_texture.
Also, while GL_OES_draw_texture is fast, if you need to render many
sprites, then using this extension you'd need multiple calls to
You can tell very easily in LogCat whether the GCs belong to your task
or another task. If they belong to another task, then at least you
can take consolation that Android 1.6 (I think?) gives less CPU to
background tasks. If they belong to your own task, then you should
run the DDMS tool (not
We wrote a drop-in replacement for TextView called TypeFaceTextView
(http://code.google.com/p/skylight1/source/browse/trunk/SkylightGame/
src/net/nycjava/skylight1/view/TypeFaceTextView.java). You can use it
in your layout XMLs wherever you would use TextView, and it
automatically puts a black
A combination of res/raw and java.nio.channels.FileChannel.map() are
likely to give you the best performance. If you know your maximum
record size, then using get on the Buffer into a byte array, b, then
wrapping that in a new DataInputStream(new ByteArrayInputStrea(b))
will make it easy to read.
Get a really strong cup of coffee and check out
http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html.
Use CipherInputStream/OutputStream for encrypting. Not so sure on the
PHP side, but http://www.devx.com/webdev/Article/37821 will help you
out.
On Nov 23, 1:13 pm,
You can use them in OpenGL, just not in OpenGL ES::o)
Seriously though... given any four points there is no guarantee that
they are co-planar, and I believe that no-coplanar quads introduce all
sorts of complexities when interpolating colours, textures, and even
positions in 3D space. By
I'm attempting to obtain raw picture data from the camera. According
to the Javadocs it can be obtained via the callback passed to
camera.takePicture(null, callback, null). However, the array passed
to the callback is always null. I've checked permissions, examined
the logcat, registered a
I can't believe I was unable to find that thread in my searches!
Thanks for the prompt answer, even though it is a disappointment of
course.
On Sep 14, 8:45 am, Mark Murphy mmur...@commonsware.com wrote:
Timothy F wrote:
I'm attempting to obtain raw picture data from the camera. According
Firstly, I can't help but wonder why you need all of the characters in
memory at once. On a constrained device I'd rather stream the
characters and process them that way. What do you plan to do with
this data that requires it all be in memory at once? However, if you
truly need to, then tell
The animations don't do anything to the bitmap, per se. For every
tick of the animation, the method getTransformation is called on
each Animation so that it can return a Transformation that describes
an affine transformation and an alpha value. If you want to do more
than those two things you
I believe from the very beginning it was stated publicly that it was
for apps that had not previously been published. I was fearing that
they would not allow the entered apps to be published until after
ADC2, so the fact that they are allowing them to be published even
before ADC2 begins is good
Are you calling the release method on the camera?
On Jun 21, 5:10 am, Shirish ashir...@gmail.com wrote:
If you put the system.gc() every place then your system performance
will degrade.
On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote:
Hi,
I had an application where i would
I haven't used it yet, but look at:
http://developer.android.com/reference/android/opengl/GLU.html#gluUnProject(float,%20float,%20float,%20float[],%20int,%20float[],%20int,%20int[],%20int,%20float[],%20int)
I think that may help you.
On Jun 18, 4:21 am, quill quill...@163.com wrote:
Thank you
Have a look at java.util.Calendar, and its subclasses.
--~--~-~--~~~---~--~~
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
15 matches
Mail list logo