Raw Camera Display on Air - android

We are trying to display Camera on a part of screen(raw camera). It shows a strange black and white display on Android device, but it works properly on emulator. What do you have any idea about how to solve this problem ?
EDIT: "Tour de Mobile Flex" application in Camera->Raw Camera have same problem.

I set <renderMode>direct</renderMode> in app.xml. That configuration solve my problem.

Setting render mode to direct works for me as well (AIR 3.4 on Nexus S 4.1.2).
If you don't want to manually manage your manifest file, this can be done in the publishing settings dialog ("Edit Application Settings") in CS6.

Related

SceneForm and Scenview in android

I am following the below tutorial for rendering 3d model
https://medium.com/#harivigneshjayapalan/arcore-cupcakes-1-render-a-scene-without-ar-for-phones-without-arcore-27d61a43a130
But when i run thee app app runs succesfully but empty screen is coming.
Solved the issue, The problem is with device ,It works with device or emulator having OS oreo 8.1 version
You just need to give correct path of your 3d image folder. Then, only it will retrieve that image and display it on the screen.

Android App doesn't work on all devices

I'm trying to make a very simple android app using Android Studio, it should open with a splash screen, then open a WebView.
I made it, and it works perfectly on my phone (with android 4.4.2), but when I try to use it on other device, I only get a white screen. I tried to use on a phone with android 4.1.2 and 6.0, none of them worked.
Any ideas where could be the error?
Edit:
Here's the files
https://github.com/gethuliogripp/kitexp
I've come across this problem and I was getting no errors as well. You have to make sure the images you use in the app such as your web view and splashcreen actually fit the screen so the app doesn't run out of memory. So make sure your images in your drawable are almost the same size as your phone screen, for my background i made the image 3in by 5in and my app works on all devices now.

Resizing the tabgroup header height in Titanium Android

I am new to mobile development with Titanium Studio. I am developing an app for android. When I tried running it in WXGA720 screen emulator, which was looking good. But when I tried the same with WXGA800-7in screen emulator, it looks terrible. Below is the screenshot for your reference.
Screenshot from WXGA720:
Screenshot from WXGA800-7in:
Please suggest. Thanks in advance.
In Titanium when developing for Android, it uses same image for TabGroups. Bigger the image specified, bigger it will show up in the app. My solution was using different images for different devices.
Android let you do that automatically by different device profiles.
If you look at Resources/android/images, there are several directories like:
res-long-land-hdpi
res-long-land-ldpi
res-long-port-hdpi
res-long-port-ldpi
res-notlong-land-hdpi
...
Please check here for a complete description.
I found a way to rectify this issue, as i would like to have my application only for Galaxy S3 and Nexus 7.
I wrote code to detect the screen size of Nexus 7 (height=1216 && width=800)
and dynamically set the tab icon, i used smaller size tab icons for Nexus.

How to run zxing apps on avd

I m new to android
i have installed BarcodeScanner3.72.apk on MY AVD for testing if it works or not
My AVD Camera is working properly i can get image with it.
But whenever i start Barcode Scanner app it shows black and white background
I am not getting whats the problem.
One more thing i have also install same app on My Samsung Galaxy but it can't read barcode.
is there anything that i should keep in mind to use barcode app on samsung Galaxy!!
Sorry for my english !!!!!
Thanks
There is no camera preview available in the AVD, so the black and white pattern you see is normal, and just the AVD's fake video stream.
Tom Gibara has posted the famous and canonical way to slip a live video feed into code that's running on the AVD. YOu would need to modify the Barcode Scanner source for this to work.
Barcode Scanner works well on the Samsung Galaxy, I'm not sure what issue you're having.

Android : Camera issue with 2.3 onwards

I have developed camera application using SurfaceView. It captures image and saves to the sdcard. In 2.1 and 2.2 it works fine but in 2.3 onwards it gives problem.
The exact problem in 2.3 is when I open my camera I am able to see preview in portrait mode but when image is saved its in landscape mode.
I dont know why this is happening? The application works fine in 2.1 and 2.2. If I take picture in portrait mode it saves in portrait only.
waiting for replies.
Thanks in advance.
I've had a similar problem.
Looks like the SDK has some breaking changes.
Try using the setDisplayOrientation, it solved my problem, hopefully, it will help you.
Good luck.

Categories

Resources