當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。