I'm using IBM Worklight 6.0 to develop a cross platform application. There is no provision(as far as my knowledge) about the way the native applications are generated by worklight.
Is it possible to make these applications run faster?
And do these applications cache the data(say images in the applications), locally in the mobile applications so that the App runs faster the next time its invoked?
If not is there any way to do that?
Update to the recently released Worklight 6.0.0.2; your initial start-up time should decrease considerably. See if it helps.
Related
So I created an app on android studio and now my boss wants me to get it to work on Apple devices.
Is there a short cut to get an Android App to work on Apple devices ie iPhones, iPads and so on.
I really don't wanna create a whole other version for Apple devices.
Impossible. An option is to create hybrid application using Xamarin or Flutter which will run on both iOS and Android. That means you need to migrate you current implementation to hybrid app.
There are several options to do it and each of them has pros and cons so choose wisely.
Hybrid App
A hybrid app allows you to build a cross-platform mobile application with web technology. There are plenty of options you can use like Ionic, PhoneGap or React Native. But since you have built an Android app with the native code I assume, those existent features need to be rewritten in order to run on an iOS device.
Xamarin/Flutter
They are both create a native-like experience. The advantage of them comparing with hybrid app technology is the performance would be better in general. But again, it doesn't mean that you can just create an iOS app without changing any code, you'll still need to rewrite most of part in your app.
Kotlin Native
As an android developer, you're probably familiar with Kotlin. It's officially supported by Android team and It's 100% interoperable with Java. Kotlin can also be compiled to run on multiplatform including iOS. By this way, you'll be able to reuse a lot of existing Kotlin code on both Android and iOS so you don't need to use a new language to rewrite all the functionalities you had done on Android. The cons are It's an experimental feature so It's young and could change on the future and the reusability doesn't mean that you don't need to learn iOS platform.
Currently I am planning to use Hybrid App (ionic framework) to develop an initial version of our app. The reason is I am planning to start a startup and currently not in a position to afford individual developer for various platforms (especially for iOS, the developer rate is too costly).
So I decided to use Hybrid App using ionic, and our requirements fits well for hybrid app at-least for initial few releases. But at later point planning to migrate to native Android and iOS when I earn enough funding. Because later versions of app may have features like payment gateway integration, chat features etc.
So my question is, is it possible to release initial version of app using hybrid and at later updates push native version? If yes can someone give me basic idea of how is this achieved so I can take it forward? I searched quite in Google but didn't find enough information regarding same.
Publishing hybrid app on platform specific stores are same process as publishing native app.
You can develop and build application using any cross platform mobile application development tool (i.e. ionic framework or any other) and later easily move to native development tool. You can also develop application on hybrid tool(ionic framework) and build it on native development tool(Xcode or Android Studio) and proceed further for publishing on store.
In Android, package name(application ID) should be same for different versions of app binary. Also signing certificate remain same during version change.
In iOS, Bundle ID must be same for different versions/builds of app binary. Apart from this, provisional profiles and certificates also need to be same.
It is possible unless the binary have the same bundle identifier.
You may first release an app with Ionic framework and later push a native version of it. One thing is that the two binary have to have same bundle identifier.
You can surely do by keeping package name same at google playstore or say bundle identifier at App store. It will replace your old apk or ipa file with code using native APIs at later point in time.
Is it possible to get a MeteorJS app onto a watch OS?
I'm asking related to either Apples or the Android version. After googling around, I think the android version can support a browser, but the apple watch doesn't (at least not if you don't jailbreak it).
It seems meteor works with browser functionality inside a native app wrapper. Is such a thing available for these watch OS's?
There are some efforts to enable iOS/OSX applications to easily connect to and communicate with Meteor servers. WatchOS runs an environment that is relatively similar to iOS and so I expect that some if not all of the libraries/extensions will work in WatchOS projects. The most popular effort that I've seen is called ObjectiveDDP: https://github.com/boundsj/ObjectiveDDP
ObjectiveDDP allows you to do the following:
Connect to and authenticate with a Meteor server.
Listen for update events on collections.
Call Meteor Methods.
Send CRUD commands to Meteor for a collection/document.
As for android, the answer is no right now (https://developer.android.com/training/wearables/apps/index.html):
Wearable apps can access much of the standard Android APIs, but don't
support the following APIs:
android.webkit
...
Hence, you cannot have a webview on an adroid-wear watch, which is what phonegap/cordova use to run meteor apps on android. Until that changes, I don't think it will be possible to "just run" meteor apps on an android-wear watch without writing your own native android app. As Patrick said, such a native app could still communicate with the meteor server using DDP, but it's not as straightforward as writing a meteor app that runs on regular android.
I want to know how do you develop a multi platform app and/or for one operating system. E.g. If I want to develop an app for all operating systems (IOS and android and windows mobile) is that going to be a mobile site rather than a app or can I develop one app for all platforms.
I know duh... If I want to develop for android I just develop for android. And
The same goes for IOS.
Is there any articles I can read or that you know of that can help me find out.
E.g. The Facebook app did they design one for every platform and now they have to maintain all? Or do they only have one?
Any good articles/tutorials/books that can read or watch to show me more.
In my opinion it's better to develop separate app for every platform.
If you want to develop single app that run on every app you can use any framework.
If you are familiar with C# you can use Xamarin.
Another option is Phonegap. With phonegap you write HTML and JS.
You can design apps for cross-platform compilation, ie FreeRDP is one example. It is available for Android, iOS, MAC OSX, Windows.
For the above you need to put a wrapper or interfaces between your app functions and the OS specific functions.
would like to build an app that can run on any of the new PAD's hitting market.
I don't want to limit our users to a specific OS.
What is the best solution to allow all these pads to use our app.
The app needs to be able to run offline.
Thanks!
You could write a web application and use HTML5 for off-line caching.
http://diveintohtml5.ep.io/offline.html
Alternatively, you could try and use Titanium Mobile.
http://www.appcelerator.com/products/titanium-mobile-application-development/
You should also spend some time reading this discussions:
is-there-a-multiplatform-framework-for-developing-iphone-android-applications
technology-to-write-iphone-blackberry-and-android-phone-at-the-same-time
Have a look a MonoTouch, it will let you write all your logic in C# over all the main mobile platforms. However you still need custom UI code for each platform, but as least it will all be in C#.
(Better then having to use C#, Java and Objective C)
You could use Adobe Air that could works in most of Mobile/Tablet operating system Iphone,Android and Windows 7. but im not sure if Apple will approve your App if you plan to released to the App market.
Another way to think about it is to create an HTML resources and then integrated in away seems native to the system its more work but you will have a higher chance to get approved from apple and the app look more integrated with the OS .
The obvious -- and currently free -- answer is to use Adobe FlashBuilder to develop iOS apps. There is an iPhone and iPad emulator included. This does not use xcode, but you get most of the features to work with, and you can also develop Android apps from the same set of code. Further, with minor modifications for mouse usage, you can also have the apps run on any desktop as an Air app.
Adobe's website has detailed directions for how to create iOS apps on Windows with Adobe Air, though the most useful instructions for Air are from untoldentertainment.com.