Start a new topic

Titanium Android example works only in debug mode

Titanium Android example works only in debug mode


Hi there!

Do you still have the described issue?
Please ensure


havin latest Wikitude SDK used

using latest Titanium SDK

in case you are using IR to have latest Vuforia SDK imported (Wikitude SDK's libExtensionVuforia.so must be copied to libs/armeabi, where also qualcomm's libQCAR.so is stored, you also need the QCAR.lib in your build-bath).


In case you are already up-to-date could you please send some more detailed error log.

Regards,
Andreas

Hi,

I built Titanium's Android module and tested it on my Galaxy Tab with Android 2.2.

I used OSX and Ti 3.0.0GA for building the module and running the app.

after a few hours of trying I managed to make the example app work in debug mode.

First it gave me errors about libQCAR.so and libarchitect.so not being found so I added them in the module's libs/armeabi directory

Now when I run the application on device it does not work.

it shows the View only using on-device debug. So I am not sure if I did something wrong

 

Here's some of the output I got

 

 

ARchitect Build: 1067M

####### akmd2 started!!!

registerListener 1:BMA150 delay:60

=======>>>Sensor Thread RUNNING <<<========

set AK daemon delay=60 fd=94

Delay Candidate   Listener 0 Sensor:1 delay:60

sensors_data_delay handle=1 delay=60 mMinDelay=60

registerListener 3:AK8973 Magnetic Field delay:60

open_akm, sAkmFD=94  

Accelerometer_AK goest to Normal

akmd2: Compass Opend.

set AK daemon delay=60 fd=152

Delay Candidate   Listener 0 Sensor:3 delay:60

sensors_data_delay handle=3 delay=60 mMinDelay=60

SecCameraHardwareInterface created: pid=2390

initCamera: m_cam_fd(11), m_jpeg_fd(0)

Name of input channel is ISX005

Reader thread open Accelerometer = 27

initCamera: m_cam_fd2(21)

Name of input channel is ISX005

original preview - mPreviewWidth = 800 mPreviewHeight = 600

mPreviewWidth = 800 mPreviewHeight = 600

SetRotate(angle(0))

Smartautoscene thread was already stop

setRecordingSize(width(800), height(600))

Blur is not setting in Back camera.

ShotCommon created: pid=2390

Preview width(800), height(600)

Preview color format yuv420sp

Picture width(2048), height(1536)

Picture color format jpeg

ShotSingle created: pid=2390

Client::notify In

message received msg=1, ext1=0, ext2=0

Client::notify In

message received msg=1, ext1=0, ext2=0

Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@47cbfa58 (uid=10014 pid=2575)

fimc version : 50 9d

original preview - mPreviewWidth = 1024 mPreviewHeight = 600

mPreviewWidth = 1024 mPreviewHeight = 600

SetRotate(angle(90))

Smartautoscene thread was already stop

setRecordingSize(width(1024), height(600))

Blur is not setting in Back camera.

format is 825382478

startPreview()m_preview_width: 1024 m_preview_height: 600 m_angle: 90

startPreview: get the first frame of the preview

CameraHardwareSec: mPostViewWidth = 400 mPostViewHeight = 240 mPostViewSize = 192000

CameraHardwareSec: mRawHeap : MemoryHeapBase(previewHeapSize(192008))

stopPreview()

fimc_v4l2_streamoff()

original preview - mPreviewWidth = 1024 mPreviewHeight = 600

mPreviewWidth = 1024 mPreviewHeight = 600

SetRotate(angle(90))

Smartautoscene thread was already stop

setRecordingSize(width(1024), height(600))

Blur is not setting in Back camera.

format is 825382478

startPreview()m_preview_width: 1024 m_preview_height: 600 m_angle: 90

startPreview: get the first frame of the preview

CameraHardwareSec: mPostViewWidth = 400 mPostViewHeight = 240 mPostViewSize = 192000

CameraHardwareSec: mRawHeap : MemoryHeapBase(previewHeapSize(192008))

Launch timeout has expired, giving up wake lock!

Activity idle timeout for HistoryRecord{47cb30d0 com.hani.test.wikitude/.WikitestActivity}

called unimplemented OpenGL ES API

Displayed activity com.hani.test.wikitude/org.appcelerator.titanium.TiActivity: 8532 ms (total 10538 ms)

Uncaught ReferenceError: AR is not defined at :1

Activity idle timeout for HistoryRecord{48013b00 com.hani.test.wikitude/org.appcelerator.titanium.TiActivity}

report Light 5

Timer 0x3->0x1|0x1

 

 

 
Login or Signup to post a comment