Include react-vr in react-native - android

I would like to know if it's possible to integrate a react vr tour inside an Android and/or iOS app developed with react native. If so, how can I do it?
This is just an idea but I haven't found a real solution on-line.
Thanks for your attention.
(I'm Italian. Excuse me if you do not understand my English)

You can't actually mix the usage of these two libraries. react-vr depends on react-native but has a totally different runtime. One possible solution is having a web view in react-native and displaying the react-vr content inside.

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

Can i build an application with basics of a programing & codes researching?

Can I build an application with basics of a programming & codes researching ?
my question is that can I build an app with the basics of a programming language like Python and researching on internet on codes that I will need to use on my application.
Thank's.
Yes, you can do. You've to just brush up life cycle of app in iOS & Android e.g. view and activity. All languages are same in semantics except syntax.
Yes its possible. Using basics try with small applications.
After that you can implement advance concepts on these applications with some research and practice.
You can use another programming language like python and many more to build up android and IOS application but you can't build up and default functionality as you can built up and developed by using native programming languages.
I would like suggest that if your are targeting android then you should go for android and if you are targeting IOS then you should go for swift instead of choosing another language.
The reason behind this is that if you spend lots of time to implement something by using another programming language like python ,there is no guarantee whether you will success or not.
if you are choosing native programming language to implement anything it would be easy to implement anything.
Yes it is very possible.
Anyone who understands code can write code Programming languages doesn't matter. Most of us does the same, we know little about our environment and try to come up with a solution but if we are stuck we all search over internet to find the solution. If we can do it so can you.
Just start off by writing some code for your first App and gradually you'll improve with a good pace.
Hope this help, keep coding keep learning!!
Yes, it is possible however researching for codes alone might not be enough to gain a deep understanding about creating apps. It is better if you choose first which mobile platform do you want to pursue (iOS or Android) then start researching about the basics like using its IDE and the app lifecycle. Then create simple mobile apps until you get used to it.
P.S. This is also based from my experience because I also had a hard time learning how to create apps before.

business processes Framework (Xamarin or ReactJS)

maybe someone can help me. In near future i'm going to develop a business processes application like this :
https://play.google.com/store/apps/details?id=de.semture.cubetto
https://play.google.com/store/apps/details?id=com.showgen.processcraft
Now i would like to know if there are some already existing Frameworks or projects for that. I just want play arount with that subject to get a feeling how it works and what i have to do. I'm planing to make it available for Android (highest priority) and Web (Ios and windows arent so important right now).
So my first question is. Are there any Frameworks, libs, project availbe for something like that?
I've already searched for some frameworks but without no success...
And the other question would be what Tool or language should i use ?
Currently i'm working with Visual Studios 2015 Xamarin (xml & C# based language). We all know that i can make crossplattform apps with xamarin. But some minutes ago i've heard that there is a language/Framework named React.JS, that is also for android ios and web apps.
Now my second question:
which one should i work with ? Xamarin or React.Js ? Which one would better fit to my project and what are the main differences ?
I hope someone could answer that :)
Thanks in advance
This really comes down to personal preference and what you are trying to accomplish. If you are a C# developer, then Xamarin might be your best bet for android. With using ReactNative, it will be a little easier to create your web app from since it uses React. If you are trying to have a native feel for the android app, you will still have to know some core android development for both platforms. If you aren't super worried about the look, feel, and performance of it being native, then you can look into ionic which is built on top of Angular, and this you can use as a web application as well as build it for android.

Using Sensors on Android with React Native

I'm trying out React Native right now, and I'm wondering if it is possible to use the sensors (Accelerometer, Gyroscope, etc.) on Android, for I know it is possible on iOS.
This repo seems to have most resources involving React Native, but I cannot find one that specifically refers to using the sensors on Android.
https://github.com/jondot/awesome-react-native
I just wrote a package for Android:
https://github.com/kprimice/react-native-sensor-manager
To answer your question as to whether it's possible... yes, everything that is native is also possible with react native. You just might have to roll your own solution, especially now because react-native (especially for android) is so young.
I always check https://react.parts/native to see what components the community has created. I recommend this as your first stop as well.
I found this iOS only package there...
https://github.com/pwmckenna/react-native-motion-manager

Simultaneously development of iOS and Android app in React-Native

I have been searching online for a while trying to find some best practices for simultaneously development of iOS and Android app in React-Native. I was wondering if anyone has any experience with this. Should we have two projects? Have one project with different views? Share the same views for the same components?
Appreciate your time!
How you organize your components is a bit of personal preference.
You don't need to organize by platform, however. Just name your components like so:
MyComponent.android.js
MyComponent.ios.js
React Native will automatically pick the right version of the component for each platform.
I think it should be one project. Here is my project structure:
/app/common/
commonComponent1.js
commonComponent2.js
/app/ios/
iosComponent1.js
iosComponent2.js
/app/android/
androidComponent1.js
androidComponent2.js
React-Native has %70-%80 code sharing for both platforms. Therefore you should one project and reuse common components for ios and android.

Categories

Resources