How do I use the Linea-Pro SDK for IOS?
I found the above, which got me to get a "connected". Thank you for that post, I was totally dead in the water until I found that post.
I'm now searching for the how-to to connect a button and also the scanners button to do a scan and then feed a textField. It's the connecting the button(s) that I'm having a hard time with. I'm pretty green to Xcode learning mostly by adapting examples.
I'm still searching through the LINEA SDK but it is quite overwhelming as it's all encompassing. I only want the barcode scanning feature.
I'm using minimum storyboard based project and just a button and textField to learn before adding the scanner to my real app.
How do I use the Linea-Pro SDK for IOS?
Check this
Try their demo first which you can find here
http://www.datecs.bg/en/products/Linea-Pro-iPhone-SDK/8/102
that should help you.
Related
I am wanting to render a short piece of animation on the splash screen of my CN1 app but am struggling.
The Lottiefiles website contains a lot of good animation content, but the closest example i can find to using it is within XCode. I have the downloaded JSON file, of the animation, but am wanting to know if anyone has figured a way of incorporating into a CN1 Java app?
I can see that developers have used in Java, but CN1 wouldn't allow the LottieAnimationView component on it's layout manager i would guess.
https://steemit.com/utopian-io/#fahrulhidayat/beautiful-animation-for-android-application-using-lottie-library
Any pointers appreciated. Thanks
The "right way" would probably be to wrap the native implementations for the various OS's in a cn1lib so you can use lottie in a cross platform way. There's a long tutorial about wrapping native code in the developer guide and Steve did a 3 part video series on the subject a few years back: https://www.codenameone.com/blog/integrating-3rd-party-native-sdks-part-3.html
It's mostly mechanical so it shouldn't be too hard. If you want to take a shortcut you can probably use the web version of the API in a BrowserComponent and call it a day.
I am currently building a mobile app using angularJS, on plunker. The app once complete will be used on iPhone and android devices and will need to be able to access the camera and scan a QR code.
What i'm struggling with is how to go about this. I have done some research and found a lot of github solutions such as -
https://github.com/sembrestels/angular-qr-scanner
https://github.com/blockchain/bc-qr-reader
However I am unsure of how to add these to a plunker built app or if it is even possible?
One idea I have had whilst looking online is to make use of HTML5 and getusermedia to access a devices camera. Although then using this to scan a QR code is quite beyond me.
I am quite new to all this, and if I am honest not very confident at all. Any recommendations will be greatly appreciated.
Is it possible to print from my CN1 app to a WiFi printer?
I don't want to print files. I want to print tables filled with data from my users.
I noticed this question from 3 years ago. https://groups.google.com/forum/#!topic/codenameone-discussions/RIizxJNZBHU. Hopefully there is something now. Thanks
There is nothing new about this as it's a pretty niche requirement. When it was asked printing support was remarkably rare and now its just rare.
You can use a webservice like Google Cloud Print or use native interfaces to integrate with the printing API's e.g. see the developer guide sections about building cn1libs and working with native code: https://www.codenameone.com/manual/advanced-topics.html
I'm putting together a simple winforms app for playing videos from the web for my kids. I've explored two options so far but I'm having problems with both of them:
cefsharp: Playing videos wasn't a problem, but it would not persist cookies (even with the CachePath set), so I would have to log into the web sites each time. This would not be very user-friendly.
GeckoFX: No matter what site I go to (youtube for example), flash videos will not play. I get a bank section on the page where the video goes. Based on other questions, I tried adding the line "Gecko.GeckoPreferences.Default["extensions.blocklist.enabled"] = false;" right after the initialize statement, but that did not work. I'm running xulrunner-33.0.2 and GeckoFx-Windows-33.0-0.2.
Any ideas on how to get either solution working would be appreciated.
UPDATE:
I found this site https://bitbucket.org/geckofx/geckofx-29.0/issue/14/plugin-flash-not-working-since-xulrunner which stated to turn off the "Visual Studio hosting process" for the project and now YouTube video play with GeckoFX, but no videos play off xfinitytv's site (http://xfinitytv.comcast.net/watch-live-tv/).
A bug has recently been fixed in CefSharp to make this possible. See this issue: https://github.com/cefsharp/CefSharp/issues/843
What should work is:
setting CachePath
set the persist_session_cookies command line argument
after OnContextInitialized, call Cef.SetCookiePath
You'll need to use the latest version 39.0.1 to get access to the OnContextInitialized delegate.
Is there anything that is less intimidating than recaptcha for mobile apps? My app is built with JQuery Mobile and most likely will never be available on the desktop. I am hoping there is a more visual captcha that would not require typing. So far most visual captchas I have found seem too large for a mobile app. I am mainly looking for something that is visual and small enough to fit within the average mobile screen. Any suggestions would be appreciated, I would even be willing to build something from scratch if someone has a good idea.
I don't know if you are using HTML5 or not, but there is a pretty cool captcha that I've used called MotionCAPTCHA. What it does is it presents a shape and the user traces the shape with their finger on their mobile device. Its pretty cool. I've used it with Android and it works pretty well. It requires jQuery and HTML5.
Damn, that MotionCAPTCHA link appears to be dead. I found this question looking for similar things to what we're working on at my current company.
We have a HumanDetect mobile SDK trying to solve a similar problem. The overall idea is we grab sensor data from the phone so we can determine "bot or not". You ask the SDK for a token, then send that token along with your REST request, and then that token can be validated. If everything works as expected only a mobile device in the hands of a human should produce a token that validates as "not a bot".
It's native code, not using the browser. For the end-user's point of view, it is transparent, the user isn't asked to perform any action.