2010-06-16 67 views

回答

0

MMSPart是保留數據的內部類。結帳這個例子:

宣言:

class MMSPart { 
public String Name = ""; 
public String MimeType = ""; 
public byte[] Data; 
} 

實施例:

... 
final MMSPart samplePart = new MMSPart(); 
samplePart.Name = "sample"; 
samplePart.MimeType = "text/html" 
samplePart.Data = "<b>Hello !</b>".getBytes(); 
...