Android :: Single Threaded GL - Exchange Events Between View And Renderer
Oct 9, 2009
I was using for sometime now OpenGL initialization code from Api demos and it was quite hard to exchange events between View and Renderer. So, I read pieces of documentation from GLES, EGL from jsr239 and finally made the single threaded GL initialization code which is much simpler than in ApiDemos. Here it is:
import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.egl.EGLContext; import javax.microedition.khronos.egl.EGLDisplay; import javax.microedition.khronos.egl.EGLSurface; import javax.microedition.khronos.opengles.GL10;
import android.app.Activity; import android.os.Bundle; import android.os.Handler; import.................
View 2 Replies
Aug 27, 2010
Just curious to know android Graphical components (View) have their own specific renderer or they are using something like AWT, Swing or?
View 1 Replies
View Related
May 16, 2010
I really hate the Threaded / Conversation view. I found an alternative for gmail, using htc mail. However, I'm looking for a way to disable it in both the Google Voice app and the regular SMS app.
View 12 Replies
View Related
Jul 18, 2010
I got my desire just a few weeks back and the phone is the best one i used till now...Better than the iphone..But the sms threaded view in my phone is not being stored in order for some contacts. The order of the messages stored is not as it should be...my sent message(First sent) is stored after the received one(later received)..I have tried putting my own time instead of the automatic network time still the problem continues..
View 14 Replies
View Related
May 14, 2010
Anyone know how to disable the sms threaded/conversation view on the desire?
I have found an app called smstray that come close to doing what i need but its not perfect.
View 2 Replies
View Related
Apr 29, 2010
I finally was able to get on the mobile network and now it looks like the HTC Incredible can only do a single exchange account.With my Motorola Droid I had multiple and loved the functionality. Anyone else seeing the same issues? (or am I just being too needy?)I had assumed this was a standard android function.
View 2 Replies
View Related
Aug 28, 2010
I'm having an issue with my Exchange calendar. I currently sync my calendar and email through Exchange. Events added to my outlook calendar via computer show up on my phone and work perfectly. But, when I add events to my phone calendar, my only available calendars are my google calendars and my PC Sync. I never use PC sync. It does not give me the option of adding events to my Exchange calendar.
I had to reset my Exchange account after the Froyo update, and I thought that I had everything working properly. I don't add events to my outlook calendar through my phone very often, so it's likely that this has been an issue since Froyo. Has anyone else run into this problem or have any ideas how to fix it?
View 7 Replies
View Related
Aug 18, 2010
I would like to animate a view I have to appear like it was sliding off the screen to the left, and then sliding back to the screen from the right. I've set the duration of the first and the start Off set of the second as 1000, so the second should start right after the first ends. Instead I get their order reversed and I see my view sliding from right into the screen, and then sliding off the screen to the left. Reversing the animations order didn't do anything. Anyone got a clue why is this happening, and how can I do what I want?
View 3 Replies
View Related
Nov 19, 2010
Were looking into Android for writing a tablet based system. Part of the design is for the system to be as modular as possible. One aspect of this is to display any "STATUS" activities in a side view on the screen. It looks like I can use PackageManager queryIntentActivities() to find the activities that show status information. But, can I display these in a single view all at the same time (via a linear layout)? The activities would be installed in separate apk's (features). Can this be accomplished using ActivityGroup? Is this even allowed in Android? Everything I've read implies that Activities take the whole screen or float on top. This implies only one activity can be active at a time where as the design I'm thinking of uses the activities more like widgets.
View 1 Replies
View Related
Jul 28, 2012
I have been getting duplicate entries for my exchange account contacts and calendar events. As many as 3 per contact and event. I have tried deleting the account and set up again, but it will happen again a few hours later.
View 2 Replies
View Related
Jan 15, 2014
I just got a Motorola Moto X with Android 4.4. I set up my work's Exchange Server account on my phone and it syncs email correctly. However, most calendar events are missing. The calendar events that do appear on my phone begin to duplicate every time the phone syncs to the server. These duplicates do not appear when I access my calendar online or on my laptop.
The only trend I see is that any event added after I got my new phone will sync and then duplicate. Older events either do not sync at all, or do sync but then don't duplicate.
Touchdown does work correctly, but I also use Google Calendar so I need all my events to be access by the Android's native calendar application, so Touchdown is not the solution for me.
I have already done the following with no success:
1. Deleted and re-created the Exchange account on my phone.
2. Logged into the web interface for my work's owa server and deleted extra devices/phones configured to sync to the server (based on this thread: Duplicate email/calendar/contacts for Exchange ... | T-Mobile Support)
3. I have already cleared data and caches in my calendar apps, then re-synced.
It's a massive bummer for a scheduling bug like me not to have access to a reliable calendar.
View 1 Replies
View Related
May 15, 2009
Surrently I am developing a quiz application. the quiz pattern is one question and four answers. for answer cell i am using text area. and its working fine , but now i want to show some images in Answer cell. how i can do this ? can use different view ? which view able to show text as well as image at same time.
View 5 Replies
View Related
Dec 11, 2009
Is it possible to style a single, say, TextView in Android with multiple alternating styles, colors, and sizes? Think inline HTML or CSS but in the Android world. As an extreme, to demonstrate the point, let's say I wanted to have a word "CIRCUS" with each letter a being different color. Do I have to create 6 TextViews for this or can this be done in one?
View 1 Replies
View Related
Nov 22, 2011
i am creating an app for which i need to display multiple charts in single view.I am using achartengine library to create charts but i don't know how to merge and display 4 charts in single view.
View 1 Replies
View Related
Jul 21, 2009
Is it possible to programmatically send click events to a view? if so, how?
View 1 Replies
View Related
Nov 18, 2010
How to find checked events in choice mode multiple.
I am using ontemselected method it is not working for me
CODE:...............
View 1 Replies
View Related
Sep 8, 2010
I have a custom Android view which overrides onTouchEvent(MotionEvent) to handle horizontal scrolling of content within the view. However, when the ScrollView in which this is contained scrolls vertically, the custom view stops receiving touch events. Ideally what I want is for the custom view to continue receiving events so it can handle its own horizontal scrolling, while the containing view hierarchy deals with vertical scrolling.
Is there any way to continue receiving those motion events on scroll? If not, is there any other way to get the touch events I need?
View 1 Replies
View Related
May 6, 2010
Does anyone know how to get the texts for events to appear in the Calendar week view? It has a picture of it in the manual but nothing about how to do it. My Incred currently just shoes the color of the event (red for business etc) and I want to see what the events are! I have tried experimenting with the length of the title and that makes no difference. Any thoughts?
View 9 Replies
View Related
Jun 20, 2010
Let me start out by saying that I feel like there should be a very simple way to do this, and it's entirely possible I'm missing something very simple. But all the examples I find for transition animations (push left out, push right in, etc.) deal with moving from one view to another. What about an application that only has one view, but dynamically changes the data feeding that view? The best common example of this is the base calendar app. It has identical views, but when you swipe forward or backward the date of the view transitions with a swipe animation. How do I reproduce this? Surely I don't have to inflate ViewFlippers for the same view? And if so, what is the best way to go about this?
View 2 Replies
View Related
Dec 21, 2009
I've been trying to figure out how to get to the current EGLContext from the GLSurfaceView. I looked at the APIs and looked at the code but it doesn't seem like there is any path to it. I could have just missed it - please correct me if I have, but it wasn't obvious. Now, I can totally understand the designer thinking that we should protect people from the context because they can cause bad things to happen but actually it would be nice to have access to swapbuffers so that we can do some effects. Fair enough, though.
The one thing I wanted was to see the current EGLConfig so that I could find out what config attributes I'm getting on weirdly-behaving devices like the Galaxy. It seemed easy enough - it's passed in to Renderer in the onSurfaceCreated method:
public void onSurfaceCreated(GL10 gl, EGLConfig config);
Great! Except wait, you can't query an EGLConfig without an EGLDisplay and that's locked up in the GLSurfaceView. So why is it passed in to the surface created method? Isn't it useless? Accord to GLES spec, an instance of EGLConfig is only good if you have the display/context instances that it was created from.
I didn't try querying it with the default context because it's supposedly invalid but perhaps someone could shed some light on this? I'd love if it were something dumb and obvious that I don't know about.
View 4 Replies
View Related
Jun 15, 2010
I did a search but cant seem to find an answer. I finally got my work email set up through active sync. Is there a way to get the calendar events to show up on my google calendar? I use calendar pro which I love. I don't know if there is a work around or I am just not knowledgable enough to understand it. A for instance would be that my work email gives me an event or invite...it will show up on the phones calendar but not on my google calendar/events. (my google notification each morning may say "no events scheduled for the day" but phone calendar/calendar pro will show it)
View 3 Replies
View Related
Dec 5, 2009
If I am going through my calendar day by day it shows me from about 8am to 5pm. If there's anything before 8am or after 5pm, I don't see it without scrolling. On my old Treo, it would get rid of some of the unallocated hours between 8am to 5pm to ensure other events fit on the screen. Anyway to do this within the Calendar? I'm using Agenda in the meantime but would really like to see just the day's events for whatever day I'm looking at.
View 3 Replies
View Related
Dec 15, 2009
I'm using Companion Link to sync my Outlook with Gmail and thus to my Eris. So far it works flawlessly. All my calendar events show up, all details and notes included. The one weird problem I'm having is that while all of my calendar events show up in Outlook, and in the Gmail calendar, AND on the Eris calendar in either Month View (it shows the notch indicating an event that day) or in Day View (all events are correctly displayed) but --- if I switch to Agenda View, most of my events are NOT displayed. All Day events are all displayed as a few "timed events", but most timed events are not. Can't figure it out. I know the data is there. It is correctly displayed in every place and in every way EXCEPT Agenda View.
View 1 Replies
View Related
Oct 8, 2010
Once again I'm trying to get into openGL, but as usual I choke when passing around vertices/vertixes/whatever and every little detail can lead to disaster (wrong format, initialization not properly set up, where memory are saved, etc.).
My main goal is to use openGL for 2D graphics to speed up performance compared to regular cpu drawing.
Anyways, my openGL Renderer looks like this code...
With an IndexOutOfBoundsException, but I'm sure there are more problems with the code.
View 1 Replies
View Related
Sep 11, 2012
I develop live wallpapers using Opengl ES 2.0 engine. My wallapapers run smooth on 2.x Android Devices , but in 4.03 i see some strange things. when app runs for first time everything goes fine.
But when screen orientation changes , or screen goes off and back on (that causes the renderer to call create surface again) renderer gives the glerror 1285. this error is Out of memory. Screen is flickering and draws objects as they ara doublicated in different locations.
View 1 Replies
View Related
Jul 16, 2009
I've created a simple OpenGL app and created a rendering class which implements GLSurfaceView.Renderer. All it does is draw 100 triangles (NUM_OBJECTS = 100) on the screen and move them about, bouncing off the edges. The projection is glOrtho2D and there is no z-buffer. I'm running this on a G1 with continuous redraw enabled.
Here is the onDrawFrame method:
CODE:....................
View 23 Replies
View Related
Mar 18, 2013
I have Eclipse Juno and I'm working on an app with that.
The main activity will have a scrollable menu that takes you to all the other activities.
So the general structure/outline right now:[HIGH]Relative Layout ImageView (header logo type thing) ListView (the actual scrollable menu)[/HIGH]Here's the problem though... I can't find any simple list tutorials. I can easily make a single line list work but I need to make a two line list and one that is static, not dynamic and no examples are out there for that. It's like if you want to make a 2 line list, you can only learn how to do it in the most code-heavy ridiculous way possible.
Essentially what I am looking for with the list is this: Item one: Centred, bold, non selectable title (Resources)
- Item two-??: two line list items, click-able to a new activity, title of the section on first line, description on the second line.
- Item ??: Centred, bold, non selectable title (Tools)
- Item ??-??: two line list items, click-able to a new activity, title of the section on first line, description on the second line.
Nothing dynamic that is ever going to change, no super complex wonkey calculations, just to simply have the data set in stone (preferably via XML) and to call it into the list.
I experimented with some of the other list views and no matter what I did, I could get, via editing the resources and NOT using Java, more that one item on a single line but it wouldn't format it properly according to the layout I guess because I haven't got the ID correct or whatever I don't know.
I mean, all the examples I've seen for a 2 line list are extraordinarily over-coded and just bloated. I mean I have a website I am still working on in C#/ASP.net that has far more complex things in it with half the code that I've seen for the examples of the two line lists.
I tried on my own to figure it out (I am decent with C# and vaguely familiar with Java, self taught, and programming for some other systems like Python, again all self-taught), but like ALL coding references, they're organised by the actual code you implement (that you don't know) instead of by what you want it to do (so you have to search the whole code base to find something that you don't know what it's called but know what it does). >:C
View 10 Replies
View Related
Oct 18, 2010
I've been working on this and searching for a few days now and this is how far I got.
I can send and receive email through Exchange and I can see emails in my Inbox, the problem is I never keep any emails in my inbox, they always go into separate folders and those ones I can't see. I can see and switch to the different folders but there appears to be nothing in them.
I'm using Samsung Email simply because it came on the phone and seems to be able to do gmail, hotmail and exchange all in one.
Android 2.1, unrooted. Anyone come across this issue or have any ideas?
View 11 Replies
View Related
Jun 14, 2010
Just got my HTC Desire and one of the things I'm really struggling with is threaded SMS. I can't find any way to go to regular view in the stock SMS program! That would be an unbelievable omission if it's not possible to use SMS in a normal fashion
It basically means my SMS inbox groups SMS by contact and each conversation has about 20 SMS in threads already and I've only been using it for a few days. I can see that ending up being in the hundreds within a couple of months. It also means you need many more screen taps to view the message you want to find. I can't find a way to view all the messages I've sent either, I have to go through each conversation................
View 8 Replies
View Related
Sep 26, 2010
I am requesting information from a web service in my android app. The web service returns a list of items, each item having a base64 image and some info
First method: simply access the web service and get the result. This means freeze of UI until data is downloaded. Not a good solution
Second method: put the data download in a thread, and display a progress bar with a message.
private void StartGettingData()
{
viewInfo = new Runnable(){
public void run() {
getData(); //from the web service.......................
View 1 Replies
View Related