[android-developers] Problem about using resource in jar file

2011-03-10 Thread Siu Man Yu
I have use an external jar in my application. I add the jar by adding LOCAL_STATIC_JAVA_LIBRARIES := my-jar in Android.mk. However, I found that the resource files of the jar are not included into my apk. I have compile the problem in eclipse but the resource can be included in the apk build by

[android-developers] Search contact by phonetic input

2011-03-07 Thread Siu Man Yu
I am working on a phone dialer application. I found that the search widget can search Chinese contact by Pinyin. I would do the similar things. When I tried to read the contact StructuredName.PHONETIC_GIVEN_NAME, StructuredName.PHONETIC_MIDDLE_NAME and StructuredName.PHONETIC_FAMILY_NAME. However,

[android-developers] Re: Multiple resources for application

2010-12-30 Thread Siu Man Yu
Thanks a lot for your advice. I try to looking more information on this direction first. Thank you so much. On 12月13日, 下午4時28分, Brill Pappin br...@pappin.ca wrote: If its just the aesthetic elements changing (text, images, etc) then the obvious answer is to try and use a Theme. You should be

[android-developers] Multiple resources for application

2010-12-13 Thread Siu Man Yu
Hi all, I am working on an application which need to serve different customer. As all custom want to have their unique UI, they would provide different drawable and string resource for the application. As the code is still tuning, copy of codes is not a good idea to solve this problem. Is it

[android-developers] SimpleCursorAdapter with rawQuery

2009-09-21 Thread Siu Man Yu
In the API Demo, there is example on using SimpleCursorAdapter. However, it is using the MediaStore cursor. Is there any method so that I can use other external cursor prepare by SQL database. I don't know what should I input to the from String[]. Thank you in advance.

[android-developers] Extract video frame at particular time

2009-09-11 Thread Siu Man Yu
I am making an video application. In the list of the media, I would like to show the video frame as thumbnail to indicate my video. There is standard method to extract the first frame from the video. However, I would like to let the user to use any frame as the thumbnail. Is there any method

[android-developers] Genre filtering for music application

2009-09-11 Thread Siu Man Yu
I am implementing an music application with browser function. In original music application, it support to browse through Artist- Album-Media. However, I would like to add one more level, Genre. Such that Genre- Artist-Album-Media. The Genre information is storing at Media level. Could I do

[android-developers] Package my common code as library

2009-08-30 Thread Siu Man Yu
I have done some cusomtizations on general user interface behavior. I would put those features into my applications. Therefore, I package my source code as a jar and add this external library to my applications. As my cusomtization include some inflation of xml files, I put those resource in my

[android-developers] How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
I would like to build my own launcher application. Beside modify the Launcher.apk in the SDK, is there any other method to replace my own application as the home menu? Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
Thank you for your fast response. However, it reports error on startup again and selected the Home Sample options. As I need to restart my emulator to run the launcher, is there any method I could debug for that? On Jul 9, 12:35 am, Mark Murphy mmur...@commonsware.com wrote: Siu Man Yu wrote

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
It will pop-up a dialog to let me select my application or original Home to start with. Could I set any attribute to bypass this dialog force to use my app as launcher? Thank you very much On Jul 9, 10:34 am, Siu Man Yu siuma...@gmail.com wrote: Thank you for your fast response. However