How to execute a HttpRequest of type HttpRequestMode.Post

So I rebuild sugar.data, opened SampleAndroidAppFire,
fixed the projitems reference (which was hardcoded),
fixed the sugar reference,
ran a matching android virtual machine.
Ran the android app.

Noticed the security exception and added:

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Then I finally got an:

  •   error	{java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[]}	java.lang.Exception
    

and the other one.

Just pull latest sugar and it’s fixed.

1 Like