Testing Android Studio app on iPhone - android

I would like to develop Android app with Android Studio, but the only device I have for now is an iPhone (5 and 6).
Is there a way to have a live-preview of an app on iOS? For installing Android OS on iPhone I've seen solutions like iDroid, but they seem to be not supported and not exactly working in this kind of way.

Is there a way to have a live-preview of an app on iOS?
No, sorry.

You will not be able to run your android app on iOS. But what you can do to test it is use the Android Virtual Emulator. It is built an to android studio. This will run an instance of Android on whatever computer you are programming with. You will be able to test your app easily on that.

If you have a Mac and an iPhone 7, you can install a hack called Project Sandcastle. It is still in beta, and probably won't be updated ever. It doesn't support GPU, and supports only iPhone 7. The device heats as hell. I do not recommend installing this hack, just buy a cheap android device in store.

Related

Running Augmented reality apps on Linux using emulator

In continuation with this question. I am asking this question.
I installed Android Studio. I installed Unity 3D. I followed tutorials of Java-Android Studio and Unity. Nothing worked well because of the reason that they need the latest version of ARCore and neither my mobile nor emulator is compatible with it. I am exhausted searching for alternatives.
I didn't find any tutorial or guidance related to developing Augmented Reality Android apps. Please suggest me a reference that works on Ubuntu system without the need of the physical mobile, but with an emulator, if possible.
Note: Please provide a reference that is relatively easy to test small app initially so that I can proceed forward. I am saying this because of the reason that I am working from almost 3 months but didn't run a small AR app either in the emulator or in my mobile (Redmi Note - 4).
You should check 8thWall. It runs on almost all phones and it has SLAM as well. You can not use it with emulator but it has an application called XR Remote in which you can test your code without building for Android or iOS. Minimum requirement for Android is Android Kitkat (4.4) or higher and for iOS Minimum iOS 7.0 or later is required.
As the owner of the question stated 8thWall can not be used with Linux. As an alternative [ARToolKit] can be used. It is an open source AR framework. For more details you can refer here and here

Android equivalent to iOS Simulator

The iOS simulator is great for testing websites locally on various Apple devices. Is there an Android equivalent?
I've tried Android studio, but I seem to have to build a device every time (unless I'm doing it wrong). I'm mainly concerned in seeing the sites in the default Chrome browser (Version 53, 59 etc).
What are you trying to test? An app or a website? If you have to "build a device" every time, you are doing it wrong.
The device emulator that you are using in android studio is the intended way to run android without a physical device. Ensure you have properly installed haxm if you are finding the emulator unbearably slow. It may help.
If you really want to try something else, you could try using the genymotion emulator. It is quite comparable to the official one though.

If I buy a Nexus one in Best Buy can I use it for develop applications?

I want to start Mobile Phone development, but I am very very new to this area, I have 3 choices: iPhone, Nexus One and Windows Phone. I believe Nexus one atracts me more. But I have never bought a smart phone. My questions is: If a buy one Nexus One from Best Buy store, can I use it for developing Android applications?
I appreciate your help, nobody helps me with this question and I am a novice in smart phones.
Thnak you
Edgar
For the most part you do not need a device to start doing mobile development. You can download the Android SDK complete with an emulator here: http://developer.android.com/sdk/index.html
If you're not sure which kind of development you'd like I'd recommend downloading the toolkits for all the major ones, trying them out, and then decide.
Android
Windows Phone
iPhone
Blackberry
You don't develop mobile software ON a mobile device. You use them to test.
If your choice is Android vs. Windows vs. iOS, then you need to decide what kind of software you will be writing.
For native apps, all 3 use very different development platforms (java vs. .net vs. objective-c).
If you're going to go the HTML5 + Phonegap route, then it really doesn't matter. And you really don't need a physical device anyways...you can always test on simulators.
If you want to do ANY app dev for iOS, though (be it native or phonegap) you WILL need OSX on a desktop/laptop computer.
First decide what operating system you want to work on as DA suggested. If you have decided to develop applications for Android then iPhone and Windows phone is of no use to you.
Only those devices having Android Operating System you can use, Nexus One or Samsung GalaxyS are good options.
But before buying anything you can start developing applications as there is emulator provided which does most of the work that a device does.

Complete Development using the Motorola XOOM

I really want to get into Android programming but I only have access to company resources right now. I have the money right now to purchase a XOOM or a development laptop. Is it possible to compile Android apps using the command line on the Xoom while using other apps to write the program files.
What would seem like a dream environment would be if I purchased a XOOM and a BlueTooth Keyboard. Am I dreaming? Developing using older Android devices was naturally limited by the screen space of the device and the underlying hardware also.
No, as far as I know, you cannot develop Android applications from within Android. You will need a Windows, Mac, or Linux desktop environment to develop Android applications. Visit the Android Developer site for additional info on the SDK.
Go for the development laptop, and test your applications on the emulator. Initially you can get friends to test them out on their android for you, and hopefully by the time you make something important enough you will be able to afford your own android.
Check out AIDE. It can build and deploy apps natively on Android.
Google doesn't have a version of the SDK that runs on an android device, although as devices become more powerful this would be a pretty awesome thing to have.
You'll want the laptop, since it can emulate different android devices.
Buy the laptop and get a cheap phone on craigslists.
Although, the XOOM emulator doesn't work at all, so if you want to develop specifically for that tablet it's a good idea to buy it. It's impossible to emulate android 3.0 on any computer on earth :)

Can I use any Android Phone for application development?

Can I use any Android Phone for app development? Here in the Philippines, there are many available mobile phones with Android installed. But I want to buy the cheapest phone available (which I think is Samsung i5500 Galaxy 5). Thanks in advance!
You can use any android powered device for development, just make sure it has Development menu option. To check go to Menu -> Settings -> Applications -> Development. If there is somewhat like USB Debugging option you can use device for the development.
Why not use the actual dev kit? There is a complete setup with virtual phone included that you can run as an eclipse plugin.
http://developer.android.com/sdk/index.html
I think any Android platform based phone will be OK.
Yes you can, and I would definitely recommend using a real phone. The emulator is excellent, but somewhat slow for a number of applications that require hardware (OpenGL comes to mind). Even a G1 tends to be faster than the emulator for certain things. If you're creating an app that uses Bluetooth, there's no way to do so on the emulator currently. Konstantin's directions are good for actually setting up the phone.
You need to understand one thing before you buy the phone. What version of Android SDK you will be using for to develop the app. If say, you are developing the app for cupcake and above, you better have a phone with cupcake version. But if you have Froyo phone, you will not be still able to run the app, but some depreciated functions might not be available and your app may crash.
If you want to develop in Windows there is a list of devices available for which the USB drivers work: USB Driver for Windows
If you don't need the GSM part you could also think about using the Archos 5 Internet Tablet, which is a Android powered media player and supports ADB (Android debug bridge) as well

Categories

Resources