I have a an android media box. It is the Measy B4A Amlogic s802 Quad core Cortex A9# 2GHz (AML8726-M8) with Octo-core Mali-450MP GPU # 600MHZ. OS is Android 4.4.2 Kitkat
I'm running a digital signage app on it and it is working fine but with one problem, which is the top notification bar. I can't seem to get rid of it. What I want is to completely remove it and launch the app at full screen.
I'm not really a coder and I was able to root to the device with VRoot but I don't really know what to do next. Any ideas, please help.
thanks,
Hussein
Simply write this in your manifest:
<application
...
android:theme="#android:style/Theme.Holo.NoActionBar.Fullscreen" >
...
</application>
You might like to check NoviSign App to get get performance for digital signage openinf a full screen on Android device 4.1 and above. Here is the link.
Related
I have a problem with my android emulator. It only shows a fraction of the screen.
Screenshot:
I have Android Studio version 3.0.
I tried a lot of things. I could fix the error when I use the emulator with Software emulated graphics but it is really slow.
know someone the solution?
thank you.
Make sure you have configured hardware acceleration correctly.
Disable the Device Frame by edit action.
Start the emulator and Go to Extended Control
Go to Settings and change OpenGLES render to Desktop native OpenGL
Restart Emulator and Resize the Emulator Window.
today I tested some app I'm developing with Berlin Upd. 2 on a Sony Z4 tablet with Android 7.
If I press the right Android navigation button a bit longer the device splits the screen 2 two areas and thus shows two apps simultaneously. Seems to be a feature of Android 7+.
Unfortunately my app doesn't like this and is being terminated or terminates itself.
I didn't find any setting on this Sony device to disable the split screen button function.
I found some Android Manifest setting here:
How can I disable multiwindow mode for an Activity in Android N+
But every time I try to add this to the manifest template either for the entire app or for the activity (FMX apps only have one activity) and press F9 to test it on a device (in this case a Nexus 4 to ensure the setting doesn't
have negative effects on older versions) I get a "pa client exited with code 1" failure. When I remove the line from
the manifest template and press F9 everything works as it did before.
Any hints/advice?
I already searched for an app to disable the feature on the Z4, but we only found one for Galaxy S7 which had no effect on the Z4.
The solution is (and the Android documentation doesn't clearly state this requirement for somebody not using Google's preferred language/toolset) to download SDK 24 and Build Tools 24.x in SDK manager. In Delphi Tools/SDK one needs to point to the android-24 folder instead of the android-22 one and then adding this attribute to the node no longer leads to build problems in Delphi and the app cannot be crashed by somebody trying to enter split screen mode.
So I am developing an app and I am not sure what had happened. I have everything set up correctly on the ADT but the emulator and my device show up differently. I'm not sure what code to put up. I have tabs with scrollview and text on the ADT but my device just has no tabs and the text overlaying eachother
First thing I would personally try would be to uninstall the application from the mobile device and rerun the code. Second thing to check would be the resolution off both devices? Maybe your mobile has lower resolution than the emulator and as a result the displayed output is a mess? Are you getting the expected output displayed in the emulator? I am nowhere near good at android development, but that's what I would try. Hope I helped at least a bit.
I have created an application in Qt Necessitas. When I start it on my Android device I have a GUI which is very different from what I see in Qt Creator.
For example: I have created spacing between a label and textbox and when I start it as a desktop app everything is okay. But when I port it to Android it seems it's not working. And then my textbox is smaller than in the normal GUI in Creator, as are the buttons and so on.
What might cause this and what can I do about it?
And one more thing: I have a problem with resizing the app size to the max of device window. But I get error about loading fullscreen FALSE.
I have started Qt Mobile application. Everything is done in mainwindow. So I have put all commands on my mainwindow. I don't know what to do. If you need a specific file please tell me, so I can post it here.
Try making your Mainwindow smaller and play with sizes. maybe the resolution you are using is not supported by the device.
I am making a game in Android where i am generating random number for different colored balls. Currently i am generating buttons dynamically and settings the background resource.
I am using some high resolution icons as images. However when they render on screen, all of them gets slightly pixelated and don't look good on screen. I tried it with different sizes of icons but it was of no use.
Can anyone suggest where i can be going wrong and what can be the best way to take care of these things. I am new to game programming so any help would be appreciated.
I would guess that your application is not running at your phone's maximum resolution. You need to specify the target version of Android in your manifest file, otherwise the app defaults to an early version and only runs at low-res.
If your phone supports Android 2.2 (Froyo) then try adding this line to your AndroidManifest.xml file:
<uses-sdk android:minSdkVersion="8" />
Be sure to put it in the manifest section, not the application section. If you see a line for "android:versionName" then put it immediately after that line.
If your phone doesn't support Android 2.2 then change the minSdkVersion number to 7. If it's an older version then go down to 6 or 5. You'll need to make sure you have the correct SDK files installed on your development machine. (ie: you won't be able to compile an Android 2.2 app if you only have the 2.1 SDK installed.)