BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 2,423 posts found

23 hours ago
Medium kgilmer 198 posts

Topic: Applications / Old school text entry

icubed, my response in the IRC channel to your questions:

 

09:58 <@kgilmer> 23:00 < willis-home> is there anything stopping me from having more than 1 servicetracker file in an
                 app?
09:58 <@kgilmer> no, it’s a common use case.
09:59 <@jconnolly> kgilmer discovers the power of irssi logs
09:59 <@kgilmer> willis-home, if your text editor does not need to be accessable from other bunldes, it doesn’t need to
                 be an osgi service.  if this is the case, simply implement IMenuNode, register that impl w/ the Menu
                 service, and create and display your editor in IMenuNode.execute().
10:00 <@kgilmer> if you do need the text editor as an osgi service, than you will need to get a reference to your
                 editor in your IMenuNode implementation, and call show() (?) on the window when the
                 IMenuNode.execute() method is called.

24 hours ago
Medium icubed 16 posts

Topic: Applications / Old school text entry

So I have run in to an issue and I am not sure of the best way to account for it.  First, I am using the BaseDiagnostic app and the bugBase_helloworld app as references to some of the functionality that I require.

The functionality I am implementing would ideally call my text editor function when a menu node that requires it is executed.  At this point the text editor locks BaseDisplay and adds a buttonEventListener.  When the editing is done, it releases these objects and returns the string.

What is the best and/or proper way to do this?  From what I can gather, I can’t do the BaseDisplay locks/unlocks or add/remove the buttonEventListener outside of a class extending AbstractServiceTracker because they require the getService method.

 

Options:

Is there any reason I should not just create another servicetracker class in my package that is instantiated by my texteditor?  This option would register a service that is required for the texteditor servicetracker to get the basedisplay, etc.

Can I just restrict dostart/dostop to calls from outside the servicetracker itself?  Should I just add a method to the servicetracker that I call when I am ready to run?  This seems like an end run around the OSGi system though.

I realize I have probably glossed over the right way to do this and that my questions/ideas are probably n00bish.  I am just trying to show I am trying to figure it out before I ask.

 

Thanks for any input.

2 days ago
User_img_not_found_03_med Raynentye 9 posts

Topic: Applications / Is BUG right for me?

No kidding?! I thought ZigBee was limited to 2.4GHz in the US! Looks like I have to take another look! Thanks!

2 days ago
Medium wwward 5 posts

Topic: Applications / Is BUG right for me?

Take a look at this: http://www.digi.com/products/wireless/point-mul…

900Mhz xBee module. 

 

2 days ago
User_img_not_found_03_med Raynentye 9 posts

Topic: Applications / Is BUG right for me?

The only problem is the application I need this for is existing systems. I could use the XBee but would have to set up temp repeaters every now and then. I did get a demo kit from Digi, the long range version. The range is really low. I find the 900MHz frequency has a phenominal range compared. I’m going to opt for the BUG 2.0 when it comes out.

 

2 days ago
Medium wwward 5 posts

Topic: Way Off Topic / Introduction

icubed,

It should be copied over from the main BUGnet page.  If you edited it there, and it did not, you may have different accounts.  Check with the webmaster if the link is broken, might have been a software update that de-associated your Bugnet and your forum ID.

 

2 days ago
Medium wwward 5 posts

Topic: Applications / Is BUG right for me?

I’m done with the Teletype project, photos here: http://www.flickr.com/photos/wwward0/sets/72157…

I’ll start poking at the xBee setup now.  gigahertz wireless range is so finicky, but I think we should give it a due look before we write it off as inadequate.  In my case, I was using WiFi ad-hoc to cover a very large open space.  If you’re doing an installation in a new office building, it’s likely you’ll have a lot of good free space to bounce the xBee signals around in.

 

Willis and I are going to start banging on it shortly.  An Electrical Engineer’s tricorder, that’s what this should be.

 

Bill

 

Mar 12, 2010 9:37pm
Medium icubed 16 posts

Topic: Applications / Old school text entry

Hey jconnolly,

In your app BaseDiagnostic, in the service tracker, line 171, what is the use of KEY_UP?  I can’t find anything that tells me what that relates to on the bugbase.

Thanks again for your help.

Mar 12, 2010 1:34pm
Medium jconnolly 205 posts

Topic: BUGbase / bug as a remote field camera?

Everything I’ve run across about Bug says memory is 512mb.  I haven’t seen anything that talks about putting more than 512 mb of sodram in Bug.

The BUG absolutely does not have 512MB RAM.  It has 128MB of RAM.  See the specs here. 

Zoneminder (www.zoneminder.com) would allow you to do #1 and with an external sensor to detect the rain/floods, #2. I haven’t currently tried Zoneminder on Bug, the big issue being at 320×240 resolution, you need 1mb of ram

If I were to do this project, I would use the following:

  1. A temperature/humidity sensor integrated with the VonHippel module to sense rainfall.
  2. A UVC-compatible webcam capable of recording video (cheap, usually <$75)
  3. Ditch the zoneminder idea and write your own custom application using our tools, or something from openembedded that is already done for you.

 

Mar 12, 2010 9:05am
User_img_not_found_04_med sargon 2 posts

Topic: BUGbase / Bug Memory Upgrades

Are there any plans to make the base physical memory expandable in Bug either by swapping out the ram and/or an extra BugRAM module(s)?

Craig

Powered by Community Engine

Top
Login
Close
Bottom