[android-developers] What is System Image

2009-11-12 Thread Sukitha Udugamasooriya
Hi there, Please let me knwo what is Android system image? Is that the OS version.. (Android 1.0, 2.0 etc)? I'm a developer whos trying to buy an Android device. What would you advice me to buy. Will AndDev Phone be a better choice over a commercial phone cuz I can update the 'so called system

[android-developers] Resolution

2009-08-19 Thread Sukitha Udugamasooriya
Hi I have created an application and I want to make sure it works in different resolution. i have used LinearLayout and some ListViews and buttons. I need to know will it be an issue if the apk is put to two different phones which has different resolution. thank u

[android-developers] Re: Resolution

2009-08-19 Thread Sukitha Udugamasooriya
thank you all. This was really helpful. all the best --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe

[android-developers] Locale - Conversion

2009-08-25 Thread Sukitha Udugamasooriya
Hi, How can I make the app in Chinese? I could do it for French, German etc. But how to set the language to Chinese? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Ebook reader

2009-12-06 Thread Sukitha Udugamasooriya
Hi all, I need to build an ebook/reference reader type of an application. Is there any engines which gives support for formatting html or anyother types of content? cheers -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Ebook reader

2009-12-07 Thread Sukitha Udugamasooriya
I'm interested in making a epub reader... can u help me where to start? -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Epub reader

2009-12-07 Thread Sukitha Udugamasooriya
Hi, Has anyone tried to make a epub reader software? cheers -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Epub reader

2009-12-07 Thread Sukitha Udugamasooriya
thank you -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: Epub reader

2009-12-07 Thread Sukitha Udugamasooriya
I am trying to develop an android application to read ePub files .Is there any framework available to develop this? -- 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@googlegroups.com To

[android-developers] WebView - flipping

2009-12-13 Thread Sukitha Udugamasooriya
Hi, I'm just wondering if there is a way to to make a WebView flip sideways instead of displaying the content by scrolling down. I.E If the content is a very long paragraph, can we make the webview to display it by flipping sideways? Thank you -- You received this message because you are

[android-developers] Aldiko View

2009-12-14 Thread Sukitha Udugamasooriya
hi, Does anybody know what is the View used in the Aldiko epub reader. Is it a WebView used to displaythe chapter content? -- 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] Hrozontal ListView

2009-12-15 Thread Sukitha Udugamasooriya
Hi, Can anyone tell me how to implement a horizontal listView? Items are scrolled horizontally. thank you -- 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@googlegroups.com To

[android-developers] Re: Hrozontal ListView

2009-12-16 Thread Sukitha Udugamasooriya
thank you.. On Dec 16, 1:21 pm, Romain Guy romain...@android.com wrote: You can use a Gallery instead. On Tue, Dec 15, 2009 at 11:16 PM, Sukitha Udugamasooriya suk...@gmail.com wrote: Hi, Can anyone tell me how to implement a horizontal listView? Items are scrolled horizontally

[android-developers] Stop Scroll In a WebView

2009-12-16 Thread Sukitha Udugamasooriya
How can I stop the scrolling of a webview? thanks -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] TextView shows line parts

2009-12-16 Thread Sukitha Udugamasooriya
Hi, I have a very big chunk of text to display in TextView. I 'm showing it page by page using a ViewFlipper. I use textView.scrollTo() display next page. My problem is displays a line part at the top some times. what can I do to stop this? Help -- You received this message because you are

[android-developers] pitch of a wavefile

2010-01-07 Thread Sukitha Udugamasooriya
Can somebody tell me how to change the pitch of a wave file in Android? -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Voice Call

2010-01-14 Thread Sukitha Udugamasooriya
Is it possible to interfere with a voice call and change the speaking voices? -- 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@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-04 Thread Sukitha Udugamasooriya
Hello, I'm also facing this problem. I'm relatively new to Android. Have you found the solution?? --~--~-~--~~~---~--~~ 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] onDraw() help

2009-05-05 Thread Sukitha Udugamasooriya
Hi all, I'm relatively new to Android. I want to draw strokes on my screen when the user touches. Next stroke should be drawn from the end point of the previous stroke. This is my code. What happens here is just only the current stroke is drawn. Previous strokes are vanished? What is wrong here?

[android-developers] onDraw() help needed....!

2009-05-05 Thread Sukitha Udugamasooriya
Hi all, I'm relatively new to Android. I want to draw strokes on my screen when the user touches. Next stroke should be drawn from the end point of the previous stroke. This is my code. What happens here is just only the current stroke is drawn. Previous strokes are vanished? What is wrong here?

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-05 Thread Sukitha Udugamasooriya
I want to draw strokes on my screen when the user touches. Next stroke should be drawn from the end point of the previous stroke. This is my code. What happens here is just only the current stroke is drawn. Previous strokes are vanished? What is wrong here? Please help.. package src.test;

[android-developers] Re: How to draw directly on screen without calling invalidate?

2009-05-05 Thread Sukitha Udugamasooriya
Thanks. Is there a way to save the Canvas object on re-draw that in the onDraw()?? --~--~-~--~~~---~--~~ 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: onDraw() help

2009-05-06 Thread Sukitha Udugamasooriya
Is there a way to save the canvas object? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this

[android-developers] help: button.setBackgroundColor

2009-05-06 Thread Sukitha Udugamasooriya
HI, After clling button.setBackgroundColor(int color)... the 3D look of the button has gone... :( How can I mend this?? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: help: button.setBackgroundColor

2009-05-07 Thread Sukitha Udugamasooriya
Romain Guy , Thanks. Seems it is a long process to change the original assets. You meant from the Android source code rite? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] apk manual install problem Failure [-12]

2009-05-12 Thread Sukitha Udugamasooriya
I have developed a small application on eclipse (SDK 1.5r1). When I run the project it worked fine. Then I exported the signed application. (Lunar.apk) Then I sent the Lunar.apk file to my friend to install on his machine. when he try to install it manually on the emulator the cmd prompt says

[android-developers] Re: apk manual install problem Failure [-12]

2009-05-12 Thread Sukitha Udugamasooriya
Thank you Android Users Mark. It works now. Changed build target to Android 1.5 and Min SDK version to 1. I was using SDK 1.5 r1 and my friend was using SDK 1.0 r2. best Regards Sukitha... --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] UI problem

2009-05-14 Thread Sukitha Udugamasooriya
Hi geniuses, I have few buttons on the content. When I click on one button, 1-- I want to change the text of the button. 2-- Then I want to change the content view. this is my method which executes with the onClick event. private void markUser(int index) {

[android-developers] Re: UI problem

2009-05-14 Thread Sukitha Udugamasooriya
Yeahh.. I found out.. runOnUiThread() is the solution Thread t = new Thread() { public void run() { f.runOnUiThread(new Runnable() { @Override

[android-developers] Re: UI problem

2009-05-15 Thread Sukitha Udugamasooriya
h. OK. But without creating a new thread the changes made to the button are not visible (END View pops up). Can you give me a suggestion the original problem please? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] play sound issue

2009-05-21 Thread Sukitha Udugamasooriya
Hi, In my application i'm playing a 1 second sound clip when the user clicks on a button. after that a mall thread sleep then i have assigned a small animation to the particular button. (500ms duration). Animation works fine without sound. But when I put sound the animation is not consistent.

[android-developers] image not appearing in the sd card

2009-05-26 Thread Sukitha Udugamasooriya
Hi all, Sorry if this is a re-post. I tried to find the solution here but failed. I made a small app which downloads an image(jpg) and saves it on the sd card. It works fine. I could pull the image down in to my computer and could see it. But i couldnt see it in the emulator. (not appearing in

[android-developers] Re: image not appearing in the sd card

2009-05-26 Thread Sukitha Udugamasooriya
Yes. It s loaded. I pushed few images from my computer to the emulator using the command line. I could watch those from the gallery. In the previous case It downloads images (they are not visible in the gallery but I could pull them from the command line).

[android-developers] Progress bar update help

2009-05-26 Thread Sukitha Udugamasooriya
Hi, I m implementing a small app which downloads files (avg 1MB files- takes 5 seconds to download). -- I want to show the progress using a ProgressBar. --The user can pause the download if he desires. How can I show the progress? (How can I know the amount that has downloaded at a given

[android-developers] Re: Progress bar update help

2009-05-26 Thread Sukitha Udugamasooriya
Can you please put a code snip? how can I read the chunk size? --~--~-~--~~~---~--~~ 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@googlegroups.com To

[android-developers] Re: image not appearing in the sd card

2009-05-26 Thread Sukitha Udugamasooriya
Sorry my mistake. When I restart the emulator, those downloaded images were in the gallery. --~--~-~--~~~---~--~~ 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: Progress bar update help

2009-05-27 Thread Sukitha Udugamasooriya
Is this correct? It works accordingly. But I m not sure about the performance issues. I am relatively new to Android. Please help private void testDownload1(String urlStr) { try { progress = 0; URL sourceURL = new URL(urlStr);

[android-developers] File download

2009-05-27 Thread Sukitha Udugamasooriya
Hi all, My app downloads a file from the web into sd card. Works well. Now I want to put a button to pause the download and resume it later. Download is being done in a background thread. Any suggestions folks? Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] File download

2009-05-27 Thread Sukitha Udugamasooriya
Hi all, My app downloads a file from the web into sd card. Works well. Now I want to put a button to pause the download and resume it later. Download is being done in a background thread. Any suggestions folks? Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Progress bar update help

2009-05-27 Thread Sukitha Udugamasooriya
Is this correct? It works accordingly. But I m not sure about the performance issues. I am relatively new to Android. Please help private void testDownload1(String urlStr) { try { progress = 0; URL sourceURL = new URL(urlStr);

[android-developers] Resumeable downloads??

2009-05-27 Thread Sukitha Udugamasooriya
How to resume a download ? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email

[android-developers] File download help

2009-05-27 Thread Sukitha Udugamasooriya
This is a snip of my code URL sourceURL = new URL(urlStr); URLConnection con = sourceURL.openConnection(); con.setRequestProperty(Content-Range, bytes 0-200/+pbMax); //sets a chunck to download InputStream inStream=(InputStream)con.getContent(); int pbMax =con.getContentLength();

[android-developers] Append TextViews

2009-06-01 Thread Sukitha Udugamasooriya
Hi, I need to append a new TextView s to the current View whenever a user hits on a button. ie: 5 clicks -- the display should have 5 text fields How do i do this? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Progressbar

2009-06-07 Thread Sukitha Udugamasooriya
Hi, Is there a way to display the percentage% of the progress on the bar? Simple write something on the bar in the new SDK? I have searched everywhere for a sample code... :( help please --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Animation Transition

2009-06-23 Thread Sukitha Udugamasooriya
Hi all, Can you advise me how to apply view transition animation. ex: when i click on an list item my contentview changers. I want to apply a transition animation in that. Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Animation Transition

2009-06-23 Thread Sukitha Udugamasooriya
yeah.. sliding works well. thanks --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send

[android-developers] WebView

2009-06-24 Thread Sukitha Udugamasooriya
Hello, I have a webview and need to trigger a function when a user clicks on particular url. How can I achieve this? Regards and thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: WebView

2009-06-25 Thread Sukitha Udugamasooriya
Thanks Mark Murphy, Works well. Genies piece... :) --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from

[android-developers] data between activities

2009-06-30 Thread Sukitha Udugamasooriya
Is it possible to transfer data between activities without using extars?? I need to access MyOwnObject in Atctivity 1 from Activity2 Possible with using static fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] OnItemClick

2009-07-10 Thread Sukitha Udugamasooriya
Hello there, I have created a I have set the OnItemClickListener to the list view. It doenst listen when I press the center key of the emulator. But When I create the listview where each list item has ONLY a text view, the Listener works. why is this? This is the composite adapter s

[android-developers] OnItemClick

2009-07-10 Thread Sukitha Udugamasooriya
Hello there, I have created a listview I have set the OnItemClickListener to the list view. It doenst listen when I press the center key of the emulator. But When I create the listview where each list item has ONLY a text view, the Listener works. why is this? This is the composite adapter s

[android-developers] Android RSS reader

2009-07-29 Thread Sukitha Udugamasooriya
Hi comrades, Can someone give me guide lines to create a RSS reader application? I'd like to dispaly few news stories in my application from a web site, thank you in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Android RSS reader

2009-07-29 Thread Sukitha Udugamasooriya
Hey Vinny, I went through with it. Is made using an OLD sdk. Lots of methods have been replaced and deprecated. So hard to use it. Thanks anywa,,, sukitha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android