[android-developers] NO DISTINCT NO GROUP BY in ContentResolver's query

2009-02-05 Thread
hi~ i just wanna find the rencent contacts in the call log . but what disappointed me is i couldn't do that with the ContentResolver. no rawQuery() method and even no distinct group by parameters in query... i hope they can fix it in the next sdk. or anyone can tell me how to do this with

[android-developers] How to add weight attr of a LinearLayout's child from code

2009-02-01 Thread
Hi~ i know we can use XML to specify layout_weight.(refer to APIdemo LinearLayout9.java) but is there any method to specify it from code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to add weight attr of a LinearLayout's child from code

2009-02-01 Thread
LinearLayout.LayoutParams(int width, int height, float weight) 2009/2/1 邓亮 wsgfz...@gmail.com Hi~ i know we can use XML to specify layout_weight.(refer to APIdemo LinearLayout9.java) but is there any method to specify it from code? --~--~-~--~~~---~--~~ You received this message