writing a "Hello Android" program - android

I am really new in the Android world. I would like to try to write a simple "Hello Android" program that runs on an Android simulator. I have tried to Google here and there for the last couple of days to find a simple article that will guide me step by step.
Are there that kind of simple articles on the net? URL?
I am running Ubuntu 10.04
I have downloaded the android SDK Tools 10 and many more packages.
I have browsed the [android-beginners] list
I have read the FAQ list
What next? Thank you for any clues / URLs.
PS (added):
Basically, I am confused because every time I follow a new page, it will start with something like "you need to do XYZZY first". Again, when I went to XYZZY page, it will have a yet another prerequisite. Anyway, I have no idea what "eclipse" is, but I am going to install it yet. OK, I will be back soon. Thanks for all replies.

I'm wondering why this didn't help you, but since it seems to have failed for you, let me guide you to:
the official google android hello world
moar good articles / examples / tutorial

Once you have installed the SDK, the Hello, World tutorial should be just what you are looking for ;-)
It'll guide you, with the following steps :
Creating a Virtual Device for your tests
Creation a new Android Project, with Eclipse
Creating a first UI ; and using an XML Layout
And it'll end with a few words on debugging.

If you move out of experimentation into actual development, then I'd recommend getting a real device as soon as possible - emulator performance is really bad.
Depending on your requirements, Android-x86 may be useful (although it seems more targeted at deploying Android to desktops than development for phones)
You can buy developer versions of phones through Android Market, once you've registered a seller account. These are network unlocked (can be good for testing if a messaging problem is network weirdness of a bug), and allow you to install custom images (mostly useful if you want to get into platform development).

Related

How to run my iOS app on iOS emulator (like emu/cider app) in Android?

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/

Android Testing Platform

First, I am not asking about Unit Testing. I am asking about the construction of a testing platform like so many out there that can be found by Googling the topic.
I would like to utilize VirtualBox to build an Android Testing Farm. So for example, download a copy of the Sumsung Emulator for one of their phones and then build a VM on VirtualBox to run it.
What are some of the considerations that I would need to take into account; also, any best practices would help.
Edit
Thank you to Ken Wolf for providing the link in the comments below to Google's Firebase Testing Platform.
To user1050755's comment, thank you for the advice. I guess the better question is how to automate the running for emulators. Researching this, it appears Android Studio has a guide (Monekyrunner) to do just this.
If anyone has any other suggestion, please post below.

how to use foxpro in android

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.

Please give me a 'kick-start' to build an app to log into a web site

Never built an app before.
Downloaded & installed SDK & Eclipse.
For my 'learning experience' I would like to build an app for my Galaxy S II (4.0.4) that will take me to a web site and then log me in, eg: my Gmail Account or my Voip.ms Account
Can someone point me to a tutorial or suggest how I should start such an app?
Is this too complicated to begin with?
Personally, I think this is way too complicated to start as a learner. You may end up spending a lot more time in debugging some code which does not work because of some silly stuff rather than "learning" how to code Android.
I started with a simple app that has few screens, stores some info in local SQLite DB and sends some across to an remote SQL Server over internet. I managed to complete this in 2 weeks and got quite a good hold on Android basics. Now I am working on a much complex app and am not getting stuck in fundamental issues.
Developer.android.com offers some good app examples and tutorials and is the first go-to location when you want to see how to do something Android-related.
As for what you want to do, it will really depend on the website. Going to the website in question, searching for a developer section is the way to go.
There they will explain which API they offer to devs. OAuth + REST are widely adopted but there is no universal solution, it really depends on the website.
A final note : embedding a webpage in an Android app is a very bad idea from an user-experience perspective, Using an API to offer a native app will always result in a better experience.

Can I develop for Android without an Android phone?

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.

Categories

Resources