B4X FEED Call a Java function when user close B4J

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Call a Java function when user close B4J است. این موضوع تا کنون 20 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Call a Java function when user close B4J
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
20
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,593
4,508
Hi Java coders,

I ported this great Processing midi library to B4J using java on Eclipse.


This library open system midi ports and permits to send/receive MIDI (Musical Instrument Didital Interface) to/from a physical or virtual midi device.

The original library register a callback dispose() that is called when the Processing main app closed, so the library automatically
closes all midi devices when the user close the app.

See this relevant Processing code, here the original library register a Dispose() callback that is called when the user closes the app, eg with X in the Form top-right corner, or by code:
Java:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید



 

عقب
بالا