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

The following are Jave code examples for showing how to use writeStringArray() 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: easyfilemanager   File: BaseActivity.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeInt(action);
    out.writeInt(userMode);
    out.writeInt(acceptMimes.length);
    out.writeStringArray(acceptMimes);
    out.writeInt(userSortOrder);
    out.writeInt(allowMultiple ? 1 : 0);
    out.writeInt(showSize ? 1 : 0);
    out.writeInt(showFolderSize ? 1 : 0);
    out.writeInt(showThumbnail ? 1 : 0);
    out.writeInt(showHiddenFiles ? 1 : 0);
    out.writeInt(localOnly ? 1 : 0);
    out.writeInt(forceAdvanced ? 1 : 0);
    out.writeInt(showAdvanced ? 1 : 0);
    out.writeInt(rootMode ? 1 : 0);
    out.writeInt(stackTouched ? 1 : 0);
    out.writeInt(restored ? 1 : 0);
    DurableUtils.writeToParcel(out, stack);
    out.writeString(currentSearch);
    out.writeMap(dirState);
}
 
Example 2
Project: Nyris.IMX.Android   File: Offer.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(title);
    parcel.writeString(description);
    parcel.writeString(descriptionLong);
    parcel.writeString(language);
    parcel.writeString(brand);
    parcel.writeFloatArray(catalogNumbers);
    parcel.writeParcelable(customIds, i);
    parcel.writeStringArray(keywords);
    parcel.writeStringArray(categories);
    parcel.writeString(availability);
    parcel.writeString(groupId);
    parcel.writeString(price);
    parcel.writeString(salePrice);
    parcel.writeParcelable(links, i);
    parcel.writeStringArray(images);
    parcel.writeString(metadata);
    parcel.writeString(sku);
    parcel.writeFloat(score);
}
 
Example 3
Project: GitHub   File: TagGroup.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    tagCount = tags.length;
    dest.writeInt(tagCount);
    dest.writeStringArray(tags);
    dest.writeInt(checkedPosition);
    dest.writeString(input);
}
 
Example 4
Project: mobile-store   File: Apk.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.packageName);
    dest.writeString(this.versionName);
    dest.writeInt(this.versionCode);
    dest.writeInt(this.size);
    dest.writeLong(this.repoId);
    dest.writeString(this.hash);
    dest.writeString(this.hashType);
    dest.writeInt(this.minSdkVersion);
    dest.writeInt(this.targetSdkVersion);
    dest.writeInt(this.maxSdkVersion);
    dest.writeString(this.obbMainFile);
    dest.writeString(this.obbMainFileSha256);
    dest.writeString(this.obbPatchFile);
    dest.writeString(this.obbPatchFileSha256);
    dest.writeLong(this.added != null ? this.added.getTime() : -1);
    dest.writeStringArray(this.requestedPermissions);
    dest.writeStringArray(this.features);
    dest.writeStringArray(this.nativecode);
    dest.writeString(this.sig);
    dest.writeByte(this.compatible ? (byte) 1 : (byte) 0);
    dest.writeString(this.apkName);
    dest.writeSerializable(this.installedFile);
    dest.writeString(this.srcname);
    dest.writeInt(this.repoVersion);
    dest.writeString(this.repoAddress);
    dest.writeStringArray(this.incompatibleReasons);
    dest.writeStringArray(this.antiFeatures);
    dest.writeLong(this.appId);
}
 
Example 5
Project: AIMSICDL   File: SamsungMulticlientRilExecutor.java   View Source Code Vote up 5 votes
private byte[] marshallRequest(int token, String strings[]) {
    Parcel p = Parcel.obtain();
    p.writeInt(RIL_REQUEST_OEM_STRINGS);
    p.writeInt(token);
    p.writeStringArray(strings);
    byte[] res = p.marshall();
    p.recycle();
    return res;
}
 
Example 6
Project: DereHelper   File: MultiLineChooseLayout.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    tagCount = tags.length;
    dest.writeInt(tagCount);
    dest.writeStringArray(tags);
    dest.writeInt(checkedPosition);
}
 
Example 7
Project: 12306_Android   File: QueryParam.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(url);
    dest.writeString(from_station_code);
    dest.writeString(to_station_code);
    dest.writeString(from_station);
    dest.writeString(to_station);
    dest.writeString(train_code);
    dest.writeString(train_date);
    dest.writeString(back_train_date);
    dest.writeString(purpose_codes);
    dest.writeStringArray(seats);
    dest.writeStringArray(date2);
    dest.writeString(passenger);
}
 
Example 8
Project: Pocket-Plays-for-Twitch   File: ChannelInfo.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
	// Create array with values to send with intent - I think
	String[] toSend = new String[] {
			String.valueOf(this.userId),
			this.streamerName,
			this.displayName,
			this.streamDescription,
			String.valueOf(this.followers),
			String.valueOf(this.views),
			null, //this.logoURL.toString(),
			null, //this.videoBannerURL.toString(),
			null, //this.profileBannerURL.toString()
	};

	// Only send URLS with if they are not null
	if(this.logoURL != null) {
		toSend[6] = String.valueOf(this.logoURL);
	}

	if(this.videoBannerURL != null) {
		toSend[7] = String.valueOf(this.videoBannerURL);
	}

	if(this.profileBannerURL != null) {
		toSend[8] = String.valueOf(this.profileBannerURL);
	}

	dest.writeStringArray(toSend);
}
 
Example 9
Project: FontProvider   File: FontInfo.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeInt(this.weight);
    dest.writeByte(this.italic ? (byte) 1 : (byte) 0);
    dest.writeString(this.ttc);
    dest.writeStringArray(this.ttf);
}
 
Example 10
Project: SugarPhotoPicker   File: ImageConfig.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.minWidth);
    dest.writeInt(this.minHeight);
    dest.writeLong(this.minSize);
    dest.writeStringArray(this.mimeType);
}
 
Example 11
Project: KrGallery   File: GalleryConfig.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(this.filterMimeTypes);
    dest.writeString(this.hintOfPick);
    dest.writeByte(this.singlePhoto ? (byte) 1 : (byte) 0);
    dest.writeInt(this.limitPickPhoto);
    dest.writeByte(this.isSingleVedio ? (byte) 1 : (byte) 0);
    dest.writeByte(this.isNeedCrop ? (byte) 1 : (byte) 0);
    dest.writeString(this.filePath);
    dest.writeInt(this.type);
    dest.writeInt(this.requestCode);
    dest.writeInt(this.limitRecordTime);
    dest.writeInt(this.limitRecordSize);
}
 
Example 12
Project: BookReader-master   File: TagGroup.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    tagCount = tags.length;
    dest.writeInt(tagCount);
    dest.writeStringArray(tags);
    dest.writeInt(checkedPosition);
    dest.writeString(input);
}
 
Example 13
Project: RTPermission   File: PermissionOptions.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags)
{
    dest.writeStringArray(this.permissions);
}
 
Example 14
Project: AgentWeb   File: DefaultMsgConfig.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(medias);
    dest.writeString(maxFileLengthLimit);
    dest.writeString(loading);
}
 
Example 15
Project: AgentWebX5   File: ActionActivity.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(permissions);
    dest.writeInt(action);
    dest.writeInt(fromIntention);
}
 
Example 16
Project: Veggietizer   File: Achievement.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeStringArray(new String[]{description, heading, shareText});
    out.writeIntArray(new int[]{iconLockedID, iconUnlockedID});
    out.writeParcelable(criterion, flags);
}
 
Example 17
Project: iosched-reader   File: TagFilterHolder.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(mSelectedFilters.toArray(new String[mSelectedFilters.size()]));
    dest.writeIntArray(mCategories);
    dest.writeInt(mShowLiveStreamedSessions ? 1 : 0);
}
 
Example 18
Project: Android_RuuvitagScannner   File: Ruuvitag.java   View Source Code Vote up 4 votes
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(new String [] {this.id, this.url, this.rssi,
                                         String.valueOf(this.temperature),
                                         String.valueOf(this.humidity),
                                         String.valueOf(this.pressure)});
}
 
Example 19
Project: anitrend-app   File: KeyValueTemp.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeFloatArray(values);
    parcel.writeStringArray(keys);
}
 
Example 20
Project: anitrend-app   File: Series.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeInt(id);
    parcel.writeString(series_type);
    parcel.writeString(title_romaji);
    parcel.writeString(title_english);
    parcel.writeString(title_japanese);
    parcel.writeString(type);
    parcel.writeString(start_date);
    parcel.writeString(end_date);
    parcel.writeInt(start_date_fuzzy);
    parcel.writeInt(end_date_fuzzy);
    parcel.writeInt(season==null?0:season);
    parcel.writeString(description);
    parcel.writeStringArray(synonyms);
    parcel.writeStringArray(genres);
    parcel.writeByte((byte) (adult ? 1 : 0));
    parcel.writeDouble(average_score);
    parcel.writeInt(popularity);
    parcel.writeByte((byte) (favourite ? 1 : 0));
    parcel.writeString(image_url_sml);
    parcel.writeString(image_url_med);
    parcel.writeString(image_url_lge);
    parcel.writeString(image_url_banner);
    parcel.writeLong(updated_at);
    parcel.writeParcelable(list_stats, i);
    parcel.writeInt(total_chapters);
    parcel.writeInt(total_volumes);
    parcel.writeString(publishing_status);
    parcel.writeInt(total_episodes);
    parcel.writeInt(duration==null?0:duration);
    parcel.writeString(airing_status);
    parcel.writeString(youtube_id);
    parcel.writeString(hashtag);
    parcel.writeString(source);
    parcel.writeTypedList(characters);
    parcel.writeTypedList(staff);
    parcel.writeTypedList(rankings);
    parcel.writeTypedList(studio);
    parcel.writeTypedList(external_links);
    parcel.writeTypedList(relations);
    parcel.writeTypedList(relations_manga);
    parcel.writeTypedList(relations_anime);
    parcel.writeTypedList(tags);
    parcel.writeTypedList(reviews);
    parcel.writeParcelable(airing, i);
    parcel.writeString(classification);
    parcel.writeSerializable(score_distribution);
}