uWebKit plugin doesn't support Android.
Anyone knows a similar plugin that supports Android? (in addition to iOS and standalone)
I haven't tried it but this option is open source https://github.com/gree/unity-webview
Related
Is there any (easy) way to link to native libraries, specifically OpenCV, using Telerik NativeScript? I suppose since it outputs source I could go into the Android and ios projects after compiling and implement all of the openCV code seperately, but that sort of defeats the purpose of using NativeScript, imo.
Is there any cross-platform way to interface with native code?
Thanks!
If OpenCV supports Android and iOS then you would need to create the communication to the native code to use it. That's how all of NativeScript works, it allows you to use Javascript (TypeScript) and communicate directly to native code without any wrappers.
So essentially everything in NativeScript has a wrapper to the underlying native code/components, that's the difference and the power behind products like NativeScript and React Native as opposed to Cordova based apps (PhoneGap, Ionic, etc.).
Since your question isn't a code specific question, it's kind of hard to answer and there might be a slight misinterpretation on my part of what you are really trying to understand. Hope this helps in some way. :)
here is iOS pack for openCV:
https://sourceforge.net/projects/opencvlibrary/files/opencv-ios/3.4.3/opencv-3.4.3-ios-framework.zip/download
and for android you can download it from here:
https://sourceforge.net/projects/opencvlibrary/files/opencv-android/3.4.3/opencv-3.4.3-android-sdk.zip/download
EDITED:
a solution is to write a plugin and reference the OpenCV framework using cocoapods
here is the link of how to write a plugin in native script by cocoapods
NativeScriptUsingCocoapods
I have a few questions about webRTC on android. I can say I'm new about android and webRTC but I can also say I made tooo much research about webRTC on android. But still have a few questions. (some of them because of I'm new, and some of them because of I'm okey but not fully)
I'm trying to make an android app which is going to communicate between web browser (first choice is chrome) and android device directly (p2p we can say). So I made too much research and I found webRTC is good for me. Do you advise me something other or is it okey you think? (also I am going to code a plugin for chrome).
Nearly every document says 'android is not directly support webRTC'. So I need something to provide me webRTC on android. What it is? Is it native android that I have to code? Is it native (NDK) library that I have to include my project? Or is it a java lib? Or should I go for cordova/crosswalk or sth like that? I researched all but didn't find something can help me. Yeah there are documents about it but not enough..
Some of documents says, I need chromium. But why and how? They show me lots of linux terminal commands and even there is no a line java or C or C++ code. Even some terminal commands and links that they give is not working.
I read/found/tried these things as a result of my research:
Apache cordova
Crosswalk
http://www.webrtc.org/
https://github.com/webrtc
http://webrtc.github.io/samples/
http://simonguest.com/2013/08/06/bui...t-for-android/
http://orcaman.blogspot.com.tr/2014/...tc-source.html
https://github.com/pchab/ProjectRTC
https://github.com/pchab/AndroidRTC
and something more..
in a nutshell I need help. Please give me your hand. Thank you. (because I'm really very helpless and tried to do my best)
Thank you.
As others have suggested, I recommend checking out g.co/webrtc. As I understand it, your goal is to make Android connect to a web browser using WebRTC. There are two (three) ways you can achieve that.
You can just use Chrome, Opera or Firefox for Android. All these browsers support WebRTC, and it allows you to use the same code for your web app, as for your Android app. With the new Add to homescreen support, as well as support for push notifications from web apps on Android, this could be a very good solution for you.
You can use the Android native WebRTC library, available from WebRTC.org. As mentioned in my article, I recommend using the pristine.io compiled library, available from MavenCentral.
If you can limit your application to Lollipop, you can use WebView, which support WebRTC now iirc. I don't know much about it though.
And the best resource for getting help is discuss-webrtc. It's a lot more active than StackOverflow.
I m going to work on an text to speech application which will be in both android and iphone. I found very good threads on stackoverflow for TTS libraries in iphone.
My question is : should i need to use same library for both iphone and android ?
If yes are there any same library provider for both iPhone and Android ? I just want to be sure that the both the apps dont behave so different to each other if I am going to use different libaray , thats why I am curious to find a solution
You can go with Flite-TTS-Engine which is available and compatible with both iOS and Android.
You can find Android Flite-TTS-Engine here
You can find iOS Flite-TTS-Engine here
For iOS
Text To Speech(TTS)
https://bitbucket.org/sfoster/iphone-tts/src
https://github.com/todoroo/iPhone-Speech-To-Text
http://docs.phonegap.com/en/2.0.0/guide_plugin-development_index.md.html
https://github.com/phonegap/phonegap-plugins
https://github.com/phonegap/phonegap-plugins/tree/master/Android/TTS
https://github.com/macdonst/TTS
http://www.raymondcamden.com/index.cfm/2011/10/12/First-test-of-PhoneGap-Plugins
http://en.usenet.digipedia.org/thread/12992/27474/
https://groups.google.com/forum/?fromgroups=#!msg/phonegap/JSBV8zfbXZ0/JqiLM5HdTF4J
http://phonegap.com/blog/2012/09/
This linke may be helpful for you :)
iOS ActionSheet plugin for phonegap:
https://github.com/phonegap/phonegap-plugins/tree/master/iOS/ActionSheet
Is there a Android equivalent? (preferrably that uses the same js interface)
This seems to be a plain Javascript interface that will run on Android too. Maybe check out this?
https://github.com/mgcrea/cordova-actionsheet#javascript-interface-iosandroid
This is very good and for Android, iOS and WP
https://github.com/EddyVerbruggen/cordova-plugin-actionsheet
Are the Cocoa libraries available on Android? If so, then how can I use them on Android?
Nope. The NeXTSTEP, Cocoa and Cocoa-Touch libraries are proprietary to Apple.
GNUstep and OpenStep are projects that aim to create an open source clone of NeXTSTEP. These will not run on Android natively as far as I know, but since they are open source, you can find the project pages and mailing lists and find out if you can help out in any way. Who knows: Maybe someone else is interested in bringing them to Android?
It's unavailable on Android only for iOs
Android runs Android SDK.
Check it out here http://developer.android.com/guide/index.html