BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 2,513 posts found

24 hours ago
Medium dkinfo 1 post

Topic: BUGbase / BugBase 2.0

From the press releases I see the new BugBase will run Android. At the risk of exposing my ignorance, does Android run on top of the Linux kernel, or it have its own HAL?

 

Thanks,

Aug 30, 2010 8:44pm
Medium jconnolly 226 posts

Topic: Applications / Choppy audio playback

Have you had a look at Phunky?  It preloads a byte-array of the raw-encoded audio, I believe so that the read-latency is reduced.  I think the playback API is a bit clunky for an embedded system. 

Have you also tried comparing the playback to the playback via command-line aplay?  This will help narrow down whether it’s a problem with java decoding the wav data and playing it back as opposed to something bottlenecking at the codec/driver level.

Aug 21, 2010 12:42pm
Medium kkillebrew 1 post

Topic: Applications / Choppy audio playback

I just wrote an app, uploaded as MotionTriggeredSound, that plays an audio file in response to motion events, using IModuleAudioPlayer.  However, the audio playback is very choppy, and if left running long enough, will freeze the system.  I used the .wav file from AudioModuleButtonTester (signed 16 bit, little endian, 44.1 kHz).

I tried converting the file to big endian using sox, but then I get no audio playback at all.

Any suggestions/assistance would be appreciated.  :-)

 

Aug 20, 2010 9:49am
User_img_not_found_01_med Diran 10 posts

Topic: Applications / Communicating with Web Services over a network using a BUG App

Hey jconnolly,

Thanks for answering so many of my questions (and you can bet there are loads to come, so don’t go anywhere ;)).

I did some searches around BUG apps as well as on the BUG Community and it seems that most of the Web Services are written as a RESTful-WS. However, I am concerned about dealing with SOAP-WS. What I ultimately would like to do is to create a SOAP client from a WSDL and call the WS henceforth, within a BUG app of course.

I’d appreciate any insight.

Diran

 

Aug 19, 2010 2:59pm
User_img_not_found_01_med Diran 10 posts

Topic: Applications / How to import,use, or get access to Library inside the JDK Libraries when writting for the BUG?

I’ve found the solution, hence this topic can now be closed.

What I did:

 Copy the .jar files into a folder inside the App.

 Change the Manifest file to include:

Bundle-ClassPath: .,<folder name>/<library name>.jar

As for the XML stuffs, the embedded XmlNode which comes with the com.buglabs.util.*; library will suffice for now.

Aug 18, 2010 3:29pm
User_img_not_found_01_med Diran 10 posts

Topic: Applications / How to import,use, or get access to Library inside the JDK Libraries when writting for the BUG?

Hello BUG Community!

I am currently writing an app for the BUG which requires access to a range of libraries within the JDK. However, it seems that the BUG SDK does not have a complete coverage of the JRE library. Hence, I am now faced with the dilemma of either:

1. Digging inside the JDK folder and creating jar files, then transferring the jar files into the BUG

2. or Copying the needed folders inside the JDK into the BUG project and send the Libraries as a subset along with the project 

*Some of the libraries I need:  javax.xml ; org.xml.saxl; etc.

It seems to me that there has to be a better way than what I’ve mentioned.

Thanks,

Diran

Aug 16, 2010 11:06am
Medium jconnolly 226 posts

Topic: Applications / Communicating with Web Services over a network using a BUG App

There are many example apps that do this.  I prefer using Apache’s httpclient (which I believe is what is used for motherbugtweetNtwitch).

There are also others:

http://www.buglabs.net/applications/SimpleRESTClient

Aug 13, 2010 10:57am
User_img_not_found_01_med Diran 10 posts

Topic: Applications / Communicating with Web Services over a network using a BUG App

Hello everyone,

 

I’m trying to develop a web service client within a bug application which would communicate to a web service via an internet connection. Now, I’ve been able to establish the actual connection to the internet. However, as I am not very familiar with Eclipse, I was wondering if:

1. Web service clients can be integrated within a BUG app

2. There are any tutorials that uses the BUG to communicate to a web service

3. If all else fails, any code which might relate to using web services with a BUG

 

Best,

Diran

Aug 9, 2010 3:50pm
Medium jconnolly 226 posts

Topic: Applications / Thesis Project

There’s information about how to roll your own native libraries here:

http://community.buglabs.net/bballantine/posts/...

Aug 9, 2010 2:25pm
Medium jconnolly 226 posts

Topic: BUGnet / Windows 7

I haven’t tried it, but this looks like it may be what you’re looking for:


http://social.technet.microsoft.com/Forums/en-U…


 

Powered by Community Engine

Top
Login
Close
Bottom