React-Native using Android Studio - android

Is it possible to run a React-Native project using only Android Studio. Right now I use Genymotion for emulator and Webstorm to make changes to source files. It would be great if I can use Android Studio for both running the emulator and making changes to files. I would really appreciate if someone can point me how to do it?

The short answer is "NO".
A better question would be:
Is it possible to write React like programs in Android Studio?
The answer is "Yes" but probably not in the way you are thinking. The main difference is Java, it works totally different then JavaScript. So you could make react like code in Java with RxAndroid (see how) but it will look different

Related

How to use Kotlin with React Native in Android Studio?

I want to make an android app using Kotlin for the back end and Android Studio. For the front end, I understand that React Native would be a powerful choice, however I cannot figure out how to add ReactN to my Kotlin project.
I also tried creating a project in ReactN and then adding Kotlin: installed nodejs, npm and create-react-native-app, made the project. Then I tried opening it in Android Studio, but I wasn't getting any options to actually compile and run the project. So another question would be: can you work on ReactN projects in Android Studio or not?
If you could give me some resources on how exactly to do this, or if you can walk me through it step by step, it would be very helpful. I want to mention that I've never developed for Android or Web before (I'm mentioning about Web because I cannot rely on any Reactjs knowledge from Web dev).
React Native is whole framework, for front and back end, and have nothing to do with Kotlin (well, some Kotlin snippets may be integrated into RN app, thats all). RN projects are in fact multiplatform web/js based apps and Kotlin is used for writing pure Android apps, so this isn't a front/back end separation in here, these are just different approaches to development. Mixing both, while possible, makes no sense in most cases

Eclipse project (ACM JAVA) as Android application

I made a little project on Eclipse with ACM Java. My question is, how can I
export it, or use the code I wrote to let it run on an Android system? I know that I can download things like SDK Manager and stuff, but it doesn't work me for really, and it got really frustrating to deal with it, although, I would need to write basically everything from scratch again. Is there an opportunity or do I need to write it in Android Studio to be able to publish it? I could use Unity, but in Unity I can write scripts in Java.

Setup up Eclipse for android

I am just beginning to understand programming and over the past few days I have been trying to properly set-up my Android Eclipse to start programming. I also tried to install cocos2dx but still with no success. My question is - How do I properly set Eclipse for android and any additional things like cocos2dx to start making a game for example like Flappy bird or something like that? Do I need anything special for it?
Libgdx, in my opinion, is the way to go. Even Cornell University use it for their game programming courses. See here for their advice on the matter
http://www.cs.cornell.edu/courses/cs4152/2014sp/materials/android.php
And, here is a link to get you going
http://www.kilobolt.com/zombie-bird-tutorial-flappy-bird-remake.html
It uses libgdx extensively.
For game development you can consider something like Corona SDK. You can create a cross platform game which would run on iOS, Android and even Windows Phone.
More information here: http://coronalabs.com/products/corona-sdk/
If you would like to stick with Android, then I recommend to use Android Studio rather than Eclipse. Google gave up on Eclipse and actively moving towards the Android Studio:
https://developer.android.com/sdk/installing/studio.html
Games development is not straight forward. Maybe you should consider to learn application development first? Udacity has put a course together with Google, which can help you to understand how Android development works:
https://www.udacity.com/course/ud853
You also mentioned that you are new to programming. You should probably start with a lower level then Android development. Maybe start from learning Java?
https://www.udacity.com/course/cs046

Is it possible to use Code::Blocks as IDE for mobile apps developing?

I'm using Code::Blocks as my IDE and is programming in C++/SDL and was wondering about if the Code::Blocks IDE really can create more advanced stuff like a mobile app?
Or if I need another more advanced IDE like Eclipse to install to create a mobile app.
It would be great if it was possible to actually create a mobile app with Code::Blocks. I mean Code::Blocks is really easy to use and setup without getting any errors.
So I thought you guys who knows this very well could tell me that. Thanks for replies :)
Eclipse has seperate work environmnet for android development.
http://developer.android.com/sdk/installing/installing-adt.html
Also there is one for both ios and Android
https://blogs.oracle.com/fusionmiddleware/entry/eclipse_android_ios_oracle_enterprise

Developing UI for Android

I am planning to develop an Android based mobile for my Human Computer Interaction based project. I am looking for a UI designing application for Android platform. Can it be achieved with Eclipse or is there a better way of developing UI for Android applications that could be used directly with coding ?
Thanks,
Manoj
You can directly code your UI too if you want to. It just takes long, and you open a window for errors.
Developing UI with eclipse using XML is great and easy, why don't you want to use it?
If by UI you mean "not-the-basic-UI", then it's possible too with eclipse - if you want a customized view then you code it, and if you want the normal UI views to look differently, theres a way to do that too (I'm pretty sure you can set your own pictures for button-state-pressed, button-state-selected and so on...)
You need to be more specific with what you want to do.
Use java EE eclipse with (Android Development Tools) plug-in. Upgrade the android SDK in eclipse.
Eclipse has an extension called ADT (Android Development Tools).
Hope you have installed it. Here is the link for installing Android in Eclipse.
Eclipse provides the help for design the UI for android. It is just drag and drop.
Hope this helps
Eclipse has a builtin GUI builder that is fairly good, there is also DroidDraw, which may be slightly easier to use. I would recommend using Eclipse's builder myself, both are somewhat limited without hand-coding XML really.
Quick side note: Be sure NOT to use AbsoluteLayout, as I have seen a few people starting out with Android programming fall into the pitfall of thinking it will make GUI design easier. Issues will arise very quickly.

Categories

Resources