In android device where .apk files are shared and send via bluetooth and then install on device.
Can similar thing is available in Blackberry devices lower versions below OS 10 ?
Can we send or share and install .cod applications via bluetooth in blackberry.
Please do let me know
The short answer is that there is no OS (standard) supplied method to do this.
I think this is a variation on this question
Can we share application in blackberry without the use of jad files
and as with that question, using CodeModuleManager (as suggested in another answer) requires an application that is already on the phone. In this situation, this installer application would have to know how to open a Bluetooth connection, and read the data and then create the new Application using CodeModuleManager I suspect this solution also assumes that there is another application that is sending the file, from a device what is paired with the phone. Is this a workable solution?
Related
Does anybody have an idea how I can programmatically extract iOS txt messages without locally backing it up with iTunes? It would actually be nice if I could simply run a command line tool like idevice or some framework/API.
iMazing seems to be doing just that - without jailbreaking the phone. But how does this tool work? Are they simply running a unencrypted backup task and then read the backup-files? Or is there an even more elegant way to access the text messages on an iOS device? (when plugged in via USB-cable)
Another idea could be that iMazing reverse-engineered Apples APIs, but this would be highly unlikely unless they hired some Apple engineers.
We would like to develop a feature similar to what exists in InDesign: when you create a "folio", you can preview it in an iOS "viewer" app, providing:
the iOS device is connected to the Mac with a USB cable
the "viewer" is opened on the iOS device.
The description of this feature is available at http://helpx.adobe.com/digital-publishing-suite/help/preview-folios-articles.html#use_preview_on_device.
There are 2 questions:
how can InDesign detect that the "viewer" app is opened on the device?
how can InDesign transfer a file to the iOS device, and have the "viewer" open the file?
We are aware that file transfer is possible using iTunes, but it's not the method used by InDesign (the way they do it is much more simple and straightforward).
Googling or searching on Stack Overflow does not seem to provide reliable answers so far.
Well, accessing iOS devices from USB is not authorized by Apple, so you got three possibilities :
Use MobileDevice private framework from Apple, you can read files from your app using the Document folder of you app via AFC.
Use libmobiledevice, an open-source and cross-platform library, same as MobileDevice but not so stable across iOS versions.
Use usbmux tunnel to connect to your app via sockets (require MobileDevice or libimobiledevice)
I think that usbmux is the best solution, the protocol used in usb never changed a lot and is very stable, even in libimobiledevice.
When running an app on an iPhone/iPad via Xcode, is there anyway to open files for writing on the Mac?
I have an app which requires the device to run, so using the simulator isn't an option. I do however need to analyze some of the app's output. Currently I have to write to files on the device, and then manually sync them to the Mac. I'm looking for a way to write my files to the Mac directly.
I recommend using NSLogger to stream your log data via Bonjour to the Mac. It has a Mac application that allows you view the data as it is coming in.
For more advanced logging you can also combine NSLogger with the CocoaLumberJack framework using this connector project.
Probably the best possible solution for your situation probably rests with leveraging the console and NSLog to redirect output to a file - that's an open channel between the device and the Mac you can leverage as long as your running the app from Xcode.
There are a number of questions and answers relating to how to do this - here's one:
Log XCode gdb output to file with .gdbinit
This solution assumes that you only need to be doing this when running the app through Xcode, which your question implies. If you need to write to the Mac when running the app directly on the device (not debugging) you would need to use some type of network file transfer, such as FTP or HTTP. You could probably whip up a simple HTTP-based logging app that would run on the Mac using:
https://github.com/robbiehanson/CocoaHTTPServer
Then you would just send the content line-by-line to the server. Many other possible approaches along those lines, and probably an existing Mac-based solution you could leverage.
Installing by cable with 'javaloader -usb load app.cod' works fine, and the app runs on the device with no problems, as on the simulator. The cod is using restricted APIs, but it's signed. The alx is a trivial nearly-empty one generated by JDE 5.0.
Despite all this, trying to load it onto the device (BB 8900) in the applications section of the Blackberry Desktop Software says:
'There was an error importing files.
No additional applications can be found. Your file might contains applications that already exist in the application list, are not compatible for your device, or have errors'.
I quite need this to be installable with users' standard tools. What can I do about this? Is there any way I can get the desktop app to give me more information?
Not really enough information to answer but on potential cause is the version data in your ALX. If you have not removed the application (using javaloader) before trying to install with Desktop Manager, and the version information in the ALX is not higher than the module version data the software won't install.
There could be other problems, but without the acutal ALX, and the OS version information for the device it is difficult to say what they may be.
How to make support for both App World and the application being embedded?
What is the difference between OTA and App World?
If I will build applications for the web and will put a link to the Internet (eg via apache)
It will be OTA ?
How much is the official service OTA or App World?
Please give references for which I can read this issue.
OTA means "Over The Air". There are several ways of getting the app code installed on a BB device. One way is via USB cable + BB DesktopManager app, for instance. When you are talking about OTA and App World as if they are different things - this is not correct. The fact is to get an app from the App World you'll have to use OTA implicitly (you'll start the BB browser, it will make a remote request to RIM server, etc. - this means OTA is used).
I believe there is no difference on how AppWorld and your custom server would do this.
RIM provides a video tutorial on this:
BlackBerry® Smartphone Over The Air Download By User