OUR NETWORK:TechLore Explore3DTV MyOpenRouter MediaSmart home TiVoCommunity See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 1654960.0
January 15, 2009 10:24 PM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

bbrovio

Member
Joined: 01/15/2009

Hello all,
I use a blackberry and was disappointed that I could not control my Rovio with it.
So as an experiment I created a native Blackberry Client.

DOWNLOAD VERION 0.1 HERE:
http://www.robocommunity.com/download/15188/BBRovio-Alpha-V0.1/

UPDATE DOWNLOAD VERSION 0.11 HERE:
http://www.robocommunity.com/download/file/15470-117


UPDATE DOWNLOAD SOURCE CODE HERE:
http://www.robocommunity.com/download/file/15471-118

Instructions:
1) Extract the archive to a webserver
2) edit the .jad file to update the URL to the cod files
eg add your info to the RIM-COD-URL and RIM-COD-URL-1
3) Add a link from your site to the JAD file
4) Navigate your BB browser to the link and install

IMPORTANT: I am not a skilled BB developer, this app is not signed, use at your own risk.
It works fine on my sprint 8830, OS 4.5 but should be fine on curve, pearl and 4.3 OS.

USAGE:
1) Menu->Settings..-> EDIT YOUR ROVIO URL, MENU->Close
2) From the main screen, EDIT->Start Video
3) Commands:
Rot Left: h
FWD: j
BACK:k
Rot Right:l
Go Home: p
Head Up: q
Head Mid: a
Head Dwn: z
Space: update image

Notes:
* Only tested with BES, theoretically should work with non BES, but may need to add ";deviceside=true" to the end of your URL to enable direct TCP (I cant test this)

* After initial installation and start, rovio goes to back ground just launch again to bring to top, this only happens after initial install.

* There is almost no error detection

If I get time I'll add more commands,

Discussion:    Add a Comment | Comments 1-15 of 40 | Latest Comment | 1 2 3 Next »

January 15, 2009 11:17 PM

Check out the Downloads section for sharing files.

http://www.robocommunity.com/download/list
http://www.robocommunity.com/download/create

ScottE -- collecting and building robots for 40 years - details in profile

January 15, 2009 11:30 PM

Thanks for the info, the client can be downloaded here:

http://www.robocommunity.com/download/file/15188-104

Thanks MrScott

January 16, 2009 12:02 AM

@bbrovio,

How's the video, smooth? Also, what is the Internet backbone here (provider)? That is, what network access route to Blackberry users use, if iPhone users use AT&T's 3G network?

-- roschler

Nanabot - And One Robot To Rule Them All The under $100 game playing, conversational robot

January 16, 2009 8:15 AM updated: January 16, 2009 8:17 AM

the "Video" is a few to several frames per second, on an evdo1x (3g - sprint) connection. Its enough to easily control the bot. However, the real limit at this point is not bandwidth per-se, At present I am just requesting a new jpeg image one by one, so the limiting factor in frame rate is really the http request-response delay between pictures. When I get time I'll figure out how to decode the mjpeg stream which should improve the video as this eliminates the request for each image.


Blackberry has 2 main network paths that I know of ... BES and DirectTCP, both use the carriers underlying technology, 3G(evdo,umts) or EDGE,GPRS etc.

BES is usually if your BB is through a company and connected to exchange. This works as its how I am connected.
Without BES, you are supposed to use a connection url (under settings) of "your_Rovio_address:your_rovio_port;deviceside=true"
This also requires your APN is set up for the blackberry, this is under Options-Advanced->TCP, Cant help on the APN settings as this is carrier and plan dependent - but its most likely already set.
hope that helps

January 16, 2009 10:13 AM

This is great news... Just got my Rovio a couple of days ago and own a Storm ( may have to use compat mode for the controls) Im on BIS so ill give it a test ( wont be able to test till Monday when im back home to load the program)

Thanks for all your work.

January 16, 2009 10:22 AM

This is great - I just published the application and it should now be accessible by all members. I also added the instructions in with the download.

Can anyone post some screenshots of the program running on a BlackBerry? (I'm on an iPhone, and don't know anyone with a BB, so I can't help unfortunately!)

Thanks again for your contribution. Remember that you can update the download with newer versions as the application moves forward. You can also indicate version numbers in the download so you can post multiple downloads/versions of the same program!

Pete

Peter Redmer
Administrator
Blog | Twitter

January 16, 2009 4:29 PM

Anyone get it to install yet?
I get
HTTP Error 406: Not Acceptable

The page you are trying to load is not supported by the browser.......

I'm using a Sprint 8330 and BES.

I changed these two URL's in the JAD files.

RIM-COD-URL-1: http://24.155.196.19:8085/share/BBRovio-1.cod

RIM-COD-URL: http://24.155.196.19:8085/share/BBRovio.cod

PLEASE LET ME BE A BETA TESTER!!!

January 16, 2009 6:35 PM

Thats all I had to change int the JAD to make it install (the JAD is created by the dev environment). The 406 error sounds like an issue between the webserver and the browser, maybey some permissions or config ont he webserver side ?? I am by no means an expert on the COD install process, so if there are any changes problems I am happy to correct. I have used the following process with an SD card for other apps, see link maybey that helps.

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&messa...

January 16, 2009 6:41 PM

some one requested some snaps, here ya go. tried to capture the main items, its a pretty basic app so there is not much to show :)

View of the Launch Screen/IconInitial Start ScreenSettings ScreenVideo Snap after hitting rotate

January 16, 2009 10:38 PM

bbrovio said: Thats all I had to change int the JAD to make it install (the JAD is created by the dev environment). The 406 error sounds like an issue between the webserver and the browser, maybey some permissions or config ont he webserver side ?? I am by no means an expert on the COD install process, so if there are any changes problems I am happy to correct. I have used the following process with an SD card for other apps, see link maybey that helps. http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&messa...

You were correct.  I had to set up the MIME Types on my web server.

jad = text/vnd.sun.j2me.app-descriptor

.jar = application/java-archive

 

.cod = application/vnd.rim.cod

Works now.  I noticed that it does not save my ip address. 

You are off to a great start.  Keep working on it.....

PLEASE LET ME BE A BETA TESTER!!!

January 17, 2009 3:42 PM

Thats Great glad its working.
You are correct, the IP address is not stored, I have to sort out the bb persistance api's. Currently I trying to get MJPEG stream to work, which should hopefully improve the video, then add some commands for choosing recorded paths. My guess is I'll fix the persistance thing as I am annoyed to reenter my IP as well !
Thanks for the feedback, hopefully i'll have an update this weekend.

January 21, 2009 9:13 PM

A newb needs a little help. How do I install this? I tried to go to http://www.robocommunity.com/download/file/15188-104 from my 8310 on ATT. I get an error. "The item you selected cannot be displayed. Would you like to save?" If I say yes it gives me a successful message, but nothing else happens. What is the trick here? Thanks.

January 22, 2009 9:23 AM

Weatherman - The file on robocommunity download site is an archive of the install files. I dont know if i can host the actual OTA files and have them work or not.
earlier in this post, I describe the basic steps to place these on a webserver.
Also you can extract the archive, copy the JAD, and COD files to a SD card. Then (strange as this is) Via Media player menu choose explore filesystem option, and select the jad file, it should install.

January 22, 2009 9:31 AM

UPDATE: I have working code for mjpeg. but I'm chasing down some weird behavior with Blackberry API's namely that..

1) opening an MJPEG stream requires (eg only works) via direct TCP (deviceside=true qualifier set in the url)
2) opening a JPEG stream requires MDS (eg deviceside=false or nothing set in the url).
3) I rewrote using a direct socket connection and manually processing http this gets further

I am pretty certain its a BB APIs not liking something coming back from Rovio, even the HTTP demo code supplied by BB fails exactly the same way. I dont have another mjpeg stream to test against

If anyone has any advice or could offer some I'd appreciate it.

January 22, 2009 12:05 PM updated: January 22, 2009 1:15 PM

I managed to install from the card but so far im not able to get any video. This could be as im on BIS ( added the ";deviceside=true")

Is it possibly as i have a user and password on my rovio? I tried the http://username:password@ipaddress:port;deviceside=true and that also didnt seem to work for me.

It also could be as i have a Storm running in compat mode but the program does launch and pressing keys gives a HTTP error but does then say " head up" etc.

Discussion:    Add a Comment | Back to Top | Comments 1-15 of 40 | Latest Comment | 1 2 3 Next »

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window