Skip to content

Instantly share code, notes, and snippets.

{
"ScreenSaver":{
"screensaver" :
{
"sequence" :
[
"http://www.vipmobile.rs/upload/ss/1.jpg",
"http://www.vipmobile.rs/upload/ss/2.jpg",
"http://www.vipmobile.rs/upload/ss/3.jpg"
{
"ScreenSaver":{
"screensaver" :
{
"sequence" :
[
"http://www.vipmobile.rs/upload/ss/1.jpg",
"http://www.vipmobile.rs/upload/ss/2.jpg",
"http://www.vipmobile.rs/upload/ss/3.jpg"
{
"setServiceStatusResponse": {
"CmdStatus": {
"status": 1
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/content_placeholder"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
{
"getFreeUnitsResponse": {
"FreeUnit": [
{
"FreeUnits": {
"freeUnitType": "FreeSmsMms",
"totalAmount": 20,
"usedAmount": 0,
"leftAmount": 20
}
nije dobar:
{
"getFreeUnitsResponse": {
"FreeUnit": {
"FreeUnits": {
"freeUnitType": "FreeSmsMms",
"totalAmount": 20,
"usedAmount": 0,
"leftAmount": 20
{
"getFreeUnitsResponse": {
"FreeUnit":
{
"FreeUnits": [
{
"freeUnitType": "FreeSmsMms",
"totalAmount": 20,
"usedAmount": 0,
"leftAmount": 20
private void callDownloadOptionsAndPackagesData() {
ServiceInfoSource source = Sources.getServiceInfoSource(getActivity());
ServiceInfoParams params = new ServiceInfoParams();
params.setMsisdn(CurrentUser.getInstance(getActivity()).getMSISDN());
//Ovo ovisno o tome je li "normalan" ili "hibridni" mozda
params.setServiceId(48);
source.setParams(params);
{
"getVipmeTariffChangeAmountResponse": {
"Amount": 0
}
}
trenutni oblik:
"address":null
nama treba:
"address":[]