Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Plugin noob looking to start

  1. #1
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568

    Plugin noob looking to start

    Okay. So I had my first computer in 1979. Been coding in various forms since, from ASM, Fortran, Cobol, Basic, Clipper, VBA, and PHP. The closest thing for this project I have done (and still do) is VBA coding in Access. I have a large web based PHP project I developed and maintain at work.

    I have starting playing with VB in Visual Studio Express 2010. I see quite a bit of similarity, and have made a couple of quick form based apps.

    I wish to tackle making a plugin and skin to immerse myself even further and learn the requirements for OM.

    I believe the quickest way for me to begin, at this point, is to have someone supply a very basic skeleton source for each the plugin and skin. Something quite simple but functioning. A simple skin with a textbox and button with perhaps a simple setup screen for the Plugin Settings spot that allows me to set a color or something. The button puts "Hello World" in the text box. Overly complex at this point would just delay my comprehension while tracing through it.

    If somebody could please post such sources it would be very helpful. I also have a (yet unused) Google wave account if it helps.

    PS: If it is unnecessary to have two seperate things (IE; the skin will do everything I need), then that's okay. But my ultimate end will be that the plugin will also have data (sensors?) to share.

    John
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  2. #2
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    There is a full plugin sample available here: http://openmobile.svn.sourceforge.ne...MPluginSample/

    To download the zipped (full) version: http://openmobile.svn.sourceforge.ne...mple/?view=tar

    PS! This is a VS 2008 project and requires .Net3.5

    We're working on a more advanced sample but this should get you going for now.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  3. #3
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568
    Thank you. I will play with this after work. I look forward to the more advanced sample too.

    Cheers,
    John
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  4. #4
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    The nice part is that all the plugins are open source...so everything is a sample (just some better then others). If you need any of the C# plugins translated to vb just let me know

  5. #5
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568
    Oh yes please.

    I am starting with the SampleClass1. I "think" I have it changed to VB except a couple things. So it would wonderful to have that one converted so I can see what I did right and what I did wrong
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  6. #6
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    Plugin sample VB version
    Attached Files Attached Files

  7. #7
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568
    Thanks! Can't wait to get home and compare. I already know I made a couple of errors but most of the syntax checks out.

    Updates to follow.

    John
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  8. #8
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568
    Well, I did make a few translation errors. But now I match the sample. No compile errors. But I'm afraid that I may be missing something. I put the DLL into the plugin folder and there is no attempt (looking at debug.txt) to load it.

    Additional education appreciated. This is my first standalone library. Perhaps I am "building" it incorrectly.

    I included what I think is the appropriate portion of the debug.txt

    Oh, and I called my plugin: OMArduino

    Code:
    -----------------Software-------------------
    OS: Windows 7
    Framework: Microsoft .Net v4.0
    Open Mobile: v0.8.0.6
    Open GL v.2.0.0 - Build 8.14.10.1930
    ------------------Hardware-------------------
    Processors: 2
    Architecture: x86
    Screens: 1
    Graphics Card: Intel 965/963 Graphics Media Accelerator
    ----------------Inital Assemblies-------------
    0.000: LOADED (mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (Open Mobile, Version=0.8.0.6, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OpenMobile.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OpenMobile.Graphics, Version=1.0.0.201, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756)
    0.000: LOADED (System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
    0.000: LOADED (System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
    0.000: LOADED (System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
    0.000: LOADED (UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (MainMenu, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (!OMDebug, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (AudioRouter, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (DirectShowLib-2005, Version=2.0.0.0, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f)
    0.000: LOADED (DPEmail, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OpenMobile.Email, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (DPGWeather, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (HDRadioComm, Version=1.6.0.3, Culture=neutral, PublicKeyToken=6059837a14fef3b8)
    0.000: LOADED (iPodDB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OpenPOD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMDVD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
    0.000: LOADED (OMMediaDB, Version=0.0.3.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMPlayer, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMSpeech, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMVisteonRadio, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
    0.000: LOADED (RemovableDB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (SystemSensors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (WinWifi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (EmbedApp1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (EmbedApp2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (EmbedApp3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (ExternalNav, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (Networking, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (NewMedia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMDir, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMNotify, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMRadio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMSettings, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OMWeather, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (OSK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    0.000: LOADED (Video, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
    ---------------------------------------------
    0.078: RenderingWindowResized(0,,)
    0.156: LOADED (System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)@file:///C:/Windows/assembly/GAC_MSIL/System.Speech/3.0.0.0__31bf3856ad364e35/System.Speech.dll
    0.421: playlistChanged(0,)
    0.453: LOADED (System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)@file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    0.593: RandomChanged(0,Enabled)
    0.609: RandomChanged(1,Disabled)
    0.655: playlistChanged(1,)
    0.655: playlistChanged(2,)
    0.858: RandomChanged(2,Disabled)
    0.921: playlistChanged(4,)
    0.921: playlistChanged(7,)
    0.921: playlistChanged(3,)
    0.921: playlistChanged(6,)
    0.921: playlistChanged(5,)
    0.921: playlistChanged(5,)
    1.123: LOADED (System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)@file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    1.716: backgroundOperationStatus(Engine Ready!,Speech,)
    1.763: LOADED (CustomMarshalers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)@file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    5.304: pluginLoadingComplete(,,)
    5.476: Storage Event(NotSet,False,F:\)
    5.554: ********TaskManager******
    Task Started: Load Artists
    5.569: ********TaskManager******
    Task Ended: Load Artists
    5.569: ********TaskManager******
    Task Started: Refresh Networks
    5.601: ********TaskManager******
    Task Ended: Refresh Networks
    5.601: ********TaskManager******
    Task Started: Lookup CD Info
    5.616: ********TaskManager******
    Task Died: Lookup CD Info
    5.616: ********TaskManager******
    Task Started: Lookup CD Info
    5.616: ********TaskManager******
    Task Died: Lookup CD Info
    5.616: ********TaskManager******
    Task Started: Load Plugin Settings
    5.788: connectedToInternet(,,)
    5.850: TransitionFromPanel(0,MainMenu,)
    5.866: TransitionToPanel(0,OMSettings,)
    6.100: ExecuteTransition(0,Crossfade,)
    6.225: Storage Event(LocalHardware,False,F:\)
    7.083: TransitionFromPanel(0,OMSettings,)
    7.083: TransitionToPanel(0,OMSettings,Plugins)
    7.098: ********TaskManager******
    Task Ended: Load Plugin Settings
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  9. #9
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    Quote Originally Posted by jmullan99 View Post
    Additional education appreciated. This is my first standalone library. Perhaps I am "building" it incorrectly.
    Taking a wild guess....but are you building it for .Net v4? It needs to be built against .Net v3.5

  10. #10
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    568
    Um ya, good guess. I started off v4 never had 3.5

    I'll try to downgrade.
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

Page 1 of 3 123 LastLast

Similar Threads

  1. Need Alpine wired remote control pinout.
    By FordNoMore in forum Input Devices
    Replies: 31
    Last Post: 11-17-2012, 06:24 AM
  2. eyeR Interceptor: Automated Engine Start How-to
    By Civic Modz in forum Fusion Brain Innovations
    Replies: 2
    Last Post: 03-04-2010, 04:27 AM
  3. nGhost 2.0.0 Final is out!
    By tripzero in forum LinuxICE
    Replies: 53
    Last Post: 07-16-2009, 09:16 PM
  4. noob car pc start up question
    By IZNICE in forum Power Supplies
    Replies: 0
    Last Post: 11-04-2008, 06:22 AM
  5. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 08:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •