Whats up everyone,
so i have an android device that acts as a tablet
its 10.25" Resolution of 1280X480
i installed Thinkware Dash Cam Viewer but the start screen where it asks for permissions, the button to click next is hidden. since its not playing nice with the screen size.
ive looked myself using android studio but cant find anywhere that references the sizing or orientation, just for kicks i deleted everything in manifest snd seems to have no effect.
i can send anyone the decompiled apk if they want to take a look.
any help is appreciated
Related
I am using android jetpack compose and wrote some code that is being displayed in the preview section of android studio, but when I run the project and install the app in mobile then full content is not being displayed, only some little content is being displayed that is of previous code, but when I changed the code, then changes is being displayed in preview, but not in mobile. I searched for it but did not get any solution that why changes are not being displayed on mobile. Any help would be appreciated great!
Okay, I'm not sure exactly what you're dealing with, but I had a similar issue where the app doensn't show anything on both the device and emulator and this is what worked for me.
Running it from the preview solves it for me. Once you have a connected device, hitting the little run image(with a green play icon) on the top right corner of the preview pane will launch on the device or emulator. If you can't see this icon, scroll the preview pane all the way to the right.
However, to run your app using the normal run button on android studio, you need to make sure that your setContent{ } block inside onCreate is calling your Composable functions you declared earlier. This was the missing link for me as well.
I am new to Android coding, I have done some coding in the past mainly HTML, Visual Basic, JSON, etc. However, I have successfully created a WebView App using Android Studio. I have it looking exactly how I want but I have 2 problems. I have the WebView app loading my Amazon Fire TV Web App HTML ( https://s3.us-east-2.amazonaws.com/outinthebg/outinthebg_firetv/index.html )
Problem 1- The BIG One
When I click on a video to play it the screen goes black, a white circle spins as if its going to play and then nothing happens. It just keeps spinning. I have tried several variations of code through searching on google but all posts were from 2012 and 2013.
Problem 2- I would love for the app to automatically load in Landscape no matter the orientation of the device, stay in landscape and never be able to go to portrait view.
Any help is greatly appreciated.
I've been working on a project with ARToolkit for Unity. I built it to Android APK. I then installed it to my Xiaomi device. When I run the app, it does the following :
It pops out a small square camera on the upper left corner
It shows unity animation text as usual
It then goes black forever
I've already set the permission for the app to access the phone's camera. How can I solve this matter?
Do I have to do something to get the phone's camera working? I am newbie by the way so don't go harsh on me.
Notes : I've tried to build another scene without ARToolkit to Android APK. It worked just fine and no black screen.
Sorry if my english isn't that good. Any help would be greatly appreciated, thanks before.
Just a guess... ARToolkit for Android on startup attempts to contact a web-server on the Internet to download camera parameters. I've noticed if your phone does not have Internet access, you'll see a black screen for quite a while (at least 30 seconds I've seen) until the HTTP request times out. You can see this if you run Android Studio studio and view the logs for your app. Unfortunately at the moment there appears to be no switch to turn this off. See:
http://artoolkit.org/community/forums/viewtopic.php?f=26&t=9441
I'm making an app where user can load an image, edit and save it.
Currently, I made the app so that the background of the view is set to a default image which is quite big (1.4mb). I located the image in drawable folders (all three of them).
When I run this app on emulator (heap and ram size increased), it works well but the log shows there's error opening trace file(2). However, I searched online regarding this problem, and it seemed pretty irrelevant with the issue I was having.
If I run this app on a device (I manually copy-pasted .apk file from bin folder to the device), the app runs but the background is just white without the default image.
Can anyone help me finding the issue?
Thank you so much.
Is your app using a layout or resolution folder-customization that is made for a different form-factor (screen size|resolution)?
Also, are your views|container aligned & sized properly, or relative to something that moved or moved off-screen on the bigger monitor?
Without more specific details, it's hard to help.
I want to zoom in out on any screen including home screen or any other app screen.I have tried to change Screen resolution by changing lcd_density in build.prop file by rooting device but it requires rebooting of device.Can't it be done just like iphone where text/screen zooming can be done at runtime without rebooting.
This is an accessibility thing, most Android have a setting for this under settings>accessibility
If you search around on the web it should be there.
I have seen some rooted devices that let you change the default text size can't remember what the app was called though sorry.