Beginning to develop apps using Android Studio! - IDEs, Libraries, & Programming Tools

Hello all,
New to this community. Learning Android development with Android Studio, but with the tutorial that was developed on Eclipse. The tutorial which I am following is from developer.android.com, which is really fantastic, but the same thing when converted to Android Studio pops up errors. I have link to the project attached, could somebody advice me on whats wrong in this.
Thank you all.

Silly me. A typo in the package name created the problem. Thanks to all who viewed this post.

sumchans said:
Silly me. A typo in the package name created the problem. Thanks to all who viewed this post.
Click to expand...
Click to collapse
I was just wondering about that Android Studio... How is it compared to the ADT bundle?
I'm also new to development... Downloading things through SDK Manager as we speak as per the instructions from the Getting Started training on developer.android.com
---------------------
Aspiring Android developer

damiandownfall said:
I was just wondering about that Android Studio... How is it compared to the ADT bundle?
I'm also new to development... Downloading things through SDK Manager as we speak as per the instructions from the Getting Started training on developer.android.com
---------------------
Aspiring Android developer
Click to expand...
Click to collapse
Hi,
If you are new to development I recommend starting off with Android Studio, because that is going to be the future of Android development. But the programs as of now has some bugs, so when error pops up, it would make you think whether it is your code or the program.

Related

how to start dev android?

I am familier with linux, can say as an expert. But I know nothing in android and mobile. How can I start to develope it? please leave some links. e.g. any kernal to download or there's already a android kernal for mobile? Thanks.
fyfcc said:
I am familier with linux, can say as an expert. But I know nothing in android and mobile. How can I start to develope it? please leave some links. e.g. any kernal to download or there's already a android kernal for mobile? Thanks.
Click to expand...
Click to collapse
There are loads of porting threads etc dependant on what device your looking to work on with regards to kernel development.
If its apps etc you wish to develop, do a quick google search and you should find links to eclipse dev enviroment the android adt and sdk
You can start at here: developer.android.com/index.html

Need AVD Settings for Desire HD

Hi .. Wanted to learn a bit about development .. Can anyone please help me set up an avd for DHD?? I tried it but I keep getting error loading preferences
Thanks
EDIT: Can someone please also point me to some good links from where I can learn about cooking a ROM. I have done a search and seen lots of tutorials but I cant find one which starts from the basics. Thanks again
Just wanted to bump this topic .. I have searched and searched and even tried with a ROM file , but I cannot seem to get this working. Can anyone please help me setup AVD??
Mods please delete this thread. I dont think am gonna get replies on this one. Time for some trial and error. :-(
irteza_h said:
Mods please delete this thread. I dont think am gonna get replies on this one. Time for some trial and error. :-(
Click to expand...
Click to collapse
I'm facing the same nooby issue - creating an optimal avd for the HTC Desire HD. Did you have any luck with your research/experimentation?
what's a avd ???
Android virtual device I think...
Sent from BlackICE.
What's an avd
daedric said:
what's a avd ???
Click to expand...
Click to collapse
AVD stands for 'android virtual device'. AVDs are is used by the Eclipse IDE for developing apps for the Android system. Essentially, when developing an app it is very useful to check it against the AVDs of different android devices to ensure that the app will perform properly on each device.
When I asked for help, I thought that this forum - namely xda-developers - would be able to point me to sources of the AVD's of various android devices. I'm surprised that no-one seems to have heard of them - are there any andriod app developers that read this forum?
Regards
Will

[Q] Anrdroid Emulator

Hi,
I'm trying to experiment with making my own build, but for the first instance I'm trying to gain an understanding of how everything is working by working with a current build.
I'm using eclipse in linux with the android sdk etc.
My question relates to running already prepared builds in the emulator. From what I understand in the sdk/platform folder I should be able to place the system.img file from a current build and run it on the emulator, however when I try this the emulator appears to freeze.
What am I doing wrong or missing?
Thanks in advance.
I think i"ll follow this thread pretty closely, i've been wanting to run android on win xp sp3, thru my sdk setup, and would like to know how to as well. Maybe somebody with the proper know-how will be generous enough to post a brief guide, enough to point us noobs in the right direction to get builds running on our pc's. I'd like to be able to use the sdk to troubleshoot, fiddle around, and test a few things out, among other things.
If some kind soul would be willing to post a couple of good links, i'd be willing to read up, give it a go, and do my best at making a guide/tut for running android in the sdk
Sent from my... whatever
huggs said:
I think i"ll follow this thread pretty closely, i've been wanting to run android on win xp sp3, thru my sdk setup, and would like to know how to as well. Maybe somebody with the proper know-how will be generous enough to post a brief guide, enough to point us noobs in the right direction to get builds running on our pc's. I'd like to be able to use the sdk to troubleshoot, fiddle around, and test a few things out, among other things.
If some kind soul would be willing to post a couple of good links, i'd be willing to read up, give it a go, and do my best at making a guide/tut for running android in the sdk
Sent from my... whatever
Click to expand...
Click to collapse
Have you downloaded Eclipse? I can manage to run the SDK platform in the Android Emulator, but for some reason I'm having trouble with modified/custom Roms.
http://developer.android.com/index.html
http://www.eclipse.org/
No, i havent. I thought you could just run android from the sdk. I'll check it out when i get home. Thanks, i'll let u know how it goes as soon as i get it all set up
Sent from my... whatever
huggs said:
No, i havent. I thought you could just run android from the sdk. I'll check it out when i get home. Thanks, i'll let u know how it goes as soon as i get it all set up
Sent from my... whatever
Click to expand...
Click to collapse
You want to download eclipse, then install the ADT, you'll find instructions on the android developers site under the SDK tab, enjoy.

Student

I want to start learning to do things with roms. Any idea where to start would be greatly appreciated.
Sent from my HTC Glacier using XDA App
Do you know Java? If no, you won't be able to do anything but just run a ROM through a kitchen. So I suggest learning Java.
If you know Java - search Google for "decompiling android apps", and learn that.
And grab dsixda's kitchen in the meantime to play with.
Also, you can try searching for "Porting Sense ROMs" guide.
Jack_R1 said:
Do you know Java? If no, you won't be able to do anything but just run a ROM through a kitchen. So I suggest learning Java.
If you know Java - search Google for "decompiling android apps", and learn that.
And grab dsixda's kitchen in the meantime to play with.
Also, you can try searching for "Porting Sense ROMs" guide.
Click to expand...
Click to collapse
I don't know anything dude. Just been flashing roms for a good while now but I've never learned how to do anything. Guess I need to start with java then?
Sent from my HTC Glacier using XDA App
Yea, I'd suggest Java as well.
I'd recommend reading the following:
01 - Java for Dummies 4th edition by Barry Burd
02 - Learn Java for Andoird Development by Jeff "JavaJeff" Friesen
03 - Beginning Android 3 by Mark Murphy
Alot of people are going to disagree with me on the first one but its a decent start if you want to jump into creating your own apps and eventually roms. You can also check out Learning Android by Marco Gargenta, its a basic guide that will show you how to create an app from scratch. It's not entirely comprehensive but it will get you started.
Hope I was of some help.
RyanBoyGenius said:
Yea, I'd suggest Java as well.
I'd recommend reading the following:
01 - Java for Dummies 4th edition by Barry Burd
02 - Learn Java for Andoird Development by Jeff "JavaJeff" Friesen
03 - Beginning Android 3 by Mark Murphy
Alot of people are going to disagree with me on the first one but its a decent start if you want to jump into creating your own apps and eventually roms. You can also check out Learning Android by Marco Gargenta, its a basic guide that will show you how to create an app from scratch. It's not entirely comprehensive but it will get you started.
Hope I was of some help.
Click to expand...
Click to collapse
Absolutely I appreciate the advice
Sent from my HTC Glacier using XDA App

Jolla Application Development

Hi Developers, or anyone just interested in Sailfish,
I figured that before the mods create a Sailfish App Development thread, we could post our successes, guides and tips here. I find Sailfish a wonderful platform to develop on so far
For starters, here's the beginner's guide to Sailfish app development:
What you need:
- Anything capable of Running code, the only OS the Sailfish IDE isn't compatible with is OS/2 and DOS
- The sailfish IDE, https://sailfishos.org/develop.html
- Virtualbox (just have it installed, the IDE will do its thing)
- Some programming knowledge is necessary, if you don't know QML, don't be too scared to dive in and learn things on the go, that's what I'm doing, you'll find Sailfish Silica (Sailfish "API") very simple and logical
Click to expand...
Click to collapse
If there's anything that needs to be added, tell me. Please share any ideas you come up with and especially any good beginner guides.
Thank you for this thread. Eager to see good native apps.
so i download virtualbox, then the IDE and just start coding? i know a little of qml...
djvita said:
so i download virtualbox, then the IDE and just start coding? i know a little of qml...
Click to expand...
Click to collapse
Yep, it's really simple and everything sets up automatically, you just fire up the IDE and code.

Categories

Resources