Is Ionic Framework Native Camera editable? - android

I'm new to ionic framework and i'm wondering, is it possible to put something into ionic framework's native camera? Like, put a label/tooltip that "detects" the color of the pixel? I'm currently working for my thesis project for color blind people.

It is not possible with Ionic Native plugin. But code of this plugin is open source so you can add custom code to the plugin that reach your expectations and then use it in Ionic.

Related

How to work with native resources in Flutter?

I'm learning flutter right now and I want develop a app that use the smartphone camera, but I'm not finding anything in the flutter docs that help me with native resources of the smartphone. I basically want develop a app that user can use to cut a image and save it.
Can anyone help me with this?
With flutter you use plugins to access native API's.
You can either create your own plugin using the following documentation
https://flutter.dev/docs/development/packages-and-plugins/developing-packages
or run an existing one from www.pub.dev like https://pub.dev/packages/image_picker

Project structure of react-native application

I am starting working over react-native for development of android application. I am quite familiar with android studio structure. In android sdk to create view XML is present and for controller java is present. But in react-native how to create view and controller for android application ?
But in react-native how to create view and controller for android application ?
This question is like given an apple but analyze as an orange.
For react-native, exactly for React part, we don't explicitly manage it as view and controller as we did for android or ios.
I suggest you read about React first. It is the core idea. The Native part is just meaning build the native mobile app by React way (you have totally 100% ways to touch the native part - android/ios code - without any restriction as you want).

openCV with nativescript?

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

Phonegap with Android XML

I'm working on a android application
I would like to create a application for android using phone gap.
Is this possible? can I create a front end design in Android XML and back end controller functions in phonegap and make it an app in android studio ?
Any thoughts / experiences?
YOu can use cordova/phone gap to develop mobile apps. But these framework uses HTML5/css/JS technologies to do so. Sn android.xml would not work. You need to create your UI using HTML+CSS and code your business lodic in JS.

Does Android Studio supports AngularJS for Android UI design?

I have a question about Android Studio: Does AS supports AngularJS code while designing XML files, e.g. for small animations or effects?
SUMMARY : NO
There is no way you can write Angular JS code while developing Android Native app. You can use Angular in a WebView (using js/html so), that's all.
AngularJS is a completely different technology than what is used in native Android apps. Native Android apps use Java and/or C for their code, which is compiled when you build the app. AngularJS is a framework for web development, running specifically on Javascript (a completely different technology than Java).
You can build apps without using native Java or C code, but there are tradeoffs. As noted in other answers, you can display webpage views as apps (using technologies like Cordova]), or use frameworks like React Native to write code in Javascript that then gets compiled to a native app. You could use AngluarJS in the webview instance, since it just displays a webpage, however not in something like React Native. I highly encourage you to check both of these (and other options) out, but keep in mind that they have their own limitations and tradeoffs – no one way is the "right" way to build an app.
In summary: No, AngularJS is a web technology, not a native app technology.
new answer = Yes... Sort of, you can do it with:
https://www.nativescript.org/
It translates javascript, angular and typescript code into native components!
Apparantly it's possible to use nativescript in Android Studio with:
https://docs.nativescript.org/runtimes/android/getting-started/hello-world
Android Does not support AngularJs. but still if you want to use you can use it in webview.

Categories

Resources