BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 12,455 posts found

Oct 17, 2007 6:23pm
Medium finsprings 268 posts

Topic: BUG SDK / IMenuProvider.registerMenu

Ok, Heather, bug 18 it is then:
http://bugbeta.com/bugzilla/show_bug.cgi?id=18
Oct 17, 2007 5:55pm
hzaida 38 posts

Topic: BUG SDK / IMenuProvider.registerMenu

Hi Dave,

Thanks again for all of your hard work!

In order to keep track of the defects you are finding, can you please enter a defect report into Bugzilla?

http://bugbeta.com/wiki/index.php/Report_a_Defect

We do not want anything falling through the cracks. ;)

Thanks, Heather

Oct 17, 2007 1:53pm
koolatron 52 posts

Topic: BUG SDK / IMenuProvider.registerMenu

Yah, I played around with the MenuExtender app the first week I had my hands on the SDK. I wasn't able to get it to do anything really stunning - if you check out the source or browse the javadoc, you'll find that you can indeed register submenus by providing a complete path, a la:

menu.registerMenu("foo.baz", new SimpleMenuNode("bar"));

This creates a menu entry called "foo" in the root, with "baz" under it. "bar" is simply the name of the SimpleMenuNode, which doesn't seem to figure into the entire process much at all. Furthermore, since menu names don't seem to be unique, doing the following:

menu.registerMenu("foo.rab", new SimpleMenuNode("bar"));
menu.registerMenu("foo.baz", new SimpleMenuNode("bar"));


will cause two menus named "foo" to be added to the root, each with one child ("rab" and "baz"), instead of one "foo" with two children.
Oct 17, 2007 1:40pm
rbpasker 22 posts

Topic: BUGmodules / Module suggestions

I made a bunch of module suggestions in my blog:

http://tinyurl.com/2wochq

a home controller would require an bi-directional IR module, too

Oct 17, 2007 12:38pm
Medium kgilmer 215 posts

Topic: BUG SDK / IMenuProvider.registerMenu

Dave, your expectations are correct. This is a defect :)

Oct 17, 2007 10:06am
koolatron 52 posts

Topic: BUGmodules / Module suggestions

Another brainwave: I’ve been interested for the longest time at the goings-on at http://www.gnu.org/software/gnuradio/ – software defined radio would be totally rad on the BUG. I realize that implementing this is in itself a task on par with the entirety of the BUG project, but a guy can dream, right? :)

I figure, what better to complement a software-defined approach to gadgetry than a software-defined approach to communication?

Oct 16, 2007 9:34pm
Shawn 14 posts

Topic: Suggestion Box / n00b warning: architecture and module overviews?

Okay, I’m one of the beta1.5 n00bs, so please cut me just a bit of slack. :)

Since I’m coming in after the first quarter of the game is already over, I haven’t been here to know where all the special info stashes are. However realizing this is also Beta (yet way better than other betas I’ve seen), what would be helpful is to have a simple map of what modules use what interfaces, and what features they have.

As an example the accelerometer uses the IMotionSubject interface, registers for motion events. Here is the problem, I’m use to an accelerometer telling me how much motion has occurred, was it a forward/backward, twist left/right..etc.. Think iPhone motion sensor. However it is sounding like this module detect motion. Also cool, but I’ve not found any description of what a module does, the values it provides, and where the message are to pull for.

Also the API shows the buglab APIs, but I’m missing any PhoneME javadoc. I can pull it from java.net, however I would like to know which classes/methods were ported over….I’m hoping a full API but I’ve learned in the ME world you seldom get what you would want. ;)

Now to everyone that has build the bug sdk, or any of the tutorials / sample apps….. Kudos!!!!!! Wow this is sweet!!!

-Shawn

Oct 16, 2007 8:37pm
Medium psemme 8 posts

Topic: Applications / Application Licensing

Hey – I haven’t forgotten this thread. But before I jump back in I want to make sure I understand all the implications of "linking". It can be a fairly ambiguous area legally. So rather than just give you my opinion, I’d like to collect some more data and present a more thoughtful response. I should have more by EOD tomorrow. Thanks.

Oct 16, 2007 6:49pm
Medium finsprings 268 posts

Topic: BUG SDK / First Project: BUG Home Security System

Ok I switched to using your servler.jar instead of the eclipse plugin directory one and included it in my app. BUGer still works fine so I posted it as v1.0.1: http://buglabs.net/application/show/11.
Oct 16, 2007 6:21pm
rbpasker 22 posts

Topic: Suggestion Box / Suggestions Wanted!

i believe it goes both ways:

http://jython.org/Project/userguide.html#callin…

"Calling Java Methods and Functions …. There is some automatic type coercion that goes on both for the types being passed in and for the value returned by the method. The following table shows how Python objects are coerced to Java objects when passed as arguments in a function call. The Java Types show the expected Java type for the argument, and the Allowed Python Types shows what Python objects can be converted to the given Java type."

http://www.jython.org/docs/api/org/python/core/...

"All objects known to the Jython runtime system are represented by an instance of the class PyObject or one of its subclasses."

Powered by Community Engine

Top
Login
Close
Bottom