[android-developers] Re: Manipulate Drawable Resource

2008-12-05 Thread mathiastck
Also not sure what you are talking about, but generically, from code, if you want a Drawable object that can be modified, I had that problem. I used a StateListDrawable. http://code.google.com/android/reference/android/graphics/drawable/StateListDrawable.html It was for Drawables in an

[android-developers] Re: Android Market HTTP Links?

2008-12-08 Thread mathiastck
Yes you can: http://code.google.com/android/devel/sign-publish.html The Using Intents to Launch the Market Application on a Device section describes the url pattern. It also works if these urls are used on links on pages viewed from and Android phone. They don't work if you just type them

[android-developers] Re: Versioning and Deploying

2008-12-11 Thread mathiastck
You also need a unique java package for each app. On Dec 11, 3:22 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, I have several versions of my app, and I'd like to deploy them on my testing device. To do that I've altered the AndroidManifest.xml's version code and name.

[android-developers] Data Roaming and 3rd party apps

2008-12-11 Thread mathiastck
Referencing this article: T-Mobile produces official statement regarding international G1 data roaming http://www.engadgetmobile.com/2008/12/10/t-mobile-produces-official-statement-regarding-international-g1/ the statement being: Official T-Mobile statement: T-Mobile is committed to

[android-developers] Re: Wrap Text around ImageView

2008-12-15 Thread mathiastck
I think you can achieve this efect using a Spanned, which you pass to a TextView: http://code.google.com/android/reference/android/text/Spanned.html I was able to display html with image tags, by using http://code.google.com/android/reference/android/text/Html.html and implementing

[android-developers] Re: Device id

2008-12-31 Thread mathiastck
I like: http://code.google.com/android/reference/android/os/Build.html The constant String Build.DEVICE is dream on the handset in front of me, the emulator returns generic On Dec 31, 8:49 am, Mark Murphy mmur...@commonsware.com wrote: There is also

[android-developers] Re: Please Google: clean racist comment on Android Market

2009-01-06 Thread mathiastck
The comments feature is useful, I've found them to be very helpful for the Apple App store. Giving users the ability to rank comments as helpful or unhelpful could help improve their quality. This thread probably belongs on Android discuss though. On Jan 6, 1:54 pm, Sundog

[android-developers] Re: Will Android open up the hardware?

2009-01-13 Thread mathiastck
Belongs in the Android discuss group. Makes some OK points but misses boat. Java is a good thing, Android on lots of different hardware is a good thing. On Jan 13, 1:48 am, Vinegar Tasters vinegartast...@gmail.com wrote: Also: http://www.edepot.com/forums/viewtopic.php?f=8t=956

[android-developers] Re: Adding images to emulator

2009-01-14 Thread mathiastck
adb push On Jan 13, 4:44 pm, kcode fghj...@gmail.com wrote: How can i add images to the phone(emulator),so that the image viewer can display them. Current when I initiate an image viewer, a message is displayed that there are no images to be displayed. Thanks

[android-developers] mono on android

2009-01-17 Thread mathiastck
Anyone got any information on the mono download on the app market? It listed a homepage that is tough to recall and enter on this g1. Googling for android mono led to a good but closed thread in this group. Oddly the user's are commenting that he giant size of the mono app forces some cleanup

[android-developers] Re: How to port AbsoluteLayout to FrameLayout?

2009-03-13 Thread mathiastck
Ouch. I like AbsoluteLayout for small layouts, contained within larger more flexible layouts. Without it I think I'd have to abuse padding, and use lots of clear drawables with well defined size as spacers. On Mar 12, 5:03 pm, Romain Guy romain...@google.com wrote: AbsoluteLayout is

[android-developers] Re: How to set color to String?

2009-03-19 Thread mathiastck
Strings don't have color. Things that display strings do. On Mar 18, 11:38 pm, AlexNguyen alexnt...@gmail.com wrote: I have the String, how can I set color the text in String? For example: String S1; S1 =    Name: + \t + this.Name1 + \n +         Country/Area: + \t + this.Country1 + \n

[android-developers] Re: Picture supported in Android

2009-04-21 Thread mathiastck
Note that ImageView does not animate animated GIFs. On Apr 20, 7:34 pm, Anonymous Anonymous firewallbr...@googlemail.com wrote: http://developer.android.com/guide/appendix/media-formats.html On Tue, Apr 21, 2009 at 8:02 AM, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all,    

[android-developers] Re: animated GIF support in android

2009-04-23 Thread mathiastck
In BitmapDecode.java APIDemos shows how you can use Movie to display an animated GIF. I had partial success with it in the past. (I sometimes got a movie back with zero duration). On Apr 23, 4:33 am, Mark Murphy mmur...@commonsware.com wrote: Nasam wrote: Is animated GIF supported in

[android-developers] Re: how to remove the image displayed in ImageView

2009-01-23 Thread mathiastck
You could try setImageBitmap passing a null. On Jan 22, 9:31 pm, cindy ypu01...@yahoo.com wrote: I could not find any API to remove the image displayed in ImageVIew. Help! On Jan 22, 11:16 am, cindy ypu01...@yahoo.com wrote: Hi How can we removed image displayed in Imageview?

[android-developers] Re: Want to help us port our iPhone app to Android?

2009-01-30 Thread mathiastck
Then you linux types may want to try: http://app-store.appspot.com/ pulling the ID out of cmxlgy's link and dropping it here works for me: http://app-store.appspot.com/?url=viewSoftware%3Fid%3D297414943 On Jan 29, 9:05 pm, wellwatch wellwa...@gmail.com wrote: dude, I run linux and can't

[android-developers] Re: I am getting SICK of 1 star ratings for charging!

2009-02-04 Thread mathiastck
A new firmware is in the process of being sent to G1's, and the new version of Marketplace has a mark as spam feature for application comments. On Feb 4, 1:18 am, DouglasN raphael.and...@gmail.com wrote: On Feb 3, 7:59 pm, Beshoy Girgis odsl...@gmail.com wrote: I think some cool additions to

[android-developers] Re: Spinner with Editable Text

2009-02-11 Thread mathiastck
I suggest you create your own SpinnerAdapter for the spinner. In getDropDownView for that SpinnerAdapter you determine what is displayed for each drop down view. On Feb 10, 1:21 pm, Inderjeet Singh inder...@gmail.com wrote: I would like to create a spinner where a user can edit the text for

[android-developers] Re: Help me solve my Ambiguity regarding Activity

2009-02-24 Thread mathiastck
http://groups.google.com/group/android-developers/browse_thread/thread/1c94a1d6d070b0b0 On Feb 24, 5:14 am, gganesh ganesh@gmail.com wrote: hi friends, What is the difference between starting an new Activity by case :1 and case: 2 case : 1            Intent i= new

[android-developers] Re: My Log messages fails to appear on Logcat View

2009-02-26 Thread mathiastck
I find I can often just close the logcat view and re open it, without having to restart eclipse. On Feb 26, 4:10 am, PRATAP SOLAPUR pratap.sola...@gmail.com wrote: close the emulator n eclipse then restart both once againit'll display the logs On Thu, Feb 26, 2009 at 2:47 PM, gganesh

[android-developers] Re: Image buttons

2008-10-30 Thread mathiastck
Simplest way to do this is to create a custom drawable xml describe what image to use for what state, described in this thread: http://groups.google.com/group/android-developers/tree/browse_frm/thread/1906f24707594f67/17322a04f7af1a5b On Oct 30, 2:48 am, Arun Mankad [EMAIL PROTECTED] wrote:

[android-developers] Re: Custom ImageButton Shape

2008-11-20 Thread mathiastck
You can create a drawable using whatever image you want, for each of the states of the button. Try creating an xml file like so, and putting it in res/drawable: ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item

[android-developers] Re: Android and Web Services

2008-04-30 Thread mathiastck
I'm using the same methodology. I've pieced it together from advice here. I took a look at KSOAP but found it easier to build up the request manual from streams and bytes. To build the request I used these snippets InputStream requestISStart = activity.getAssets().open(start of your soap

[android-developers] Re: Why is Android/Eclipse so unreliable?

2008-06-17 Thread mathiastck
I get the 19% death with M5. Windows XP Professional. On Jun 16, 7:55 am, Nickname [EMAIL PROTECTED] wrote: I'm using XP. I never saw 19% death so far with M5. Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Will 2009 Google I/O Android sessions be on YouTube?

2009-05-01 Thread mathiastck
I hope so. Even if one attends one is unlikely to be able to attend all the sessions one wishes. On Apr 29, 12:26 pm, geoff.stromberg geoff.stromb...@gmail.com wrote: The 2008 Google I/O Android videos were a great resource. The 2009 Android sessions sound like they'll be great too. Can

[android-developers] Re: TCP (XMPP) Keep Alive and T-Mobile

2009-05-05 Thread mathiastck
I found this: http://code.google.com/p/android-random/source/browse/trunk/TestKeepAlive/src/org/devtcg/demo/keepalive/KeepAliveService.java these guys set their keep alive interval to: private static final long KEEP_ALIVE_INTERVAL = 1000 * 60 * 28; I'm assuming their optmized for the T-Mobile

[android-developers] Re: how display text and images in single view

2009-05-15 Thread mathiastck
If the issue is you want portions of text to wrap with images in between them, you can try: http://developer.android.com/reference/android/text/style/ImageSpan.html On May 14, 10:19 pm, Mark Murphy mmur...@commonsware.com wrote: currently i am using relative layout to display four TextAreas

[android-developers] Re: How to add the animated GIF file as an UI element to android application?

2009-05-19 Thread mathiastck
APIDemos has an example of such. You can google this list for more info. On May 19, 5:51 am, elgoog cm1...@gmail.com wrote: Hi All,    I want to add an animated GIF file as an UI element to the android UI application.  Note that the GIF should be shown as animation but not static image in

[android-developers] Re: Redirecting to market search URL doesn't work

2009-05-20 Thread mathiastck
2 sounds right. On May 19, 1:38 pm, orangechicken therealdave.my...@gmail.com wrote: To pretty up the URL we have on our site a URL /get/g1. It redirects to our market.android.com/search URL, eghttp://market.android.com/search?q=pname:ourappname. However, going to that link in the G1

[android-developers] Html.fromHtml in 1.5 strips out line Separator's

2009-06-02 Thread mathiastck
This looks like a bug to me. Under SDK 1.5 this code: String lineSeparator = System.getProperty ( line.separator ); String testString = first line+lineSeparator+second line; Log.i(helloworld15,testString.indexOf(lineSeparator)) +testString.indexOf(lineSeparator));

[android-developers] Re: Advice on debug tool for I/O

2009-06-03 Thread mathiastck
I run the emulator on my desktop, and use Wireshark filtered for http requests. http://en.wikipedia.org/wiki/Wireshark On Jun 3, 3:43 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, On a number of cases I have experienced problems with server / client communication where

[android-developers] Re: Rendering of Android User Interface on different devices.

2009-06-08 Thread mathiastck
They put up video and slides from the google IO session on this topic: http://code.google.com/events/io/sessions/SupportingMultipleDevicesBinary.html On Jun 6, 7:55 am, aayush abhatnagar192...@gmail.com wrote: Hello. I had a question. As the android OS will be available on a variety of