[android-developers] RTSP stack implementation

2009-08-01 Thread Vinay
Hi, I am working on making RTSP url to work on Android. 1. I have used MediaPlayer and VideoView to play the RTSP url but both of them fail to play in G1 Device and emulator. Error is PVMFFailureiin PLAYER_INIT. 2. So I thought of implementing a RTSP client from scratch. I have developed a

[android-developers] Re: About to receive the mms

2009-08-01 Thread PianoPan
Yes, I already add this permission. On Fri, Jul 31, 2009 at 11:47 PM, Jack Hajack...@t-mobile.com wrote: Do you have the following in your AndroidManifest.xml file? uses-permission android:name=android.permission.RECEIVE_MMS/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・

[android-developers] Help Activity History Stack...

2009-08-01 Thread Moto
Hello could someone help me out choosing the right flags? I have 3 activities, I want to allow only one of each of the activities to be on the history stack at one time. ABC[GO TO B] gives me ACB using FLAG_ACTIVITY_REORDER_TO_FRONT flag. Now the problem is that when I call B from C I want B

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-01 Thread Sujay Krishna Suresh
Sergio, i dont think this'd work on an emulator... U need to have configured atleast once into any of google's services before u r able to get any results. On Fri, Jul 31, 2009 at 2:52 PM, Sergio cur...@gmail.com wrote: My intent seems to be empty for an errorcode key with a value of 0. Cheers

[android-developers] Re: MediaScannerConnectionClient which content provider?

2009-08-01 Thread Sonja_android
Thank you very much for the insights Marco. On Jul 31, 6:09 am, Marco Nelissen marc...@android.com wrote: That is determined by the location of the file you're scanning. On Thu, Jul 30, 2009 at 11:38 AM, Sonja_android pubmoonm...@gmail.comwrote: Sounds good.  Is there a way to specify

[android-developers] Orientation Sensor return false values. And getRotationMatrix() also doesn't work. Is my ADP1 broke?

2009-08-01 Thread alucard20004
Hi. I have 2 main questions: Question 1. Orientation Sensor return false values. Or my dev phone 1 broke? The 'pitch' value skip between 70 to 110. Please take a look at the log: 08-01 15:21:56.810: DEBUG/onSensorChanged(1605): Azimuth: 262.0, Pitch: -72.0, Roll: -18.0 08-01 15:21:56.850:

[android-developers] Re: Get Device Name

2009-08-01 Thread fala70
Is there somebody that know I get infos about the device name Magice, Dream... and the OS version ? thanks On 31 Lug, 18:20, fala70 fal...@gmail.com wrote: Is possible get the device name thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Orientation Sensor return false values. And getRotationMatrix() also doesn't work. Is my ADP1 broke?

2009-08-01 Thread alucard20004
Let me edit the log so it's more readable: 08-01 15:37:38.170: DEBUG/onSensorChanged(1653): Pitch: -67.0 08-01 15:37:38.210: DEBUG/onSensorChanged(1653): Pitch: -67.0 08-01 15:37:38.250: DEBUG/onSensorChanged(1653): Pitch: -67.0 08-01 15:37:38.290: DEBUG/onSensorChanged(1653): Pitch: -68.0 08-01

[android-developers] Re: can we record only aac stream?

2009-08-01 Thread manoj
Hi thanks for looking into my query. There is no support of raw aac. See the below document. http://developer.android.com/guide/appendix/media-formats.html On Aug 1, 9:55 am, manoj manojkumar.m...@gmail.com wrote: Hi friends, I want to record the audio as aac file. I can able to record raw

[android-developers] WHY?!Touch the screen opengl change to slow,please help me!

2009-08-01 Thread wanzi !
I run the 1.5API DEMO :SpriteTexture (openggl demo), everything is ok,but when I touch the screen,the application change to slow(rate is 25~30ms/f) ,after I release the screen,the speed recovery(rate is 17~19ms/f)!! I check the code ,there is nothing to do about touch screen. who can tell me

[android-developers] Re: RTSP stack implementation

2009-08-01 Thread Harishkumar V
Hi, android already has rtsp support. using mediaplayer or videoview demo example given along with android sdk, u can play only local media files or over the http streaming. if u want to test the video streamed over rtsp, try from m.youtube.com in the browser. Thanks and Regards, HarishKumar.V

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-01 Thread Sergio
Hi Sujay, Thanks for your reply. I configured email in the emulator and it was working properly, I could see my emails, so I thought that the GoogleLoginServiceHelper would be able to work. Cheers Sergio On Aug 1, 7:29 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Sergio, i dont

[android-developers] Re: A new way to promote and manage your Android Applications!

2009-08-01 Thread Touch-Market
Hi All, New Category added to the website Official Android Widgets with widget list You can also search by tag = Widget Note: Widgets are still available on their initial categories Visit us at www.touch-market.com www.touch-market.com team

[android-developers] Re: Toast or AlertDialog problem

2009-08-01 Thread Stefan
Hi, On Aug 1, 1:42 am, CraigsRace craig...@gmail.com wrote: You could create your own dialog class which started a thread that calls finish() (back on the EDT) after x seconds. Do you mean, that i should do something like that: alert = new AlertDialog.Builder(xxx.this).setTitle(Alert

[android-developers] Re: Publishing to Android market - question

2009-08-01 Thread robs
You publish it once and you won't need to compile for each target phone. As long as it's running the version of android it was compiled for, your app 'should' run as expected. On Jul 30, 9:21 pm, steiljes fbgkd...@gmail.com wrote: I have a question for other developers who may have started

[android-developers] Re: WHY?!Touch the screen opengl change to slow,please help me!

2009-08-01 Thread MrChaz
This is a know problem - caused by the system spamming touch events (I think) The work around is to put a Sleep() call into the event handler On Aug 1, 10:54 am, wanzi ! wanzihe...@gmail.com wrote: I run the 1.5API DEMO :SpriteTexture (openggl demo),   everything is ok,but when I touch the

[android-developers] Changing the More icon drawable

2009-08-01 Thread Michael Elsdörfer
Is it correct that there is no way to change the actual icon of the automatically created more menu item? I can see there is a android:moreIcon option for Themes, but I can't get it to work, and it looks like the MenuBuilder class actually has the internal theme names hardcoded.

[android-developers] Re: Warning before exiting app?

2009-08-01 Thread Gregg Reno
I figured this out. I was doing this: this.mainIntent = PendingIntent.getActivity(this, 0, new Intent (this, MyActivity.class), 0); which created a new intent that was used to create the the notification. Instead I do this: this.mainIntent = PendingIntent.getActivity(this, 0,

[android-developers] Problem in loading Menu Button

2009-08-01 Thread Bharath B.G.
Hi i hav created XML for the menu layout and i am inflating the same, the code doesnt give any compilation errors but when i click on menu button menu wont appear, here is the code : public boolean onCreateOptionMenu(Menu myMenu) { super.onCreateOptionsMenu(myMenu);

[android-developers] Re: LinearLayout fill the middle

2009-08-01 Thread Mark Murphy
droidin.net wrote: I have a vertical, set height (300px) LinearLayout (LL) with 3 nested LLs. 1 and 3rd are set with android:layout_height=wrap_content and the middle one with android:layout_height=fill_parent. To my dismay, 3rd LL get's pushed out with 2nd one filling parent layout right to

[android-developers] Re: LinearLayout fill the middle

2009-08-01 Thread droidin.net
By golly! This does work! Mark what's the theory - is this by design (weight vs fill_parent)? Are my expectations wrong? I mean - why then not really fill the whole parent but fill from the current position to the bottom? Bo On Aug 1, 7:54 am, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-01 Thread JP
Thanks for all the code - I've been trying to toy around with this but I was not able to locate the right imports or a library that includes com.google.android.googleapps. Can anybody point me where I can find that part? On Jul 25, 3:26 pm, ubikdroid markst3v...@googlemail.com wrote: Hi

[android-developers] Re: Show notification dialog during incoming call.

2009-08-01 Thread Ronald Pompa
It seems like AlertDialog just forces close on the app. as soon as the notification is supposed to show, it crashes. Anyone else got it working? On Jul 24, 4:41 pm, Arno Becker becker.vision...@googlemail.com wrote: Hi Ronald, try to use a builder for the dialog in the

[android-developers] Search in the Market

2009-08-01 Thread droidin.net
I don't know if my question belongs to this group but I'll ask it anyway: I noticed that when I search for my app (DroidIn) on the market using keyword linkedin the app is not coming up in the results.I tried different combinations, currently I have 2 apps titled: DroidInLite linkedin + twitter

[android-developers] Re: LinearLayout fill the middle

2009-08-01 Thread Mark Murphy
droidin.net wrote: By golly! This does work! Mark what's the theory - is this by design (weight vs fill_parent)? Are my expectations wrong? I mean - why then not really fill the whole parent but fill from the current position to the bottom? If, after all the wrap_content and fixed-sized

[android-developers] App not showing up in Android Market??

2009-08-01 Thread rcs
We just got an email from someone on an HTC Magic searching for our app and saying that it's not showing up on Android Market. Every now and then, we'll see that our app just disappears for a little while. What gives? Anyone else see that? --~--~-~--~~~---~--~~

[android-developers] Re: RTSP stack implementation

2009-08-01 Thread Vinayakumara T V
Hi Harish, Thanks for the reply. I have tried using MediaPlayer and VideoView on both Emulator and G1 Device, both fails to play the RTSP URL. They fail saying PVMFFailure in PLAYER_INIT state. Regarding m.youtube.com, in G1 device it launches Youtube app it uses a hacking way to get the playback

[android-developers] Re: RTSP stack implementation

2009-08-01 Thread Harishkumar V
Hi, Is there Youtube app available. I never heard of it. Can u share the app. Thats good, really they use http. I think your work on rtsp might be important. It's gr8. good work.. Thanks and Regards, HarishKumar.V On Sat, Aug 1, 2009 at 9:37 PM, Vinayakumara T V vnykm...@gmail.com wrote:

[android-developers] Re: RTSP stack implementation

2009-08-01 Thread Vinay
It comes by default with HTC mobile. On Aug 1, 10:13 pm, Harishkumar V harishpres...@gmail.com wrote: Hi, Is there Youtube app available. I never heard of it. Can u share the app. Thats good, really they use http. I think your work on rtsp might be important. It's gr8. good work..

[android-developers] Re: App not showing up in Android Market??

2009-08-01 Thread droidin.net
I have a thread http://is.gd/1XVPG complaining about same thing. I think there's something screwy with market search Bo (DroidIn - LinkedIn + Twitter on Android) On Aug 1, 9:07 am, rcs rsar...@gmail.com wrote: We just got an email from someone on an HTC Magic searching for our app and saying

[android-developers] using attrs.xml

2009-08-01 Thread Spektor Yaron
Hi, i was wondering if anyone could give me hints on this one: i created a new attrs.xml that adds some functionality to the soft keyboard sample code. i added: attr name=keysImg format=reference / to: declare-styleable name=Keyboard !-- Default width of a key, in pixels or percentage of

[android-developers] Re: Terminating Application (Activity)

2009-08-01 Thread droidin.net
This unfortunately has a huge drawback that when exit() is executed your debugging session goes kaput. When app restarts it's no longer in debugger :( On Jul 31, 5:22 am, Mark Murphy mmur...@commonsware.com wrote: droidin.netwrote: Mark! You are a genius! Somebody else pointed out the

[android-developers] MyLocationOverlay and enableMyLocation()

2009-08-01 Thread Evan Ruff
Hey Guys, I've got a bit of a weird issue here. In my activity, I've got MyLocationOverlay on top of my map and enableMyLocation() in my onResume function. Funny thing is that when I go to run the app in debug, enableMyLocation() returns false. I'm targeting the Google Platform, and my Google

[android-developers] TextView changing from other thread

2009-08-01 Thread Illidane
Hi! I'm writing some game using OpenGL and have two views : SurfaceView for OGL and TextView for my score. When I try to update score ( using BoardScore.setText(bla); ) from my activity class all just fine, but when I try to do it from my logic class my app crash. Debugger says something like

[android-developers] Re: TextView changing from other thread

2009-08-01 Thread MrChaz
You can't update a UI component from a thread that isn't the main (UI ) thread. You ought to be able to post() back to the main thread. On Aug 1, 10:02 pm, Illidane illid...@gmail.com wrote: Hi! I'm writing some game using OpenGL and have two views : SurfaceView for OGL and TextView for my

[android-developers] Full browser vs WebView view

2009-08-01 Thread droidin.net
I'm trying various ways of Twitter authorization which requires roundtrip to the browser. When I load auth URL into standalone browser everything works well. However if I call same URL but into embedded WebView (separate Actions, same app) the page loads but it is not fully functional (I cannot

[android-developers] TranslateAnimation leaves traces

2009-08-01 Thread Deren
I have a small problems with animations. I have a custom ViewGroup inside of a FrameLayout. Im animating one of the children of my custom ViewGroup with a TranslateAnimation. The problem is that the View that I'm animating leaves traces, so it's like the entire screen isn't redrawn during the

[android-developers] Re: Full browser vs WebView view

2009-08-01 Thread Mark Murphy
droidin.net wrote: I'm trying various ways of Twitter authorization which requires roundtrip to the browser. Why not use their API? 1. Execute intent with startActivity(new Intent(auth, Uri.parse(authUrl), this, Browser.class)); On a side note, since Intent actions are device-global in

[android-developers] Re: TextView changing from other thread

2009-08-01 Thread Illidane
Can you give an example? On 2 авг, 01:31, MrChaz mrchazmob...@googlemail.com wrote: You can't update a UI component from a thread that isn't the main (UI ) thread. You ought to be able to post() back to the main thread. On Aug 1, 10:02 pm, Illidane illid...@gmail.com wrote: Hi! I'm

[android-developers] Re: Full browser vs WebView view

2009-08-01 Thread droidin.net
Been there, done that. It's simple. I use OAuth since that gives me ability to mark each of messages posted with my app as from DroidIn not with from API. It's my app, I want my glory :) Plus it's much more user friendly since I don't have to keep or even know user name/ password. I actually have

[android-developers] Bug in Android Browser with Facebook fan pages? Can't bring any fan page up!

2009-08-01 Thread pawpaw17
Does anyone have a facebook fan page for their app? I can't bring any fan page up at all in the facebook using the Android browser. Does anyone know what I'm doing wrong? I started by trying to add a button to my app that brought it up, but I get the problem even typing in the URL to the browser.

[android-developers] Re: Full browser vs WebView view

2009-08-01 Thread droidin.net
In fact - it works with internal WebView! Here's caveat - on the emulator I cannot click in the field but I can use arrow keys to gain the focus. Once I'm able to type the information in - redirect works just fine. Unfortunately, right now I don't have G1 to check how this will manifest itself

[android-developers] Force Close pop up when uncaught exception during background service

2009-08-01 Thread life0...@gmail.com
Hi, I started a background service process...however, when there is an uncaught java exception in one of the threads in that background service process, a Force Close dialog pops up oo the screen saying Application XXX stopped unexpectly. My question is, why a thread in background service

[android-developers] Re: Orientation Sensor return false values. And getRotationMatrix() also doesn't work. Is my ADP1 broke?

2009-08-01 Thread alucard20004
*** Solved *** I read this blog: http://mysticlakesoftware.blogspot.com/ and try what he suggested: changing case Sensor.TYPE_MAGNETIC_FIELD: mag = event.values; to case Sensor.TYPE_MAGNETIC_FIELD: mag = event.values.clone(); for all sensor types.