[android-beginners] Having trouble with setDataSource() for MediaPlayer

2010-07-01 Thread appsgrrl
I've gotten the MediaPlayer to work with the create() on a resource. I'm trying to get it to work with a file in the assets folder. I've tried all sorts of combinations with the setDataSource() method, but I keep getting errors. Here's one of my error traces: E/PlayerDriver( 31): Command

Re: [android-beginners] Re: Appwidget Getting Location Updates

2010-07-01 Thread Kostya Vasilyev
Jake, 01.07.2010 1:04, Jake Colman пишет: Kostya, I already start a service to do the initial update of the widget. Do I just start the same service again from within the appwidget's event handler for the broadcast event? If doing this will bring the widget up-to-date, then why not?

Re: [android-beginners] Re: Beginner...How to test android application?

2010-07-01 Thread Mark Murphy
On Thu, Jul 1, 2010 at 12:38 AM, Rushikesh Khadtare khadtare.rushik...@gmail.com wrote: Any other link than developer.android ??? http://wiki.andmob.org/books Other than that, it is difficult to answer such generic questions, such as the ones you are asking. -- Mark Murphy (a Commons Guy)

[android-beginners] Updating an Application

2010-07-01 Thread Aviral Shrivastava
Hi... I want to know how an application is updated in Android. Is there a specific code for that?? In my application I have used the feature public void setApplicationEnabledSetting (Stringhttp://developer.android.com/reference/java/lang/String.htmlpackageName, int newState, int flags) and using

Re: [android-beginners] R class breaks on downgrade?

2010-07-01 Thread lucas verdonk
I had the same problem recently. First as justin told you, make sure that you are not importing android.R class instead of your R class in your program. Then check if your res directory works fine, any problem in this directory will cause build to fail and R wont be re-built. for instance my

[android-beginners] Location Provider Questions

2010-07-01 Thread Jake Colman
My widget needs to know its location but does not care whether it gets it from the GPS or the network. If I can get a finer location from the GPS that's fine. But if the GPS is not enabled or does not exist in the device, than I will use what I can get. I have some questions related to this:

RE: [android-beginners] Location Provider Questions

2010-07-01 Thread sachin.ravi
You can use LocationManager.getBestProvider() function with some Criteria to get the good provider. If you have ACCESS_FINE_LOCATION permission access then you can use both gps/network provider. Detail you can check in LocationManagerService.java under checkPermissionsSafe() function.

[android-beginners] getFromLocationName Service Not Available

2010-07-01 Thread madcabbage
Hey hey, I'm getting problems with getFromLocationName. Every time I run it, it stalls at the line: ListAddress addresses = geocoder.getFromLocationName(Megazone Leicester, Leicester, LE1 3HS, UK, 1); with a LogCat Error of: java.io.IOException: Service Not Available at

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-01 Thread Indicator Veritatis
That is what the diagram says, yes. But the text of the table says something different: it says onPause() is called when the system is about to resume another activity. But it also says that onStop() may be called when the activity is no longer visible to the user. More importantly, it says that

[android-beginners] Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-01 Thread Mark
The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to a poster on the developer's group, Sonar. Seriously broken or seriously misunderstood? If we're going to author Jet audio, we need this synth right? -- You received this message because you are subscribed to the Google Groups

[android-beginners] normal-hdpi screened emulator thinks it's a large screened emulator

2010-07-01 Thread Ribcakes
I am coding an application that uses different layouts for different screens. I have multiple layout folders for different combinations as follows: large-land-hdpi normal-land-ldpi normal-land-mdpi normal-land-hdpi small-land-ldpi all the different layout folders work for their respective

[android-beginners] Context Menu pops-up twice

2010-07-01 Thread Bender
Hi, I'm trying to make a context menu for a little notes application, and it has some weird behaviour. My notes are categorized in.. well categories. I'm using a ExpandableListView to show the categories (groups) and notes (children). I have registered for context menu, and what happens is the