[android-beginners] Re: Best Practices

2010-03-28 Thread XCaffeinated
he Android code style guide (the top link). You can just copy the templates and import them into Eclipse (for the Galileo Eclipse release this would be: Window- >Preferences->Java->Code Style->Formatter, and ...Code Style->Import Organizer, and them Import). Hope this helps! XCaffeinat

[android-beginners] Re: How to download android source code in windows machine

2010-02-17 Thread XCaffeinated
There is a great page here "Attaching Android platform source in Eclipse": http://android.opensourceror.org/2010/01/18/android-source/ that explains both how to get the correct sources for the platform you are looking for and how to get Eclipse to recognize it. The author also took the time to g

[android-beginners] Re: Serial over Bluetooth

2010-02-11 Thread XCaffeinated
I've posted a nicely-formatted version of the code from the previous post here: http://www.anddev.org/viewtopic.php?p=35487#35487 -XCaf On Feb 11, 7:02 pm, XCaffeinated wrote: > Apologies for the lengthy post, but I wanted this to be at least semi- > useful, and there is not a lot

[android-beginners] Re: Serial over Bluetooth

2010-02-11 Thread XCaffeinated
Apologies for the lengthy post, but I wanted this to be at least semi- useful, and there is not a lot of info out there. I see that the OP is from awhile ago, but that this thread has been resurrected. I am currently using my Droid (firmware push: 2.0.1) to communicate to an ArduinoBT (Bluetooth)

[android-beginners] Re: CustomView - horizontal slider help needed

2010-01-30 Thread XCaffeinated
gt; great information, I will be having a look at this next week ! > At a first glance it looks like a very gooid pointer on how to get > thins done :D Thx a lot ! > > On 28 jan, 02:49, XCaffeinated wrote: > > > > > Apologies, I forgot the links in the above post:

[android-beginners] Re: CustomView - horizontal slider help needed

2010-01-27 Thread XCaffeinated
Apologies, I forgot the links in the above post: The full composited image: http://i916.photobucket.com/albums/ad9/XCaf/SeekbarOverTestBackground.png The four component images: http://i916.photobucket.com/albums/ad9/XCaf/CustomSeekbarParts.png -XCaf On Jan 27, 8:39 pm, XCaffeinated wrote

[android-beginners] Re: CustomView - horizontal slider help needed

2010-01-27 Thread XCaffeinated
Hi xxx Sliders in Android are called Seekbars. This may help you when you search online. Recently, I needed to do exactly what you are describing. You can see a test screenshot of this - a Seekbar with images to the left and right (and a text label above as well, which is also an image, and all

[android-beginners] Re: How to upload HelloAndroid.apk directly to HTC Hero

2010-01-15 Thread XCaffeinated
Hi Michael, Your suggestion is a great one for testing on friends' phones, without requiring them to, at the very least, install adb and the associated USB drivers. Also at your suggestion, I downloaded the Linda Manager file manager. It's really slick. Thanks for the tips. -XCaf On Jan 14,

[android-beginners] Re: Diagonal Screen transition.

2010-01-14 Thread XCaffeinated
Hi Satish, Animation between activities is indeed possible in Android 2.0 and later, using the overridePendingTransition() API, with the caveat as implied by Sean, that the user can override the animations if he so wishes, in his global device settings. This API was specifically added to give dev

[android-beginners] Re: How to use Dev tools which flashes momentary pink rectangle on any screen sections being redrawn?

2010-01-13 Thread XCaffeinated
Hi Mahesh, It is already installed as part of the DevTools package on the emulator (unless you've somehow managed to delete it). Start the emulator, open the slider drawer, and you'll find a DevTools icon there. Open DevTools, and the third item down from the top is the 'Show screen updates' check

[android-beginners] Re: Eclipse Debugger

2010-01-13 Thread XCaffeinated
Hi Lyndon, Regarding logcat output, make sure the 'Limit console output' checkbox is unchecked. This can be found at Windows->Preferences->Run/Debug- >Console. XCaf On Jan 10, 1:03 pm, Lyndon wrote: > Hi > > I am an experienced Java web developer and have been using Eclipse for > about 5 years.

[android-beginners] Re: r cannot be resolved and other Eclipse/Android oddities

2009-12-30 Thread XCaffeinated
Hi oregonduckman, For the "R cannot be resolved" issue, make sure your R import is in the form: import your.package.name.R Sometimes a default of: import android.R will appear (I've not figured out the metric that causes this to occur). Remove the android.R import, and replace it with your

[android-beginners] Re: resource id references in XML files?

2009-12-02 Thread XCaffeinated
Hi Nurg, This is probably too late to help you, but maybe others would like to know. I've just posted a solution at anddev.org: http://www.anddev.org/xml_integer_array_resource_references_getintarray-t9268.html Best of luck! XCaf On Nov 13, 8:36 pm, Nurg wrote: > Bump. > > On Nov 4, 7:12 pm, Nu