Setup Android Development in Eclipse Indigo 3.7.1 on Fedora 16

Go to http://fedoraproject.org/wiki/HOWTO_Setup_Android_Development.  Mostly, I followed that, but I throw in some details, hints and problem solutions below.

When you edit the path variable.  Just open a terminal CD to your home folder (if you are not there already), type:

gedit .bash_profile

I should mention that when I downloaded the SDK I unzipped it into my home folder and then renamed it "SDK".  I like my names short and sweet when I foresee having to type them in a terminal a lot.

Add this to the bottom of the file:

export PATH

export PATH

Under "Running Emulator" -
Note:  Hit "esc" to back out of the AVD manager.  And close the android SDK manager.

Back in the tutorial, when you get to running the emulator via the terminal, the part where you type:

./emulator -noaudio -avd android_dev1

be careful, because I noticed an error in the tutorial right there.  When creating the AVD they posted an image.  In that image the name of the AVD is "android_dev", but, as you see they then type "android_dev1" not "android_dev".  This could cause trouble.

When you get to -

Hello Fedora
Configure Android in Eclipse

NOW We have a real problem.
"Android" is supposed to be an item added to the menu under "Help/Preferences" when you update/install the Android Dev Tools with the SDK Manager.  Unfortunately, (again, possibly because of operator malfunction), this item did NOT appear in any Eclipse menus nor did anything related to Android appear anywhere inside Eclipse.  What you are saved from, if you read this in time, is literally days of searching for an answer to this, countless uninstalls/reinstalls, and much hair pulling and teeth grinding.  Android MUST be added to the menus.  Installing the ADT plugin in Eclipse is the entire point of this whole process, so luckily, Mike helped me find the solution.  It was INSANE, but we found it.

In order for the android menu items to show up we need to uninstall then install the Android Development plugins.  As mentioned, you cannot do this through "Help/Install New Software" which would be the logical solution.  If you try, you will get error messages saying that they are already installed (even though they are not functioning).  Even if you even completely uninstall Eclipse, these plugins will still claim to be "already installed."  A method I tried from 7 different angles without success.

Lucky for Fedora (because I was about to trash it and go back to Ubuntu), Mike, my brother, had the solution.

It turns out that Eclipse DOES have a way to uninstall these things.  The thing is they hid it behind a moving hedge inside the freaking Bat Cave.  To get to it you have to go under Help/About Eclipse Platform/Installation Details.  Yeah, that's right.  "About"!!!  The place you go to see what version you are using, copyright warnings, and company website information.  NOT where you would think to go to uninstall plugins.  BUT IT IS where you go to uninstall plugins.  So go to:

Help/About Eclipse Platform/Installation Details

And there they are!  Select all 4 android related items and click uninstall.

Restart Eclipse.  Go back to

Help/Install New Software

Go to the Android Plugin link you created.
Check box next to Developer Tools
Select Finish.

When done restart Eclipse and and voila!  On reboot a new dialog box popped right up in the front asking to either install the latest SDK's or point to existing ones.  I told it where the existing ones are:  home/ultrajones/SDK.  And just like that, Android listings have been added to the File, Window, and Window/Preferences menus.  We are ready to roll.

I decided to try and get the API Demos running on the HTC Inspire phone that GRQ is using as one of our dev phones.  Here is the process:

Plug the phone in via USB cable.

In the menu bar select:
File/New/Android Project

In dialog box select "Create project from existing sample".  Click next.

Select Android 2.2.  Click next.

Select ApiDemos and click Finish.
You will see it appear in the bar on the left.
Select it.  (hilight it in blue) and go to:

Run/Run Configurations...

I entered a "Name:" as Inspire (name of the phone, because we are creating a configuration to pull up whenever we are running anything on that particular device).

Click browse and select the newly created sample project.

Click Apply.
Click Run.

A dialog box pops down.  I see 2 selections.

"Choose a running Android device"
"Launch a new Android Virtual Device"

I chose HT14CT204610 because that is the phone I have plugged in.  With that hilighted...

Click OK.

Now I've got the ApiDemos (a whole slew of little sample apps) running on my phone!  Woo hoo! FINALLY!!!!


Silly Site problem

I'm having the silliest problem with the site.  I can't seem to move the headerbar module position content just a tad to the left.  As seen in the second illustration, it is supposed to be there already.  Currently, there is this big empty space, circled in red above, where I can't put anything at all.  I've been all over the back end looking for a way, now I'm asking support...

..................time passes...............

well they helped me solve that, but now I have a more serious problem with the site.  Their is now a graphical glitch in the menu bar that came out of nowhere.  I don't think this has anything to do with the headerbar problem.  I did make a change to the main menu by merging the Capabilities and Features sub-menus, but I don't really see how this could be the cause of the glitch.  This is when I first noticed it however.

Now the button/slider is hanging over the edge of the "slot" (middle arrow), and the border of the menu bar slot has become square instead of rounded and is a lighter color of gray.  NOT GOOD.


Building web site with YOOtheme Quantum

Well, I've been working with Joomla for almost a month now, and over 2 weeks with YOOtheme's Quantum theme.  I like it.  It's taking some learning, but things are looking good so far.  I'll be getting to the more complicated stuff soon and then we will see if I've got what it takes to make this thing fly.

Right now I'm wanting to incorporate a "Ken Burns effect" in my slideshow on the front page.  According to support over at YOOtheme, this should be available inside of the current release of Widgetkit - Widgetkit 1.0. It actually just came out of beta into full release TODAY.  Support directed me to update to the latest version.  I did that through FTP and can confirm that the new bonus styles are there, so I believe that I did that correctly.  Thing is, I'm still not seeing "Ken Burns effect" in the drop down menu for "effects" where I was told to look.  This direction doesn't really make sense to me anyway, because this effect would need more parameters to function, and it is not a transition effect really, but an effect that is executed on the image currently being displayed.  Anyway here is a snapshot that I am going to send over to support to help me get where I need to go.

I don't see anything of help there...


It turned out that the effect was only available under the default slideshow setting.  The effect is generated randomly, whether it be zooming in or out and which direction it is panning in.  Nevertheless, I am using it and it really looks pretty good for what I'm doing.