06/08/02 14:12:45
public void exeCharacter(int character, int look)
{
int imgng = 0;
byte[] byteData = new byte[40000];
g.lock();
if(mdaImgCharacterFlg[character][look] == 0)
{
String url = "URLリンク(") + serverDomain + "character/"+ character +"/" + look + ".gif";
// 画像の取得
try
{
HttpConnection hc = (HttpConnection)Connector.open( url, Connector.READ, true );
hc.setRequestMethod(HttpConnection.GET);
hc.connect();
int imgLength = (int)hc.getLength();
InputStream is = hc.openInputStream();
is.read(byteData);
is.close();
hc.close();
}
catch(Exception e)
{
imgng = 1;
// 異常終了
//terminate();
}