Android :: Code / Tutorial That Sets Up Most Basic Opengl Es App?

Dec 28, 2009

I am looking for some sample code or tutorial that sets up the most basic opengl es application.

for example, just do glClear() in the renderloop.

i have already been searching the web but all i found was either out of date or too much and too complicated.

Android :: Code / tutorial that sets up most basic opengl es app?


Android :: Basic Emma Code Coverage Tutorial Needed?

Feb 3, 2010

I am looking a way to use Emma on Android project. I have an application -project, and withing that, I have Junit test cases. Now How do I use Emma tool(command line) to get code coverage report on testcases?

I searched a lot but could not find a good/simple tutorial. I read somewhere that Android ant lib has a target "coverage" that does all thing, (running test cases, generating emma report). How do I use that?

View 2 Replies View Related

Android :: Basic OpenGL ES Texture

Jun 29, 2010

I'm having great difficulty getting basic textures to work in an OpenGL ES app on my Droid (2.1-update1). I trying to render a simple textured quad - four vertices, two faces, with normals and texture coords. When rendered, the texture is garbled and full of static, similar to TV noise. The basic colors from the texture map are there, but obviously the texture isn't being read or applied correctly. My texture load sequence is simple : int[] textures = new int[1]; gl.glGenTextures(1, textures, 0); Bitmap bmp = BitmapFactory.decodeResource(cx.getResources(), R.drawable.img); gl.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]); GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bmp, 0);...

View 2 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 http://prasna991.googlepages.com/drawframe.png

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 http://prasna991.googlepages.com/screen.png

OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt

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 :: Tutorial To Use Opengl Interface In Droid Ndk?

Mar 22, 2010

If i wanna use the opengl interface in android ndk, then will it be possible to show
me a simple tutorial to let me master the android ndk?
i just wanna know how to operate in android ndk first.

View 1 Replies View Related

Android :: Sample Or Tutorial In Using OpenGL In A Live Wallpaper In SDK 2.1

Jan 14, 2010

I've been checking out the Canvas-based "CubeLiveWallpaper" which uses Paint to create a rotating 3D Cube and it works very well. I've been trying to get my head wrapped around how to move/port the GLSurfaceViewActivity/CubeRenderer/Cube from the API samples into a Wallpaper Service but I'm not having much luck.

Basically, I'd like to take the OpenGL cube from the API sample and turn it into a "Live Wallpaper." Does anyone have any ideas, samples, examples I could work off of or where to get started?

View 3 Replies View Related

Android :: Basic OpenGL ES Texture / Way To Render Simple Textured Quad?

Jun 29, 2010

I'm having great difficulty getting basic textures to work in an OpenGL ES app on my Droid (2.1-update1). I trying to render a simple textured quad - four vertices, two faces, with normals and texture coords. When rendered, the texture is garbled and full of static, similar to TV noise. Here's a pic showing the original texture map image, and then a screencap from my droid of the rendered textured quad. The basic colors are there, but obviously the texture isn't being read or applied correctly.

View 1 Replies View Related

Android : Anyone Working Code Of Http Basic Authentication?

Jul 2, 2010

I have set below code before calling url for http basic authentication but it is not working. Code...

Can someone quote working code of http basic authentication?

View 2 Replies View Related

Android :: Integrating Basic Droid Source Code Into Ecplise?

Jun 27, 2010

I downloaded the Android SDK and the Eclipse Plugin and installed them. When I however use the "Open Declaration" in Eclipse on basic Android functions and classes such as setOnClickListener or ListActivity it gives me an "Source not found"-Error.

The total Android source code seems to be 2.1 GB. Where do I get the source code of those functions that I call with the API to integrate it into Eclipse?

View 2 Replies View Related

Android :: Tutorial - Sample Code To Convert An Image To Text?

Nov 18, 2009

I would like to convert an image to text. ie take a picture of a receipt. Could someone point me in the direction of a tutorial or sample code.

View 2 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 :: Binding List Views To Large Data Sets

Feb 1, 2010

I need to be able to scroll through a list with (up to) 20K rows, backed by a cursor on a read-only db. Testing 20K rows on a G1, the query takes approx .02s regardless of table size, while binding the adapter to the list takes 4.5s. Note that this is before the view calls used in rendering. What makes the binding delay more troublesome is that it blocks the UI thread, and is incurred on every rotate. Combine these, and doing a rotate just after starting the bind results in a delay up to 9s.

I tried lazy loading with a base adapter, but that hits the same delay in the underlying cursor.getCount(), and the overall user experience isn't ideal. I also considered using an ArrayAdapter, adding synthesized objects from the cursor rows, but then I'd incur the overhead of creating up to 20K objects (not to mention the additional memory requirements).

View 18 Replies View Related

Android :: How To Enumerate All Character Sets Supported By Droid Platform?

Sep 22, 2009

I want to know all the names of character sets(as know as "character encoding") that are available on the android platform, I searched that how to enumerate it but didn't find.

View 2 Replies View Related

HTC EVO 4G :: Free Icon Sets

Oct 16, 2010

I came across a list of free icon sets. Thought I would share.

Back to Essentials - 120 Free Icon Sets to Enhance User Interfaces

View 1 Replies View Related

Android :: Wallpapers Persistent - Removing Application That Sets User Background?

Feb 19, 2010

I have an application that sets the user's background. Is it possible to remove the wallpaper if my app is uninstalled?

View 1 Replies View Related

Sprint HTC Hero :: Car Docks - Hands Free Sets

Dec 5, 2009

I found this dock that is almost what I'm looking for, but I don't like FM transmitters. I prefer just to use a cable for the sound since it's clearer and I don't have to keep fiddling with stations when I get feedback. All the other docks that I've found are window mounted suction cup deals. Does anyone know of a dock that plugs into the cigarette lighter, but doesn't have the FM transmitter?

View 9 Replies View Related

HTC Hero :: App Alternative To Sets Profiles On Locations For Phone?

Dec 23, 2009

Now that Locale is way to expensive. Is there any app out there that is close to the same? One that sets profiles on locations...

View 37 Replies View Related

App Which Sets All Calls In Silent Mode Except Those Selected Contacts?

Apr 11, 2013

I have got a project on Android application- silent features in my college. We have to develop an android app which will put the phone in silent mode for all incoming calls, expect for those the user selects (for these selected contacts the phone should ring).

Is there any online tutorials available for android where i can start learning android programming ? As i don't have much time left to join any classes for the same. This project has to be submitted within 3 weeks.

View 1 Replies View Related

HTC Desire :: Screen Timeout - Randomly It Sets Itself Back To 15 Seconds

Aug 15, 2010

The default setting for this is 15 seconds, and i changed it to be 1 minute. Randomly it sets itself back to 15 seconds (maybe after powering phone off).

View 1 Replies View Related

General :: Connect Two Sets Of Bluetooth Headphones With Same Phone At Same Time?

Apr 12, 2012

How to connect two sets of bluetooth headphones with the same phone at the same time.

It seems to me that it requires os level changes. Do you agree? or can it be done with an app?

It seems like an obvious improvement, useful for two people running together, or on a plane together. I wonder why no one has made this happen yet?

View 1 Replies View Related

Android :: Sets Of Notification Icons Based On Notification Bar Color

Sep 27, 2010

I am displaying a notification icon which is dark gray. It looks fine on Nexus One, where the notification area is light gray and is almost invisible on HTC Desire (Sense UI - dark gray notification bar). Is there a way to overcome that? (The icon cannot be changed).The icon cannot be changed meaning" that I am using a custom set of icons which is a must for me.

View 1 Replies View Related

Android :: Multiplayer Game - Device To Device Connection Using Sets Of Api

Mar 24, 2009

I have developed a sports game which is single player. Now I want to have one more game mode which is multiplayer.

My question is how can i do device to device connection in android using sets of api which can be :

1.Bluetooth - whose APIs are not currently available.

2.gtalkservice - removed from sdk1.0 3.wifi - I dont knw how to connect 2 devices using wifi apis . I have asked about wifi because we have developed a game on iphone which used wifi connection for multiplayer stuff.

Or is there any other apis which can be used for implementation of multiplayer in game ?

View 3 Replies View Related

Android :: Android: Best Way - Library To Write An App That Simply Gets - Sets Your Facebook Status, Sends Facebook Messages - And Requests Friends

Feb 2, 2010

I have the Android Facebook-Connect library running in my emulator and I'm able to set my status with the Facebook API I have setup. However, I don't know where to go from there? Am I supposed to use the session key that this library allows me to get and make some Facebook API calls? I haven't found any code examples to even see what the proper syntax is. Am I better off using another library? I tried fbrocket with limited luck(I get a "server error 104 - Incorrect signature").

View 1 Replies View Related

Android :: Kernel - Basic Definition

Nov 1, 2010

what is a kernel? I'm just lookin for a basic definition.

View 2 Replies View Related

Android :: How To Verify Phone Basic API?

Jan 24, 2010

We already use Android API. But sometimes I want to know is it verified or not? by whom?(e.g. Android team in google) by which one? (e.g. Unit test or Basic Acceptance Test for API) Do android team have any test report? Because this is a platform for smartphone. For example, if there has any problem in Android API (e.g. Date and Time), it makes customer spend money and time more. But I can't find any report about verifying API test. If you have any information about it, please let me know :) Also if there has no information, how can I test some API to verify API.

View 4 Replies View Related

How To Build A Basic Android Application

Oct 3, 2011

I am a complete novice to the field of Android applications. I want to build a basic Android application of an "website alert and post service".

Eg: Lets take FACEBOOK or TWITTER as the website.The application which I design should intimate me about the new posts or tweets of my friends. At the same time I must be able to post or tweet just by opening a text box in the application and writing in it. As soon as I write, the message should get posted or tweeted on the website.

I am not sure about the complexity of the above application but I feel this would reduce the trouble of opening a browser, typing the website name and then logging in by putting the username and password.

View 2 Replies View Related

Android :: Need Basic Auth Credentials To A Web View?

Apr 5, 2010

I have a Web View. I'd like to show some page from my server, but I require some basic authentication. Is there a way I can specify basic auth credentials when calling Web View.load Data() somehow? I can do this on i phone with the equivalent web view class, thinking maybe same is possible with android?

View 2 Replies View Related

Android :: Error Inflating Basic Framelayout Only In1.5

Aug 16, 2010

I have the following layout in XML (splashscreen.xml):

CODE:............

When I try to execute it in Android 1.5 (executes correctly in all other versions) I get these errors:

CODE:.............

Line 5 corresponds to ImageView line. Do you have any idea why my program executes in all Android versions except 1.5?

View 1 Replies View Related

Android :: Major Change Regarding Basic Learning?

May 8, 2010

I am new to android and last year i bought two books of android 1.5. But at that time i was busy in my project so was not able to work on android. Now i want to start android again. Should i go for those books or should i buy new editions. Is there any major change regarding basic learning? My question is purely related to change in version.

View 1 Replies View Related

Android :: Basic Authentication Post Cupcake?

Jun 5, 2009

I routinely use my g1's browser to connect to a website that is protected with basic authentication (so you get the popup for username and password). Ever since updating to cupcake, my phone seems incapable or unwilling to correctly use / remember my passwords. It's driving me crazy, and I'm ready to chuck the thing out the window, or at least revert to the previous version. Has anyone else experienced this problem?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved