...
Code Block | ||
---|---|---|
| ||
SpringMobile spring = new ("app","TestApp",getApplicationContext()); spring.setTimeout(30); // in seconds |
Note: Starting from Android 3.0
...
Since Android 3.0 network accesses are not allowed from the main thread anymore. . Thus, the Spring.commit () method must be called in different thread.
...