I am developing a bluetooth application for blackberry. I am getting some BluetoothStateException's whil running the app on the phone. I am wondering if there is any way to debug th application on the phone?
Thanks.
UDPATE: There is an option in JDE I found to debug on device, but it keeps asking me to install signing keys.But I have not used any BB API's AFAIK
You cant install a BB app on handset without signing it. Get a developer account on BlackBerry developer website, and you should be able to set up signing, it is almost trivial to do so.
You shouldn't have to sign if you haven't used the BlackBerry APIs that require signing keys. In particular, the basic UiApplication class and the BluetoothStateException don't require the keys.
Having said that, it sounds like you used a protected API in there somewhere (they're really all over the place, the PersistentStore for example, or the Display class in the system package). You can enable warnings within Eclipse for when you use protected APIs. Under Window->Preferences->BlackBerry Java Plug-In, check the Warnings sub-item and make sure all 3 checkboxes are unchecked. Then look at your Eclipse warnings/error view.
Also, I agree with #omermuhammed, it's really easy to get signing keys.
Related
I'm looking into the best ways to deploy React Native apps to devices for testing. We don't want to put the app on the app store yet, but we do want the app to be downloadable to, say, an iPad.
What is the best way to do this? Do I need a testing platform or something like diawi? Or can I just put the file in an email and install it from there?
Anyway for deploying an iOS application, you have to follow the standard developer portal process. If you already did that then all good to go otherwise you just need to follow this tutorial.
Once you are done with code signing create a build using XCode Archive. This will generate .ipa file for you OR you can upload that to the testflight. If you want to skip testflight, there is one more tool available called diawi.Diawi gives you a link instantly using which you can deploy the application on test devices.
For iOS apps, test flight is the best way to go about this. https://developer.apple.com/testflight/
for Android , use internal testing and beta testing of google play
check android documentation of internal testing here
for IOS,use test flight
Been reading about the FLEX Library for iOS, and I use it in my existing app. In the section "learning from other apps" it says the code injection exercise is left to the reader. Is it possible to go about doing this without jailbreaking the device?
To add to the other ways discussed in #joseph Duffy's answer/comments, you can also use a secondary device which is jailbroken to decrypt an app, package it back into an IPA, and then patch it by linking a libary to the IPA with your own code, finally re-signing it for your other device. Its a bit of a pain as a regular workflow, but works.
Check this out: https://medium.com/#kennethpoon/how-to-perform-ios-code-injection-on-ipa-files-1ba91d9438db
It won't be possible to use FLEX with an app that you are not compiling yourself. There is FLEXLoader, but that will require your device to be jailbroken.
Have anyone known of an open source project to implement SSH client on iPHone ?
I actually need a terminal emulation to run a console application I have, I dont even need to get out of my sandbox. But Havent find any terminal emulation that doesnt infringe apple rules. (-MobileTerminal- just works on jailbroken, and does run my console app) and AFAIK its not possible to implement an Appstore valid version of it because of its forkpty() implementation.
still I see lots of SSH clients (terminal like) on the AppStore that send a recieve data. So there has to be a way to emulate a terminal/console thing on iPhone... thats what I need, but I see no one giving out some source code.
A quick google of mine shows this as a possible option:
http://code.google.com/p/mobileterminal/
It's in the Cydia store as well, and should give you general direction. If you want to look at the final implementation, I recommend Panic Software's Prompt - http://www.panic.com/prompt/support.html
Currently I use Ripple "Package and Sign" option, and then use Blackberry Desktop Manager (with my blackberry connected to PC via USB) to import then apply the app. What annoys me is the whole process takes min 10mins sometimes 30mins all up.
I try to skip the "Sign" option, ie use "Package" only but when running the app from the device it gives me this error: "Error starting X: Module 'X' attempts to access a secure API".
Questions:
How are you installing the app on blackberry during Dev/Test?
How are you distributing the app for PROD release?
I have heard we can distribute via Wi-Fi or just sending someone a link to download the app, but cant really find much info on it. Any help?
You have to sign Webworks apps that you intend to use on the phone. Test as much as you can in the simulator, since it has the fastest turn around time between compiling and running the application.
Appworld is probably going to be your easiest distribution method if you intend on having users buy your app.
If you want to use the internet/WiFi option, you'll need to have a webserver/site you can upload all the *.cod and *.jad files that are built when you package the app. Then point the people downloading the app to the .jad file and their phone will try to install it for them.
I just want to know that can i make an application which have some plugins in it, when user install that application then some plugins also get installed? for example I make a plugin which have some smilies and when i open Facebook application all that smilies get available to me in that application and in my application also.
Still what i studied is that you cannot make any thing for iphone that wants to make change or access OS level. SO this in not possible for iOS. But this is some how possible for JailBreak