there is app that made before android 4.0 came, that use webview to show some text(arabic) we use Almohanad.ttf font but now when we test on 4.x it is font not working as before(3.x)and it is only apply the font on some words, tried with different font, and it working for some but other has same problem .
please guys if any one want me to send him zip file for the part of the project that can be test easily by him, please give me your mail
Related
Am using android studio 3.3.
Am trying to design my activities in xml and i want to change the font family.
There used to be a fontFamily option where i can choose a custom font from android studio GUI.
Am missing it.
Here is URL how can you download the available fonts which provides Android Studio.
And here the doc.
Otherwise, you can set the typeFace programmatically URL
Anyone facing this, apparently after using android studio for a couple of days, the font option was automatically added to the GUI. I don't know how.
Probably those are things android studio downloads in the background for a while.
How can I make a HTML Phone call with an extension number on Android via a website?
I tried making a link like this
Call Me!
The link will put the first 10 digits in the android phone app but it will leave out the extension. I tried this on android 5.0 and 6.0. Does anyone know how to get this to work?
According to Problems using extensions in tel: hyperlinks on Android 4 one way of putting an extension number is using something like tel:12345678;ext=123
Another answer in that question says that this only work in some Android versions.
is it possible to create an Android 1.5.1 app using Android Studio?
Yes it is old but still used...
It only has to read 3 different txt files which are located on local network, containing 1 line of text each and display it under each other in portrait view.
Refresh ones a minute should be ok.
And it has to have a dropdown menu so you can choose which number of device it is, so from 1-10 is ok and according that read the txt files which belongs to that device nr.
I can't use a webpage because i cannot create a local server for it. So i need a little app.
To create the txt files i use a windows program.
I use Livecode (since short) but it can't create apps below Android froyo 2.2.
Any help on this would be highly appreciated. As i don't know anything about java.
It's only for local use, nothing commercial or anything
Thanks for any help on this!
You should try using PhoneGap (Cordova) http://phonegap.com which is basically a HTML-Webview, wrapped up in an App, so you can code the whole thing using JavaScript, and it is still a real app.
With this it should be very easy to do that, even if you "don't speak Java".
But to answer your initial question, yes it should be possible to create an Android App for 1.5.1 with Android Studio. You just need to install the right SDK/Packages etc with the SDK Manager.
Have fun coding.
I am developing an app that includes Urdu text. I downloaded the "Jameel Noori Nastaleeq" font from http://jameel-noori-nastaleeq-urdu-fonts.software.informer.com/1.0/. On some mobiles, it shows up just fine but on most of the mobiles it looks jumbled up. I have tried different fonts from different sites but the problem persists. I haven't been able to figure out whether it is Android Version, mobile device or some other parameter that has the issue. Need help in this regard. I am attaching both correctly displayed and jumbled up snapshots. Thanks
I would suggest to try the following fonts as well.
Alvi Nastaleeq
Pak Nastaleeq
Fajer Noori Nastaleeq
Urdu naskh asiatype
You can download from here http://www.urdujahan.com/font.html
If you still face the similar issue the try using Faiz Lahori Nastaliq (http://www.axissoftmedia.com ) font which apparently has full Unicode support .
I am using Font Awesome, which was designed for use with Twitter Bootsrap.
The Android (version 2.1) browser on the Galaxy S (Model # GT-I9000M) phone does not display the icons. It shows them as vertical rectangles, similar to what you see here:
Does anybody know a fix to this problem?
Here is the across the board support for #font-face: http://caniuse.com/fontface
2.1 browser simply doesn't support it, and it's not properly supported until 4.0. 2.2-3 partial support refers to the use of local(), which isn't supported at all. Font will not work at all on the stock Android browser if you are trying to source local fonts or using it to force user to download yours (smiley face hack).
Edit: How to know if a font (#font-face) has already been loaded? You can use this jQuery plugin to detect if Font-Awesome has loaded. If it hasn't (either due to bad font file or due to lack of support by the phone) then you can add a class which adds a background image (of the icon) to the div/span/whatever (can't be the <i> tag) that the icon has been applied to.
You can see a demo here.