maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   StumbleUpon Tool bar in MicroB [How-to with Queen BeeCon Widget] (https://talk.maemo.org/showthread.php?t=66249)

MINKIN2 2010-11-27 00:27

StumbleUpon Tool bar in MicroB [How-to with Queen BeeCon Widget]
 
Hello everyone :)

For some time now I have been wanting a StumbleUpon toolbar for MicroB as I have been an avid Stumbler for a few years.

Now with a little testing and the help from Sash and Agogdata we have now perfected a method for launching StumbleUpon in MicroB with a similar experience to the Desktop add-on using the AWESOME Queen Beecon Widget creator.

It should be noted that this is NOT an add-on for MicroB but a method to Launch the default web browser and browse the web whilst keeping the StumbleUpon tool bar at the header of the webpage, like so...

http://i178.photobucket.com/albums/w...reenshot08.png
The tool bar does not really retract from the area displayed on screen as this is a header for the webpage itself and not apart of MicroB. The Tool bar will roll up as you scroll down the page. The Buttons are also displayed as the StumbleUpon team designed them, so they may seem a little small for finger friendly use but they are still perfectly functional with the Finger nail and or Stylus in standard view. (You can still Zoom in if you wish?)


What do think?
http://i178.photobucket.com/albums/w...reenshot10.png



Installation Steps:

Adding the SU Icon

Download the Stumble.png image Below and save it to /home/user/.queen_beecon_dir
http://i178.photobucket.com/albums/w.../Stumble-3.png

Creating the Queen BeeCon Widget:

Return to the N900 home screens and add a new QueenBeeCon Widget (Desktop Menu > Add Widget > QueenBeeCon Widget).

Click on the Spanner Icon of the new QBWidget and enter the following settings

Type: Snippet
Command Selection: Blank

Widget Size & position tuning
Width: 82
Height:82


Statuses Backgound colours and imaging

Check (Tick) Hide BG and Hide Click BG

Command Title settings
Change the queen-beacon.png to the name of image you saved to the .queen_beecon_dir location (If you have not changed this then enter Stumble.png).

Position: Hidden


Command Results settings
Delete the line queen-beeconresimg.png and leave feild blank.

Now click on "Advanced" and select Go Pro and enter the following script in to the Command Test Drive field...

Code:

dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.stumbleupon.com/su/1RzmGZ/www.google.com/m%3Fclient%3Dms-nokia-maemo"
Then tap Update, return to settings the, Save and to exit the Desktop Menu. The Icon Snippet should now be set up for you to launch MicroB with the StumbleUpon tool bar from the desktop.

:DHappy Stumbling:D


Thanks

I would like to express my appreciation again to Sash and AgogData for their help in testing this out. Thanks Guys :D


Alternative Browsers

Below are a few codes to launch other search engines with the Stumble toolbar to be used in place of the command in the walkthrough.

Google.com (Desktop version)
Code:

dbus-send --system --type=method_call --dest=com.nokia.osso_browser  /com/nokia/osso_browser/request com.nokia.osso_browser.load_url  string:"http://www.stumbleupon.com/su/2muaba/www.google.com/"
Bing
Code:

dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.stumbleupon.com/su/2jOeBU/www.bing.com/"
Yahoo
Code:

dbus-send --system --type=method_call --dest=com.nokia.osso_browser  /com/nokia/osso_browser/request com.nokia.osso_browser.load_url  string:"http://www.stumbleupon.com/su/1nu28g/yahoo.com/"
Hope these work


Useful links:

What is StumbleUpon and how do I sign up? http://www.stumbleupon.com/productdemo/

How-to install the Queen Beecon Widget creator? http://talk.maemo.org/showthread.php...ht=queenbeecon


Anyways guys, Thank you for reading and I will look forward to hearing your comments

Sash 2010-11-27 10:27

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Hi, I've tried to add the Beecon but it doesn't seem to work for me.

I get the output
Code:

[Exit Code = 2 Output Size = 0]
when I give it a test-drive

MINKIN2 2010-11-27 14:20

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Hi Sash, thanks for trying this.

Let me have a little play and I will come back to you. (I'm at work on my lunch now so have 10 mins to play)

AgogData 2010-11-27 14:29

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
thanks i'll try it
http://i178.photobucket.com/albums/w...reenshot08.png
and what does the chat cloud stand for ? with your nickname beside it ? does it come with some built-in messenger ?

also a waaay side question : you have (mirror) the front cam application, how is its picture ?

MINKIN2 2010-11-27 14:30

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Coo, I beleive that I have managed to recreate the error...

As the code in the original post is viewed it only shows the 2 lines of text. When I try to enter what is shown I am getting the same Out-put.

When entering the whloe command...


dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.stumbleupon.com/su/1RzmGZ/www.google.com/m%3Fclient%3Dms-nokia-maemo


And hit testdrive the Beecon launches fine. Hope this helps? Let me know :)

MINKIN2 2010-11-27 14:48

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Quote:

Originally Posted by AgogData (Post 884399)
thanks i'll try it
http://i178.photobucket.com/albums/w...reenshot08.png
and what does the chat cloud stand for ? with your nickname beside it ? does it come with some built-in messenger ?

also a waaay side question : you have (mirror) the front cam application, how is its picture ?


The Chat cloud is more like the Youtubes comment box than an actual IM client. It allows you to see the review of the page from the original Stumble Upon user who "Found" the website and added it to the database. You can also read/leave comments for other SU friends and users too.

The Mirror App does not have the best resolution tbh, but it is cool if you ever wanted to know whay you would look like through night-vision goggles in broad daylight ;)

I will try this with Bing and yahoo later to see how other browsers work.

Sash 2010-11-27 16:37

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Quote:

Originally Posted by MINKIN2 (Post 884400)
When entering the whloe command...

dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.stumbleupon.com/su/1RzmGZ/www.google.com/m%3Fclient%3Dms-nokia-maemo

I've tried it again with this command and I still get the same error.

Do I need to install anything to get the dbus commands working?

MINKIN2 2010-11-27 19:01

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Hi sash, I have compared the two scripts with what is in my phone and the first post and I believe there is a typo. My bad, sorry.

Would you like to copy and paste this instead?


dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.stumbleupon.com/su/1RzmGZ/www.google.com/m%3Fclient%3Dms-nokia-maemo"


I did try the previous code and that error'd. Hopefully this will be 3rd time lucky :)

I will update the first post

Sash 2010-11-28 08:51

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
The new code works great, cheers!

MINKIN2 2010-11-28 12:05

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Quote:

Originally Posted by Sash (Post 884846)
The new code works great, cheers!

That's fantastic! Glad to see we got it working mate. Thanks for your help :D

AgogData 2010-11-28 12:57

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
works fine, thanks :)
but the icon has (no title) !!
and theres a real stumble of words upon each other

MINKIN2 2010-11-28 13:55

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
***Ignore this post, please use the Postision: Hidden tip in Sash's next post***

Quote:

Originally Posted by AgogData (Post 884948)
works fine, thanks :)
but the icon has (no title) !!
and theres a real stumble of words upon each other

Hi AgogData

To remove "No Title", a comand title with No name. Go back in to the settings of the snippet and click edit command. Tap in the title field so that you can see the flashing curser and press the space bar and then hit save.

It's kind of hard to tell from the screenshot but this should create a "blank" title field and remove the words No Title.

http://i178.photobucket.com/albums/w...reenshot11.png


If "No Title" is still shown, the command title should update if you launch the StumbleUpon toolbar. Failing that you may need to go into the settings and manually select the blank title from Command Selection.

http://i178.photobucket.com/albums/w...reenshot12.png

That should do the trick :)

What is this "Real stumble of words" that you speak of? Could you post a screenshot so I can see, thanks

Hope this helps

Sash 2010-11-28 15:23

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
An easier way to hide the title is to change the "Command Title Settings" in the QBW settings.

You can change the position to 'Hidden'

http://i54.tinypic.com/34q1z51.jpg

You can also do it for the results settings

MINKIN2 2010-11-28 15:34

Re: [Testers wanted] StumbleUpon Tool bar in MicroB with QBW
 
Oooh, I never knew you could do that Sash. Cheers!
I learned something Knew :D

I will Update the first page

MINKIN2 2010-11-30 23:22

Re: StumbleUpon Tool bar in MicroB [How-to with Queen BeeCon Widget]
 
Updated 1st post


All times are GMT. The time now is 07:27.

vBulletin® Version 3.8.8