Project

General

Profile

« Previous | Next » 

Revision 46be3ddf

Added by Leszek Koltunski over 2 years ago

progress with the Updates: download the jsons.

View differences:

src/main/java/org/distorted/network/RubikUpdates.java
19 19

  
20 20
package org.distorted.network;
21 21

  
22
import java.io.InputStream;
22 23
import java.util.ArrayList;
23 24
import android.graphics.Bitmap;
24 25
import org.distorted.objects.RubikObjectList;
......
39 40
    public final boolean mUpdateObject;
40 41
    public final boolean mUpdateExtras;
41 42
    public Bitmap mIcon;
43
    public InputStream mObjectStream;
44
    public InputStream mExtrasStream;
42 45

  
43 46
    public UpdateInfo(String shortName, String longName, String description, int objectMinor,
44 47
                      int extrasMinor, int percent, int iconPresent, boolean updateO, boolean updateE)
......
237 240
    return info!=null ? mUrl + info.mObjectShortName + ".png" : null;
238 241
    }
239 242

  
243
///////////////////////////////////////////////////////////////////////////////////////////////////
244

  
245
  public String getURL()
246
    {
247
    return mUrl;
248
    }
249

  
240 250
///////////////////////////////////////////////////////////////////////////////////////////////////
241 251

  
242 252
  public void setCompletedIcon(int ordinal, Bitmap icon)

Also available in: Unified diff