Java Code Examples for android.os.Parcel.createStringArray()

The following are Jave code examples for showing how to use createStringArray() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: Nyris.IMX.Android   File: Offer.java   View Source Code Vote up 6 votes
protected Offer(Parcel in) {
    title = in.readString();
    description = in.readString();
    descriptionLong = in.readString();
    language = in.readString();
    brand = in.readString();
    catalogNumbers = in.createFloatArray();
    customIds = in.readParcelable(CustomIds.class.getClassLoader());
    keywords = in.createStringArray();
    categories = in.createStringArray();
    availability = in.readString();
    groupId = in.readString();
    price = in.readString();
    salePrice = in.readString();
    links = in.readParcelable(Links.class.getClassLoader());
    images = in.createStringArray();
    metadata = in.readString();
    sku = in.readString();
    score = in.readFloat();
}
 
Example 2
Project: 12306_Android   File: QueryParam.java   View Source Code Vote up 6 votes
@Override
public QueryParam createFromParcel(Parcel source) {
    QueryParam queryParam = new QueryParam();
    queryParam.url = source.readString();
    queryParam.from_station_code = source.readString();
    queryParam.to_station_code = source.readString();
    queryParam.from_station = source.readString();
    queryParam.to_station = source.readString();
    queryParam.train_code = source.readString();
    queryParam.train_date = source.readString();
    queryParam.back_train_date = source.readString();
    queryParam.purpose_codes = source.readString();
    queryParam.seats = source.createStringArray();
    queryParam.date2 = source.createStringArray();
    queryParam.passenger = source.readString();
    return queryParam;
}
 
Example 3
Project: Pocket-Plays-for-Twitch   File: StreamInfo.java   View Source Code Vote up 6 votes
public StreamInfo(Parcel in) {
	String[] stringsData = in.createStringArray();
	int[] intData = in.createIntArray();

	if (stringsData.length == 2) {
		this.game = stringsData[0];
		this.title = stringsData[1];
	}

	if (intData.length == 2) {
		this.currentViewers = intData[0];
		this.priority = intData[1];
	}

	this.startedAt = in.readLong();
	this.previews =in.createStringArray();
	this.channelInfo = in.readParcelable(StreamInfo.class.getClassLoader());
}
 
Example 4
Project: mobile-store   File: Apk.java   View Source Code Vote up 5 votes
protected Apk(Parcel in) {
    this.packageName = in.readString();
    this.versionName = in.readString();
    this.versionCode = in.readInt();
    this.size = in.readInt();
    this.repoId = in.readLong();
    this.hash = in.readString();
    this.hashType = in.readString();
    this.minSdkVersion = in.readInt();
    this.targetSdkVersion = in.readInt();
    this.maxSdkVersion = in.readInt();
    this.obbMainFile = in.readString();
    this.obbMainFileSha256 = in.readString();
    this.obbPatchFile = in.readString();
    this.obbPatchFileSha256 = in.readString();
    long tmpAdded = in.readLong();
    this.added = tmpAdded == -1 ? null : new Date(tmpAdded);
    this.requestedPermissions = in.createStringArray();
    this.features = in.createStringArray();
    this.nativecode = in.createStringArray();
    this.sig = in.readString();
    this.compatible = in.readByte() != 0;
    this.apkName = in.readString();
    this.installedFile = (SanitizedFile) in.readSerializable();
    this.srcname = in.readString();
    this.repoVersion = in.readInt();
    this.repoAddress = in.readString();
    this.incompatibleReasons = in.createStringArray();
    this.antiFeatures = in.createStringArray();
    this.appId = in.readLong();
}
 
Example 5
Project: container   File: SessionParams.java   View Source Code Vote up 5 votes
protected SessionParams(Parcel in) {
    this.mode = in.readInt();
    this.installFlags = in.readInt();
    this.installLocation = in.readInt();
    this.sizeBytes = in.readLong();
    this.appPackageName = in.readString();
    this.appIcon = in.readParcelable(Bitmap.class.getClassLoader());
    this.appLabel = in.readString();
    this.appIconLastModified = in.readLong();
    this.originatingUri = in.readParcelable(Uri.class.getClassLoader());
    this.referrerUri = in.readParcelable(Uri.class.getClassLoader());
    this.abiOverride = in.readString();
    this.volumeUuid = in.readString();
    this.grantedRuntimePermissions = in.createStringArray();
}
 
Example 6
Project: TPlayer   File: SessionParams.java   View Source Code Vote up 5 votes
protected SessionParams(Parcel in) {
    this.mode = in.readInt();
    this.installFlags = in.readInt();
    this.installLocation = in.readInt();
    this.sizeBytes = in.readLong();
    this.appPackageName = in.readString();
    this.appIcon = in.readParcelable(Bitmap.class.getClassLoader());
    this.appLabel = in.readString();
    this.appIconLastModified = in.readLong();
    this.originatingUri = in.readParcelable(Uri.class.getClassLoader());
    this.referrerUri = in.readParcelable(Uri.class.getClassLoader());
    this.abiOverride = in.readString();
    this.volumeUuid = in.readString();
    this.grantedRuntimePermissions = in.createStringArray();
}
 
Example 7
Project: FontProvider   File: FontInfo.java   View Source Code Vote up 5 votes
private FontInfo(Parcel in) {
    this.name = in.readString();
    this.variant = in.readString();
    this.language = in.createStringArray();
    this.ttc_index = in.createIntArray();
    this.size = in.readString();
    this.preview_text = in.createStringArray();
    this.url_prefix = in.readString();
    this.style = in.createTypedArray(Style.CREATOR);
}
 
Example 8
Project: Personal-Chef   File: Recipe.java   View Source Code Vote up 5 votes
protected Recipe(Parcel in) {
    name = in.readString();
    img = in.readString();
    desc = in.readString();
    category = in.readString();
    cusine = in.readString();
    ingridient = in.createStringArray();
    rating = in.readInt();
    url = in.readString();
   // nutrition = in.readTypedObject(Nutrition);
}
 
Example 9
Project: Exoplayer2Radio   File: ChapterTocFrame.java   View Source Code Vote up 5 votes
ChapterTocFrame(Parcel in) {
  super(ID);
  this.elementId = in.readString();
  this.isRoot = in.readByte() != 0;
  this.isOrdered = in.readByte() != 0;
  this.children = in.createStringArray();
  int subFrameCount = in.readInt();
  subFrames = new Id3Frame[subFrameCount];
  for (int i = 0; i < subFrameCount; i++) {
    subFrames[i] = in.readParcelable(Id3Frame.class.getClassLoader());
  }
}
 
Example 10
Project: anitrend-app   File: Relations.java   View Source Code Vote up 5 votes
protected Relations(Parcel in) {
    id = in.readInt();
    series_type = in.readString();
    title_romaji = in.readString();
    title_english = in.readString();
    title_japanese = in.readString();
    type = in.readString();
    start_date_fuzzy = in.readInt();
    end_date_fuzzy = in.readInt();
    synonyms = in.createStringArray();
    genres = in.createStringArray();
    adult = in.readByte() != 0;
    average_score = in.readDouble();
    popularity = in.readInt();
    image_url_sml = in.readString();
    image_url_med = in.readString();
    image_url_lge = in.readString();
    image_url_banner = in.readString();
    updated_at = in.readLong();
    total_chapters = in.readInt();
    total_episodes = in.readInt();
    total_volumes = in.readInt();
    airing_status = in.readString();
    publishing_status = in.readString();
    relation_type = in.readString();
    link_id = in.readInt();
}
 
Example 11
Project: data-mediator   File: ResultData.java   View Source Code Vote up 5 votes
protected ResultData(Parcel in) {
    this.intergers = new ArrayList<Integer>();
    in.readList(this.intergers, Integer.class.getClassLoader());
    this.characters = new ArrayList<Character>();
    in.readList(this.characters, Character.class.getClassLoader());
    this.intents = in.createTypedArrayList(Intent.CREATOR);
    this.testStrs = in.createStringArray();
    this.strs = in.createStringArrayList();
}
 
Example 12
Project: VirtualHook   File: SessionParams.java   View Source Code Vote up 5 votes
protected SessionParams(Parcel in) {
    this.mode = in.readInt();
    this.installFlags = in.readInt();
    this.installLocation = in.readInt();
    this.sizeBytes = in.readLong();
    this.appPackageName = in.readString();
    this.appIcon = in.readParcelable(Bitmap.class.getClassLoader());
    this.appLabel = in.readString();
    this.appIconLastModified = in.readLong();
    this.originatingUri = in.readParcelable(Uri.class.getClassLoader());
    this.referrerUri = in.readParcelable(Uri.class.getClassLoader());
    this.abiOverride = in.readString();
    this.volumeUuid = in.readString();
    this.grantedRuntimePermissions = in.createStringArray();
}
 
Example 13
Project: mobile-store   File: App.java   View Source Code Vote up 4 votes
protected App(Parcel in) {
    this.compatible = in.readByte() != 0;
    this.packageName = in.readString();
    this.name = in.readString();
    this.repoId = in.readLong();
    this.summary = in.readString();
    this.icon = in.readString();
    this.description = in.readString();
    this.whatsNew = in.readString();
    this.license = in.readString();
    this.authorName = in.readString();
    this.authorEmail = in.readString();
    this.webSite = in.readString();
    this.issueTracker = in.readString();
    this.sourceCode = in.readString();
    this.video = in.readString();
    this.changelog = in.readString();
    this.donate = in.readString();
    this.bitcoin = in.readString();
    this.litecoin = in.readString();
    this.flattrID = in.readString();
    this.preferredSigner = in.readString();
    this.upstreamVersionName = in.readString();
    this.upstreamVersionCode = in.readInt();
    this.suggestedVersionName = in.readString();
    this.suggestedVersionCode = in.readInt();
    long tmpAdded = in.readLong();
    this.added = tmpAdded == -1 ? null : new Date(tmpAdded);
    long tmpLastUpdated = in.readLong();
    this.lastUpdated = tmpLastUpdated == -1 ? null : new Date(tmpLastUpdated);
    this.categories = in.createStringArray();
    this.antiFeatures = in.createStringArray();
    this.requirements = in.createStringArray();
    this.iconUrl = in.readString();
    this.iconUrlLarge = in.readString();
    this.featureGraphic = in.readString();
    this.promoGraphic = in.readString();
    this.tvBanner = in.readString();
    this.phoneScreenshots = in.createStringArray();
    this.sevenInchScreenshots = in.createStringArray();
    this.tenInchScreenshots = in.createStringArray();
    this.tvScreenshots = in.createStringArray();
    this.wearScreenshots = in.createStringArray();
    this.isApk = in.readByte() != 0;
    this.installedVersionName = in.readString();
    this.installedVersionCode = in.readInt();
    this.installedApk = in.readParcelable(Apk.class.getClassLoader());
    this.installedSig = in.readString();
    this.id = in.readLong();
}
 
Example 14
Project: AgentWeb   File: DefaultMsgConfig.java   View Source Code Vote up 4 votes
protected FileUploadMsgConfig(Parcel in) {
    medias = in.createStringArray();
    maxFileLengthLimit = in.readString();
    loading=in.readString();
}
 
Example 15
Project: AgentWebX5   File: ActionActivity.java   View Source Code Vote up 4 votes
protected Action(Parcel in) {
    permissions = in.createStringArray();
    action = in.readInt();
    fromIntention = in.readInt();
}
 
Example 16
Project: anitrend-app   File: KeyValueTemp.java   View Source Code Vote up 4 votes
protected KeyValueTemp(Parcel in) {
    values = in.createFloatArray();
    keys = in.createStringArray();
}
 
Example 17
Project: anitrend-app   File: Series.java   View Source Code Vote up 4 votes
protected Series(Parcel in) {
    id = in.readInt();
    series_type = in.readString();
    title_romaji = in.readString();
    title_english = in.readString();
    title_japanese = in.readString();
    type = in.readString();
    start_date = in.readString();
    end_date = in.readString();
    start_date_fuzzy = in.readInt();
    end_date_fuzzy = in.readInt();
    season = in.readInt();
    description = in.readString();
    synonyms = in.createStringArray();
    genres = in.createStringArray();
    adult = in.readByte() != 0;
    average_score = in.readDouble();
    popularity = in.readInt();
    favourite = in.readByte() != 0;
    image_url_sml = in.readString();
    image_url_med = in.readString();
    image_url_lge = in.readString();
    image_url_banner = in.readString();
    updated_at = in.readLong();
    list_stats = in.readParcelable(SeriesListStats.class.getClassLoader());
    total_chapters = in.readInt();
    total_volumes = in.readInt();
    publishing_status = in.readString();
    total_episodes = in.readInt();
    duration = in.readInt();
    airing_status = in.readString();
    youtube_id = in.readString();
    hashtag = in.readString();
    source = in.readString();
    characters = in.createTypedArrayList(CharacterSmall.CREATOR);
    staff = in.createTypedArrayList(StaffSmall.CREATOR);
    rankings = in.createTypedArrayList(Rank.CREATOR);
    studio = in.createTypedArrayList(StudioSmall.CREATOR);
    external_links = in.createTypedArrayList(ExternalLink.CREATOR);
    relations = in.createTypedArrayList(Relations.CREATOR);
    relations_manga = in.createTypedArrayList(Relations.CREATOR);
    relations_anime = in.createTypedArrayList(Relations.CREATOR);
    tags = in.createTypedArrayList(Tag.CREATOR);
    reviews = in.createTypedArrayList(Review.CREATOR);
    airing = in.readParcelable(Airing.class.getClassLoader());
    classification = in.readString();
    score_distribution = (HashMap<Integer, Integer>) in.readSerializable();
}
 
Example 18
Project: SugarPhotoPicker   File: ImageConfig.java   View Source Code Vote up 4 votes
protected ImageConfig(Parcel in) {
    this.minWidth = in.readInt();
    this.minHeight = in.readInt();
    this.minSize = in.readLong();
    this.mimeType = in.createStringArray();
}
 
Example 19
Project: Accessibility   File: Stat.java   View Source Code Vote up 4 votes
private Stat(Parcel in) {
    super(in);
    this.fields = in.createStringArray();
}
 
Example 20
Project: RTPermission   File: PermissionOptions.java   View Source Code Vote up 4 votes
protected PermissionOptions(Parcel in)
{
    this.permissions = in.createStringArray();
}