game.multiplayer = bundle.getString("multiplayer" ,null);   is giving the error:
java.lang.NoSuchMethodError: android.os.Bundle.getString   Other methods like
 game.word.word = bundle.getStringArray("word");   work fine.
Anyone any idea?
getString(key, defValue) was added in API 12. Use getString(key), as this will return null if the key doesn't exist.
Just use this function:
public static String getStringFromBundle(Bundle bundle, String key, String defaultValue){     if (Build.VERSION.SDK_INT < 12){         String returns = bundle.getString(key);         if(returns==null) returns = defaultValue;          return returns;     } else         return bundle.getString(key, defaultValue); } 
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With