How to include in my App on Android text files

Paolo Mossa 161 Reputation points
2024-04-24T08:20:46.5966667+00:00

Hi to All. I've done a App for Android. This App uses particular files in old format MSDOS. First: how can include with the app on the tablet this files? (i.e. in the same directoy of the App).Second: the code page of MSDOS is quite different with Android. How can I translate special caracters like è,à,ò....

Thanks in advance for any reply.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Paolo Mossa 161 Reputation points
    2024-04-25T13:23:05.1733333+00:00

    Dear Mr. Leon Lu.

    The problem is simpler as you can imagin. I think that it is possible to include in the APK file the variuos TEXT files. Probabily is possible include them as Resources.

    For the stressed caracters I remember you that Android don't have a Unicode like Windows and the results are umpredicable but I think to overcome this problem using the capabilities of Android. Il old MSDOS there were the codepages and in Android there is the possibility to load different languages. For example I am using the format ISO-8859-1.