New to Android - Droid Incredible General

Hello all so Im new to android I came over from BB I got sick of the worthless OS they keep updating. Im trying to get up to speed everything with android. I got root last night using the unevoked's new process. As Im reading different threads I keep hearing people refer to adb shell. What is this? I also have a PC and a MAC but I'm more of a Mac guy, is most the stuff you need to do better done on PC or can it be done on Mac's because they talk about opening a command line which of course is done in DOS. Can anyone shed light on this for me? Thanks in advance

adb is a part of the Google Android SDK. http://developer.android.com/sdk/index.html It's available for Mac, PC, or Linux. Really, it boils down to preference. I believe setup is easier for Linux and Macs, but it's still pretty easy for a PC.
You can use Terminal, or whatever. It just needs a command-line interface for you to type into.

Thank you for the link and the explanation. I think its been to long since Ive had a open source device im way behind the curve i guess. Is there a good thread or a site for someone like me to start at that will start at the beginning and explain what SDK is and everything else?

Firstly, for a general how to of what's going on with our device, adb, so on and so forth, this thread is pretty awesome:
http://forum.xda-developers.com/showthread.php?t=709220
For a more in depth explanation of development and the like hit up:
http://developer.android.com
For the vast majority of what you're going to be doing, you need to be pretty familiar with command line scripts and the like. Also, if you want to write applications, you'll need to know java. If you really aren't all that interested in developing and just want to know about adb, that first link is a pretty good crash course.

Related

Opinions needed - windows adb wrapper in the works

Thanks for taking a look at it. Hopefully soon I'll have much more going on in it.
v0.1a
adb cmd shell integration
ability to script adb commands
ability to save and edit scripts
local adb, no need to download the sdk
requires:
windows xp+
.net framework 3.5
instructions:
unzip
plug in phone
run adbwin.exe
that's it, not much more to it
any ideas, thoughts, constructive criticism would be great
again, thanks for taking a look
in the future I'd like to implement possibly a drag-drop interface for adb shell ls / push / pull, etc like a file manager
Us Linux guys never get any love.. hmm
Love the idea though, keep it up.
Excellent work, can't wait to see what else is in store for this... Posted a link on the AC forum...
i've been trying to do something like this for linux users, i am just afraid that if we release a nice little GUI for any of the operating systems in order to use adb we'll have more people with messed up phones. personally i prefer to work in the terminal, i set mine to green on black to remember the old days(before my time).
tubaking182 said:
i've been trying to do something like this for linux users, i am just afraid that if we release a nice little GUI for any of the operating systems in order to use adb we'll have more people with messed up phones. personally i prefer to work in the terminal, i set mine to green on black to remember the old days(before my time).
Click to expand...
Click to collapse
True I think terminal is just easy to use for everything.
tubaking182 said:
i've been trying to do something like this for linux users, i am just afraid that if we release a nice little GUI for any of the operating systems in order to use adb we'll have more people with messed up phones. personally i prefer to work in the terminal, i set mine to green on black to remember the old days(before my time).
Click to expand...
Click to collapse
yeah, but a properly built GUI would save a lot of time on daily chores like typing adb push path path. could have programmed a java version, but I am not sure if I would spend more time drawing the window or implementing the logic...
This is a great idea. I'd pay for a license.

So many question, so little time.

Hello all,
I am new to the Android scene and I wanted to find out if there are any good tutorials on app/rom development, what are the programming languages used, etc... I know learning from scratch is probably a long and bumpy road, but it is something I am interested in. I have already rooted and flashed my phone, good times that was. Thank you all for your help.
Th3Cap3
What's your existing programming experience? You could do worse than check out the anddev forums. App development is principally in Java though you can write parts of apps in C or even assembler.
My existing programming consist of very very very basic python, and some web stuff like HTML and CSS, I would basically have to learn how to program the ones you have mentioned from scratch, I have books for most of those though. I will go check out those forums and see what I can dig up Thanks for the info.
I bookmarked that page thank you, I just got a hold of their Eclipse software and all of their beginner tutorials I can't wait to dive into this stuff.
Me too. I know C, but only have a passing acquaintance with Java & Linux; Android I know even less about, not having encountered it till getting my Hero in February. I'm working my way through Thinking in Java (Eckel) to be followed by Professional Android 2 Application Development (Meier).
Even if your grasp of Python is basic it's still a start - you don't have to struggle again with fundamental procedural programming concepts like conditional execution, program flow control & so forth. Plus Python is an OOP language, aiui (I don't know Python) so you have a head start there too
I've installed Java, Eclipse & Android's SDK on this Windows box, but I'm thinking of dual booting Ubuntu as some things just work better in Linux, especially if one wants to cross compile ROMs. Aiui Cygwin, which I already use, can be a little problematic & when one is likely to be asking for help at times, it's useful to be using a similar set up to most devs.
I have been thinking about dual booting again, I just havent had to time to partition my drive and install some sort of linux release, UBuntu is the one I am most familiar with, which isnt very, but its a start.
I am going through those video tutorials from anddev.org right now, it seems to be similar to Python in the way the coding is done, I am excited.
I have also downloaded the Eclipse program, but I have the pulsar version, it seems to be geared more towards mobile development and I have gotten the Android toolkit installed and I have had the Android SDK from when I rooted my Hero (Which is awesome, running the newest Damage Control) good times.
I think I may have a java book on PDF somewhere as well, I will have to go look.
Atm I can't make up my mind between dual boot & Virtual Box, or maybe both, to see if I can wean myself off m$
I have been thinking about the dual boot option a lot since you mentioned it, not sure what to do, I may wait till this quarters class is over so that if something goes missing. it Sony be a big deal
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

Eclipse + Android SDK + JDNI/LDAP Access

Hi All,
For sometime I have been looking for a suitable Active Directory Management tool on a mobile device, however have never found anything which quite cuts the mustard. For this reason I have decided to give it a bash myself. I am the proud owner of a lovely shiny new Desire and it feels like it's just crying out for an app of this nature.
Just hoping I might be able to discuss a matter which requires some expertise. I have the latest versions of the Eclipse IDE for Java Developers and the SDK installed, so far I'm having much success with my first GUI builds after following a cracking tutorial Although I can handle the GUI elements (which I normally hate), I'm struggling to forge my first LDAP connection.
I have found info about the "Java Naming and Directory Interface" for java (*however no download) and just wondering if anyone else has had any success using it to code an Android app? I'm not digging for too much info for the moment, just trying to get some assurance that what I am trying to achieve is actually possible.
Not everyone's cup of tea, I know.. But decided it'd be worth asking.
Much Love,
Futurian

Clockwork Mod Help using a Mac?

Is it possible to do so yet? As of right now it looks like Odin is the only route to getting it to work. Any Mac users had any luck? I'm rather nervous not having my Clockwork back ups
I'm curious also. I read there is a bmunlock that can flash from shell, but no confirmation or walk through yet. I hope this thread gets the ball rolling for us, or we're gonna have to get real smart real quick.
LOLFests said:
Is it possible to do so yet? As of right now it looks like Odin is the only route to getting it to work. Any Mac users had any luck? I'm rather nervous not having my Clockwork back ups
Click to expand...
Click to collapse
Being a mac user myself, ive been meaning to write a one click script for mac users. right now though, i have too many projects swimming in my head, and i also work a full time job and a part time job. just not enough time to get done what i want
Easiest way would be just borrow a friends PC or use bootcamp right now to use odin. sorry guys, i will get to it asap though
fallingup said:
Being a mac user myself, ive been meaning to write a one click script for mac users. right now though, i have too many projects swimming in my head, and i also work a full time job and a part time job. just not enough time to get done what i want
Easiest way would be just borrow a friends PC or use bootcamp right now to use odin. sorry guys, i will get to it asap though
Click to expand...
Click to collapse
I just borrowed my g/f's Laptop lol. I now have clockwork as frustrating as that 20 mins was being back on a pc
unfortunatly ive convinced my friends to change macs. Pcs are getting harder to find.
Looking forward to this too!
any word on this yet? i'm dying to get a backup going with CWM, but im on a mac and i literally have no friends... with a PC that is
Yeah, I would appreciate this too, as it's really hard to find access to a PC around here.
I tried searching Google and some forums about ways to install without a PC, but only found ways to install on Macs with HTC phones.
still no word on this? i haven't been able to track down a PC, and i'm feeling really scared and alone without a backup...
seriously though, anyone do CWM on a mac yet?
I've been searching still nothing...
It's funny. Android is an open Linux platform and yet most of the tools used to hack it are Windows-only. Am I the only one who finds it strange how people are using Microsoft software to hack Linux devices? and yes I understand most people use Windows, but I would have thought that after buying an Android device, with Google's platform being open-source and designed with a cross-platform philosophy, that I would be just fine with hacking the device with my Mac or any Linux computer.
Anyway, I know the problem.. Linux, Mac, Java devs.. where are you? We need a cross-platform solution!
Everybody should have a Windows machine at their disposal. Macs have started to catch on but it's still not as supported as I'd like to see. That being said I use a virtual machine to run Windows if I'm not near my desktop PC. VirtualBox is free even if the operating system isn't, though I'm sure some of you can get creative...
Bootcamp + Copy of windows- that was my end solution. Sorry guys...
TUTORIAL
http://forum.xda-developers.com/showthread.php?t=804248

What do you use to develop with?

I have been trying to learn how to do some android development for work and keep running into problems. I find it hard to believe that people are able to create a lot of these apps with the Google development tools in such poor condition.
I have set up a development system with eclipse and the android tools. One of the first problems I ran into is ADB crashing whenever I tried to debug and there was a device attached to the system. Didn't matter if I was trying to debug on the device or emulator, ADB would crash. I was finally able to get the problem fixed by using the Composite ADB interface driver instead of the plain ADB interface (would it really hurt Google to add one sentence to the directions to tell people this?)
Now every time I go to debug, the emulator comes up in Chinese/Japaneses. I type in English and it converts it. I can fix it by changing the input method, but I have to do it every time I start the emulator. I have Googled looking for a solution and have found this is a known problem that has been around for almost a year and there is no resolution with it. The bug reports I have found on the android site even lists them still as NEW!
When trying to debug a problem, I wanted to delete the shared preference file for the app as it seems like it had become corrupted and every time it went to read it, the app would force close. (And when this happen, the debugger perspective would come up but for the life of me, I could not find any information as to what caused the fault or any sort of stack trace to look back and see where in my code it failed).
If you are an app developer, are you running into these issues? Have you found ways to work around the problems? I just can't believe that this is the way people develop for this platform. I'm ready to tell my boss that we forget about the platform unless we can find some stable development tools, otherwise we will be spending more time fighting with the tools than working on the app.
If anyone has any suggestions, I would really like to hear them. I'm not a noob when it comes to software development (20+ years as a software engineer), but I have never seen development tools for such a major platform, be this poorly done. What am I missing?
I'm a professional developer as well too. 20 years or so as a C/C++ developer, but I've worked most of my career as a Unix developer. Naturally, I use linux where possible and my Eclipse setup on Gentoo linux is pretty stable. I tried on Win7-64 but it was buggy as heck. I believe that the problem is with Java. There seems to be so many ways to set it up wrong that I'm not sure you can set it up right under windows.
I find it ironic that Oracle is trying to sue Google for making a JVM that actually works!
I havent had any of your mentioned issues. I am running eclipse on a 32 vista machine and a 64 bit windows 7 machine.
Not sure what I may have done different that you for setup. But I followed the Android application development for dummies book. The author goes step by step of what to download and how to install and configure. Even though your software experience is way beyond this book maybe its worth picking it up to read the install notes.
FreeTheWorld said:
I havent had any of your mentioned issues. I am running eclipse on a 32 vista machine and a 64 bit windows 7 machine.
Not sure what I may have done different that you for setup. But I followed the Android application development for dummies book. The author goes step by step of what to download and how to install and configure. Even though your software experience is way beyond this book maybe its worth picking it up to read the install notes.
Click to expand...
Click to collapse
I picked up the book, "Sams Teach Yourself Android Application Development in 24 Hours" and it has a section for setting up the environment too. Followed it to the letter several times and always had this problems. I think the issue comes down to the books were written using version 6 and 7 of the SDK and the current version, 8, has introduced some problems the books don't cover. For example, the tools directory has been split into two directories, tools and platform-tools. When you first download the SDK, you don't get everything you had like before until you update the SDK.
I have talked to several other people who also had the problem with the ADB crashing like I did, even started a thread here about it. No one could get any help anywhere on resolving the issue. I think the problems I have that others don't see is because they started with an earlier version of the SDK.
Gene Poole said:
I'm a professional developer as well too. 20 years or so as a C/C++ developer, but I've worked most of my career as a Unix developer. Naturally, I use linux where possible and my Eclipse setup on Gentoo linux is pretty stable. I tried on Win7-64 but it was buggy as heck. I believe that the problem is with Java. There seems to be so many ways to set it up wrong that I'm not sure you can set it up right under windows.
I find it ironic that Oracle is trying to sue Google for making a JVM that actually works!
Click to expand...
Click to collapse
I have also setup the development platform on a linux system and haven't had the problems I have with Windows 7 64bit. I also feel a lot of the problems have come from the Windows 64bit platform and even windows in general. I tried installing on a clean 64bit and 32bit Windows 7 and was still having the ADB problem. As soon as I get my tax refunds, I'm going to get a work desk setup at home so I can try using my linux system (it sits on the floor with no monitor and is my network server). Boss will really love it if I tell him we have to set up linux platforms to develop on. Guy is a bit of a tight wad when it comes to equipment.
edboston said:
If you are an app developer, are you running into these issues?
Click to expand...
Click to collapse
Nope, I didn't have any stability problems with SDK. I use linux 32-bit, didn't try to work on a Windows, MacOS and/or 64-bit arch.
I've not seen any of your problems, either.
FYI, I followed these instructions to set up the env:
http://developer.android.com/resources/tutorials/hello-world.html
(Environment - WinXP/32 netbook)
Eclipse is buggy. The most annoying issue with it is that the auto complete freezes your computer at times.
An alternative is IntelliJ. They offer a free community addition. I work with one dev that swears by it.
I use Windows7x64 and Ubuntu 10.10 to develop my apps. I use IntelliJ mostly because I find Eclipse to be convoluted overcomplicated mess. I think the Android integration in Eclipse is better, especially around editing some of the key XML files but I despise how projects are organized in Eclipse.
The OS you use really doesn't matter the results are the same, once you're up and running the work will be the same so the OS becomes irrelevant. The IDE becomes the differentiator.
I haven't met with the issues you mentioned, but as you said it can be because I installed the sdk a long time ago (after google anounced the eclair). I'm using eclipse and yes, that program is full of bugs, but I read an article about developing for android in Netbeans (my personal favorite). You can read it here: http://androidportal.hu/2011-01-09/fejlesztes-androidra-netbeans-segitsegevel (it's hungarian, but google translate is our friend)
Sent from my GT-I5700 using XDA App
MotoDev Studio 2.01
stick to 32-bit Galileo
for the slow autocomplete problem, I've made sure to use eclipse Galileo, something in Helios was causing massive lag. Also make sure you're running the 32-bit version of eclipse, even if your machine is 64-bit, there are definitely some bugs last time I tried to install ADT on 64-bit eclipse.
the new tools directory was a bit of a pain after updating to the latest API but nothing too bad once you figured it out.
I haven't had many of the other problems you mentioned. I always debug with adb logcat from terminal, and you can always hop into the device with adb shell.
I use eclipse every day at work so I've kind of gotten used to all the little quirks. I had the chinese text problem with the emulator, but I do most of my testing on a real phone. I use the emulator just to try out different resolutions.

Categories

Resources