How to create custom keyboard using LUA and Corona? - keyboard

There are some way to create custom keyboard code for iOS by Objective-C like this.
And some one for Android by Java like this question
So, Is it possible to create custom keyboard for Android or iOS by LUA in Corona ?
Can we integrate it to system keyboard of Android ?
Please guide me some ways, tutorial links or sample code.
Thanks!

If you are wanting to use the keyboard outside of the app then using Corona does not make sense. You would have to get the Enterprise version and then code it in iOS native an Android native then integrate it into Corona and even then I'm not sure its possible.
If you are making an app where keyboard is only to be used inside that app you can create an onscreen keyboard:
http://developer.coronalabs.com/code/onscreenkeyboard
https://www.developer.coronalabs.com/blog/coronageek/hangout-highlights-writing-a-custom-keyboard-for-spelling-test/

Related

How to start working with libvlc

Hello I am very bad with c++ and I'd like to try to make a little custom video player that uses VLC as the back end.
I am using Windows with Visual Studio, and at the moment I have no idea how to get started with using the libvlc api.
Which files do I need to include? where do I get them? Can someone help?
You should use the libvlcpp c++ wrapper when targeting native Windows apps.

Need help Android and iOS-App developed on Xamarin

Need some help on xamarin Platform. I understand it can be used to develop Android-base and iOS-base App on Xamarin. I have the following questions:
For Android and iOS-based app develop on Xamarin, can the app run on Android-tablet ad iOS-tablet respectively? what I need to do for both tablets respectively?
If there are new controls for android and iOS, how Xamarin will update this for development?
1) Yes they can run on Android Tablet and iPad. Your code logic would remain the same but you would need to provide for the UI since the resolutions are different.
For iOS, Xamarin makes it simple by providing for a Universal template which allows you to provide different layouts for iPhone & iPad.
For Android, there is no template as such but the process remains the same just as you would for phones with different resolutions.
2) Assuming you are talking about the default controls, they will made available in the Xamarin framework via their regular update channels. First they are in Alpha, then in Beta and once the bugs have been ironed out, they are made available to Stable channel which can then be used in the production apps safely.
I would recommend you go through their docs which are quite good and explains this whole thing in quite detail. Xamarin Docs

Is it possible to embed xamarin part into an existing native app?

I have existing iOS and Android native apps. Is it possible to extend the apps with Xamarin coded part ?
Both Xamarin.iOS and Xamarin.Android are currently setup to take control of your application, so you need to make your main program be written in C# and then call into the existing code.
The way that you would do this is to bind your existing Objective-C or Java code as C# libraries, and then consume those libraries from C#. The binding technology is precisely what drives both the Xamarin.iOS and Xamarin.Android tools, so you would effectively be doing the same.
Once you have bindings, the interoperability works both ways: you can call native code, and native code can call C#.
The bad news is that instead of starting to enjoy writing code with both tools from day zero, the first thing you have to do the bindings, which is in general, not as fun as watching colored squared move on your screen.
Ok I find an answer here : http://www.whitneyland.com/2013/05/why-i-dont-recommend-xamarin-for-mobile-development.html
For example, code written in Xamarin cannot be used in native or HTML5
apps.

Converting existing iPhone project to universal in MonoTouch?

I'm looking to figure out how to convert a working application from iPhone only to universal in MonoTouch. It appears there's a tool in xCode that does this. Is this tool relevant for monotouch? Or is there one for MT that does what the xCode one does?
Thanks!
Jim
in the info.plist change the devices to Universal(that works for me)
and like in the universal example made by Xcode and MonoDevelop you will need to implement the code that handles each iDevice
if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone)
{
}else{
}
after you run your app change the device in simulator to iPad and you will see the change

Javascript framework support in phonegap for cross-platform?

Anyone have the idea of which Javascript framework is much supported by the cross platform
for PhoneGap App development.
I search on the web and find the JQuery Mobile framework but it is not much compatible with the android it shows problem with UI while it is much supported by the iPhone.
There is any JSframwork supported by the all max platform?
Please Help..
I personally use DataZombie's fork of jQTouch - https://github.com/DataZombies/jQTouch
The transitions and scrolling all work fine on Android unlike some of the others.
Android doesn't have a built-in theme for Android the way it does for iOS, but I was able to put one together for my app fairly easily (it's just CSS and a few images). When it is more complete I will probably release it, but you should be able to do your own or use the jet one (that looks fairly Android-ish).
None of the frameworks really looks like a proper native Android app out of the box as far as I have been able to tell. Nearly all of them seem to have a very iOS-centric navigation system (back buttons in nab bars, etc) that just don't exist in native Android apps. One of the first things I did in my theme was to get rid of any back buttons thus relying on the hardware back button for backward navigation (more like what Android users expect).

Resources