Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I'm trying to do a presentation of my android app, and I realise that there's no key combination to do a screenshot. After some online researching, I found that to be able to do a screenshot with an android phone, the device should be rooted.
Is there any other way to do screenshot on android without having the phone rooted?
Thank you.
The device is an HTC Inspire 4G.
If you use Eclipse, switch to DDMS perspective, select your device in Devices view and press button Screen capture.
No root required.
Usually you press the power and the volume down button at the same time but it could be different for your device
If you want to do it programatically, this is what you need. Good luck with it.
On Samsung Galaxy Phones/Tabs there are gestures to do that.
You can either use hand and swipe horizontally over display or (for Note devices) use SPen.
See Settings for gestures that apply to your device (and check that they are enabled).
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm new to Android TV development. I'm looking to build my own TV interface that will allow me to create my own home screen with the apps I choose from the App Store, my own settings screen, ect. I don't want the user to be able to get out of my custom app and the main OS. I basically want to create my own flavor of the OS. Is this possible to do as an app that runs at startup and takes over the device, or would I be looking at creating my own version of the OS? And is it possible to create my own version of the OS and use apps from the Google Play store? Thanks
I don't think this is possible. In Google's documentation you can find information about all the things that you can do and as you will see, you are not given such wide freedom as the one you are seeking.
You can however, change through your app the content of the home screen but not the layout. Meaning that you can, for example, add a new recommendation on the home screen as described here. But, this is as far as you can get.
Edit: If you just want to run your app in kiosk mode on an Android TV device, you can do so, the same way you do it on phones or tablets. For example, scalefusion supports android TVs, but you should google to find more options and compare them in detail.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
The text of my mobile application was cut off on OnePlus devices, and my app does use custom font until now.
I searched for some information and learned that change the font of my app might be helpful.
Thanks to Expo they have some methods that could get the exact devices information, I want to use the default font only for OnePlus devices.
But I don't how can I precisely detect OnePlus devices.
Or should I say if I use the detect methods of Expo on OnePlus devices, I don't know what will be returned.
And also, purchasing OnePlus mobile phones is too expensive for me...
Instead of getting device info you can just make allowFontScaling as false in Text tag.
<Text allowFontScaling={false}>Your text goes here</Text>
This will avoid text cut.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I am implementing the exercise that comes in the documentation of virtual reality of how to implement a VR view:
https://github.com/googlevr/gvr-android-sdk/tree/master/samples/sdk-simplepanowidget
I tested it with my Nexus 5 and it works fine but with a Motorola MotoG 3, I do not see the icon to be able to see it in the glasses of virtual reality and apart it does not move when you move the mobile.
I would like to know if there is any way to make the example work on any device, and how the scenario looks for the future.
This is debit for gyroscope sensor. If it's not present not runs well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I want to take a screen capture on Motorola Xoom.
In Samsung Galaxy S-I you can do it by:
start pressing the HOME and immediately press BACK.
In Samsung Galaxy S-II/III you can do it by:
start pressing the HOME and immediately press on OFF/Lock button.
But how can I do it on Motorola Xoom (Without using Eclipse tools)?
You can now take the screen shot (in ICS and after) by pressing Volume Down + Power at the same time for a second.
Worked fine with 4.1.1 on a Xoom WiFi.
Power button + volume reduce button.. works well.
Here is a link detailing how.
How to take a Xoom Screenshot
Ps. I think you have to use the eclipse tools.
You can use the Eclipse tools or you can tools the SMG SDK (free) that enables video capture for any application via the capture of OpenGl commands (very lightweight, can run in the background all the time)
www.seemegaming.com
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am looking at locking down several Android Tablets (Samsung Galaxy tab) to allow the user to unlock the device and be sent straight into one application and not allowed to leave. I was wondering if this is possible without creating a custom ROM and if so how? Any help is greatly appreciated
You might try creating a custom launcher and see how far that gets you. I don't think it will be bulletproof but by adding some hacks like having it auto-launch a specific app, it's probably about as far as you can get without a custom ROM. See here for the code of the stock Android launcher:
https://android.googlesource.com/platform/packages/apps/Launcher/+/master/src/com/android/launcher/Launcher.java
You could create an app that is more or less "non-exitable" by overriding the hardware buttons' default behaviour in your application.
Although if your app crashes and doesn't automatically restart after a crash, the user has full access to the rest of the system.