Log in or register to post comments

getFileSize Error

November 30, 2010 - 10:36pm #1

I try test "ImageTargets" Project in emulator.
But Displayed Error.
Isn't it work Emulator ?
anyone answer. Please.

Thank you.

I Think Error Point is :
JNI WARNING: expected return type 'L'
calling Lcom/qualcomm/QCAR/FileTools;.getFileSize (Ljava/lang/String;)I
in Lcom/qualcomm/QCAR/QCAR;.progressiveInit ()I (CallObjectMethodV)

Error :
DEBUG/QCAR(361): QCARSampleActivity::onResume
DEBUG/QCARCore(361): INFO: QCAR has been successfully initialized
INFO/ActivityManager(74): Displayed activity com.qualcomm.QCARSamples.ImageTargets/.ImageTargets: 3000 ms (total 225389 ms)
DEBUG/QCARCore(361): INFO: QCAR SDK version 0.9.7
ARN/dalvikvm(361): JNI WARNING: expected return type 'L'
WARN/dalvikvm(361): calling Lcom/qualcomm/QCAR/FileTools;.getFileSize (Ljava/lang/String;)I
WARN/dalvikvm(361): in Lcom/qualcomm/QCAR/QCAR;.progressiveInit ()I (CallObjectMethodV)
INFO/dalvikvm(361): "AsyncTask #1" prio=5 tid=7 NATIVE
INFO/dalvikvm(361): | group="main" sCount=0 dsCount=0 s=N obj=0x498d3578 self=0x123e90
INFO/dalvikvm(361): | sysTid=367 nice=10 sched=0/0 cgrp=bg_non_interactive handle=1279488
INFO/dalvikvm(361): | schedstat=( 37929902 426058444 18 )
INFO/dalvikvm(361): at com.qualcomm.QCAR.QCAR.progressiveInit(Native Method)
INFO/dalvikvm(361): at com.qualcomm.QCAR.QCAR.init(QCAR.java:25)
INFO/dalvikvm(361): at com.qualcomm.QCARSamples.Shared.QCARSampleActivity$InitQCARTask.doInBackground(QCARSampleActivity.java:108)
INFO/dalvikvm(361): at com.qualcomm.QCARSamples.Shared.QCARSampleActivity$InitQCARTask.doInBackground(QCARSampleActivity.java:1)
INFO/dalvikvm(361): at android.os.AsyncTask$2.call(AsyncTask.java:185)
... ...

Re: getFileSize Error

December 1, 2010 - 7:02am #2

Unfortunately, the emulator does not have camera support. Therefore, you cannot run any of the examples on it.

You need an Android phone in order to run the examples.

Log in or register to post comments