Android :: Coke Filling Into A Glass Using OpenGL ES

Apr 27, 2010

To Open GL ES. i am trying to write a program, which displays a Glass on the screen, and the coke will be filled slowly. when anybody touches the screen, ice cubes will be falling from top into the glass.

Android :: Coke filling into a glass using OpenGL ES


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 :: 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 :: LinearLayout Not Filling All Screen

Oct 10, 2009

I'm trying to create a simple view of a header image, few buttons, then footer image. I'm using a LinearLayout inside a ScrollView.

Even though i'm using the android:layout_gravity="bottom" for the footer image, it's being placed about 1 cm above the bottom margin.

I'm using the following xml config

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

View 4 Replies View Related

Android :: Refresh Layout While Filling It

Jul 8, 2010

I have an activity with a HorizontalScrollView. When it opens, I start filling this view (or rather, a container layout inside it) with another views. This is done from another thread by using handler.post.

The views are added in bunches of 15, and when there are no more views to add, I start updating them with new data (this is a kind of streaming data from a server).

The problem is that the scrollview is empty until all of the views are added. As soon as they are all added and start updating, the scrollview gets drawn.

How do I refresh it in the process of adding views? I don't want the screen to be empty for 3 seconds while all of the views are added.

View 1 Replies View Related

Android :: Filling Whole Screen With Background Image

Nov 15, 2010

I am trying to fill an image onto my screen, but it is just covering around 75-80% part of whole screen, not whole screen.

The codeblock i am using is as:

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

View 1 Replies View Related

Android :: Filling All Available Space If Button Put To Bottom?

Apr 27, 2010

I want to put two items <xyzLayout <ScrollView> - this to fill all available space <Button> - this on the screen bottom. </xyzLayout> How can I do this?

View 2 Replies View Related

Android :: Why Isnt WebView Filling Up The Entire Width Of Screen

Oct 4, 2010

My WebView doesn't fill the entire width of my phone. I am telling to fill_parent.

Not sure why?

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

View 1 Replies View Related

HTC Incredible :: Filling Up The Screens

Apr 30, 2010

I only have stuff on my home screen, a full screen weather widget and like two programs on another...that leaves 4 more screens with nothing on it. I have all the apps I need so far and most of the ones that came with the phone I don't use. Just feels weird having all that extra space.

View 9 Replies View Related

HTC Desire :: Internal Memory Filling Up By Itself

Jun 13, 2010

I've noticed that the Internal memory of my Desire seems to filling up even though im not adding new files/downloading any new apps... Im using wi-fi several times a day to check emails, update friendstream etc... but there seems to be no major correlation with the memory increase.

As a guide memory usage has gone from 72mb to 82mb in the last 5-7 days

Is this normal? how i can clear out any files that may be accumulating? Obviously concerned as internal memory is limited as it is and if this continues it wont be long til the phone fills itself up!

View 10 Replies View Related

Motorola Droid :: Filling Out Forms

Dec 4, 2009

I seem to be having issues filling out forms. Actually, I can fill them out, but when I hit submit, it just hangs.

View 1 Replies View Related

General :: Storage Full With Nothing Filling It?

Dec 27, 2013

A while back I tried to install CM on my friends LG G2. We installed CWM, made a backup and everything went well, until we were done flashing the ROM. It wouldn't boot, and after a few tries we decided to use download mode to reset everything back to stock. Everything is fine now, except I think the backup is still there. There's only a little more space left, but he only has about 4gb of data on the phone. We looked at all the folders and nothing was taking up all that space.

How can we delete that stuff taking up all the space? Would a normal factory reset work, or do we need to get CWM on there again to delete that backup?

View 1 Replies View Related

HTC Droid Eris :: Contacts Not Auto-filling

Jun 23, 2010

I am running 2.1 V3 and every time I try and formulate a new text message using the standard messaging application, the contacts field will not auto-populate suggestions when I begin typing someone's name (they used to come down in a drop-down list which I could select from). It has always done this before and I don't really know what changed. In order to send a message to anyone, I have to now click on the "person" icon next to the "To" field and wait an unbearably long time for the list to come up and then scroll to the contact I want and checkmark the person. I have tried restarting the phone...battery pulls...etc. Aside from a factory reset.

View 3 Replies View Related

General :: Memory Card Keeps Filling Up Because Of Thumbnail

Jul 27, 2013

I have an HTC one s, had it for a few months and just today it started to eat up all the memory on the "external card".
It is located in DCIM .thumbnails.

I know there is a fix of changing the folder to read only and sorts.(changing the file to read only works for a few moments then a new file generates with a new number.

But I do not just want to do a fix, I would like to know how I can trace what is causing it and fix it. The thumbnail file keeps increasing in size when I erase more files, right now it is at 1.2gb.

So my question, What is causing the thumbnail to be getting to 1.2gb, a larger size then my photos stored.

View 4 Replies View Related

HTC Incredible :: Filling Up Phones Storage Make It Run Slower

May 5, 2010

I would like to know is if filling up my phones storage is going to make it run slower? I had 5 movies on my 8g microSDHC card. I decided to move them to my phones storage since nothing really uses that storage. The movies play great from both the phones storage and the SD card, but it felt like my phone was running a little slower once I did this. Is this just in my head or will my phone really run slower with its storage almost full? My phones settings state that the total space of the storage is 6.6GB and the avialable space is no 1.57GB.

View 1 Replies View Related

HTC Droid Eris :: How To Avoid Filling Up Internal Memory?

Mar 31, 2010

159mb seems like no space at all. Seems like stuff should install on the SD card. I know you can if you root, but you shouldn't have to. I clear the cache on apps regularly. How else can we avoid filling up our internal memory?

View 18 Replies View Related

General :: Does Filling Up Internal Storage Decrease Performance?

May 14, 2013

Does filling a phone with only internal storage slow it down? Even if you don't fill it?

I'm asking because I put 10gb of music on my HTC One, and I was just curious as to whether it would effect it in any way.

View 9 Replies View Related

Workflow When Loading Data From Server And Filling Activity Listview

Feb 7, 2013

I'm pretty new to Android development and I just hit a brick wall in the development of an app, I'm currently working on.

The problem is that I have a list of locations (states), and when one is selected, a list of cities from that state is loaded via http request and JSON and then is supposed to be inserted into a listview in another activity.

So now I have the StateList activity and the CityList activity. Currently, the statelist activity starts the citylist activity via an intent and gives it a state name. Then, the citylist activity uses that name and requests data from a server via AsyncTask. As result I get an array of City objects, which are supposed to be inserted into an adapter for a listview.

Now begins my problem: I don't want the second activity to show up before all data is loaded. I also don't want the first activity to do the request and then have to transfer the whole result to the second activity using intent extras.

So what would I have to do now to have the second activity load all the data and only then really show up? I tried only setting the content view after receiving the data, but since the base class onCreate() is tied to some manipulation of the layout, I would also have to call onCreate() at that point, which is not allowed.

Here some code snippets of what I tried already:

The onCreate() method of my second activity (which is supposed to hide):
[high]protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
// send request for citylist data
CitylistRequest request = new CitylistRequest(this, new State(0, getIntent().getExtras().getString("state")));
request.execute();

[Code]...

View 2 Replies View Related

Samsung Galaxy S : Ringtone Volume Go On Level 6 To Loud To Room-filling Boombox

Aug 20, 2010

why does the ringtone volume go from too quiet on level 6 to loud to room-filling boombox level on level 7?

there should be one step in between 6 is way to low and 7 is way to high.

using JM2 maybe it's fixed on a later firmware?

is there any other way to add a more sensitive adjustment?

View 1 Replies View Related

Android :: Android - Filling ListView With Array

Aug 19, 2010

I can't fill a ListView layout with an array of strings.

Here is the Activity:

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

Here is menu_item:

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

And here is symptom.xml -

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

Does my public class need to extend "ListActivity". I tried that and that didn't work.

View 2 Replies View Related

Android :: Custom Title Not Filling Whole Title Bar

Jun 9, 2009

I'm setting up an app to use a custom title so I can get the proper logo into the title instead of just text, and to make it clean (since the logo has a flat black background), I also want the whole title bar to be black. My xml for the title is a framelayout to hold the logo inside of a linearlayout to change the background color, and I'm setting the title in OnCreate() as follows:

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

With this setup, the old gray from the old title bar still exists around the edge of my custom title. Appears to be on the order of 3-4 px on the bottom and 8-10 px on each side. Any ideas about how to get the black background to cover the entire area?

View 4 Replies View Related

Android :: Glass Genie Widget

Jul 23, 2010

Anyone know where i can get this version?

View 7 Replies View Related

Android :: Shape Glass Effect

Aug 11, 2010

I've created a custom toolbar using a gradient inside a shape. It looks very nice, but since we only have the option for 3 colors (startColor, centerColor, endColor) it looks very round. I would like to do a glass effect, which requires a sharp change in color in the middle. Basically I need 4 colors (startColor, justabovecenterColor, justbelowcenterColor, endColor). Now I could have two shapes sitting on top of each other to get this effect, but I don't want to do this. I'm getting into some tricky UI customization here and that would be very difficult to manage on different sized screens.

View 1 Replies View Related

Android :: Does Gorilla Glass Really Work?

Sep 24, 2010

I've been Googling around trying to find some objective information on Gorilla glass with no luck. It's either Corning's promotional material on the subject raving about how you'll never break your phone again, or someone that bought a Droid, cracked it, and they are screaming about how much it sucks. What I'd like to find is some kind of reliable source that has done a study on it. I studied engineering and, from what I remember, we were taught that the harder something was the more brittle it would be. Of course, that was 15 years ago and there's a good chance I'm remembering it wrong. Does anyone know for sure? Have a source you can point me at?

View 10 Replies View Related

Samsung Captivate :: Filling Up Your App Screens - Not Home Screens

Jul 27, 2010

I had a little time with the captivate today and noticed it has 4(i think) horizontal scrolling screens for apps. What happens when you fill those? Does it automatically add another one or what?

View 2 Replies View Related

Android :: Make A Magnifying Glass On A Picture?

May 21, 2010

I want to make a magnifying glass on a picture so that the part of picture is extended ? code...

View 2 Replies View Related

General :: IOS 7 Like Frosted Glass Blur On Android?

Sep 28, 2013

Is it possible to have something like this on Android? In the form of a CM theme.

SGH-T999

View 1 Replies View Related

Android :: New Frozen Glass Icon Pack / Looking For Feedback

May 17, 2010

Looking for some feedback. Here's the images thus far, when I finish, I'll load them up into an icon pack app. I am also taking requests for specialized icons at this time.

View 5 Replies View Related

Android : Weather Widget Smoked Glass - Default - HUD Toggle

Apr 7, 2010

I've saw the 'weather widget smoked glass', and tried to find this at the market. When I search for 'weather widget' i get these:

weather widget default
weather widget HUD toggle
weather widget glass toggle

Now, the information says "androidapps toggle skin, don't download if you don't have 'Weather & Toggle Widget'

Search 'Weather & Toggle Widget' or ' weather widget donate' on the market or go lock20.wordpress.com.

First of all, when I serach those strings in the market, I get the same hits as above. Now, I tried the 'Weather widget - Free' application, and that was wrong.

I've searched for 'Beautiful widgets', but find nothing.

Do I need an external application called 'weather widget donate' or something, or am I supposed to use the native 'News and weather' application on my Nexus One? In that case, how do I find/get it?

View 8 Replies View Related

HTC Desire :: How You Getting On With Glass?

Nov 28, 2010

a few days or even a week back one of you fine fellows was getting replacement glass for his camera lens on the htc desire.well i was wondering how you got on with it and was wondering what work was involved

View 10 Replies View Related







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