![]() |
[implemented] Cloud2device-like features on Maemo?
Just seen the feature of pushing a page from chrome to Nexus and while it's not implemented very well, the whole idea I think is great.
It would be a major usecase for me if I could send page links between n900 and my PC. n900->PC is actually as important as PC->n900 for me. I understand there is nothing like C2DM API in Maemo, but I guess something like this is quite easy to implement: 1) Click a button on your PC browser ("send to device") - gets current page's url and stores it somewhere on the web 2) Click a button on n900/launch an app/type something in console to retrieve the stored link and open it 3) Web browser on N900 opens the page you sent from PC So the hardest thing I see here is to find something that can store a web link and can be easily accessed. You can always email yourself this link or send it to some fake contact on facebook, but these solutions are not very usable. The better option I see is to find something like tinyurl that allows you to change redirect address of your personal link from a browser's toolbar and just have a bookmark on n900, however, don't know if such service actually exists. Any suggestions? EDIT: here's the solution I implemented myself |
Re: cloud2device-like features on Maemo?
I agree with this. I saw the push to android function, and was jealous. I have tried to send links between my computer and n900 before, and I always ended up either emailing them, manually typing them in, or trying to IM them to myself.
One other way to push links to the device would be using a ssh command, but I am not sure how to make a link open on the remote device using this. I haven't done any programming for maemo, but I may take a stab at making a program like this once finals are over. |
Re: cloud2device-like features on Maemo?
I'm investigating an approach I mentioned above and found service called snipurl that allows you to update short urls destinations using post requests. Simple bookmarklet should do the trick, so hopefully I will have some working solution tomorrow. Will share it in this topic.
|
Re: cloud2device-like features on Maemo?
I don't know if it's what your looking for..
But using Weave in Firefox (desktop/laptop) and connecting it to Fennec (with the Weave addon) allows you to have the same bookmarks and tabs open when you switch between the two. |
Re: cloud2device-like features on Maemo?
I was playing around with this, and it looks like you could make an icon on the desktop that would open:
browser --url=http://www.url.com to open the url. Then you just need to make a shortcut in the desktop browser that submits the correct url to snipurl. The only issue is that the bookmarks windows also opens with the browser. |
Re: cloud2device-like features on Maemo?
Yes, Weave seems to take the aproach and implement it in a good way. The only issue is the browsers that are involved - I use chrome on PC and MicroB on N900.
As for the desktop icon - I'm not much concerned on this, a bookmark works pretty well. |
Re: cloud2device-like features on Maemo?
This thread doesn't seem to gain much attention, but I'll post my solution to send-to-device feature anyway. Maybe someone finds this useful.
1) Go to snipurl.com and get an account. Remember your username (example "myUname") 2) Go to your account settings and find api key in the right settings pane. (example "blahblahblah") 3) Create a new snip with any destination and nick and passcode of your choice. (example nick "c2dmwannabe", passcode "123") 4) Create a bookmark on your n900 (or any other device) that points to http://cl.lk/c2dmwannabe-123 (pick any base url you like, then add snip nick, "-" symbol and your passcode. Verify that this bookmark takes you where it should. 5) if step 4 succeeded, go to http://subsimple.com/bookmarklets/jsbuilder.htm and fill in the following code: Code:
javascript: 7) Press "Format" button and bookmark the link that you get below. 8) Now every time you click the bookmark you get while being on some page, it's url is sent to snurl, so the bookmark on n900 starts pointing to the very same page. Enjoy! |
Re: [implemented] Cloud2device-like features on Maemo?
I've always used this web page for quick copy pasting: http://www.cl1p.net
Easy to use and add to favorites. eg. http://www.cl1p.net/maemo |
Re: [implemented] Cloud2device-like features on Maemo?
The bookmark link is not updating the snipurl for me. Do I need to enable the api access in my settings or anything?
|
Re: [implemented] Cloud2device-like features on Maemo?
Quote:
To troubleshoot, verify: 1) That you've got existing snurl in your account and that you can modify its destination manually 2) That destination modified manually is updated and can be retrieved on your mobile 3) That you filled all the details right in 4 strings here: var uname = 'myUname'; var apikey = 'blahblahblah'; var snipnick = 'c2dmwannabe'; var snipPasscode = '123'; If that won't help, PM me your account details (may create a fake one if too much concerned of its safety) and bookmarklet url you're recieving from bookmarklet editor after following my instructions. Unfortunately I didn't manage to get any code executed after the request is sent to snurl, so couldn't add response analysis, which makes troubleshooting somewhat complicated. |
All times are GMT. The time now is 03:10. |
vBulletin® Version 3.8.8