android


Android: Increase waiting time for image processing algorithms on Android NDK


I have this huge image processing algorithms(many loops need to be done) to be processed before displaying it on the camera preview.
the camera preview could display the "processed" preview but the application died. I have did a lockcanvas but it doesn't solve the problem.
Why does the application died before the camera preview is shown? is there any solution to increase the waiting time?
Below is my logcat:
08-16 04:33:15.350: INFO/ActivityManager(1162): Displayed com.example.test/.Test: +2s114ms
08-16 04:33:16.170: WARN/IInputConnectionWrapper(19282): showStatusIcon on inactive InputConnection
08-16 04:33:16.300: INFO/CustomizationProvider(22101): No configuration file: /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml
08-16 04:33:16.450: INFO/ActivityManager(1162): Process com.sonyericsson.credentialmanagerservice (pid 19508) has died.
08-16 04:33:17.080: INFO/ActivityManager(1162): Process com.sonyericsson.capabilities (pid 19562) has died.
08-16 04:33:17.830: INFO/ActivityManager(1162): Process com.example.test (pid 19702) has died.
08-16 04:33:17.860: WARN/CameraService(1074): Client::disconnect(): Camera force closed
08-16 04:33:17.860: DEBUG/Zygote(1071): Process 19702 terminated by signal (11)
08-16 04:33:17.860: ERROR/InputDispatcher(1162): channel '408aaf80 com.example.test/com.example.test.Test(server)' ~ Consumer closed input channel or an error occurred. events=0x8
08-16 04:33:17.860: ERROR/InputDispatcher(1162): channel '408aaf80 com.example.test/com.example.test.Test(server)' ~ Channel is unrecoverably broken and will be disposed!
08-16 04:33:17.960: DEBUG/dalvikvm(1162): GC_EXPLICIT freed 307K, 43% free 6963K/12167K, external 3288K/4106K, paused 123ms
08-16 04:33:17.980: INFO/WindowManager(1162): Setting rotation to 0, animFlags=1
08-16 04:33:17.990: INFO/WindowManager(1162): WIN DEATH: Window{408aaf80 com.example.test/com.example.test.Test paused=false}
08-16 04:33:18.000: INFO/WindowManager(1162): WIN DEATH: Window{408c01f8 SurfaceView paused=false}
08-16 04:33:18.000: INFO/WindowManager(1162): WIN DEATH: Window{40990048 SurfaceView paused=false}
08-16 04:33:18.000: INFO/ActivityManager(1162): Config changed: { scale=1.0 imsi=525/3 loc=en_SG touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=851}

Related Links

Using a custom plugin while using Cordova with Crosswalk in Android
Healthvault_putting data
How to remove the focus of the back stack fragment?
Google Play Game Services Leaderboard remove score
Facebook user email is not getting
Chain 2 Renderscript Intrinsics : Blur & ColorMatrix
Android MediaPlayer Live Streaming Stops after about 1 minute on Samsung Galaxy S4 and S5
How to set position to checkbox in listview multichoice
The method overridePendingTransition(int, int) is undefined for the type new View.OnClickListener(){}
Sacle View items size accordng to device
Spinner not displaying contents
Download image from URL - Android Parsing JSON
Libgdx, Intersector.overlaps is not checking when out of focus
Parameterized UPDATE DON'T modiff any row
Android Contextual Action Bar API 8+
Connect to bluetooth device via Hands Free Profile programatically on Android

Categories

HOME
uml
kentico
spark-streaming
merge
pagination
ns-3
jmx
apiblueprint
solaris
switch-statement
vsm
google-admin-sdk
augeas
flatpak
selectize.js
docx
imessage
symfony-console
swagger-2.0
apache2.4
springfox
squashfs
backpack-for-laravel
pchart
flask-sqlalchemy
gmock
opentk
delimiter
mql
sqlpackage
livelink
kodi
hard-drive
biztalk-rule-engine
dynamic-jasper
getpixel
tex
spring-mvc-test
numberpicker
stylecop
snapchat
dynamic-linq
proget
rserve
static-cast
libjpeg
reachability
google-cloud-console
jodd
simevents
mediametadataretriever
ellucian-scribe
nullable
computer-architecture
pypiserver
ess
batik
amiga
cryptographichashfunction
exceldatareader
viewer
pseudo-class
metatrader5
universal-image-loader
rmysql
gii
xml-dsig
grails-plugin-rabbitmq
ray
memset
ora-06550
gd-graph
unit-of-work
neos-server
kaleidoscope
time.h
joomla-template
traceability
apache-abdera
dopostback
pstack
xcode3.2
saleslogix
floating-point-exceptions
flex-mobile
winmain
automationelement
timthumb
quotation-marks
photolibrary
objective-j
zend-rest
entitykey
contentpresenter
mathematical-typesetting

Resources

Encrypt Message