I asked about the experience from the experts. Is there the example for me study.What exactly do you mean by dual monitor (are two physical monitors as possible in Windows) or do you mean the split screen display in Android where the screen is divided into two halves?
You haven't answered the question so we don't know what you are asking aboutWhat exactly do you mean by dual monitor
The first monitor displays all of list ,but the second monitor displays only total of price. They are different. I sorry that my English is badly.คุณยังไม่ได้ตอบคำถาม ดังนั้นเราจึงไม่ทราบว่าคุณถามเกี่ยวกับอะไร
I have experience with Windows machine. It just like normal pc where you extend second display.I have seen such POS systems in some grocery shops running on windows and not android. And it will be good to know how its done?
View attachment 144979
public Display getPresentationDisplays() {
DisplayManager mDisplayManager = (DisplayManager) getSystemService(Context.DISPLAY_SERVICE);
displays = mDisplayManager.getDisplays();
for (int i = 0; i < displays.length; i++) {
Log.e(TAG, “屏幕” + displays[i]);
if ((displays[i].getFlags() & Display.FLAG_SECURE) != 0
&& (displays[i].getFlags() & Display.FLAG_SUPPORTS_PROTECTED_BUFFERS) != 0
&& (displays[i].getFlags() & Display.FLAG_PRESENTATION) != 0) {
Log.e(TAG, “第一个真实存在的副屏屏幕” + displays[i]);
return displays[i];
}
}
return null;
}
DisplayManager displayManager =(DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE);
Display[] presentationDisplays = displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION);
if(presentationDisplays.length >0){
// If there is more than one suitable presentation display, then we could consider
// giving the user a choice. For this example, we simply choose the first display
// which is the one the system recommends as the preferred presentation display.
Display display = presentationDisplays[0];
Presentation presentation =new MyPresentation(context, presentationDisplay);
presentation.show();
}
I need only to study B4A. I'm poor to buy it,so I can't point to specific.You need to be more specific. Target one model first. What is the actual model from brand/manufacturer?
Different manufacturers may have different method supported. The documentation for Imin may not work for Sunmi. Maybe they use different Android SDK.
Also, please be more specific which platform you are asking. Is it for Windows or Android?
Asking generic question doesn't guide you anywhere.
Why you need to buy it?I need only to study B4A. I'm poor to buy it,so I can't point to specific.