Iβm trying to insert multiplication character in my game screen. I get this from a json file.
{
βQβ: β5Γ7β,
βA1β: β13β,
βA2β: β14β,
βA3β: β12β,
βA4β: β22β,
βCAβ: 3
},
This post describe how to add character region. But i have no idea how to add math characters here.
Check the Unicode values for the characters you want to include and add a character region (or multiple if necessary) that contains them. For the multiplication sign itβs 215. You can find these values just by googling them. Make sure you get the decimal values. Good luck!
@bunnyboonet Hello ! I have some problem to read a Json file from Android ( I already do it on pc, but it doesnβt work on Anroid ). Can you please explain to me ( and share a bit of code) how do you read a Json file from Android. Thank, it will be very helpfull for me
public void ReadQuestions(int worksheet)
{
using (var stream = TitleContainer.OpenStream(βContent/Papers/pβ + worksheet + β.jsonβ))
using (var reader = new StreamReader(stream, Encoding.Unicode))
{
var json = reader.ReadToEnd();
var obj = new { Questions = new List() };
var result = JsonConvert.DeserializeAnonymousType(json, obj);
_questionList = new ObservableCollection<GanithaPoddaQuestion>(result.Questions);
}
}