Android :: Difference Between .opengl And Javax.microedition.khronos.opengles Packages

Nov 7, 2010

Just couldn't find anything regarding the purpose of android.opengl classes anywhere on the web: they seem to be copies of javax.microedition.khronos.opengles - just with static vs member methods.

So is there any special meaning in using them instead of j2me classes: are they supposed to be faster, have additional functionality, simpler to work with? I think of using them instead of passing that gl reference all the time.

Android :: difference between .opengl and javax.microedition.khronos.opengles packages

Android :: Video Playlist And Javax.microedition

Jul 27, 2009

Anyone knows if Android 1.5 support video playlist format such SMIL? Also Android SDK doesn't include all the classes in J2ME such as:

View 2 Replies View Related

Android :: Could Not Find Method

May 27, 2009

I've been getting this error "Could not find method, referenced from method org.ksoap2.transport.ServiceConnectionMidp."

View 7 Replies View Related

Android :: Include Additional Javax.* Packages In Droid App With Eclipse?

Oct 11, 2010

I saw article about Including additional javax.* packages in your Android App

and i want to do the same thing but using eclipse
so could anyone tell how to do it?

View 1 Replies View Related

Android :: Is And Javax Security Available?

Feb 21, 2010

When I try to use code similar to that in I find the classes will compile but get a java.lang.VerifyError on execution the class uses and and one supporting class uses and bright ideas - is it OK to use a class loader extending these packages unavailable on the android and if so is there a list of unavailable packages

View 2 Replies View Related

Android :: Large Efficiency Difference Between Canvas.drawBitmap Vs OpenGL?

Mar 11, 2009

Greetings Developers,

I am just putting this question out there.

Is there a large efficiency difference between Canvas.drawBitmap or OpenGL. I am drawing using Canvas.drawBitmap and running slowing FPS, would openGL speed that up a lot you think?

View 7 Replies View Related

Android :: OpenGLES - EglMakeCurrent

Apr 20, 2009

I have serious issues using the eglMakeCurrent() method of the EGL10 class.

1) After a successful call ot the eglMakeCurrent method with an eglSurface & an eglContext, if i request the current context and the current surface (eglGetCurrentContext() & eglGetCurrentSurface (EGL10.EGL_DRAW)) i get different instances compared with the one that i've passed. Even the equals method fails.

2) After initializing the eglDisplay and before any call to eglMakeCurrent(), if i request the current context and the current surface i recive instances that are not the EGL10.EGL_NO_CONTEXT and EGL10.EGL_NO_SURFACE.

View 4 Replies View Related

Android :: Backgroung Setting In OpenGLES

Feb 19, 2009

I am writting opengl app using GLSurgfaceView given in API demos. I create a rectangle and added texture but then drawframe in renderer is called in a loop i,e it is redrawing it even if there is no changes. so what should i do to? how to set background.

View 2 Replies View Related

Android :: OpenglES With Acer Liquid

Jun 28, 2010

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 screenshot made with ddms :

The Acer liquid running Android 1.6.

Can you check on other devices and tell me if you face the same issue ?

I would like to know if it's an Android issue or an Acer issue.

Here the code :.........................

View 2 Replies View Related

Android :: Play Video Using Opengles

Jan 5, 2010

How to play video using opengl es in android?

View 3 Replies View Related

Android :: OpenGL Speed Issue - Code Contribution To Other OpenGL

Feb 25, 2009

Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !

Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"

Framerates I get is

with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!

I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it

variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"

Here is the screenshot of output drawing and how it will look like

OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk

I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device

Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?

View 8 Replies View Related

Android :: NDK OpenGL - Mixing Java And Native - C - Calls To OpenGL API

Jul 24, 2010

I would like to be able to use the OpenGL API from both Java and C (via NDK).

In Java, there is a GL object passed, which has all GL methods on it.

In C, you just talk to the native library.

In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?

In other words, is the GL object just a wrapper for the same instance of the native library?

View 3 Replies View Related

Android :: How To Use Api?

Nov 5, 2010

Am a beginner in Android. i want to use java communication api in Android. have anybody worked on this. Any help would be appreciated. i want to enable serial port in Littleton board(PXA 270).Any examples for using Java communication API. kindly help me in this.

View 2 Replies View Related

Android :: OpenGLES Lighting - Should Not Change Position

Oct 7, 2010

I'm writing a little 3D engine for android to better learn the platform and opengl. I hope to eventually use it as a base for little 3D games.

I'm trying to implement lighting right now, and generally following the NeHe opengl android port tutorials. I have a simple spinning cube and 1 light that should not change position. Upon rendering my scene on a device the light appears to "dim" and re-lighten as cube rotates.

This is a swf video of the behavior:

The code for my "engine" is located here: [url]
The relevant bits are:

This is where I'm initializing opengl and setting up my scene. and [url]this is the code for actually rotating / drawing the cube mesh.

I wish I could formulate a better question; but I'm very stuck/confused and can't even think of an intelligent question to ask besides "does anyone know what might cause the kind of behavior I'm seeing?"

Also the slowness / choppyness of the animation in the video is a result of the screencap software. It's smooth throughout the whole rotation on the emu.

View 1 Replies View Related

Android :: Will Emulator Support Opengles 2.0 In The Future

Oct 4, 2010

From the posting so far I have seen, the current emulator as of API level 8 and Platform 2.2 does not support OpenGL ES 2.0. (Only in the emulator that the support is not there)

(The support is there at API level 8 for the ES 2.0)

wondering if any jone has figured out the following

1. Will the emulator support ES 2.0 in the future (considering there is compilers, shaders etc needed to support es 2.0) 2. What is a likely timeframe this may be available? (months or sometime future?)

I suppose considering that iPhone SDK has the emulator suppor for es 2.0, it can be anticipated on the Android emulator as well.

View 3 Replies View Related

Android :: Create Shaded Mesh In Opengles

Nov 7, 2010

In my application I'm trying to create a mesh that is shaded by a single directional light. The problem I'm facing is that I can't seem to get the light to take my normals into account at all.

It works fine if I set the normals on a per-triangle-strip basis, but if I try to render a series of triangles with normals set using the glNormalPointer method the entire mesh is rendered using the same color (which is identical to the result I'm getting if I skip calling glNormalPointer all together).

My mesh render method looks like this:


View 1 Replies View Related

Android :: How To Validate Javax Cipher Key?

Mar 6, 2010

I'm an android developer trying to use the javax.crypto package to encrypt/decrypt my SQLite database backups when I put them on the SD Card.That way, they can't be read while they're in the publicly accessible file system.I can encrypt/decrypt the file just fine, but I have no idea how to tell if the user input the right key or the wrong key. An incorrect key just returns a more jumbled file. I need a way of validating the user's password without storing it on the device (since they could be importing to another device).How can I check to see if the file has been successfully and correctly decrypted?

View 1 Replies View Related

Android :: Opengles Alpha Textures Not Semitransparent But Binary Transparent

Sep 3, 2010

I am drawing some textures with alpha channel, but when they are displayed it looks like the alpha channel is only binary. So a pixel is either transparent or opaque, although in the texture file itself the pixel is half-transparent.

The blending is set up like this:


The above shows how it should be like, and the below shows how it is:

View 4 Replies View Related

Android : Quartz 2D Or OpenGLES / Pros And Cons In Long Term

Apr 8, 2010

I'm having a hard time deciding whether to go with Quartz2D or OpenGL for an iPad game. It will be 2D mostly, but effect-intense (simultaneous lighting effects for 10-30 objects, 10-20 simultaneous animations on the screen). So far, assuming i'm equally dumb in both technologies and have to learn them from the ground, i came to this list. (I've read several topics here, on SO, with names like "Quartz or OpenGL", but i'm still left with some questions)

View 1 Replies View Related

Android :: What Algorithms Does Javax.crypto Support?

Jul 21, 2010

I cannot find any documentation that specifies the algorithms that I can specify in getInstance for Cipher. Is there any around? Specifically, I am looking for support for the RC4 cipher.

View 4 Replies View Related

Android :: Import Javax.xml.transform Can't Be Resolved

Nov 21, 2010

I am trying to write some xml generated by my Android app to a file and I'm trying to use javax.xml.transform to do this. Only problem is that javax.xml.transform is not being found by eclipse.The only options that come up are javax.xml and javax.xml.parsers. Does anyone know what could be going on?

View 2 Replies View Related

Android :: - Not Trusted Server Certificate

Sep 25, 2010

I access web service..! My web service name is "" But it will show the following Exception " Not trusted server certificate" This is my code...............

View 7 Replies View Related

Android :: Javax.mail.internet.InternetAd­dress Can't Be Found?

Mar 8, 2009

I am using Eclipse to develop and application for the android platform. When I try to tell it "import javax.mail.internet.InternetAddress", it does not recognize it. Does anyone know why?

View 12 Replies View Related

Android :: Conversion To Dalvik Format Failed With Error 1 With Javax/net/SocketFactory.class

Jul 19, 2010

Encounter this problem when trying to Build Project getting such output in console:


I was looking for my project to use the package javax, not found, clean all also does not help.

View 6 Replies View Related

Android :: - Not Trusted Server Certificate - Exception In Android

Jun 16, 2010

I am getting " Not trusted server certificate" exception when I am trying to hit https URL (.Net Webservice) from my android app. Below is my code:

HttpParams myParams = new BasicHttpParams();
HttpProtocolParams.setVersion(myParams, HttpVersion.HTTP_1_1);
HttpProtocolParams.setContentCharset(myParams, "utf-8");
myParams.setBooleanParameter("http.protocol.expect-continue", false);.................

View 1 Replies View Related

Android :: Getting Packages From PackageManager

Oct 10, 2010

I'm writing an app, that has a somewhat modular system. It has a core app, and some apps, that consist of a single Service, that implements the desired interface. I followed the guide to create the IPC communication. But now I need to get all the services, installed on the system, that my core app can work with. How do I do this? I mean, is there any way to mark my Service apps with some kind of a tag, and then filter results, presented by the PackageManager#getInstalledPackages() based on that tag value? What's the common practice of doing so?

View 1 Replies View Related

Android :: How To Get Packages / Which Not Supporting SDK?

Apr 24, 2009

I have see some apps in Android that use some packages:
import; import; import; So some packages do not support the current version of SDK. Where can I find it? Would u tell me about it?

View 2 Replies View Related

Android :: Want Available Packages In Phone

Aug 31, 2010

Can anyone tell me what are the packages available in Android, and which package is frequently used and for what purpose they are used. Anybody please help me regarding in this.

View 2 Replies View Related

Android :: Missing OS Packages

Jul 10, 2010

I've been trying to modify the native android applications downloaded from the android source repo at github. But I noticed that after creating Eclipse projects from some apps, like the Launcher, there are missing imports, variables that are not declared anywhere else, etc... After my initial research, I noticed that some of the libs that are native, are compiled at runtime and registered in the dalvik VM as java libs and by having done this the system finds these as already present libs, the same goes for the "phantom" variables. But I don't understand how does a developer open such a project in any java ide, and compile it. So what do Google developers use to work on android apps? I don't believe it's eclipse, since I am not sure you can make eclipse use runtime imports, and runtime variables. And I am almost certain that they do not write code in notepad.

View 3 Replies View Related

Android :: Multiple Packages In App

May 27, 2010

I am including a class in my app that another developer has made freely available. His class has a different package. Will this cause any issues on Android, the market, etc? Does every single class in the app need to be my own package?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved