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.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Lenovo a6000 is not able to run material design code .
First of all, a question like this will provoke opinionated, heavily biased answers and provoke flamewar like discussions between religiously fanatic fanboy groups. It is not very wise to ask a question like this.
Furthermore, one single phone is never enough to really get your app tested. It gets you the impression how your app works on one device, but how it will work on all the others, you will never know. You will always need a variety of devices, and I am not just writing about phones, phablets and tablets, but also of different vendors. Because each vendor introduces "his" own peculiarities and quirks and you will notice that while running fine on a Nexus, your app might crash on an HTC or Samsung. Or while running nicely on those, it might not on a Huawei.
Why?
Because.
Because the vendor did something the others did not, and no one expected it. But your customers will hold you responsible for it. Because your app is crashing. And you don't want this.
So bottom line: There is no best phone for testing. Get a number of different devices from different vendors and test on all of them. Yes, it is expensive and tedious work, but you asked for it...and your customers will be thankful for a stable app. :)
Google nexus series is the best. Just use nexus for tests
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 10 years ago.
Improve this question
I was looking for an app for phones (iPhone, Android and SmartPhone - any or all) that would simply run in the background and place any scanned upc code digits into the currently active textbox.
I've Googled for quite a while and only found an Android app that actually replaces the keyboard of the phone.
It seems like it should be easy (I have many for PCs) but I haven't done any handheld programming since Windows CE days so I don't know if this is possible (can apps see other apps controls in these phones).
Has anyone ever come across an app like this?
use the iphone sdk from zbar and you can do it inside your app.
You cannot do this system wide. You can only add this functionality to your apps.
This question is very similar Take a look. Android Long Press on Edit Text behavior
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I had to accept a return on an Android app because the user told me it was not working on his Motorola Xoom. (The audio playback had some reverberation)
This is not a super high volume app, so I am not planning to go out and buy dozens of Androids to test it!
Also, it is an audio recorder app, so it does not work too well in an emulator.
How can I diagnose and correct the problem on the Xoom and in fact all other platforms, without investing a small fortune!
One thing you can do, if you're not averse to rooting, is installing different ROMs on your device. This will at least give you the chance to test on some different versions of Android and different UI skins (how many are available depends on your device).
I also read about services that test your app on different devices for you, but I'm not sure how much these cost.
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.
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
So I've been asked this question by another developer in work and I couldn't figure it out. Now having a Desire myself, how the hell do you edit a text message that you are composing? The same for a URL you may have made a typo in? On the iPhone you would hold down on the area where you want to edit and a little zoom bubble would appear and the cursor would be where you want it allowing you to retype. Can this even be done on Android devices?
One way is to use the trackball. The other way is to just tap your finger on the location in the text you'd like the caret positioned at.
The moving-zoom-bubble thing on iOS is I believe apple patented, so not available for the rest of the world, even though it's pretty obvious IMHO. That's software patents for you though.
On my Motorola Droid, you can tap on the screen in any textbox in order to set the cursor. It's difficult to get the cursor where you want it, but it can be done.