Currently, I have made an application related to thermal printer which is connected thru USB using MFC in VC++. Now, I need to convert that code in java code, which I need to run in Android Studio 3.2 for Android Application 5.0 (Lollipop).
So, is their any conversion software is available for that ? or,
What should I do to implement same functionality(which is in MFC, VC++ code), in Android Studio. So, that I can save my lot of time.
What I have tried:
I have seen this link in google,
C++ to Java Converter[^]
but, in FAQ they have mentioned MFC and ATL resoureces can't be converted.
解决方案No, there probably isn't anything which will do what you want - and even if there was, the code you would end up with would not be "good" java code: MFC and the Java machine are not a good fit, and it wouldn't use Java the language or the Java environment well.
Your best solution is to use the C++ application as a specification and rewrite it in Java to work as a "proper" Java app.