galaxy

access both front and back camera simultaneously on samsung galaxy devices

允我心安 提交于 2019-11-30 13:38:57
I know this question has been asked before but its been a long time. Asking this question again to gather any new hacks/thoughts/approaches. I need to access both front and back camera simultaneously. So far I have tried implementations using android camera API ( Dual Camera- by Jens ) and camera2 API. Both implementations work fine on devices having hardware support(Dual Image Signal Processors) for dual camera feature.I have tested and both implementations works fine on HTC one M8(Snapdragon 801) & Xiaomi Mi4(Snapdragon 801). Both implementations fails on Samsung s6 even though it's hardware

Can anyone confirm this issue (limited number of file descriptors on some Android devices)?

烂漫一生 提交于 2019-11-30 13:28:37
I'm currently working on a cool Android game which was about to be released real soon. Some of our beta testers started complaining that the game crashes with the “too many open files” error message. I've tried simulating this problem on the AVD emulator but couldn't reproduce the error. Afterwards, I realized that only our Galaxy S3 and Asus Nexus 7 testers were complaining. I found this bug issue on Android's bug tracker and it sounds quite similar to what is happening to me. This sounds like a serious architecture problem which effects all internal SD card devices. These devices are limited

Galaxy S3 - taking picture in portrait mode destroys activity

折月煮酒 提交于 2019-11-30 11:55:17
So, this question has been asked in many forms on this forum but none of the answers are helping me. I have a bug which I've only been able to reproduce on the Samsung Galaxy S3. I want to simply take and store a photo using the phone's camera, but my Activity is being destroyed before I ever hear back from onActivityResult. This ONLY happens when I use the camera in portrait mode, in landscape mode it's fine. I'm using this code to launch the camera: Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(intent, Config.ACTIVITY_TAKE_PHOTO); In portrait mode, I

android: camera onPause/onResume issue

限于喜欢 提交于 2019-11-30 11:37:23
问题 I have some troubles with the onPause() onResume() camera live cycle: Camera with preview, and taking photos works totally fine. With one exceptions: I start the app, click the home button, switch back to the app and take another shot. Result: shuttercallback is still executed (see code), but jpeg callback isn't anymore! Then my galaxy S vibrates, and the screen stays black, since startPreview() is not re-triggered after jpegCallback. The stack trace is far from usefull for me. Strange thing

OpenGL ES 2.0 texture not showing on some device

瘦欲@ 提交于 2019-11-30 10:36:33
I found a 3D graphics framework for Android called Rajawali and I am learning how to use it. I followed the most basic tutorial which is rendering a shpere object with a 1024x512 size jpg image for the texture. It worked fine on Galaxy Nexus, but it didn't work on the Galaxy Player GB70. When I say it didn't work, I mean that the object appears but the texture is not rendered. Eventually, I changed some parameters that I use for the Rajawali framework when creating textures and got it to work. Here is what I found out. The cause was coming from where the GL_TEXTURE_MIN_FILTER was being set.

Device specific error - s3dReadConfigFile “Can't open file for reading.”

寵の児 提交于 2019-11-30 06:57:05
问题 I'm developing an application that communicates over the local network, and am trying to test on multiple devices. I have a Droid Incredible and a Samsung Galaxy S3 for testing right now. When I run the application on the Incredible, all works as intended. However, when I run the app on the GS3, I get the following error in LogCat: < s3dReadConfigFile:75 >: Can't open file for reading A team mate with another GS3 does not get this error when he runs the application on that device also gets

Galaxy S5 Lollipop - not all breakpoints stop execution under Android Studio debugger

落爺英雄遲暮 提交于 2019-11-30 04:11:18
After upgrading Samsung Galaxy S5 SM-G900F to Lollipop (Android 5.0) I noticed strange behavior: not all breakpoints are being caught within Android Studio. Here is environment description and my observations Windows 8.1 x64 Android Studio 1.0.2 with SDK Tools 24.0.2 Sun jdk1.7.0_55 under SDK emulator all breakpoints are caught under Genymotion all breakpoints are caught under Galaxy S3 with 4.4.4 all breakpoints are caught under Galaxy S5 SM-G900F with 5.0 not all exceptions are caught I tried rebooting phone, rebooting dev machine, turning on/off debugging in dev options, using USB drivers

Smallest Width for Galaxy S and Galaxy S2

老子叫甜甜 提交于 2019-11-30 03:59:49
问题 I'm developing an Android Widget and need to differentiate between Galaxy S and Galaxy S2 . I almost read everything about Screen sizes and densities articles. And I need, of course, to use the new qualifiers with the new qualifier Smallest Width . My problem is, that the sw320dp qualifier match for Galaxy S and also for Galaxy S2. But I need another layout for Galaxy S2, but cant find the right qualifier for it. Definition of Galaxy S, Density 233 Screen Size in Pixels: 480 Pixel x 800 Pixel

Proximity sensor on Galaxy S4 (Air Gestures)

那年仲夏 提交于 2019-11-30 03:42:54
The new Samsung Galaxy S4 have and interesting new type of gestures called " Air Gesture " that use an infrared sensor to process users hand movement in front of the screen, adding a " pre-touch "/" proximity " event, in wich the fingers are detected before the touch. I'd like to use this " Floating Touch " event in one of my apps. I searched both on Google and in the Samsung Developers Center, but I coudnt find any API or information about that. Are the API available or is too early? Does someone have any link/info? http://www.samsung.com/global/microsite/galaxys4/lifetask.html#page=airview

How can I record 2 microphone in Android simultaneously?

瘦欲@ 提交于 2019-11-30 00:53:50
I'm trying to record audio signals from 2 in-built microphone(bottom, top) at the same time. I can pick up bottom microphone signal using MediaRecorder.AudioSource.MIC and top microphone signal using MediaRecorder.AudioSource.CAMCORDER I can record separately but I want to record at the same time from 2 microphones. Does anyone know how to record simultaneously? I tried & or | operator but I can get only 1 channel signal. I use Galaxy S2 device. I will appreciate any response :) Thanks in advance. There is a misconception that in devices with 2 microphones, both the microphones will be used