1.5 Example GLSurfaceViewActivity.java fails after stop/resume

by SChaser » Sun, 13 Sep 2009 06:09:45 GMT


Sponsored Links
 I am having trouble with the example for use of GLSurfaceView (see
 http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/GLSurfaceViewActivity.html 
).

I created a normal Android project in the Eclipse IDE, added the
GLSurfaceViewActivity class and related from the sample directory, set
the activity to GLSurfaceViewActivity, and ran it on the emulator.

It worked. Then I hit the home button, launched another app, hit home
again, and launched my test app again. This time, I got a blank screen
(with now exceptions thrown in logcat);.

Any ideas?

I was motivated to try this example because if have been having the
same trouble with my own app - discussed
iat



1.5 Example GLSurfaceViewActivity.java fails after stop/resume

by SChaser » Sun, 13 Sep 2009 06:24:59 GMT


 I take it back! Now it works (but my app doesn't - it has a big
difference - see the discussion at


Sponsored Links


Other Threads

1. Touch Calibration problem in the latest codebase

Dear All
In the latest open source, the InputDevice.java has been modified a
lot.
And I cannot have a touch calibration successfully after
"ts_calibrate".

Following is the formula

if (device.tInfo != null){ //system/etc/pointercal exist!!
       reportData[j + MotionEvent.SAMPLE_X] = (device.tInfo.x1 * ??? +
 
device.tInfo.y1 * ??? +
 
device.tInfo.z1) / device.tInfo.s;
}else
   reportData[j + MotionEvent.SAMPLE_X] =
                            ((reportData[j + MotionEvent.SAMPLE_X]-
absX.minValue)
                                / absX.range) * w;

Which parameter should be assigned for "???" ? I've tried reportData[j
+ MotionEvent.SAMPLE_X]  and reportData[j + MotionEvent.SAMPLE_Y]  but
still unable to work.

BR
John

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Failed to install Plugin in Eclipse 3.4

Hi all,

I'm a bit of a newbie when it comes to both Java and Eclipse. When
installing the Android plugin I get the following error message. Any
ideas how I might go about solving this?

Thanks in advance

Andy

===========================ERROR
MESSAGE===============================

Cannot complete the request.  See the details.
Unsatisfied dependency: [com.adobe.flexbuilder.debug.e32 3.0.214193]
required
Capability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
Cannot find a solution where both Match[requiredCapability:
osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] and Match
[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.4.0,4.0.0)]
can be satisfied.
Cannot find a solution where both Match[requiredCapability:
osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] and Match
[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.4.0,4.0.0)]
can be satisfied.
Cannot find a solution where both Match[requiredCapability:
osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] and Match
[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.4.0,4.0.0)]
can be satisfied.
Cannot find a solution where both Match[requiredCapability:
osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] and Match
[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.4.0,4.0.0)]
can be satisfied.
Cannot find a solution where both Match[requiredCapability:
osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] and Match
[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.4.0,4.0.0)]
can be satisfied.
Unsatisfied dependency: [org.eclipse.cvs.feature.group
1.1.0.v20080603-7C79E8M9EI99m9c9S] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/
[3.3.0,4.0.0)
Unsatisfied dependency: [org.eclipse.jdt.feature.group
3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/
[3.4.0,4.0.0)
Unsatisfied dependency: [org.eclipse.rcp.feature.group
3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/
[3.4.0.I20080606-1300,3.4.0.I20080606-1300]
Unsatisfied dependency: [org.eclipse.sdk.ide 3.4.0.I20080617-2000]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.sdk.feature.group/[3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-
d5M8NdvuPgDrH17jw0Mvhe,3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-
d5M8NdvuPgDrH17jw0Mvhe]
Unsatisfied dependency: [com.adobe.flexbuilder.debug.e32 3.0.214193]
requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
Unsatisfied dependency:
[com.adobe.flexbuilder.feature.core.feature.group 3.0.214193]
requiredCapability: org.eclipse.equinox.p2.iu/
com.adobe.flexbuilder.debug.e32/[3.0.214193,3.0.214193]
Unsatisfied dependency: [org.eclipse.pde.feature.group
3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/
[3.0.0,4.0.0)
Unsatisfied dependency: [org.eclipse.pde.feature.group
3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.jdt.feature.group/[3.0.0,4.0.0)
Unsatisfied dependency:
[com.adobe.flexbuilder.feature.core.nl1.feature.group 3.0.214193]
requiredCapability: org.eclipse.equinox.p2.iu/
com.adobe.flexbuilder.feature.core.feature.group/
[3.0.214193,3.0.214193]
Unsatisfied dependency: [org.eclipse.platform.feature.group
3.4.0.v20080610-9I96EhtEm-T_5LxIsybz-3MdGZmOA3uwv7Ka_M]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.help.feature.group/
[1.0.0.v20080603-7r7xEHJEJkZu5nE6Q4Qrtvu6JZ9L,
1.0.0.v20080603-7r7xEHJEJkZu5nE6Q4Qrtvu6JZ9L]
Unsatisfied dependency: [org.eclipse.help.feature.group
1.0.0.v20080603-7r7xEHJEJkZu5nE6Q4Qrtvu6JZ9L] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.rcp.feature.group/
[3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB,3.4.0.v20080324a-989JERhEk-
jWnd5IY8K5tjxB]
Unsatisfied dependency: [org.eclipse.sdk.feature.group
3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.cvs.feature.group/[1.1.0.v20080603-7C79E8M9EI99m9c9S,
1.1.0.v20080603-7C79E8M9EI99m9c9S]
Unsatisfied dependency: [org.eclipse.sdk.feature.group
3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.platform.feature.group/[3.4.0.v20080610-9I96EhtEm-
T_5LxIsybz-3MdGZmOA3uwv7Ka_M,3.4.0.v20080610-9I96EhtEm-
T_5LxIsybz-3MdGZmOA3uwv7Ka_M]
Unsatisfied dependency: [org.eclipse.sdk.feature.group
3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.pde.feature.group/[3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC,
3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC]
Unsatisfied dependency: [org.eclipse.sdk.feature.group
3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe]
requiredCapability: org.eclipse.equinox.p2.iu/
org.eclipse.jdt.feature.group/
[3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq,
3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq]

--

3. droidappz.org

4. how to call context menu

5. Turns your Win7 into WiFi Hotspo

6. My game force closes when calling a class i made..

7. Notepad tutorial (v3) problems when adding a new note and rotating the screen