Android apps on Symbian phones

by d...@rk.lord » Thu, 03 Sep 2009 02:04:31 GMT


Sponsored Links
 If android apps have compatibility issue running on a Symbian
mobile,is there no api that ports it?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. NullPointer Exception error at simple application

Hello,
I'm kinda new to Android, but got some Java experience, but still got
this annoying error even before i see anything on the screen:

ERROR/AndroidRuntime(1593): Uncaught handler: thread Main exiting due
to uncaught exception
ERROR/AndroidRuntime(1593): java.lang.RuntimeException: Unable to
start activity ComponentInfo{nl.michamicha.android.androidtides/
nl.michamicha.android.androidtides.androidtides}:
java.lang.NullPointerException
ERROR/AndroidRuntime(1593):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1758)

(...)

ERROR/AndroidRuntime(1593): Caused by: java.lang.NullPointerException
ERROR/AndroidRuntime(1593):     at
nl.michamicha.android.androidtides.androidtides.onCreate(androidtides.java:
22)
ERROR/AndroidRuntime(1593):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
847)
ERROR/AndroidRuntime(1593):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1728)
ERROR/AndroidRuntime(1593):     ... 11 more


This is my code:

package nl.michamicha.android.androidtides;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class androidtides extends Activity
{

   Button searchButton, cancelButton;

   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle icicle)
   {
      super.onCreate(icicle);

      searchButton = (Button) findViewById(R.id.ok);
      cancelButton = (Button) findViewById(R.id.cancel);

      searchButton.setOnClickListener(new clicker());
      cancelButton.setOnClickListener(new clicker());

      setContentView(R.layout.search);
   }

   // -----------------------------------

   class clicker implements Button.OnClickListener
   {
      public void onClick(View v)
      {
         if (v == searchButton)
         {

         }
         if (v == cancelButton)
         {

         }
      }

   }
}

Can anyone help me with this problem??

--~--~---------~--~----~------------~-------~--~----~

2. My App screenshots

Hi all,
Here is my developed Android App screenshots.

http://water.appspot.com/

Give us your opinions.

Thanks,
Ulzii
--~--~---------~--~----~------------~-------~--~----~

3. Developer Strategy Pitfalls

4. Here is my developed Android App screenshots.

5. Check within App whether running on Android platform?

6. Regular Emulator Runs... but not my Program (got past the scrolling red bar)

7. Adding half screen view on a map