I want to pass two values to another activity can I do this with putExtra or do I have to do it a more complicated way, which it seems from my reading. E.g.. can something l
Your example won't work, since the Extras are made out of a Key and a Value. You cant put multiple Keys and Values in one Extra
Also, your keys need to be Strings as far as I know (and noticed) but I might be wrong on that one.
Try this:
public final static String ID_EXTRA="com.fnesse.beachguide._ID";
Intent i = new Intent(this, CoastList.class);
i.putExtra("ID_Extra", ID_EXTRA);
i.putExtra("1", 111);
startActivity(i);