i5700 resets when initialising the camera, need help - testers - Galaxy Spica Android Development

Dear forum members,
my name is Daniele and I am the lead developer of an open source (GPLv3) augmented reality app for android: mixare (http://www.mixare.org).
One of our user reported that his i5700 reboots when using the latest version of our application (you can see the thread here: http://groups.google.com/group/mixare-development/browse_thread/thread/db71483cfccde348 ), we nailed down the issue to the camera initialization routine we are using in the latest versions. That same routine works flawlessly on several phone we have (HTCs, Motorolas, one fellow developer had the chance to test it on a Samsung Galaxy S and Galaxy Tab and it worked just fine).
Unfortunately no one of us _developers_ has an i5700 to test the application, therefore I am asking for your help. I prepared a version of the application that should "dry run" the initialization of the camera (outputting the steps it performs without actually initialising it). I cannot guarantee it will not reboot your device though. This code is available in our github repository at: https://github.com/mixare/mixare/tree/development
An apk built with this code is available from our google code page:
http://code.google.com/p/mixare/downloads/detail?name=mixare-i5700debug.apk
The logcat output I would like to get is similar to this (captured when running on a Motorola Milestone):
Code:
$ adb logcat | grep Mixare
D/Mixare ( 8191): Screen res: w:854 h:442 aspect ratio:1.9321266
D/Mixare ( 8191): Candidate camera element: w:176 h:144 aspect ratio:1.2222222
D/Mixare ( 8191): Candidate camera element: w:320 h:240 aspect ratio:1.3333334
D/Mixare ( 8191): Candidate camera element: w:352 h:288 aspect ratio:1.2222222
D/Mixare ( 8191): Candidate camera element: w:640 h:480 aspect ratio:1.3333334
D/Mixare ( 8191): Candidate camera element: w:720 h:480 aspect ratio:1.5
D/Mixare ( 8191): Candidate camera element: w:720 h:576 aspect ratio:1.25
D/Mixare ( 8191): Candidate camera element: w:848 h:480 aspect ratio:1.7666667
D/Mixare ( 8191): Chosen camera element: w:848 h:480 aspect ratio:1.7666667
Thanks for your help and best regards!
Daniele - Mixare Team

Hello, I would suggest you to post @ samdroid.net

Related

Camera Preview/Capture Example Source Code on Nuxus One(Android 2.0 Phone)

I'm programming Camera Application on Nexus One.
However the result is not good.
I made some camera application on Android 1.5 phone.
I'm searching for the reference camera example source code on Nexus One(Android 2.0 Phone).
Where can I find the reference code on Nexus One(Android 2.0 Phone) that has the preview function and the jpeg capture???

[Completed] LG L FINO CM12.1, rear camera hangs on snapshot and jpeg is not saved

Hello,
I am trying to port CyanogenMod 12.1 to LG L Fino (Qualcomm msm8610). The project has its own thread on xda forums: http://forum.xda-developers.com/android/development/rom-cyanogenmod-12-1-lg-l-fino-t3305625
I am in the process of getting the cameras to work. I am using some prebuilt libraries and binaries from the stock android kitkat rom:
mm_qcamera_daemon
libmmcamera_interface
libmmjpeg_interface
libqomx_core
libqomx_jpegnec/liqomx_jpegdec
liboemcamera
libmmqjpeg_codec
libjpegdhw/libjpegehw
all the chromatix/mmcamera2/mmcamera/morpho libraries
I am able to record video using both cameras and take snapshots using the front camera. The rear camera (some models have the sony imx219 sensor and some the hynix hi841 sensor) can only take snapshots of sizes 320x240 and 320x480. On bigger sizes, the camera preview hangs and the jpeg is not saved. Also, after restarting the camera app, the app cannot connect to the camera. This is the logcat (using the hi841 sensor, highest image resolution):
http://pastebin.com/PpfBKLPx
The mmjpeg_inf seems to never complete the task of encoding the jpeg image(I can provide a log of the process for the front camera if needed), and the line
Code:
"E/mm-camera( 409): select_linear_table: lux = 2, aec_ratio : 1.000000 :: awb_ratio : 0.000000"
keeps repeating in the android log forever, until the device is restarted.
What am I missing here?
Thank you very much in advance
Hello and thank you for using XDA Assist,
please ask here:
Miscellaneous Android Development
The experts there should be able to help you.
Kind regards
Trafalgar Square
XDA Assist

[APP] [DEV] [Play-Store] CIDE - Develop code in C language for Android on Android

##Im not responsible for anything that you do with my application##
##THIS APPLICATION IS IN ALPHA STATE PLEASE EXPECT BUGS!!##
##PLAYSTORE LINK COMING SOON - USE MEGA CLOUD FOR NOW##
Hi,
I'm presenting my new App CIDE - a C IDE for Android.
As I always dreamed on developing in C directly on my phone and obviously the only free Variant on the app store does not supports anything above Android 4.4.x, I decided to port a compiler directly on our devices.
Features:
- basic syntax highlighter
- full C compiler behind the GUI
- standalone shell with GCC and other tools like MAKE set in $PATH
- build errors/warnings before running
Todo:
- better UI
- better shell implementation
- smaller size in internal storage
- File chooser with saving ability
- exporting files to binary
- extract animation on startup
- download GCC on startup (also reduces APK size to 4 MB )
- you tell me
Known Bugs:
- shell hangs at displaying huge amount of lines
- when file has wrong format (NON-ASCII CHARS) app crashes on compiling
- buttons do not press
- you tell me
Download links:
https://mega.nz/#!CYUC2KzI!KnHmytu3EnTdxO16gWMC8YeiIRql2DSZYjqflwwcCC0
Source code:
- ask me in PV with a good reason (I'm always happy about helpful code and GUIs)
Reserved for Q&A

[APP] [OpenSource] RxLowpoly - Opensource Android Library

​
RxLowpoly
An Android library to bring your ordinary photos to life with an awesome crystallized effect.
Library Details
RxLowpoly uses JNIwith 64 bit support to meet google specified requirement for all apps to be 64 bit enabled by August 2019.
Use of JNI enables much faster execution than other similar libraries.
Use of Sobel Operator for edge detection.
Use of Delaunay Triangulation on the result from the Sobel operator to construct the final crystallized lowpoly effect on the image.
Library - https://github.com/abhriyaroy/RxLowpoly
Sample app - https://play.google.com/store/apps/details?id=com.zebrostudio.lowpolyrx
Please star the repository on github if you like it. :fingers-crossed:

What Android 10 source code must be modified to ensure only the main or rear camera is called by any application accessing the system's cameras?

What Android 10 source code must be modified to ensure only the main or rear camera is called by any application accessing the system's cameras?
I have built a custom Android 10 ROM for my phablet which has only one camera. I would like to unify the camera on my ROM so that applications which request the front camera (Zoom, Teams, Skype) cannot crash the system and only open the main/rear camera (only camera).
//Successful launch of main camera (only camera) mCameraId=0, prev:fd=81, vir=0xe1939000, num=1468, width=960, height=720, time=1305745194872
//Want to prevent the failure of camera initialization 12-11 17:09:58.405 14315 14385 W CameraBase: An error occurred while connecting to camera 1: Status(-8, EX_SERVICE_SPECIFIC): '10: connectHelper:1512: Failed to initialize camera "1": Function not implemented (-38)'
camera_init: hal_err failed to init camera -1

Categories

Resources