access a secure api - eclipse

Can anyone tell me why this happen when i install the real device on my
blackberry.
I am using blackberry web/widget to develop app BB and the language that i used
is
phonegap which is support .html, .css, .javascript.
The app can be installed but after install the app does not have icon.
Then when click on run the error msg is,
“Error starting Carl’s Jr. Module CarlsJr attempt to access a secure api”
Any answer will be highly appreciated!
thanks,
regards,
Jamaley.

It sounds very much like you haven't signed your code.
RIM track the use of some sensitive BlackBerry APIs. This is indicated in the API reference documentation by a lock icon or are otherwise noted as "signed".
Please see the following url for more information about these keys and how to request yours
http://us.blackberry.com/developers/javaappdev/codekeys.jsp
Cheers
Ray

Related

Working with Titanium Appcelerator

I am using Titanium appcelerator for developing my android application, more over i am newbie to handle both of this together, even though i have made some digging to find some resources to start up with this, i am finding some difficulties in my first try.if anybody have resources that helps me move on further, please let me know...
Other one.. is it possible to run my android application that i have done using Titanium appcelerator in iPhone..if so please provide some resources...for doing the same...
Please let me know....
Thanks in advance...
Yes, titanium appcelerator apps can be packaged for the iPhone, and will work nearly the same as on android.
To do this, you need a Mac computer and the iPhone SDK (download from Apple). I believe you also need to pay Apple US$50 to deploy your own app to the phone.
If you want to put it on the App Store, you will need to submit it for Apple's approval.
The following link may help:
http://assets.appcelerator.com.s3.amazonaws.com/docs/GettingStartedTitanium_Mac.pdf
As far as general coding goes, I found the Twitter client example helpful.

WS-Security on iphone, is it possible?

I'm new here and I'm facing a problem. I need to know if it is possible to implement the WS-Security protocol with X.509 certificates on a native iPhone application. I haven't found much information on the web, except this information from Apple about security services.
I just want to ask, is it possible? has it been made before?. If it is possible, can you point me in the right direction?.
Thanks in advance.
You should be able to implement this using OpenSSL.
There is a tutorial on The Rare AiR on how you can compile the library for iPhone.
Hope this helps,
Claus

How can I integrate LinkedIn within an iPhone application?

I need your help to know regarding integrating linkedin with my iPhone Application.
I do Googling and am able to create an API for LinkedIn. Using link.
But since I am newbie, I stop here. I have both API Key and Secret Key, But I don't know how do I use it to make it Successful in iPhone Application.
So it's my request to you all to suggest me proper way. Maybe I will learn something new from you.
For other folks looking for sample iPhone applications for LinkedIn, I wrote a sample client which is on GitHub (which was presented at the Silicon Valley iOS Meetup last year):
https://github.com/synedra/LinkedIn-OAuth-Sample-Client
Please try LIExplorer for iOS. It seems to be a promising library which provides LinkedIn authentication and API calls. It also manages token caching.
https://github.com/vijayviswas/LIExplorer
Download a library from : https://github.com/NasirMalik/LinkedIn-iOS-Status
In this library .c file is also used that's why use compile source as: Objective-C (in build settings) instead of file type.
Write this code in your click event:
profileTabView=[[ProfileTabView alloc] init];
profileTabView.parentVC=self;
profileTabView.view.frame=CGRectMake(0, 0, profileTabView.view.frame.size.width, profileTabView.view.frame.size.height);
[self.view addSubview:profileTabView.view];

Access iTunes library on Mac from iPhone app

Is there a way I can connect to the iTunes library on Mac from my iPhone app. The functionality which is available in Remote app from apple. I beleive this is something to do with bonjour programming.
Can anyone provide me any head start and point me in the right direction to look for?
Thanks
You can't. iTunes uses a protocol called DAAP. While DAAP itself has been reverse engineered, the current version of iTunes uses an authentication mechanism that is not public and has not been reverse engineered.
What that means is while people can implement unauthenticated servers that iTunes can connect to, no one but Apple can currently implement clients that connect to iTunes itself.
This is a good place to start. He's the guy who wrote the Android remote, after reverse-engineering DACP.
What about installing software like Accesstunes on your computer, then use the IP in your browser !? I used to do it with my Nokia N95-8G..! I will try with the iphone in a bit to see !

Does iPhone support XML-RPC?

Does iPhone support XML-RPC, Is their any open source framework which I can use?
Checkout the source for the wordpress app. They might be using XML-RPC. :)
http://iphone.wordpress.org/
"Airsource Ltd" is really really incredibly wrong about that document. That document is specific to Mac OS X and NOT the iPhone. In fact (almost) all Apple iPhone documentation is hidden away behind a login page and a licence agreement. Most of the technologies that document refer to (e.g. AppleScript) do not even exist on the iPhone.
Amit, you'll have Zero luck if you follow Airsource's advice. You will however do ok if you do as "Lounges" says and go grab the wordpress source code. It looks like they rolled their own XMLRPC library for use on the iPhone.
As for SOAP - you're on your own. You might be able to find an opensource SOAP library built on top of libxml2 though. Good luck.
Yes iPhone support XML-RPC and wordpress opensource application is best example of it,
but from performance aspect I must say JSON is better to use with iPhone application,
from here https://github.com/stig/json-framework/ u can download JSON parser.