当前位置: 首页>>代码示例>>Java>>正文


Java Parcel.writeStringArray方法代码示例

本文整理汇总了Java中android.os.Parcel.writeStringArray方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.writeStringArray方法的具体用法?Java Parcel.writeStringArray怎么用?Java Parcel.writeStringArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.writeStringArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:kranthi0987,项目名称:easyfilemanager,代码行数:23,代码来源:BaseActivity.java

示例2: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:nyris,项目名称:Nyris.IMX.Android,代码行数:22,代码来源:Offer.java

示例3: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:10,代码来源:TagGroup.java

示例4: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:uhuru-mobile,项目名称:mobile-store,代码行数:32,代码来源:Apk.java

示例5: marshallRequest

import android.os.Parcel; //导入方法依赖的package包/类
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;
}
 
开发者ID:5GSD,项目名称:AIMSICDL,代码行数:10,代码来源:SamsungMulticlientRilExecutor.java

示例6: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    tagCount = tags.length;
    dest.writeInt(tagCount);
    dest.writeStringArray(tags);
    dest.writeInt(checkedPosition);
}
 
开发者ID:Lazyeraser,项目名称:DereHelper,代码行数:9,代码来源:MultiLineChooseLayout.java

示例7: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:Akari10032,项目名称:12306_Android,代码行数:16,代码来源:QueryParam.java

示例8: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:SebastianRask,项目名称:Pocket-Plays-for-Twitch,代码行数:31,代码来源:ChannelInfo.java

示例9: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:RikkaApps,项目名称:FontProvider,代码行数:9,代码来源:FontInfo.java

示例10: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.minWidth);
    dest.writeInt(this.minHeight);
    dest.writeLong(this.minSize);
    dest.writeStringArray(this.mimeType);
}
 
开发者ID:Sugarya,项目名称:SugarPhotoPicker,代码行数:8,代码来源:ImageConfig.java

示例11: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:chengzichen,项目名称:KrGallery,代码行数:15,代码来源:GalleryConfig.java

示例12: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags)
{
    dest.writeStringArray(this.permissions);
}
 
开发者ID:Vanish136,项目名称:RTPermission,代码行数:6,代码来源:PermissionOptions.java

示例13: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(medias);
    dest.writeString(maxFileLengthLimit);
    dest.writeString(loading);
}
 
开发者ID:Justson,项目名称:AgentWeb,代码行数:7,代码来源:DefaultMsgConfig.java

示例14: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringArray(permissions);
    dest.writeInt(action);
    dest.writeInt(fromIntention);
}
 
开发者ID:Justson,项目名称:AgentWebX5,代码行数:7,代码来源:ActionActivity.java

示例15: writeToParcel

import android.os.Parcel; //导入方法依赖的package包/类
@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);
}
 
开发者ID:mr-kojo,项目名称:Veggietizer,代码行数:7,代码来源:Achievement.java


注:本文中的android.os.Parcel.writeStringArray方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。