Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo Zusammen,

 

da leider mein TF-Paket bis morgen auf der Post liegt, wollte ich mich heute mal ein bisschen näher mit dem RED-Brick befassen.

 

Dazu habe ich ihn erst einmal via HDMI an meinen Monitor angeschlossen - und in den Settings die Desktop-Umgebung aktiviert.

Nach einem Neustart wurde mir auch eine Desktopumgebung angezeigt - soweit also alles gut und schön.

 

Ich habe nun also meine Testanwendung auf den Brick geladen - C# (.NET) Anwendung + die ein oder andere DLL für zusätzliche Controls.

 

Allerdings: Die Anwendung startet nicht - es wird folgender Log_Eintrag erzeugt:

 

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at TinkerForge_TerrarienSteuerung.Program.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at TinkerForge_TerrarienSteuerung.Program.Main () [0x00000] in <filename unknown>:0 

Geschrieben
  • Autor

Ah. Ich glaube, ich habe das Problem Dank eines älteren Beitrages ausfindig gemacht. Sobald ich heute Abend wieder daheim bin, werde ich es nochmal probieren.

Dann sollten auch der zweite Master Brick und mein oledBricklet da sein, damit ich auch daran weiter basteln kann.

 

Wenn das alles dann so läuft wie ich es mir vorstelle, kann ich mich an das konzept für die eigentliche Steuerung setzen... :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.