Google has a library called libphonenumber[1] that does phone number parsing, namely for Android. Just a heads up. It's got ports in a half dozen languages, and the names and platforms are similar enough I mistook this title for a C port at first glance.
Hi, cosmile, Thank you for addressing this issue, though it's a little bit later to change the repository name, because I also use the "phone" as all the apis prefix. I am not native english speaker, I just think this library is for the mobile phone app development, so I name it as libphone.
PS. for mobile game developers:
I made a RPG game render example[1] last night to verify if is this library enough for supports a MMORPG game development.
Thanks for point out this, I can explain more details here:
It's easy to write apps in C language to support both android and ios platform if using libphone. Write once, target both.
There is a similar project xamarin but it use C# and it is IDE, libphone is just a library though with also some tools for platform resources generating and layout.
It's turely an optional backend for just DEBUG purpose, like preview layout on desktop. I'll think about it, thank you. Welcome to post more ideas. It' realy helpful for me.
Yes, you are right, tablet views can work as desktop apps. But if I am not misunderstood, the tablet view and mobile view share the same native ui apis. Maybe there is no need to implement another backend for tablet seperatly in the library?
There is no need to implement anything for the tablet. But to make the tablet view work on the desktop you need a desktop backend, which is what libui could be.
libui is a nice work, thank you for this information. But no, It's hard to unify the behavior of desktop and mobile app. And I want keep libphone native, jut use or extend the native ui elements, and simple, and easy to integrate other Java or Object-C modules into it.
[1] https://github.com/googlei18n/libphonenumber