Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addToReadOnTouchPro: function() {
- var Twitter = new TwitterAPI(this.user);
- var id = this.tweet.original_id;
- //var this.readontouchid = "com.sven-ziegler.readontouch";
- var request = new Mojo.Service.Request("palm://com.palm.applicationManager", {
- method: 'open',
- parameters: {
- id: 'com.sven-ziegler.readontouch',
- params: {action: 'addLink', url: "http://twitter.com/#!" + this.tweet.user.screen_name + "/" + "status/" + id}
- }});
- banner('Added URL to ReadOnTouch PRO');
- },
- copyUrl: function() {
- var Twitter = new TwitterAPI(this.user);
- var id = this.tweet.original_id;
- this.controller.stageController.setClipboard("http://twitter.com/#!" + this.tweet.user.screen_name + "/" + "status/" + id,true);
- banner('Copied tweet URL to clipboard.');
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement