cupcake 1.5 r1 surfaceCreated is not called!!!

by ad » Tue, 28 Apr 2009 19:58:30 GMT

Sponsored Links
 I've created game,
everything works fine on all previous android versions except current
cupcake 1.5.
It works even on cupcake pre release.I'm using exact the same
build.xml, sources and resources.
The problem is that surfaceCreated is not called :
                SurfaceHolder mSurfaceHolder = getHolder();

                waitForScreen(); - here I untill surfaceCreated change variable 
it's ready,but it's never called.
I just can explain that I'm running SurfaceView activity after
stopping regular View activity (for the game menu - it was easier to
create it).

 Please help me if you can figure out something. I'm just a developer
not a Android engine tester. If they are putting such stuff to the
market they should test it a little bit (not talking about discovered
VM crashes instead of exceptions).



Other Threads

1. Problems with NotificationManager

In my app I use several different notifications, which require
different actions. By default the notification manager loads the main
activity, when users select a notification. How can I change that so
different notifications prompt different actions. I've been studying
the related APIs, however, could not find a way of detecting which
notification a user has selected. Any thoughts?

2. Problems with ksoap2 and BasicAuth


at the moment i have the following problem. I try to establish a
connect to a SOAP-service. Therefore i need basicauth via http. I use
ksoap2 and HttpTransportBasicAuth.
The problem is, I do not know how i can start a call when i use
HttpTransportBasicAuth becouse the function "call" is not available.

     private static final String SOAP_ACTION = "getVessels";
     private static final String METHOD_NAME = "getVessels";
     private static final String NAMESPACE = "";
     private static final String URL = "

     void test() {
         try {

             HttpTransportSE androidHttpTransport = new HttpTransportSE
             androidHttpTransport.debug = true;

          SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
             request.addProperty("query", "aida");

             SoapSerializationEnvelope envelope = new

      , envelope);

             Object result = envelope.getResponse();

             //handle result here

         } catch (Exception e) {

i hope someone can help me.


3. NetCounter v0.6

4. How do I get Current GPS Location?

5. SOAP with ksoap2: BasicAuth-Problems

6. How to Show One tab at a time on the screen.

7. Android developer Needed urgently