Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI am not sure what you mean here. Firstly the activity is called `SandS.Geo.Cal.Menu` because I wanted it named that; I have changed it to `SandS.Geo.Cal.StevesToolsMenu`, to prevent clashing with the `View.Menu`. Secondly, if you take any time at all to look you will see that the second parameter of my Intent constructor IS `Menu.class` (now `StevesToolsMenu.class`).
      singulars
    2. CO@steve.watson128: "Secondly, if you take any time at all to look you will see that the second parameter of my Intent constructor IS Menu.class" -- I *did* take the time to look. You, however, apparently did not. Your error message was `Unable to find explicit activity class {SandS.Geo.Cal/android.view.Menu}`. Notice the reference to `android.view.Menu`. That is because you were trying to start `android.view.Menu` as an activity, because your `Menu.class` reference was resolving to `android.view.Menu`, because you were importing `android.view.Menu` and not your own `Menu` class.
      singulars
    3. CO@steve.watson128: With regards to your new error, `MapViews can only be created inside instances of MapActivity` is a fairly straightforward error message. Android thinks that line #17 of whatever layout you are inflating references `MapView` and that your `StevesToolMenu` is not a `MapActivity`. If you are fairly certain that your layout does not reference `MapView`, try cleaning the project (Project > Clean in Eclipse or `ant clean` for command-line development), as occasionally Android's resource ID references get out of sync.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload