Carbon Launch Parameters
From day one of our Public beta we’ve been asked for our Launch Parameters by our friends in the webOS dev community in order to support cross-app launching. It’s a bless to be in such a community.
If you ain’t a developer and still wondering what Launch Parameters are then head to webOS101′s Cross-App Launching Introduction.
Carbon’s launch parameters are designed in a matter that if at any time another application tries to use Carbon’s functionalities it’ll do that w/o being in your way or disrupting your current state in Carbon timelines or other screens. To that end, every function that we give access to other apps would open up in separate cards. As we currently support Compose & Search to be accessed by other apps, every Compose Request by other apps will open up a new Card for sending Tweets and the same goes for Search.
Parameters
To Compose a new Tweet pass the launching parameter object as shown below:
{ action: "compose", body: "Tweet body goes here..." }
To start a Search Card pass the launching parameter object as shown below:
{ action: "search", keywords: "Keyword(s) go here..." }
Application ID
You can use either com.dotsandlines.carbon or our beta version which is com.dotsandlines.carbonbeta
For a reference on how to use these parameters go to webOS101.
What’s Next?
More parameters and functions are going to become accessible as we go. User search, Tweet view, Image upload, and more are going to be added.
About this entry
You’re currently reading “Carbon Launch Parameters,” an entry on Carbon/Blog
- Published:
- March 8, 2011 / 3:21 pm
- Tags:
- code, compose card, launch parameters, search card
No comments yet
Jump to comment form | comment rss [?] | trackback uri [?]