Am developing a BlackBerry app and I have a third party JAR file which i make it as library and i am extending it in my application.
The problem is when I try to access to some method of that library, the simulator gives me the error net.rim.vm.MissingNativeError, and the console shows: JVM: Missing Native Method.
I had previously load the .cod file with the library in my simulator, but it doesn't work.
Please help me with this, I have dealing with it almost a week!
Thanks a lot for your answers.
BTW i'm working with JDE 5.0.
There is no access to native methods using Java on BlackBerry OS.
The only APIS you can access are those defined in the documentation.
For the avoidance of doubt, this is for BB7 phones and earlier. There is no Java on BB10.
Related
Jumped on the maui development train with a new mobile android app. Intent is this app will print out a docket on a Brother RJ2050 mobile printer.
I've downloaded the SDK and followed the instructions from here (Adding an Android Java Library Binding project rather than the Xamarin version). https://support.brother.com/g/s/es/htmldoc/mobilesdk/guide/getting-started/getting-started-cross-platform.html#bind-the-sdk-for-android
All good so far, problem is when I try building this, I get a heap of CS0535 Errors, For example 'MWPrintSettings' does not implement interface member 'IPrintImageSettings.GetHalfTone()' and a number of warnings of different nature.
As an experiment, created a Xamarin Android Bindings Library followed the instructions and compiled fine. Of course can't include that in my Maui app though.
Wondering if anyone might have some thoughts? Or is it just plain the Brother Mobile SDK isn't going to work in this environment (Being .net7 maui)?
We are developing iOS app in Xamarin and we have one requirement to integrate O365 Skype integration. I can see there is SDK available for iOS native but couldn't find anything for Xamarin.iOS. Anyone please help me out.
What you look for is called a iOS library binding.
If someone already created it and made open-source you can look for it. If not - it is necessary to you to do a binding.
Please see reference https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/ about ios libraries bindings.
I would like to use some lib file (.a) in my app.
I got the files from a 3rd party, to use an IP camera they developed.
As i understand there is no way to open this files, so i will use them as is.
The problem is the files requires real device architecture, so i can't run (or build) them
on the iOS Simulator.
What will be the Implications for developing iOS app on real device only ?
(Besides a slower build and run time and discomfort..)
Also, is there a way to change this requirement so it could run on the simulator ?
Thank you
You should write your own mock library, that exposes the exact same API the vendor provides, and test against that in your simulator. The functionality your mock library provides can be as boring or as exciting as you desire.
I am working on an Sencha Touch application.
There is a use case in this application where I need to modify text file and save it again on iOS device.
As I've deal with almost 300-400 MB of data, so I can't use local storage here(Please correct me if I am wrong).
Here, I don't want to use Phonegap or any other framework to access native file system.
Could you please tell me, how I can access native filesystem using Sencha touch alone.
Since Sencha is a platform for building HTML5 apps (thus, websites) you cannot access the native iOS file system, unless you use Sencha SDK Tools and native packaging (but you don't seem to want to use that).
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.