[android-developers] Re: Color State List Urgent

2008-04-23 Thread Megha Joshi
Hi Greg, This issue has been discussed on the groups multiple times, please use search on the groups. You may also want to avoid using Urgent in the subject line for every post. Thanks, Megha On Tue, Apr 22, 2008 at 3:25 AM, Greg [EMAIL PROTECTED] wrote: how can i use colors for two states

[android-developers] failure to connect to database

2008-04-23 Thread scimitar
Hi, I'm trying to connect to an external mysql database. The code is something like: try { Class.forName(DBCLASS).newInstance(); } catch (Exception e) { Log.i(DataLayer, unable to load jdbc driver); } // Connect to

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Greg
i am really very sorry Megha i have searched the groupd i ddint find soultuion Regards Greg On Apr 23, 12:16 pm, Megha Joshi [EMAIL PROTECTED] wrote: Hi Greg, This issue has been discussed on the groups multiple times, please use search on the groups. You may also want to avoid using

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Greg
thanks megha i have checked it i want to do it pro grammatically like this want to check how color state list works for multiple states? mText.setTextColor(new ColorStateList( new int[][] { new int[] { android.R.attr.state_selected},

[android-developers] Re: When will the next version of SDK be published

2008-04-23 Thread Kosmaj
No idea but I hope very soon. IMO, it's not worth wasting any more time with this version. On Apr 23, 4:05 am, Jim T [EMAIL PROTECTED] wrote: I assume that Google has been holding this release in the pipeline to provide a non-moving target in the weeks leading up to the challenge.

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Megha Joshi
Please see the thread below for using ColorStateList programatically: http://groups.google.com/group/android-developers/msg/6e1fb819cecbc038 On Wed, Apr 23, 2008 at 1:04 AM, Greg [EMAIL PROTECTED] wrote: thanks megha i have checked it i want to do it pro grammatically like this want to

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Greg
i tried it like this mText.setTextColor(new ColorStateList( new int[][] { new int[] { android.R.attr.state_selected,android.R.attr.state_focused,android.R.attr.state_pressed}, new int[1],new int[1],new int[1],

[android-developers] Re: Starting Google NotePad by firing Intent

2008-04-23 Thread patrick
awww.. you are right. I searched the whole forum for something similar and now it's just a typo ;) Anyway, may this snippet be of help for someone else, thanks! On Apr 23, 12:56 pm, David Given [EMAIL PROTECTED] wrote: patrick wrote: [...] Intent i = new Intent(Intent.EDIT_ACTION,

[android-developers] Re: iPhone SDK lacks mapping function

2008-04-23 Thread Krishna(GK)
Thanks for this info. Location API is the the key to many mobile apps. Did you find any other points of difference between the iphone SDK and Android gk On 4/22/08, Biosopher [EMAIL PROTECTED] wrote: Yes...you read this post's title correctly. The iPhone SDK lacks the basic mapping API

[android-developers] Re: Creating an XML file from Code

2008-04-23 Thread Dorothy
Thanks Dan, but could you show me how to custom in addition a text by extending TextImpl in DOM? I need it to set a element's text child node. I've tried but there is always null pointer exceptions in the constructor, and in CharacterDataImpl.setData()... I'm new in Android and I don't know

[android-developers] Re: Any hits ?

2008-04-23 Thread dreamer
got the hit. The testing was not on large scale, they just tested basic functionality. This is all i can know by looking at database entries. Although social network apps, I think require a bit larger scale testing. Many features wont show up if u add just 2 records!!! On Apr 23, 7:53 am,

[android-developers] What wud u do if you app if not selected?

2008-04-23 Thread dreamer
What r ur future plans for your android app, if ur submission is not accepted? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Load a class from another .apk file dynamic?

2008-04-23 Thread Jeff
You can See my solution at http://code.google.com/p/androidonthespot/ I didn't make any source archives so if you want to see the source, its in the repository. On Apr 22, 3:12 am, tu [EMAIL PROTECTED] wrote: See tips in http://blog.luminis.nl/luminis/entry/osgi_on_google_android_using

[android-developers] Re: Bug in date picker?

2008-04-23 Thread OmarFlores
Dan, Tx for your input on the timezones/OS with the emulator time. Regarding the day picker, I double checked the date picker and it looks OK. The sample APIs Views|Date Widgets is showing OK and it uses: final Calendar c = Calendar.getInstance(); mYear = c.get(Calendar.YEAR);

[android-developers] Re: failure to connect to database

2008-04-23 Thread scimitar
Hi, thanks for your reply. But I really have no choice in this matter. Using JDBC is my best bet here, and I would appreciate if somebody could tell me what's going on. On Apr 23, 2:56 pm, Charlie Collins [EMAIL PROTECTED] wrote: I don't have any insight to help in terms of answering your

[android-developers] Re: failure to connect to database

2008-04-23 Thread Dan U.
Well, java.sql.NClob appears to be the problem. It looks like that class is in rt.jar in a normal Java jre. Probably not part of Android because I doubt they expect people to be doing this (I agree with Charlie on why). I don't know why you don't have a choice, but I'll say it looks like a bad

[android-developers] Re: iPhone SDK lacks mapping function

2008-04-23 Thread Biosopher
I'm still digging into the iPhone SDK versus Android diffs. As you can imagine though, the iPhone's media support is substantially better than what Android has. Makes sense though. The iPhone is a mobile media play while Android is more of a location-based media play. If you're a pure media

[android-developers] Re: Problems in uploading my entry

2008-04-23 Thread Prekshu Ajmera
For me it is giving 502 server error :( What to do ? Prekshu On Tue, Apr 15, 2008 at 6:15 AM, Harsh Jain [EMAIL PROTECTED] wrote: The form is giving a 402 ? Anything wrong with the server ? regards, Harsh -- Prekshu Ajmera Computer Science Engineering IIT Bombay

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Megha Joshi
I guess the issue might be that if mText is a TextView, it would not have a pressed state. On Wed, Apr 23, 2008 at 1:42 AM, Greg [EMAIL PROTECTED] wrote: i tried it like this mText.setTextColor(new ColorStateList( new int[][] { new int[] {

[android-developers] Re: Problem in Setting XMPP

2008-04-23 Thread Megha Joshi
The thread below has more detailed instructions on using it: http://groups.google.com/group/android-developers/msg/2d8ad5f1289e3968 Let us know if you face any issues. Thanks, Megha On Tue, Apr 22, 2008 at 4:45 AM, Brijesh_Mindtree [EMAIL PROTECTED] wrote: Hi, I am using

[android-developers] Re: RemoteService not found

2008-04-23 Thread WildLuka
you can find the code here: RemoteServiceBinding.java http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/RemoteServiceBinding.html RemoteService.java http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/RemoteService.html Thank you !

[android-developers] Re: Launching an activity from the web browser

2008-04-23 Thread sasperilla
I'm having the same problem. I read the suggested thread, but I didn't have any luck getting it to work. I tried several different things. I wasn't using any layout file for my ListActivity originally because of some bugs. I tried setting the layout width and height doing:

[android-developers] Re: ListView with different images for each line

2008-04-23 Thread RLo
dude. you are awesome. works perfectly, thank you! On Apr 22, 6:11 pm, xingye [EMAIL PROTECTED] wrote: you can use viewbinder seehttp://code.google.com/p/sharepath/ Inbox.java On 4月23日, 上午7时50分, RLo [EMAIL PROTECTED] wrote: I'm creating a sort of buddy list, using a ListView that draws

[android-developers] Re: Color State List Urgent

2008-04-23 Thread Greg
you are right i tried focus state and select state i am using on listview like this want to show when user clicks on any listview item or select or focus on then it colors would turn into white please have a look at this code public BulletedTextView(Context context, String text, Drawable

[android-developers] I want to Draw a image on image on x and y axis

2008-04-23 Thread Greg
public static BitmapDrawable convertBytesintoDrawable(byte[] imageBytes, Context context,byte[] logoImageBytes) throws IOException { ByteArrayInputStream mainImageinputStream = new ByteArrayInputStream(imageBytes); ByteArrayInputStream