[android-developers] AudioTrack: ObtainedBufferTimeout

2010-10-03 Thread praj
Hi, I am developing a music application and I am trying to test it on 2G. My application works fine on wifi but on Edge it gives me AudioTrack: ObtainedBufferTimeout. I figured out the buffer does not have enough data so I am getting this message. I want to thus display a progress dialog box sayin

[android-developers] Proxy related code changes needed in Apps

2010-09-29 Thread praj
Hi, We recently came to know that a lot of Mobile Carries in Asia/India have proxy enabled to get Internet access via mobile. It turns out our App does not work when the phone has internet via proxy setup (APN). Does the APP need to handle proxy individually? and if so, can you please tell me wha

[android-developers] OnCompletionListener getting called for a Radio Application

2010-09-27 Thread praj
Hi, I am trying to build a radio application and after it plays for 2 mins it stops. After debugging and putting some logs i figured out that as oncompletionListener was getting called the music was stopping. Please can anyone let me know if anything special needs to be done for radio streaming. M

[android-developers] AdWhirl - for advertisements

2010-05-31 Thread praj
with the Adwhirl SDK. Thanks, Praj -- 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-developer

[android-developers] is it possible to change the application name dynamically???

2010-05-25 Thread praj
Hi, Is it possible to change the name of the application name dynamically? I want to keep a certain name like XYZ free when my application is free and XYZ Pro when the user has paid. So is it possible to change the name of the application dynamically? Thanks, Prajakta -- You received this messa

[android-developers] Re: problem displaying music list using custom adapters

2010-04-21 Thread praj
Hi Rahul, Some things that I have noticed: 1) You have not initialized the SongsList item in the constructor. in the constructor have a ArrayList and initialize it with the value that you have passed (in your case "al"). 2) in ur main activity u can use a setListAdapter it is very easy to use an

[android-developers] Iconic list View gets very slow when a service (running music) starts in the background

2010-04-20 Thread praj
Hi, I have an iconic list view which has lazy loading implemented. I have used a wrapper class to improve its efficiency (wrapper class which stores the ids of the list view) . My application is a media player application where I have a list of songs and when the user clicks on the songs the songs

[android-developers] Hiding the virtual keyborad in a ListActivity

2010-04-17 Thread praj
Hi, I was trying to disable the keyboard on my ListActivity but it does not work, however the same code works in a normal activity. Is there anything that i am missing. I have tried the following : 1) getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); 2) Ed

[android-developers] moveTaskToBack returning false.

2010-04-16 Thread praj
Hi, I am trying to send all my activities to background by calling this.moveTaskToBack(true); on a menu button click, but the call returns me a boolean value false. Please can anyone let me know if my way to invoke this is wrong or if I am doing anything wrong. Thanks, Prajakta -- You received

[android-developers] Change the font size of the Progress Dialog box

2010-04-15 Thread praj
Hi, Is it possible to change the font size of the detail message text in the Progress Dialog? Or will I have to create a custom Progress Box? Thanks, Prajakta -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Progress Bar in every row of ListView

2010-04-11 Thread praj
Hi, I am trying to have a progress bar in every row of my list view. My list is an iconic list view and have implemented it in the lazy loading way..so i want to display a progress bar (spinning progress bar) till the images are not loaded. My current approach is that i hv placed the progress bar

[android-developers] Lazy Loading of images in the list view

2010-04-10 Thread praj
Hi, I was trying to implement the lazy loading of images in the list view. For implementing this i was referring to post by Tom van Zummeren. (http://blog.jteam.nl/2009/09/17/exploring-the-world-of-android- part-2/), but my images keep on changing in the list. Please can anyone let me know if they

[android-developers] Recreating the Menu .

2010-04-07 Thread praj
Hi All, In my application I am required to recreate the menu every time. So for doing this I override the onPrepareOptionsMenu, where i initially removethe items from my menu and then add the items depending on my conditions. So I was just wondering if this is the correct approach to recreate menu

[android-developers] IllegalArgument Exception: Service is not registered: when unbindservice is called.

2010-04-04 Thread praj
Hi, I am getting IllegalArgumentException: Service is not registered when i try to stop my service by initially calling unbindservice and then stopService. Before calling unbindService i first check if my service is still bound by checking (mBoundService - obtained from the ServiceConnection) I

[android-developers] Adding iconified rows to existing ArrayAdapter

2010-03-26 Thread praj
Hi, I am developing an application which requires me to load first twenty rows (consisting on icons and two text fields) and if I have more rows I need to display a button. When i click this button I want to display more twenty rows( again iconified). My current approach which is working is that

[android-developers] OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-11 Thread praj
Hi, I have an application where I navigate from Activity A to Activity B and back to A and then B. I want to resume the activity B (which has a Bundle passed to it ) from Activity A. The documentation says that OnSaveInstance() is called only when the activity is killed, so how do i use OnPause w

[android-developers] problem while creating a local service.

2010-03-06 Thread praj
Hi, I am developing a media player which uses a local service. I am getting JDI thread evaluation error, exception in async thread. My code is as below: This is in the Activity class : I create a thread which starts my local service, binds the activity to the service and then gets the media play

[android-developers] Mapping from J2ME to Android

2010-02-11 Thread praj
help and guidance is highly appreciated. Thanks, Praj. -- 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-