private String raw_suffix = "CR2";
private boolean useScreennailImage = false;
private final CanonImageObjectReceiver canonImageObjectReceiver;
+ private int smallImageSequence = 0;
public CanonPlaybackControl(Activity activity, PtpIpInterfaceProvider provider)
{
- int smallImageSequence = 0;
int delayMs = 20;
try
{
// 画像を取得する
CanonScreennailImageReceiver receiver = new CanonScreennailImageReceiver(activity, objectId, publisher, callback);
- publisher.enqueueCommand(new CanonRequestInnerDevelopStart(receiver, objectId, true, objectId, objectId, 0x0f, 0x02)); // 0x9141 : RequestInnerDevelopStart
+ if (smallImageSequence == 1)
+ {
+ publisher.enqueueCommand(new CanonRequestInnerDevelopStart(receiver, objectId, true, objectId, objectId, 0x06, 0x02)); // 0x9141 : RequestInnerDevelopStart
+ }
+ else
+ {
+ publisher.enqueueCommand(new CanonRequestInnerDevelopStart(receiver, objectId, true, objectId, objectId, 0x0f, 0x02)); // 0x9141 : RequestInnerDevelopStart
+ }
}
}
catch (Exception e)
<string name="pref_summary_canon_connection_mode">通常、変更は不要です (初期値: TYPE0)</string>
<string name="pref_canon_small_picture_type">スモール画像取得シーケンス</string>
- <string name="pref_summary_canon_small_picture_type">(初期値: TYPE0)</string>
+ <string name="pref_summary_canon_small_picture_type">スモール画像がうまく取得できない場合、設定を変更してみてください。 (初期値: TYPE0)</string>
</resources>