[android-beginners] Re: Development Phone
Digging an old question that comes alive with the release of 1.6: what about OS updates? I have an HTC Magic from a carrier. Can i update to 1.6? How? Through the carrier? Thanks On Tue, Sep 1, 2009 at 1:54 PM, Chi Kit Leung michaelchi...@gmail.comwrote: I am using HTC Magic as test and debug environment. Because I need a phone to test my App. That is. Moreover, that can prove my App can run in a standard environment. On Tue, Sep 1, 2009 at 10:46 PM, Ran dahan...@gmail.com wrote: Thanks a lot, your answers gave me some clue about the differences and now I think I'll be able to do the right decision. Thank's again! On Aug 28, 8:53 pm, Chris Stratton cs07...@gmail.com wrote: On Aug 24, 9:09 am, Ran dahan...@gmail.com wrote: What is the benefit of working with ADP1 over the other Android phones ? Just to expand on what others have said: Cost seems comparable betwen a devphoneand a retailphoneat full retail or plan price + termination fee, so it's really more a of a technical question. Reasons for a devphone -sim unlocked (some such as tmobile may? do that if you pay full retail or eventually on a plan) -can change linux and system libraries -can change pre-installed applications -tmobile myfaves application sends periodic sms which costs money on any other network Reasons for _not_ getting a devphone -only one older devphonemodel generally available at present -dev phones can't buy paid applications from the market (including your own) -if you sell apps, you need to restrict yourself to the capabilities of your users phones (and test on such a device!) -various preinstalled proprietary applications missing (+/- depending on your interest) The not being able to change preinstalled applications is in my mind the least anticipated, and most annoying, problem. There are many areas where very small decisions of questionable wisdom in default applications really hamper the user experience (even in the using it just to make calls sense), but these can't be very readily changed on a retailphone, particularly the parts most closely involved in the telephone functionality. As of this moment, I believe most of the retail phones are probably still shipping with an easily rooted linux kernel, but that probably will get closed up (already fixed in google's tree) and they will be limited until another hole is found. -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Development Phone
No T-Mobile for me. TMN from Portugal...But that means that the carrier itself enables the update? On Wed, Sep 16, 2009 at 12:23 PM, Mark Murphy mmur...@commonsware.comwrote: Rafa Perfeito wrote: I have an HTC Magic from a carrier. Can i update to 1.6? How? Through the carrier? T-Mobile has not yet announced plans for Android 1.6 for any of their devices. At some point, in all likelihood, they will make such an announcement. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Development Phone
I have seen no evidence that HTC makes firmware upgrades available directly Well that just sucks...I know there's is a dev phone, but wasn't the philosophy behind Android to be open to everyone contribution? That should be independent of the carrier/not carrier choice... Well, thanks for the response On Wed, Sep 16, 2009 at 12:34 PM, Juan Delgado zzzar...@gmail.com wrote: Interesting. Because I bought my Hero unlocked in the UK from an official reseller and I was indeed expecting some news from HTC themselves. On Wed, Sep 16, 2009 at 12:31 PM, Mark Murphy mmur...@commonsware.com wrote: Rafa Perfeito wrote: No T-Mobile for me. TMN from Portugal... Oops. Sorry. Too early for me to be writing emails, apparently. This does not bode well for the blog post I am working on... But that means that the carrier itself enables the update? I have seen no evidence that HTC makes firmware upgrades available directly. They always handle that through whoever distributed the device (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if you got your device from your carrier, I would expect the carrier will say when and how to upgrade it, assuming they support such an upgrade. This is one of the many, many reasons why I hope Android spawns a robust market for devices not tied to a carrier, where you get the device from a device manufacturer and use it with a mobile carrier. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado -- Juan Delgado - Zárate http://zarate.tv http://blog.zarate.tv -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: confusion about bluetooth
Java level? At what other level is available? Native? On Sat, Sep 12, 2009 at 2:55 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Nope, there is nothing available on Java level. You could try to write some JNI wrapper to access the interfaces on native level (look in extern/bluez folder). -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 11, 2:17 pm, cellurl gpscru...@gmail.com wrote: How about USB? Can we access USB from Java? -jim On Aug 24, 2:02 pm, gymshoe gyms...@bresnan.net wrote: Ah. Thank you. On Aug 24, 12:58 pm, Mark Murphy mmur...@commonsware.com wrote: The current Android release offers: StereoBluetoothsupport (A2DP and AVCRP profiles) (http://developer.android.com/sdk/android-1.5-highlights.html) However, it has also been stated in the developers forum: There is noBluetoothAPI in the SDK at this time. http://groups.google.com/group/android-developers/browse_thread/threa... So how are theBluetoothA2DP or AVCRP profiles used if there are no BluetoothAPI's? There are noBluetoothAPIs available in the SDK for Java applications. Applications and features built into the firmware have access to bluez. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Development Phone
Yusuf, Does that means that i can, for example, install new Android versions for myself in the device? What do you mean by 'modify the OS on the phone'? On Mon, Aug 24, 2009 at 6:20 PM, Yusuf Saib (T-Mobile USA) yusuf.s...@t-mobile.com wrote: If you just want to write applications and run them on your phone, any Android phone will do. If you want to modify the OS on the phone, then you need either an official development phone or hack a non-dev phone to be a dev phone. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 24, 6:09 am, Ran dahan...@gmail.com wrote: Hi everyone, I'm new to Android and I want to start developing and deploying my apps to a real phone. My question is what is the big difference between the official ADP1 and other Android phones ? What is the benefit of working with ADP1 over the other Android phones ? I want to buy some Andriod phone, I thought of the new Samsung i7500 with Andriod OS or HTC Hero, will I be able to develop regularly or I will need to hack them in some manner to activate some features ? Thanks in advance Ran -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: What is really locked in the HTC Magic?
Thanks Casper, But my doubt is what the 'lock' means. Only SIM-unlocked? 'Cause i can unlock that...Then i will have the same liberty as in the Dev Phone? On Tue, Aug 18, 2009 at 7:37 PM, Casper Bang casper.b...@gmail.com wrote: I was in the same situation, so I bought a Magic and installed another SPL (bootloader) as well as rooted it. With a stock Magic SPL you are unable to install unsigned Android images, as that's reserved for Google. But if you just want to develop simple Android/Java applications, you do not need this. My Magic came unlocked thankfully, but I reckon if you install a rooted Android image that won't be a problem anymore - but I could be wrong. /Casper On 18 Aug., 19:54, Rafa Perfeito rafa.perfe...@gmail.com wrote: Hey, Been thinkin of getting a device to get my apps on the actual road. I have the Dev Phone option (although its not shipped to Portugal..thanks google by the way...), but also the HTC Magic and soon the Samsung Galaxy. The Magic is locked, but what this really means? Only the SIM is locked? Do i have all the functionalities and developing opportunities as in the Dev Phone? Or is it hardware-locked? A little help from you device developers would be cool... Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: What is really locked in the HTC Magic?
Yeah i7500 is already available but still from a carrier, so its still locked... Casper, thanks for that, i will see if those phones compensate when compared with the Dev Phone 1. By the way, how did you got that firmware for the nem SPL? On Wed, Aug 19, 2009 at 12:01 PM, Atif Gulzar atif.gul...@gmail.com wrote: What About Samsung i7500 as developer device. I think it is unlocked and readily available in many countres. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Wed, Aug 19, 2009 at 4:58 PM, Casper Bang casper.b...@gmail.comwrote: I guess it depends of the context of the world 'lock'. Although the Scandinavian isn't, I believe most stock phones (certainly the carrier branded ones) would be SIM locked as well as firmware locked (can't flash an unsigned image). This would both be different from the ADP. So if you get your phone SIM unlocked you should be well underway. What I can not tell you is whether flashing new SPL and i.e. the Ion firmware (G2 ADP) onto the device would also take care of the SIM lock and save you some €, but I suppose you have nothing to lose by trying. But perhaps you should consult http://www.xda-developers.com/ /Casper On 19 Aug., 12:30, Rafa Perfeito rafa.perfe...@gmail.com wrote: Thanks Casper, But my doubt is what the 'lock' means. Only SIM-unlocked? 'Cause i can unlock that...Then i will have the same liberty as in the Dev Phone? On Tue, Aug 18, 2009 at 7:37 PM, Casper Bang casper.b...@gmail.com wrote: I was in the same situation, so I bought a Magic and installed another SPL (bootloader) as well as rooted it. With a stock Magic SPL you are unable to install unsigned Android images, as that's reserved for Google. But if you just want to develop simple Android/Java applications, you do not need this. My Magic came unlocked thankfully, but I reckon if you install a rooted Android image that won't be a problem anymore - but I could be wrong. /Casper On 18 Aug., 19:54, Rafa Perfeito rafa.perfe...@gmail.com wrote: Hey, Been thinkin of getting a device to get my apps on the actual road. I have the Dev Phone option (although its not shipped to Portugal..thanks google by the way...), but also the HTC Magic and soon the Samsung Galaxy. The Magic is locked, but what this really means? Only the SIM is locked? Do i have all the functionalities and developing opportunities as in the Dev Phone? Or is it hardware-locked? A little help from you device developers would be cool... Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto -- Cumprimentos, Hugo Rafael Augusto -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Portuguese localization?
Hey, Probably not because the first portuguese Android set to be released in here as its software totally in english (HTC Magic by TMN). On Wed, Aug 19, 2009 at 1:14 PM, Dominique dominique.ja...@gmail.comwrote: Hello I dont see Portuguese language in the locales: http://developer.android.com/sdk/android-1.5.html#locs It's not supported? Thx for the info. Regards, Dom -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android SDK 2.0?
1. Donut is not Android 2.0. So what is 2.0? Eclair? What is the version correspondent to Donut then? On Wed, Aug 19, 2009 at 6:59 PM, Bluefish bluefisch...@gmail.com wrote: Ah ok...i was always thinking that the Hero has Android 2.0... Then i can start learning :) On 19 Aug., 19:08, Mark Murphy mmur...@commonsware.com wrote: Bluefish wrote: Hello, i am a User of an HTC Hero device with Android 2.0(Donut) 1. Donut is not Android 2.0. 2. AFAIK, HTC Hero shipped with Android 1.5, plus extra HTC proprietary components, such as the HTC Sense UI. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 Available! -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]What is really locked in the HTC Magic?
Hey, Been thinkin of getting a device to get my apps on the actual road. I have the Dev Phone option (although its not shipped to Portugal..thanks google by the way...), but also the HTC Magic and soon the Samsung Galaxy. The Magic is locked, but what this really means? Only the SIM is locked? Do i have all the functionalities and developing opportunities as in the Dev Phone? Or is it hardware-locked? A little help from you device developers would be cool... Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]How to change text in a XML-defined text view
Hey, Lets say i define in the layout.main a text view but i want to change the text during the execution of the application. How can i 'call' the view in the code? Im guessing i can use R.java but i dont know how... Any ideas? An example would be really cool... Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: [android-beginners]
Thanks man. By G2 i meant the hardware setup found on HTC Magic... That aint too cool...I'm sure the OTG support will be available sooner or later...but sooner would be nice... By the way, what about Bluetooth? Has anyone seen interaction with external devices based on that tech? Or any communication, on that manner? On Thu, Jul 16, 2009 at 2:24 PM, Disconnect dc.disconn...@gmail.com wrote: On Wed, Jul 15, 2009 at 12:26 PM, Rafa Perfeitorafa.perfe...@gmail.com wrote: Hey all, Been doing some work in the emulator but the idea (as obvious) is to test them in an actual physical device. The HTC Magic is already available in my area, but i'm still thinking of its advantages to the Dev Phone 1... Especially because i've seen some people with problems connecting the G2 to the debugger... What is your thoughts about this? Would you pick a G2? 'Cause the price difference is still significative... I've read somewhere ( http://www.anddev.org/usb_host_mode_on_g2_-t6866.html) that the G2 would support host USB. The G1 does not? I will need to integrate an external device, so that's kind of a big deal there... Thanks -- Cumprimentos, Hugo Rafael Augusto Whats a g2? So far no android phone has enabled OTG support, and nobody has gotten the 'magic bits' out of google/htc/qualcomm to enable it. (Its not determinable what bits in which order need to be set.) If that info becomes available, it will likely need a hardware hack (5V supply on both sides) similar to what the Nokia 770/N800/N810 uses. -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]
Hey all, Been doing some work in the emulator but the idea (as obvious) is to test them in an actual physical device. The HTC Magic is already available in my area, but i'm still thinking of its advantages to the Dev Phone 1... Especially because i've seen some people with problems connecting the G2 to the debugger... What is your thoughts about this? Would you pick a G2? 'Cause the price difference is still significative... I've read somewhere (http://www.anddev.org/usb_host_mode_on_g2_-t6866.html) that the G2 would support host USB. The G1 does not? I will need to integrate an external device, so that's kind of a big deal there... Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] G2 vs G1
(Now with an actual subject...) Hey all, Been doing some work in the emulator but the idea (as obvious) is to test them in an actual physical device. The HTC Magic is already available in my area, but i'm still thinking of its advantages to the Dev Phone 1... Especially because i've seen some people with problems connecting the G2 to the debugger... What is your thoughts about this? Would you pick a G2? 'Cause the price difference is still significative... I've read somewhere (http://www.anddev.org/usb_host_mode_on_g2_-t6866.html) that the G2 would support host USB. The G1 does not? I will need to integrate an external device, so that's kind of a big deal there... Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]Default browser
Hey droiders and droid users, Coming to you from Portugal so unfortunately only now the first Android device is preview to release, the HTC Magic. So my question is this: what is Android's default browser? Does it depends on the device and/or carrier? If so, what was such browser for G1? Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]Loading app on emulator
Hey droiders, Here's a true beginners question: How can i install an application directly on the emulator? I've been running some of my apps, but all from Eclipse. What if i want to install an actual .apk file? Cheers -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: [android-beginners]Loading app on emulator
Ups, skipped the bridge Thanks Mark On Mon, Jun 22, 2009 at 2:39 PM, Mark Murphy mmur...@commonsware.comwrote: Rafa Perfeito wrote: Hey droiders, Here's a true beginners question: How can i install an application directly on the emulator? I've been running some of my apps, but all from Eclipse. What if i want to install an actual .apk file? adb install should work: http://developer.android.com/guide/developing/tools/adb.html#move -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Screen pointer
Hamy, Thanks, that was the type answer i was looking for... Pretty ingenious, too. Cheers On Fri, May 29, 2009 at 1:44 PM, Hamy hamilt...@gmail.com wrote: Rafa, Just a thought - I have seen iPhone apps that use a little trick to help out with this: Have the user place his finger on the screen at some location, say 0,0 for example purposes. Draw a crosshair at like 0,30, and actually use that as the drawing location. The point is that your finger is no longer in the way of where you are drawing, so it becomes slightly easier to draw in tight corners. HTH Hamy On May 28, 5:58 am, Rafa Perfeito rafa.perfe...@gmail.com wrote: Hey, Nobody likes the finger usability of Android more than me... But what if want some precisioning pointing? Some drawing in small areas, for example? Do you guys know any pointer or pen that works with android? Does it matter what we use to touch the screen? Give me your thoughts on this, please. Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]Screen pointer
Hey, Nobody likes the finger usability of Android more than me... But what if want some precisioning pointing? Some drawing in small areas, for example? Do you guys know any pointer or pen that works with android? Does it matter what we use to touch the screen? Give me your thoughts on this, please. Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Prevent image stretching in backgrounds
Good one... By the way, i've been trying to use setBackgroundDrawable() but when i create the drawable i cant connect it with the respective file path. Can someone post an example? Somehow i feel like im doing a really dumb mistake... Thanks Cheers On Thu, May 21, 2009 at 11:02 PM, ht harristea...@gmail.com wrote: What method(s) should I override in my custom drawable? On May 20, 11:29 am, Romain Guy romain...@google.com wrote: Write a custom drawable to do this. On Tue, May 19, 2009 at 4:12 PM, ht harristea...@gmail.com wrote: I'd like to use setBackgroundDrawable() to set a background, but prevent image stretching. The behavior I'm looking for is to draw the image with either no scaling, or scaling to fit the image without changing the aspect ratio. Any remaining area would be colored with the background color (from setBackgroundColor). -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: [android-beginners]'system.out.println' dumpage
Thank you all. But...where is that log file? 'cause in cant find it anywhere... On Mon, May 18, 2009 at 9:31 PM, fadden fad...@android.com wrote: On May 18, 10:35 am, Raphael r...@android.com wrote: On Mon, May 18, 2009 at 10:17 AM, Rafa Perfeito rafa.perfe...@gmail.com wrote: Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is not going... It goes nowhere. Don't use it. Use android.utils.Log for all your logging needs, which will be available in logcat. Actually, System.out and System.err should get redirected to the log file. See frameworks/base/core/java/com/android/internal/os/ RuntimeInit.java, zygoteInit(), where it does: System.setOut(new AndroidPrintStream(Log.INFO, System.out)); System.setErr(new AndroidPrintStream(Log.WARN, System.err)); The stdin/stdout/stderr file descriptors are redirected to /dev/null during app framework startup, so a printf() from native code won't do anything. The android.util.Log calls are preferred, since you can tag the messages from your app and filter them. -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: [android-beginners]'system.out.println' dumpage
Nevermind...found the debugger...already using it.. Thanks for the help On Tue, May 19, 2009 at 1:00 PM, Rafa Perfeito rafa.perfe...@gmail.comwrote: Thank you all. But...where is that log file? 'cause in cant find it anywhere... On Mon, May 18, 2009 at 9:31 PM, fadden fad...@android.com wrote: On May 18, 10:35 am, Raphael r...@android.com wrote: On Mon, May 18, 2009 at 10:17 AM, Rafa Perfeito rafa.perfe...@gmail.com wrote: Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is not going... It goes nowhere. Don't use it. Use android.utils.Log for all your logging needs, which will be available in logcat. Actually, System.out and System.err should get redirected to the log file. See frameworks/base/core/java/com/android/internal/os/ RuntimeInit.java, zygoteInit(), where it does: System.setOut(new AndroidPrintStream(Log.INFO, System.out)); System.setErr(new AndroidPrintStream(Log.WARN, System.err)); The stdin/stdout/stderr file descriptors are redirected to /dev/null during app framework startup, so a printf() from native code won't do anything. The android.util.Log calls are preferred, since you can tag the messages from your app and filter them. -- Cumprimentos, Hugo Rafael Augusto -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]'system.out.println' dumpage
Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is not going... Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] OpenGL engine
Hey droiders, Im using the SDK 1.5 and Eclipse IDE and i'm trying to build some graphic applications. Does anyone knows a good graphics engine with good results on android? So far all i found where OpenGL tutorials but i wanted something simpler in usage Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---