I would like to start looking at development for Android applications (nothing huge, just for learning). Before I begin, I would like to find out whether or not development on the Android phone I use daily would be corrupted or changed in some way if I used it as a development device.
I probably won't put anything on the Market, but I would just like to test out how everything "works" with Android development.
Any help that will guide me is great.
Thanks.
It shouldn't cause any problems at all. The only problem I can imagine is that you have to enable installation of applications from unknown sources (i.e. not the marketplace). You just need to be sensible not to go installing applications from dodgy places.
No, not at all! Sorry for the shortness of the answer, but that's it.
The only problem I can think of is writing to internal memory more than usual, but if you install a lot of new apps, the effect will be the same, so it's nothing special. And as alextsc said, if you write something and it doesn't work, just remove it, and that's all.
Not at all. But even better, when you set everything up (Eclipse, the Android SDK and the ADT Eclipse plugin) you'll also get an Android emulator that you can test your development projects on virtually.
Still, it's just fine (and recommended) to do testing on an actual device, but if you're just playing around, you can likely just use the emulator and only deploy to your device if the end result is something you'd like to show off to your friends!
Best of luck!
Hey in addition to the above answers,
You should actually test on your device when you are making an app that uses one of the following :
GPS, or wi-fi to get user location
when you want to use any phone sensor in your app
when you are trying to integrate camera/ camcorder in your app
also you might need to actually test phone call/sms functionality integrated in an app
otherwise the emulator just works fine
Related
This is my first question on Stack Overflow, so sorry in advance if I asked the question in the wrong place or messed up.
I have this project where I am repurposing an old android tablet for the project. I need to make an app which will always be open on the tablet. The problem is, I am not proficient in making apps for Android. So, I thought let me run an iOS emulator (like iemu or Cider APK). Then, I realized I don't know how to put my app on the emulator.
I was thinking of ad hoc, but I am not sure if it will work. Then I though about stuff like Snapchat ++ or Instagram ++. How do they distribute it? For those who are unfamiliar with it watch this video starting at 1:55.
So in short, can I put my iOS app on the emulator or is it just better to get better at making android apps?
Thanks in advance
Based on my quick research I checked just briefly bunch of articles about Cider APK or iEMU APK and also comments and I downloaded one app but didn't run it because its basically distributed from some google drive account and looks quite dangerous to run on my phone.
But based on my understanding how this is actually doable https://appetize.io looks like only way, as this is merely some remote virtualization solution and they have business model instead of ad scam business model as those others. appetize.io runs in browser and has a free plan with limitations but usable , also they allow to upload your apk to their server to run it on their iOS devices that is basically visible in web browser, while quite slow but working and its real thing and useful.
I am guessing you would get Cider APK or iEMU APK.
I have never done it myself but I know it's doable. Read their documentation.
Install the emulator in your IDE and run by choosing the desired destination.
Hope this helps.
http://www.androidcrush.com/run-ios-apps-on-android/
This is the first time, I am working on cordova applications. I created a dummy application as per documentation and tested in simulator working fine.
Now I made an .APK file and installed in my own android device, there also working fine. Whenever I am modified anything, I have to make APK file and re-installing... these everything taking time for my development.So I decided to test application directly in my device instead of simulator. I Goggled and found URL-1 URL-2, They are suggesting,we can overcome this with USB cable. As per their suggestions I did it, now directly I am running application into my device(I mean no need to make APK file).
Note : I am using Eclipse,windows7 for my development.
Until now, this was fine, but the problem I am not able to console . If I test my application with simulators I can console in browser using chrome tools, that way I can identify what going wrong. I can put breakpoints there and I can debug.
I don't want to test with simulators(I want to test directly with my devices), but I can't able to see console If I test with my own device.
Regarding this, I searched but I didn't find any solutions. can anyone help me.
Basically
I want to test my application directly with my device(don't want to test with simulators)
I want to console
I did first point with USB, I didn't find any way for my second point. can anyone help me .
Thanks.
You have a few options: The easiest option is to use alerts instead of console logs. This is a little annoying still since you potentially get a bunch of alerts, but it's definitely better than rebuilding and/or redeploying your cordova application every time you want to test something.
If you are set on using console.log(), you need to install abd and use logcat. For information on setting this up, check this url:
https://developer.mozilla.org/en-US/Firefox_OS/Debugging/On-device_console_logging
You can run this command in your terminal to output the logs once you have installed abd:
abd logcat
I am using gapDebug app to debug my applications. It's very simple.
I have a running app on fox pro which is developed using DOS. And its working very fine on the computer system. But due to the requirement of the users, now they want it to run on the android device.
So
1. Can you please tell me whether any plugin or bridge is already there in the market or should I have to develop one. I am basically looking for the bridge which can make communication between Android and fox pro. I don't know whether this is possible or not.
2. Any solution to open console in the android device where I can execute DOS commands in Android device like I do in the computer system.
Specifically I don't want for redevelopment, but if there is no way to achieve then let's see.
Apparently, you can run DOSbox under Android:
http://androiddosbox.appspot.com/
I've never tried this, but maybe it will provide what you're looking for.
Between a combination of psgsdk and Appery.io and software that helps convert screens from SCX files into Appery, this is a lot easier now. I've done this several times and have apps in both Google play and IOS app store that are FoxPro apps. The back end and all code is Visual FoxPro and the front end is Appery. #abigdreamer on twitter gets ahold of me -- let me know if I can help -- Know this post is years old but others might need the same.
I have been searching the internet wildly for an answer to this question.
We are creating custom android app for internal use only and we would be installing that on custom andoid devices. We would like to have full control of the device through the app. The end user of this device is not meant to use anything other than the app on this device. I have sealed out all the possibilities of getting out of the app except this one possibility where the program tries to update itself and asks for user permission.
Let me repeat again, This app is not meant to be put on market, only for use with custom devices designed for specific purpose. So security is not an issue here.
The device is rooted and we have done a lot of alterations with it. But I cant quite figure out how to make this update work.
If you have any ideas/solution please share it with me. I can do anything with my device, (even dig a hole in it if required :P) as they would be custom made, and would be packaged with us before going out. Just have to make it work.
If you are talking about internally installing the APK with like an update application specifically designed to update your other application which is not managed by Google Play you may want to look into this. So between xjaphx's answer and the link I just shared you will be able to install and maintain updates.
This is as simple as how it works.
Pre-condition:
Get devices rooted
Prepare Android development environment (Android SDK, platforms-tools)
A cable to connect PC and devices.
Steps:
Open command-line if Windows or shell if Linux
type: "adb push YourApp.apk /system/app"
That's done for installation of the app. Reboot and check whether your app works or not.
I don't have an Android phone, is there still a way I can learn Android? How can I learn and what do I need?
Yes, absolutely ... the android SDK comes with an emulator, which, while quirky in some ways, does a pretty good job of letting you at least start learning and running most sample projects.
edit: This thread is somewhat old, but in recent times a new emulator has been released that is quite nice. Check out Genymotion :)
To add to Joel Martinezs answer,
Yes you can learn android dev without having a device, although it is really good to have one if you are into dev.
I started 3 months back and this is what i did
Downloaded the sdk and tools
Created a hello world app
Read about android sdk best practices in the developers site.
Looked at a lot of sample apps to know how they work
Started creating our app.
If I could do it, I am sure you could do it too. Android development is very easy to get started. You have all the info you need in the android developers site. If you need any help we are here at StackOVerFlow :-)
You need to fulfill the following requirements
Java knowledge
Android sdk
Android simulator
working knowledge of android OS(you can get it using emulator)
creativity and logics
Finally, a video tutorial(I suggest lynda.com)
Also take a look into android developer official site
Hey in addition to the above answers,
u should actually test on ur device when u r making an app that uses one of the following :
GPS, or wi-fi to get user location
when u want to use any phone sensor in ur app
when u r trying to integrate camera/ camcorder in your app
also u might need to actually test phone call/sms functionality integrated in an app
otherwise the emulator just works fine
As Joel puts it, you can use the emulator. Here is the developer website, and here is the page specific to the emulator.
Sure. Just get an android emulator and use that for your development. there are free emulators available online as well as tutorials and lots of books available for android OS development.