How to integrate Interswitch Payment SDK for Android in codename one - codenameone

Pls , I want to integrate payment gateway using Interswitch Payment SDK for Android in codename one. I have the complete guide through this place
I dont know how to go about this in codename one as the tutorial focused on android studio. PlS I really need this to work in codename one. Pls I need a guide about this to make it work in codename one. Thanks

You'll need to use a native interface. See the link below, but also search on the CodenameOne website, as I recall there being a three-part series as well (it's a bit older now). Also, you might look at the Braintree CN1Lib as a similar example.
https://www.codenameone.com/blog/tutorial-native-interfaces.html

Related

Add badge for android with codenameone

We tried more time to find badges with android using codename one, but I found some comments in stackoverflow is only working on IOS and not working on android, if true so when will it become available on android?.
Thanks in advance
When we created the badge code Android didn't support that UI paradigm. Arguably it still doesn't but some vendors include that functionality with a special API.
Currently the main thing holding this back is that no one asked for it or implemented it. First of all I suggest filing an RFE which will give you a way to track the schedule for adding this. You can add an RFE on http://github.com/codenameone/CodenameOne/issues/
You can also just implement this yourself and submit a pull request as explained in this post: https://www.codenameone.com/blog/how-to-use-the-codename-one-sources.html
This should be relatively easy although you will need to be careful with using the right API level options and might need to use reflection to avoid SDK dependencies which we don't want.
Other than that it's just a matter of interest if we need to implement it. If you have an enterprise account then make sure to let us know through the account of your interest in this feature. We also take pro account requests more seriously when assigning a feature.

How to include using Smartwatches in an app written with Codename One?

My company recently came up with an idea to include using smartwatches with the app I wrote using codename one.
Is this possible? If yes, which libraries do I need?
We are evaluating the possibility of smartwatch support, this depends on customer demand.
We currently have a major enterprise prospect that has expressed interest in this but hasn't signed up. If your company is serious about this please contact us directly.
Assuming we don't go that route or you need something immediately this depends on your supported platform, you would need to use native interfaces for most functionality. In Android notifications (which we support) should work for Android wear. In iOS we are transitioning to the new xcode 7.x which should support smartwatches too but I'm not sure what would need doing.

Card.io : Support for Non-embossed or Printed cards

I am trying to integrate card.io sdk in my android app. I was wondering if it supports non-embossed cards as well as it is very important for the kind of app I am working on.
I went through some old posts where it was mentioned that it is not supported yet. I just wanted to know if -
With latest release 5.2.0, is there any support for printed cards?
Is there any plan for near future, to support non-embossed cards?
Thanks
Unfortunately, printed/non-embossed cards are not supported as of card.io Android SDK 5.2 (nor in card.io iOS SDK 5.3).
The feature requires a non-trivial amount of work, but if you're interested in adding the feature, you may be able to look into the source repositories and try to get a few people on GitHub to help contribute. (Android, common dmz).

Using plugins on phone gap (cordova) 3.4

I'm currently developing a Phonegap project which use https://build.phonegap.com/plugins/617 plugin but i don't know how to integrate it and the doc is... kind of empty about it. I'm running on mac,
Thanks
Yeah, not sure what is up with the new documentation (can't find anything). What I have been doing is: go to http://docs.phonegap.com > change the version (top right) to 3.3.0 and then find the API you are looking for.
Here is link to the one above (http://docs.phonegap.com/en/3.3.0/cordova_file_file.md.html#File)

Web application on a mobile platform

First, my question might sound like a duplicate, but I have been going through a lot of questions on this forum and haven't found the answer to what I am looking for.
I have an existing web application built using Java, struts2 and jsps. I want the web site to be mobile - friendly. I am not looking at developing native apps right now. I want the mobile-site to have a native-app like appearance. So if a user goes to the browser on a mobile and accesses my site it should have that native look and feel. So I looked at Sencha touch 2 to begin with. I am new to Mobile development and would appreciate help in understanding how to go about evaluating Sencha touch 2 as a viable option. I see from examples that in ST the UI is mostly built using ExtJs javascript.
My questions are the following
Is there a way to port my existing jsps and html to the mobile view , without building them from scratch?
Since the css for the site is currently built for 'screen' media, this will obviously have to be worked out , but does Sencha Touch
provide any functionality of using an existing css and customising it
for a mobile device?
Appreciate your help,
Unfortunately, the answer to your first question is no.
Java/JSP and Javascript are totally different in essence. No convention could be made to convert between these two.
For the second one, SASS/SCSS might be the things you're looking for: http://sass-lang.com/. It's because Sencha Touch components' CSS properties are build through SCSS files. You can take advantage of these. For further ideas, see: http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch

Resources