Skip to content

MMCodeJavaAndroid is an android library that fixed most of the Myanmar Unicode fonts problem in the Java programming language

License

Notifications You must be signed in to change notification settings

yamindroid/MMCodeJavaAndroid

Repository files navigation

MMCodeJavaAndroid: Myanmar Unicode font fixed in Java

MMCodeJavaAndroid is an android library that fixed most of the Myanmar Unicode fonts problem in Java programming language. For example, In the Android in Java Project, If you are implementing a Bluetooth printer case, but most Myanmar Unicode fonts are not showing the correct way. In this case, you can use this library in your project.

Getting started

Setting up the dependency

Add this to your build.gradle(Project):

 allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add this to your build.gradle(Module):

   implementation 'com.github.yamindroid:MMCodeJavaAndroid:1.0.0'

How to use

package com.mm.yaminoo.mmcodejavaandroid;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import com.mm.yaminoo.mmcodejava.MMUnicode;

public class MainActivity extends AppCompatActivity {

    private static final String TAG = "MainActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Log.e(TAG, "MMCodeJava:  Fix Font = "+ MMUnicode.fixFont("Covid ကာလအတွင်း\n" +
                "အပြင်သွားတိုင်း mask တပ် ပါ\n" +
                "လက်ကိုမကြာခဏဆေးပေးပါ"));
    }
}

LICENSE

Copyright 2020-present Ya Min Oo.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

MMCodeJavaAndroid is an android library that fixed most of the Myanmar Unicode fonts problem in the Java programming language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages