Re: [android-developers] About accessing List View items from a different Thread

2012-09-27 Thread Subin Sebastian
Thanks Justin, and Blake. I was not aware of Loaders. I will try both the approaches, and will give feedback soon. -- Thanks & Regards -- Subin Sebastian -- 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: Altitude Discrepancies - Any Secrets

2012-09-27 Thread Nathan
Thank you. I have read more about the Elipsoid -geoid differences. That fits with what the customer was seeing. Nathan On Thursday, September 27, 2012 5:51:23 PM UTC-7, Rudolf Hornig wrote: > > Hi, the 45m difference is quite plausible and it comes because of the > different 0 points used for

[android-developers] Re: Altitude Discrepancies - Any Secrets

2012-09-27 Thread Rudolf Hornig
Hi, the 45m difference is quite plausible and it comes because of the different 0 points used for altitude measuring. GPS is using the WGS84 ellipsoid as a reference for altitude, while people (and maps) are using altitudes relaive to the mean sea level around their location. The two reference

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Kristopher Micinski
On Thu, Sep 27, 2012 at 6:33 PM, Ross Bamford wrote: > On Thursday, 27 September 2012 18:28:40 UTC+1, Kristopher Micinski wrote: >> >> I agree that reflection will kill you. I actually hadn't thought >> about this, but it seems like there should be some sort of analysis to >> be able to get rid o

Re: [android-developers] Google cancelled this order. Reason: Other

2012-09-27 Thread Nathan
On Thursday, September 27, 2012 3:28:25 PM UTC-7, Kostya Vasilyev wrote: > > Google Checkout / Market / Play is weird and buggy. > > Well, that I know - just wondering if there is a particular latest bug, like on of those stormy days Checkout decides not to approve any orders. There is a patter

[android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Thursday, 27 September 2012 19:07:57 UTC+1, jb wrote: > Ross Bamford schrieb: > > You'll find the project at http://deelang.googlecode.com/ . To get the > > native compiler, you'll need to check the DEXCOMPILER branch out of > > subversion (a file release is planned soon, but not yet). > >

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Kristopher Micinski
On Thu, Sep 27, 2012 at 6:40 PM, Ross Bamford wrote: > On Thursday, 27 September 2012 18:38:56 UTC+1, Mark Murphy (a Commons Guy) > wrote: > >> On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford wrote: >> > Recently, I've been working on a native (i.e. DEX) compiler for >> > it. >> >> Are you using De

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Thursday, 27 September 2012 18:38:56 UTC+1, Mark Murphy (a Commons Guy) wrote: > On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford > > > wrote: > > Recently, I've been working on a native (i.e. DEX) compiler for > > it. > > Are you using Dexmaker for this? > > http://code.google.com/p/dexmak

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Thursday, 27 September 2012 18:28:40 UTC+1, Kristopher Micinski wrote: > > I agree that reflection will kill you. I actually hadn't thought > about this, but it seems like there should be some sort of analysis to > be able to get rid of the overly large reflective cost. Since inside > your

Re: [android-developers] Google cancelled this order. Reason: Other

2012-09-27 Thread Kostya Vasilyev
How does it go in Blade Runner? "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion." In other words: Google Checkout / Market / Play is weird and buggy. Given enough time, you'll even see orders that are "Canceled by seller", and your would-be customer

[android-developers] Re: Altitude Discrepancies - Any Secrets

2012-09-27 Thread Nathan
On Thursday, September 27, 2012 2:59:27 PM UTC-7, bob wrote: > > *Using the Barometer Sensor* A barometer is used to measure atmospheric > pressure. The inclusion of this sensor in some Android devices makes it > possible for a user to determine his or her current altitude and, > potentially,

[android-developers] Re: Altitude Discrepancies - Any Secrets

2012-09-27 Thread bob
*Using the Barometer Sensor* A barometer is used to measure atmospheric pressure. The inclusion of this sensor in some Android devices makes it possible for a user to determine his or her current altitude and, potentially, to forecast weather changes. *Meier, Reto (2012-04-05). Professiona

[android-developers] Re: making an android compass

2012-09-27 Thread Lew
bob wrote: > I see the issue. > > He was using: > > Sensor.TYPE_ORIENTATION > > I was using: > > Sensor.TYPE_MAGNETIC_FIELD > > I guess TYPE_ORIENTATION returns angles whereas TYPE_MAGNETIC_FIELD > returns a vector. > Why guess? I pointed you to the documentation which removes the guesswork. RT

[android-developers] Altitude Discrepancies - Any Secrets

2012-09-27 Thread Nathan
Once in a while, I get a message from someone in Spain or Italy that the altitude in my app is too high. Of course, I don't expect altitude from GPS to be terribly accurate. Then they'll say that some other app is getting better numbers. So I tried an experiment. Three apps running at the exa

[android-developers] Google cancelled this order. Reason: Other

2012-09-27 Thread Nathan
Am I the only one seeing this quite a bit in Google Checkout? Google cancels the order. No reason given. At least one person is getting this repeatedly for an inapp purchase, after recently buying the app succcessfully. I have no idea what to tell them to do other than contact Google. Sep 2

Re: [android-developers] Re: uploading app to android market

2012-09-27 Thread Harri Smått
On Sep 27, 2012, at 11:23 PM, John Merlino wrote: > It doens't take me to a developer console. It takes me back to the > developer signup page. But I already did this already and made the > payment and received the confirmation. I click the link on the > confirmation while logged in with my acco

[android-developers] Re: uploading app to android market

2012-09-27 Thread John Merlino
It doens't take me to a developer console. It takes me back to the developer signup page. But I already did this already and made the payment and received the confirmation. I click the link on the confirmation while logged in with my account and still see this page. On Sep 27, 3:49 pm, Harri Smått

[android-developers] apidemos Compass bug?

2012-09-27 Thread bob
I'm looking at the Compass.java code in apidemos. It has a line like this: canvas.rotate(-mValues[0]); When I face west, the compass points east. What do you guys think? Should it be: canvas.rotate(mValues[0]); When I change it, it seems to work right. A bug or am I doing something wro

[android-developers] Re: making an android compass

2012-09-27 Thread bob
I see the issue. He was using: Sensor.TYPE_ORIENTATION I was using: Sensor.TYPE_MAGNETIC_FIELD I guess TYPE_ORIENTATION returns angles whereas TYPE_MAGNETIC_FIELD returns a vector. On Thursday, September 27, 2012 1:32:57 PM UTC-5, Lew wrote: > > > > On Thursday, September 27, 2012 11:27:4

Re: [android-developers] uploading app to android market

2012-09-27 Thread Harri Smått
On Sep 27, 2012, at 10:34 PM, John Merlino wrote: > > So I clicked the link and it took me back right to the sign up page: > > https://play.google.com/apps/publish/signup > > How do I upload my app? Signing in using your Google credentials should take you to Developer Console; http://develop

[android-developers] uploading app to android market

2012-09-27 Thread John Merlino
I created a developer profile on Google Play and paid the 25 dollar registration fee. I received an email confirmation: "Thanks for your interest in publishing your applications to Google Play. Please return to the Google Play Developer Site to finish your registration." So I clicked the link and

[android-developers] Re: making an android compass

2012-09-27 Thread Lew
bob wrote: > Here is the *correct* (until proven otherwise) version of a compass for a > device lying flat on a table: > > As long as you have the device lying flat, i.e., with no roll, then the Meier version is fine, if computationally expensive per the documentation. > package com.magnet_t

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Kristopher Micinski
On Thu, Sep 27, 2012 at 2:04 PM, Jan Burse wrote: > Ross Bamford schrieb: > >> You'll find the project at http://deelang.googlecode.com/ . To get the >> native compiler, you'll need to check the DEXCOMPILER branch out of >> subversion (a file release is planned soon, but not yet). > > > Does it ta

[android-developers] Re: making an android compass

2012-09-27 Thread bob
Here is the *correct* (until proven otherwise) version of a compass for a device lying flat on a table: package com.magnet_test; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; public class Magnet_Listener implements SensorEventL

[android-developers] Re: gyro trouble

2012-09-27 Thread Lew
bob wrote: > Underscores illustrate word boundaries better than camel case, I feel. > > I am not debating the merits of the convention, only pointing out that camel case has been the official Java convention since 1999. I don't really care how you feel. When in Rome ... > As for the indenta

[android-developers] Re: making an android compass

2012-09-27 Thread Lew
On Thursday, September 27, 2012 11:27:46 AM UTC-7, Lew wrote: > > bob wrote: > >> So, I'm trying to learn how to make an android [sic] compass. >> >> Naturally, I used a site called google and typed the following in: >> >> "making an android compass" >> >> I found myself at this URL: >> >> >> htt

Re: [android-developers] About accessing List View items from a different Thread

2012-09-27 Thread G. Blake Meike
Actually, simply notifying that the contents have changed is pretty badly broken. Since the UI is single threaded, it is not thread safe and, therefore, will not seize any kind of lock before it tries to display the new contents of the list. While that may work on some processors, it is defini

Re: [android-developers] making an android compass

2012-09-27 Thread bob
After wrestling with about 10+ CAPTCHA failures… *Your comment has been saved and will be visible after blog owner approval.* On Thursday, September 27, 2012 1:01:08 PM UTC-5, MagouyaWare wrote: > > Why not post a comment on his blog and ask him about it? That's what > others have done.

[android-developers] Re: making an android compass

2012-09-27 Thread Lew
bob wrote: > So, I'm trying to learn how to make an android [sic] compass. > > Naturally, I used a site called google and typed the following in: > > "making an android compass" > > I found myself at this URL: > > > http://android-er.blogspot.com/2010/08/simple-compass-sensormanager-and.html > > A

Re: [android-developers] MenuItem with RadioButtons instead an CheckBox

2012-09-27 Thread Justin Anderson
The default menus provided by Android are not very customizable. However, I believe there is a way to display a custom view when you click on an ActionBar menu item... Then you could use the ListPopupWindow and implement the behavior you want: https://developer.android.com/reference/android/widg

Re: [android-developers] LogCat window is blank

2012-09-27 Thread bob
This does not always work. Not sure if it ever works actually. For File Explorer problems, yes… Logcat… not so much. On Monday, September 24, 2012 4:45:40 PM UTC-5, TreKing wrote: > > On Tue, Sep 18, 2012 at 1:17 PM, bob > > wrote: > >> Has anyone figured out why the LogCat window is blank

Re: [android-developers] About accessing List View items from a different Thread

2012-09-27 Thread Justin Anderson
Whenever the data for your adapter changes you need to call notifyDataSetChanged() on the adapter... This triggers the listview to update itself. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Sep 27, 2012 at 11:58 AM, Subin Sebastian wrote: > Hey

[android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Jan Burse
Ross Bamford schrieb: You'll find the project at http://deelang.googlecode.com/ . To get the native compiler, you'll need to check the DEXCOMPILER branch out of subversion (a file release is planned soon, but not yet). Does it take a detour over Java bytecode? If yes, is this bytecode also exec

Re: [android-developers] making an android compass

2012-09-27 Thread Justin Anderson
Why not post a comment on his blog and ask him about it? That's what others have done... and he seems to respond to comments/questions consistently... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Sep 27, 2012 at 9:33 AM, bob wrote: > So, I'm t

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Kristopher Micinski
No, it looks like homebrew code. I believe you can also just use something like dexgen.. https://github.com/android/platform_dalvik/tree/master/dexgen/src/com/android/dexgen But no, as far as I was able to tell, this was all homebrewed compiler source... kris On Thu, Sep 27, 2012 at 1:35 PM, M

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Mark Murphy
On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford wrote: > Recently, I've been working on a native (i.e. DEX) compiler for > it. Are you using Dexmaker for this? http://code.google.com/p/dexmaker/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonswa

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Kristopher Micinski
These are good insights. I am interested in following your development, and you've made a convincing argument as to why you need a new compiler. I agree that reflection will kill you. I actually hadn't thought about this, but it seems like there should be some sort of analysis to be able to get

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Adam Lichwierowicz
Means that I have integrated my image with the activity background image. So I no longer have an imageview in the activity but only the background and I place my progress bar according to the screen dimensions not imageview dimensions. "i think it should just work provided you get the matrix after

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread skink
Serdel wrote: > "i don't think so since this matrix is used internally for drawing the > image - see ImageView.java " > > Well I tried the matrix in onCreated, in onFocusChanged Listener and in > Image view onPreDraw and onGlobalLayout listeners - the point where > calculated exactly as if the bi

[android-developers] Re: gyro trouble

2012-09-27 Thread bob
Underscores illustrate word boundaries better than camel case, I feel. As for the indentation issue, it occurred from pasting rich text into Google Groups. I should have converted it to plain text first. As for the floats, I think they should be doubles too. (Reto made them floats) As for th

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Serdel
"i don't think so since this matrix is used internally for drawing the image - see ImageView.java " Well I tried the matrix in onCreated, in onFocusChanged Listener and in Image view onPreDraw and onGlobalLayout listeners - the point where calculated exactly as if the bitmap was not resized and

[android-developers] making an android compass

2012-09-27 Thread bob
So, I'm trying to learn how to make an android compass. Naturally, I used a site called google and typed the following in: "making an android compass" I found myself at this URL: http://android-er.blogspot.com/2010/08/simple-compass-sensormanager-and.html After looking thru it, I'm thinking it

Re: [android-developers] Offline Floor Plan

2012-09-27 Thread TreKing
On Thu, Sep 27, 2012 at 4:25 AM, ashish mishra < mishra.ashishmishr...@gmail.com> wrote: > Hi, > > i have to create floor plan. > OK. Do you understand what a "question" is? http://www.catb.org/esr/faqs/smart-questions.html ---

Re: [android-developers] extra lifecycle events

2012-09-27 Thread Kristopher Micinski
On Thu, Sep 27, 2012 at 8:55 AM, Craig wrote: > This lockdown strategy is good enough for our purposes - we want to > discourage alternative uses of our devices, and if a user does work around > it it isn't the end of the world. > > This worked for me: > http://stackoverflow.com/questions/8248213/

[android-developers] MenuItem with RadioButtons instead an CheckBox

2012-09-27 Thread Copa
I have a MenuItem list on a Submenu on actionbar, and I wanna set the view of each MenuItem with a TextView and a RadioButton, but for default it just allow me set the view for Checkable (menuItem.setCheckable(true)). Is there any way to set this MenuItems on a RadioButton option or set an custo

[android-developers] Re: java.lang.IllegalStateException in Media.configure() with the new MediaCodec API

2012-09-27 Thread Peter Kolarov
I have managed to get past the configuration part and interestingly enough I am getting the same error after successfully encoding 4 frames - on the 5fth frame it throws IllegalStateException and the whole OMX subsystem crashes so badly that only reboot can fix it!!! On Tuesday, September 1

Re: [android-developers] Update EditText Fields With Spinner Select

2012-09-27 Thread Jan Borgan
Hi, Making an app with a spinner(sp), 7 edittext(et), a database(db) and 4 buttons(bt).(save, del, exit and clear) Value from the ‘et’ is saved to the ‘db’. The ‘sp’ gets its value(item) from one of the ‘et’. When I select an item from the’sp’ I want all the ‘et’ to be updated (display value in

Re: [android-developers] Re: Help: My app has violated the spam provisions of the Content Policy

2012-09-27 Thread Terry
on 23. september, TreKing wrote: > > If you have a problem with other apps (your competitors) violating these > > policies, go ahead and report them. Anybody can report an app for terms > > violations. > > HOW? > http://lmgtfy.com/?q=google+play+report+app I have used this form ( http://suppo

Re: [android-developers] extra lifecycle events

2012-09-27 Thread Craig
This lockdown strategy is good enough for our purposes - we want to discourage alternative uses of our devices, and if a user does work around it it isn't the end of the world. This worked for me: http://stackoverflow.com/questions/8248213/use-my-own-android-app-apk-as-launcher-home-screen-rep

Re: [android-developers] Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Dmitriy F
Alight, thanks for your testing help. Simultaneously I've tried the same station in some other app - pcRadio and in my own - preparation differs. pcRadio works as you said with fractions of a second, but my doesn't :( On Thursday, September 27, 2012 3:03:51 PM UTC+4, Harri Smått wrote: > > Hi,

[android-developers] Re: ERROR/AndroidRuntime(921): java.lang.StackOverflowError (if you have multiple activities)

2012-09-27 Thread Rajan
Hey nika, have you solved this (java.lang.StackOverflowError) problem ? if yes, then please help me b'cos i'm facing the same problem, and i am trying to resolve it since last 2 to 3 days but i didn't get any success. so please if you have any solution reply me as soon as possible. Thank you.

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Kostya Vasilyev
2012/9/27 Serdel > In both onMeasure, onLayout of these when I set the Layout params to the > progress bar they seem to be ignored (the bar is not displayed at all). > Just 1) measure the children 2) position them. But it seems like I'm missing something. > > skink: your code works but the mat

Re: [android-developers] StackOverflow Exception while using TabActivity

2012-09-27 Thread Rajan Thakrar
Hello, Marina i did'n get what you are saying, can you explain it? please help me if you know anything regarding my question. https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/Multiple$20SubActivity$20:$20facing$20StackOverflowError,$20please$20help/android-developers/nDW

Re: [android-developers] Android Dynamic View for chat application

2012-09-27 Thread Live Happy
use listview , the message will be as layout in the row and u can made 2 layout one for send and other for receive save data in database use cursor adapter to retrieve and when u can call notify datasetchange for update list wish that can help u On Thu, Sep 27, 2012 at 12:23 PM, amit wrote: > He

Re: [android-developers] Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Harri Smått
Hi, Unfortunately I wasn't able to reproduce similar behaviour on SGS2, only device I have, running ICS 4.0.4. I ran following code and stream started to play within 2-3 seconds delay it takes to bring GPRS connection alive. Using WiFi delay was only fraction of a second. mp = new MediaPlayer(

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread skink
Serdel wrote: > skink: your code works but the matrix seems calculate the points before > resizing the image. > i don't think so since this matrix is used internally for drawing the image - see ImageView.java pskink -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Serdel
In both onMeasure, onLayout of these when I set the Layout params to the progress bar they seem to be ignored (the bar is not displayed at all). skink: your code works but the matrix seems calculate the points before resizing the image. On Thursday, September 27, 2012 12:22:22 PM UTC+2, Kosty

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Wednesday, 26 September 2012 08:01:07 UTC+1, Kristopher Micinski wrote: > > On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford > > > wrote: > > Hi, > > > > On Saturday, 23 June 2012 12:27:31 UTC+1, mame82 wrote: > >> > >> A first naive approach using luajava was far to slow for a method > c

[android-developers] OnHoverListener

2012-09-27 Thread arnouf
Hello, I'm trying to use the new event onHover. I look the sample, the documentation...and nothing works. The onHover event should be done by a mouse pointer. I create a simple xml file containing 1 LinearLayout and 2 buttons inside. My java code is following findViewById(R.id.linearLayou

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Kostya Vasilyev
Yes, there are methods for measuring and positioning views. They are called onMeasure and onLayout, respectively... 2012/9/27 Serdel > I passed my progress bar object to my ImageView subclass but if I set the > layout params on the progress bar object they are not accepted (it is not > displayed

[android-developers] Re: Aligning a view to an ImageView in different resolutions

2012-09-27 Thread skink
adam On Sep 27, 10:50 am, Serdel wrote: > Hi Kostya, > > I am not sure what is complicated here... I just want to place my progress > bar in the exact location on my imageview. did you try to use ImageView's Matrix? i type it from my memory so it can have some errors but the idea is as follows:

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Serdel
I passed my progress bar object to my ImageView subclass but if I set the layout params on the progress bar object they are not accepted (it is not displayed at all). Of course in the xml file my custom image view is under the progress bar so it is not covering it. So even If I do get the correc

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Serdel
"onMeasure may be called multiple times, yes." but why once with 480x817(so almost full screen) and 2nd time with 227x481 (the actual size that I want). Moreover I have noticed that it is called multiple times but always with this pair - first with almost fullscreen, 2nd correct. How can I fi

Re: [android-developers] Offline Floor Plan

2012-09-27 Thread ashish mishra
Hi, i have to create floor plan. On Thu, Sep 27, 2012 at 6:32 AM, TreKing wrote: > On Wed, Sep 26, 2012 at 11:42 PM, ashish mishra < > mishra.ashishmishr...@gmail.com> wrote: > >> i want to implement an offline map of a building .I need to use tiled map >> with several zoom levels and be a

[android-developers] Android Dynamic View for chat application

2012-09-27 Thread amit
Hello friends, please suggest me how to make android dynamic view(or gui) for chat application. for example : when i am chatting with a friend but that time a new message comes from other friend then what should i do for showing this message. i am confuse how to work with multiple view and how

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Kostya Vasilyev
You're calling findViewById() on your image view object, which looks among the view's children. Since the progress bar is not a child of your image view, this returns null. Look in the activity instead, or have the activity provide the progress bar to the image view, or -- that's how I'd do it --

Re: [android-developers] Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Dmitriy F
http://radio-shtorm.ru:8000/32 or http://radio-shtorm.ru:8000/56 or http://radio-shtorm.ru:8000/112. Stupid me forgot to post :(. Anyway this thing occurs mostly on 2.3 and as it was recently found on 4.0.4 On Thursday, September 27, 2012 12:40:38 PM UTC+4, Harri Smått wrote: > > Hi, > > I could

Re: [android-developers] Aligning a view to an ImageView in different resolutions

2012-09-27 Thread Serdel
Hi Kostya, I am not sure what is complicated here... I just want to place my progress bar in the exact location on my imageview. If do it 'hard coded' so i.e. the image is 200x400 and I place it 50px from left and 100px from bottom than it will be misplaced if the image is resized by android. T

Re: [android-developers] Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Harri Smått
Hi, I could do some testing for you but first I need to know the stream URL. -- H -- 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, sen

[android-developers] Re: AsyncTask issues...

2012-09-27 Thread Piren
Other than what Marina said, your code also is critically flawed. The While loop you've used there basically forces the UI thread to wait for the ASyncTask to finish... This nullifies the whole concept of running the ASyncTask and you'll still get ANRs from android. What you should do is split y

[android-developers] Re: MPL sensors?

2012-09-27 Thread Arun
MPL refers to Motion Processing Library. Your device might be using mpu* series chipset from InvenSense (eg mpu3050). This is a framework that collects data from gyro, accel, compass and perform many calculations on the raw data captured by sensors. You dont have worry about it if you are only usi

[android-developers] Re: Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Dmitriy F
In addition here's some code that I use: mPlayer = new MediaPlayer(); mPlayer.setOnPreparedListener(mOnPlayerPreparedListener); mPlayer.setOnErrorListener(mOnPlayerErrorListener); mPlayer.setWakeMode(this, PowerManager.PARTIAL_WAKE_LOCK); //... mPlayer.setDataSource(getResources().getString(mLowQ

[android-developers] Slow preparation of live-streams on devices with Android >= 2.3.

2012-09-27 Thread Dmitriy F
Hi, I've run into an issue where my application prepares live-stream roughly from 5 to 10 seconds. For instance, take this live-stream and try to prepare it on 2.3.3 - it will take about 7 seconds, while it's a live stream and there's not much to buffer. Another app called pcRadio uses the same

Re: [android-developers] Re: import a jar file ?

2012-09-27 Thread mohammed Nuhail
k , thanks On Thu, Sep 27, 2012 at 12:51 PM, Asheesh Arya wrote: > just do copy and paste in libs folder > > -- > 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 > T

Re: [android-developers] Re: import a jar file ?

2012-09-27 Thread Asheesh Arya
just do copy and paste in libs folder -- 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...@goog