Android :: GL DEBUG_CHECK_GL_ERROR Throwing UnsupportedOperationExceptions For Things That Work

Sep 12, 2009

I turned on DEBUG_CHECK_GL_ERROR for my GLSurfaceView to try to figure out why I'm having a problem on pause/ resume/reload everything, and when I turned it on, I got an UnsupportedOperationException when calling GL11.glGenBuffers() (for creating Vertex Buffer Objects).

Why is it saying that operation is unsupported when:

1) The vertex_buffer_object extension is listed on the target device and my code checks for it before trying to use VBOs.

2) VBOs are working correctly (and really well might I add).

This is on a G1. Yes, I know the G1 is only OpenGL ES 1.0 compliant and I'm trying to use a 1.1 extension, but if the phone lists the extension, doesn't that mean I can use it? Also - the extension works! Does this mean that it works but use-at-your-own-risk, kinda like how SoundPool was in Android 1.0?

Android :: GL DEBUG_CHECK_GL_ERROR throwing UnsupportedOperationExceptions for things that work


HTC Incredible :: Nandroid Not Restoring Some Things / Get It To Work?

Jul 11, 2010

I tried Sky Raider's rom last night and i did a nandroid backup beforehand, then used titanium to restore all my apps + data

well one hour later i decide to go back to my nandroid backup, theres apps missing and titanium backup fails to restore them? Nandroid is supposed to make it exactly as it was before no?

View 13 Replies View Related

Android :: Xml Throwing NullPointer Exception

Nov 20, 2010

Why the following xml file should throw NullPointer exception? If I remove all reference to the array hrs_to_wait_values it is ok.

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

View 1 Replies View Related

Android :: SQLite Query Throwing Exception

Jul 29, 2010

Im trying to get an object form my SQLite database in my Android application. I know that the contact is in the database because when I add it and try finding by ID, it returns the object. When I try finding by first and last name, though, it throws an exception and Im left with a null reference.

Here is the query:

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

Ive also tried to find just by first name and just by last name. Same result as above.

The exception is an SQLite exception

no such column: aurelius: , while compiling: SELECT _id, last_name, first_name,
email_address, organization_name, label, label_position FROM contacts WHERE
first_name=marcus AND last_name=aurelius

And also happens when trying to select just first or last name

no such column: marcus: , while compiling: SELECT _id, last_name, first_name,
email_address, organization_name, label, label_position FROM contacts WHERE
first_name=marcus

View 1 Replies View Related

Android :: Throwing / Simulating Key Strokes Pragmatically

Sep 15, 2010

I want to simulate a KEY_UP press on my phone.. but pragmatically can someone tell me the code of a function that can do this? i found some functions searching on www.google.com but all of them are obsolete.

View 2 Replies View Related

Android :: GestureOverlayView Throwing Exception When Used With Linkify

May 28, 2010

I have a GestureOverlayView over the top of a TextView. The TextView has Linkify.addLinks(tv, Linkify.ALL) called on it.

If you click on an URL in the TextView the following exception is thrown Running 2.2 (apparently a pre-release version)

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

View 5 Replies View Related

Android :: Custom MapView Throwing NoSuchMethodException?

Sep 10, 2010

I'm trying to implement a custom MapView. Inside my MapActivity (named mainmap) I have an inner class which extends MapView:

CODE:........

I have my main.xml formatted to find the inner class like so:

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

Also, in Androidmanifest.xml, I have the appropriate <uses-library android:name="com.google.android.maps"/> entry.

When I try to run my app, I get (amongst other things) in logcat:

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

This is caused by this entry I find in logcat:

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

If I understand correctly, my app is crashing because Android is saying it doesn't find the appropriate constructor for my custom MapView (the Lmapview class). As you can see above, however, it is defined and it matches the signature it is looking for.

View 1 Replies View Related

Android :: FindViewById In A Subclassed SurfaceView Throwing RuntimeException

Oct 9, 2010

This code works fine if I move the findViewById call in to the Activity. Any hints as to why it doesn't work from inside the LearningView class? I've tried moving the TextView inside the com.example.LearningView tag but no joy. I'd prefer to get the TextView from within the SurfaceView subclass as I feel it's more logical to treat the TV as a "child" of the SV.

This is a contrived example I wrote to figure out the problem in a larger application, but the gist of it is the same, and the stack trace is basically the same.

For what it is worth, the findViewById call is returning null, which obviously threw NullPointerExceptions in some attempts to fix this.

As you can probably gather from my attempts I'm flying blind on this one.

Learning.java:

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

main.xml:

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

Stack trace:

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

View 1 Replies View Related

Android :: HttpClient Redirecting To URL With Spaces Throwing Exception

Aug 6, 2010

I am accessing a URL that's redirecting me to a URL with spaces in it. (Using HttpClient 4.x) How do I prevent this from throwing an error (replacing the spaces with %20 not +)

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

View 3 Replies View Related

Android :: Calling Get JSONArray Throwing Exception With No Stack Trace

Apr 7, 2010

I'm currently working on an android app that pulls a list of forums from a JSON feed. I'm trying to parse the feed and immediately upon calling getJSONArray a JSON exception is being thrown with no stack trace. The JSON being returned is stored in an JSONObject jobj with the format as follows: However when running the following code, I get an immediate exception without a stack trace: Code...

View 1 Replies View Related

Android :: TextView With URL Throwing Exception When Finish() Called In OnResume()

Apr 6, 2010

I created a TextView and put an url to it, using setText(Html.fromHtml("");. Its opening the web page in the built-in browser and when I press back, its coming back to the application.

I don't want to come back to the application, so in activity's onResume(), I call finish(). Its exiting at the first time. But when I open the application again, its throwing some exception.

Any other way to close the application, other than this way.

View 2 Replies View Related

Android : Spinner Throwing A Null Pointer Exception Failed

Aug 27, 2010

I'm having trouble with a spiner throwing a nullPointerExpression I'm sure I'm missing something stupid? Code...

View 2 Replies View Related

Android :: MotionEvent ACTION_DOWN Throwing Security Exception For INJECT_EVENT Permission

Jan 25, 2010

I have added this line in my androidManifest.xml <uses-permission android:name="android.permission.INJECT_EVENT"/>

I am trying to execute following code:

CODE:........

Both above lines are throwing exception W/System.err(762): java.lang.SecurityException: Injecting to another application requires INJECT_EVENT permission.

Do we need anything else too to get it working ?

View 4 Replies View Related

HTC Incredible :: Throwing A Web Page From Phone To PC?

Jun 29, 2010

I have noticed that there is a thread on tips for getting web pages from a PC to the phone for viewing ((How to) get a web page from computer to phone. - Android Forums). I don't have a problem with this and I use the qr code extension method with Firefox. What I would like to know is if anyone has come up with an equally simple & quick way to throw a web page found on the phone to their PC? I know of some ways to do it..I'm looking for the most time efficient/easy way to do it.

View 8 Replies View Related

Android :: New Things In 2.1

Jun 6, 2010

what are the new things in android 2.1?

View 7 Replies View Related

Android :: Digicert Signed Https Certificate Throwing SSLException (Not Trusted Server Certificate)

Jan 25, 2010

Anyone else experiencing this problem or know of a solution? I have a Digicert signed https certificate that is throwing an SSLException (Not trusted server certificate). This doesn't make any sense as Digicert is a recognized certificate authority. I can connect to my https url without a problem via IE, Firefox, and Safari so they appear to have no issue with the certificate. Here's the code I'm using. Very simple stuff......................

View 3 Replies View Related

Android :: Java Socket Not Throwing Exceptions On Dead Socket?

Jun 29, 2010

We have a simple client server architecture between our mobile device and our server both written in Java. An extremely simple ServerSocket and Socket implementation. However one problem is that when the client terminates abruptly (without closing the socket properly) the server does not know that it is disconnected. Furthermore, the server can continue to write to this socket without getting any exceptions. Why? According to documentation Java sockets should throw exceptions if you try to write to a socket that is not reachable on the other end!

View 5 Replies View Related

Android :: Adobe Air - What Things Use It?

Jul 5, 2010

So now that it's out and taking up 22 megs on my phone. What things use it?

View 4 Replies View Related

Android :: Things Devices Are Still Lacking

Aug 2, 2010

I'm new here and I want to start things out by asking you guys about certain things Android is lacking. As many of you know, the OS is only a year old but is rapidly evolving. I don't own an Android device yet (I currently have the HTC HD2). I'm waiting for Android to grow considerably bigger so I won't have to worry about future upgrades. Android is an awesome OS and a lot of devices carrying the OS is very good, but I feel there are some things is still lacking. In your opinions, what are the things still lacking? I can only think of one (only because my brain is dried out from work): full flash support. I guess you can also add: more memory but this is more of a micro-SD card issue instead of Android.

View 17 Replies View Related

Android :: Platform For Developing All Things Google

Jul 13, 2009

I am interested in developing things for google apps and android using python and java. I am new to both and was wondering if a environment set in windows or linux would be more productive for these tasks?

View 4 Replies View Related

Android :: ProgressDialog Progress Bar Doing Things In The Right Order

Apr 7, 2010

I just about got this, but I have a small problem in the order of things going off.
Specifically, in my thread() I am setting up an array that is used by a Spinner. Problem is the Spinner is all set and done basically before my thread() is finished, so it sets itself up with a null array.

How do I associate the spinners ArrayAdapter with an array that is being loaded by another thread?

I've cut the code down to what I think is necessary to understand the problem, but just let me know if more is needed. The problem occurs whether or not refreshData() is called.

Along the same lines, sometimes I want to call loadData() from the menu. Directly following loadData() if I try to fire a toast on the next line this causes a forceclose, which is also because of how I'm implementing ProgressDialog.

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

I tried changing onCreate() to the following after Jims suggestion.

Not sure if I did this right, still doesn't work:

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

View 5 Replies View Related

Android :: How To Show Things Directly To Screen?

Oct 4, 2010

I was wandering is there a way to show a stream or a pic to the screen directly even without the manifest? Or how do I load resources files without using the manifest on the Android platform?

View 1 Replies View Related

Android :: Can't Do Simple Unix Things On Device

May 27, 2010

I have a smartQ V5 device running Android ( 1.6, I think)I can not do simple unix things (find, more, ... ) on this device.they are not there. Do I aomehow downlooad them? apt-get is not there either; is there an alternative?

View 1 Replies View Related

Android :: Need App To Stop Things Starting Up All Time On Phone

Aug 10, 2010

Is there any app that will allow me to stop things starting up all the time on my desire. something that maybe i can block apps starting up unless i want them to.

View 1 Replies View Related

HTC EVO 4G :: What Are Your Favourite Things About The EVO?

Jun 29, 2010

Forums have a tendency of becoming cesspools of dissatisfaction. I would love to hear what everyone likes about their "superphone".

View 23 Replies View Related

HTC Desire :: How To Put Things Onto Phone?

Jul 22, 2010

To get pictures/music/apps onto your phone from your PC and avoid having to use a USB cable, an easy method is to install dropbox from the marketplace and install on your computer. You can then easily place any file into the dropbox on your computer and it will automatically sync. A great feature of the android dropbox is that is allows instalation of .apk files as well, saving time all round. Thought I'd pass on this bit of advice here as i found it to be very useful. If your looking to register with dropbox, follow the link below.

View 8 Replies View Related

HTC EVO 4G :: Access SD Card To Put Things On It And Get Them Off As Well?

Jun 4, 2010

Know this sounds crazy but how do you access your SD card to put things on it and get things off as well? I already did the pta update that was pushed out.

View 1 Replies View Related

HTC Hero : How Can I Put Things On SD Card?

Jan 20, 2010

I'm new to the HTC Hero and am very confused. 1. How can i put things on my SD card ? 2. I cannot download apps, its just says "starting download" but never does?

View 2 Replies View Related

HTC Incredible :: Better Keyboard Doing Weird Things

Aug 7, 2010

so ive been using better keyboard since I had my Eris..I just noticed it started to do something annoying that it did on the Eris..and it just came out of nowhere. when I'm typing a text, ill type my first letter, hit space, and then for ni reason at all it switches to the 123 number symbol view...for no reason. its so annoying. any ideas?

View 1 Replies View Related

Motorola Droid :: Set Different Ringtones For Different Things?

Nov 7, 2009

I have searched and can't find this for the Droid.Can you set different ringtones for different things?I want a different tone for email then sms and and notifications? I'm sure there's an app out there I just don't know which one!

View 26 Replies View Related







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