[android-developers] How to minimize/eliminate latency on RTSP/HTTP audio stream playback?...

2012-02-28 Thread DMT
I've been investigating RTSP and HTTP audio streaming clients and have
one major issue thus far:
The latency on the audio is quite severe (typically on the order of 10
to 30 seconds).
Minimizing the buffer size in order to reduce the latency will produce
new issues such as data loss (and crashes my test app too :-(  )
Anyone know of some other way of minimizing this audio latency
(perhaps even using some other protocol)?
I looked into RTP (it's UDP-based) but so far there doesn't seem to be
any official Android support for that - at least no working code
samples.
If anyone has any insight, pls share!
Thnx.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] real-time streaming audio player with RTP via a SIP connection...

2012-02-28 Thread DMT
I'm looking into writing a real time streaming audio player with RTP
via a SIP connection.
Are there any good samples of working code demonstrating an audio
audio player streaming with RTP ?
Thnx in advance -

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Implementation details available for RFC 2198(RTP Payload for Redundant Audio data) ?

2012-02-28 Thread DMT
Is anyone aware of the implementation details of RFC 2198(RTP Payload
for Redundant Audio data) in any RTP stack?
I'm in need of such details for implementing an RTP receiver for
Android devices.
Thnx.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] RTP library for VoIP/SIP/RTP on OS 2.2 and below?

2012-02-28 Thread DMT
I"m looking into writing an app that supports VoIP calls via RTP/SIP.
Anybody know if there's an RTP Library that can be used on Android 2.2
and below?
 SIP is only available on Android 2.3.
Any ideas?  Thnx.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Any *working* code examples utilizing Android's RTP helper classes (RtpStream/AudioGroup/AudioStream)??

2012-02-28 Thread DMT
Since Android API 12, RTP is supported in the SDK, which includes
RtpStream as the base class, and AudioStream, AudioCodec, and
AudioGroup. However, so far I've found next to no documentation,
examples, or tutorials to help in constructing *working* code based on
these APIs.

Does anybody know if/where there are ANY code examples out there?
Thnx.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to insert a TabHost view inside a ViewFlipper ?

2010-04-21 Thread DMT
Folks, I was wondering if anyone has been able/knows how to include a
TabHost view inside a ViewFlipper view...

I've tried various ways to do this but keep getting a NulPtr exception
whenever the tabhost object is accessed at startup. It looks like
Viewflipper does exactly that : flips *view* objects. It knows nothing
directly of the concrete Java classes that are associated with the
views so the tab objects are always nulls.
Unfortunately, the tabhost needs to be data/object populated before it
is ever accessed, so this is the issue.
Is this analysis correct?

If so, is there any way around this? Or am I doing something wrong?
Thanks for any suggestions.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-24 Thread DMT

Anyone know if/when Google will be making unlocked G2 phones (or any
newer Android phones) available for purchase?



On Feb 24, 8:45 am, Daniel  wrote:
> I did a search for warranty details on HTC's site, search string:
> +site:htc.com warranty uk
>
> Very little comes up:
>
> http://www.htc.com/uk/CA_Hotline.aspx
> - a `Global Warranty Service' is mentioned, but there is no detail
>
> http://www.htc.com/uk/press.aspx?id=1932〈=1033
> - a service center in Taiwan, a good start, but not much use for those
> not in Taiwan
>
> Compare this void of information on the HTC site to Nokia's site:
> - copies of the warranty document for each country, and the Europe-
> wide warranty document
> - a convenient search facility for locating the nearest Nokia service
> centre, regardless of which mobile network you use
>
> It would be very useful if someone could update the Google page about
> the developer's phone, and/or if HTC could add more warranty details
> on their site.
--~--~-~--~~~---~--~~
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: my rotated bitmaps "unrotate" immediately after invoking setCenter() method

2009-01-10 Thread DMT

Problem solved.

Had nothing to do the 'setCenter()' fn. Problem was with the way I was
computing my angle/orientation updates: when the map is recentered,
the user's cartesian coords are also automatically shifted, so must
use geodesic info instead.


On Dec 21 2008, 8:46 pm, DMT  wrote:
> It seems that invoking the .setCenter(mygeopoint) method on a
> MapController object has the side effect of setting the orientation of
> any rotated bitmaps back to the original orientation. Has anyone else
> also experienced this?
>
> My problem is that I'm writing a map application that needs to rotate
> an arrow bitmap to point in the direction of the cellphone's motion,
> and I want to periodically automatically re-center the map so that the
> user's position does not drift off the map.
> However, each time I call 'setCenter(mygeopoint)', my arrow bitmap
> "unrotates" back to its original heading, therefore the user loses the
> directional information.
>
> Anyone found a workaround for this problem?
>
> Thanks in advance.
--~--~-~--~~~---~--~~
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] geodb file for version1.0 ?

2008-12-30 Thread DMT

Anyone know if/how the geodb file can be populated in Android version
1.0 SDK?
I was able to use the geodb file in version m5-rc15 but it doesn't
seem to be available in 1.0.
If anyone has been able to put geodb to use in v.1.0 pls. let me know
how, 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] getFromLocationName() broken?

2008-12-30 Thread DMT

Hi All: anyone know if the Geocoder.getFromLocationName() method is
currently working?
Has anybody been able to get it to work?
If not, when will it be fixed (in what android release)?
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] getFromLocationName() broken?

2008-12-30 Thread DMT

Hi All: anyone know if the Geocoder.getFromLocationName() method is
currently working?
Has anybody been able to get it to work?
If not, when will it be fixed (in what android release)?
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread DMT

Let me guess... r u invoking your code from *within* your custom
MyLocationOverlay code ?

I had the same Java exception as you until I moved my overlay updating
code OUT of my custom MyLocationOverlay class.
It seems that MyLocationOverlay also maintains a handle on the
overlays list, so that appeared(at least for me,) to be the source of
the ConcurrentModificationException.


On Dec 26, 6:59 pm, mscwd01  wrote:
> Okay, hope everyone had a nice christmas and has had their fill of
> Turkey ;)
> Now can anyone help me with this?
>
> On Dec 24, 11:53 am, mscwd01  wrote:
>
> > Hello, anyone help me with this please...
>
> > On Dec 24, 12:42 am,mscwd01 wrote:
>
> > > I am getting the following exception:
>
> > > 12-24 00:29:25.922: ERROR/AndroidRuntime(267): Uncaught handler:
> > > thread main exiting due to uncaught exception
> > > 12-24 00:29:25.960: ERROR/AndroidRuntime(267):
> > > java.util.ConcurrentModificationException
> > > 12-24 00:29:25.960: ERROR/AndroidRuntime(267):     at
> > > java.util.AbstractList$SimpleListIterator.next(AbstractList.java:59)
> > > 12-24 00:29:25.960: ERROR/AndroidRuntime(267):     at
> > > com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:41)
> > > 12-24 00:29:25.960: ERROR/AndroidRuntime(267):     at
> > > com.google.android.maps.MapView.onDraw(MapView.java:454)
>
> > > I believe this is whats happening:
>
> > > I have a MapView with a few Map Overlays (simple markers),
> > > occasionally the locations of the markers change so I clear the map
> > > overlays using: "map.getOverlays().clear()" and insert new marker
> > > overlays onto the map.
>
> > > However, if I happen to be moving the map, or zooming the map when the
> > > update occurs I get the aboveConcurrentModificationException.
>
> > > I tried synchronizing on the map overlay list, like:
> > > synchronized (map.getOverlays()) {
> > >   // clear and update overlays
>
> > > }
>
> > > However I still get the above exception.
>
> > > Can someone explain the correct way to clear overlays on a map and to
> > > repopulate them without encountering ConcurrentModification
> > > Exceptions.
>
> > > Oh and I am calling: "map.postInvalidate()" to "refresh" the map and
> > > display the changes made to the overlays. Is this the correct way to
> > > "repaint" a map?
>
> > > 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] my rotated bitmaps "unrotate" immediately after invoking setCenter() method

2008-12-21 Thread DMT

It seems that invoking the .setCenter(mygeopoint) method on a
MapController object has the side effect of setting the orientation of
any rotated bitmaps back to the original orientation. Has anyone else
also experienced this?

My problem is that I'm writing a map application that needs to rotate
an arrow bitmap to point in the direction of the cellphone's motion,
and I want to periodically automatically re-center the map so that the
user's position does not drift off the map.
However, each time I call 'setCenter(mygeopoint)', my arrow bitmap
"unrotates" back to its original heading, therefore the user loses the
directional information.

Anyone found a workaround for this problem?

Thanks in advance.
--~--~-~--~~~---~--~~
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how/where to create a custom icon for my application...?

2008-12-02 Thread DMT

Thanks. Just tried it. Works.


On Nov 30, 6:00 pm, lior <[EMAIL PROTECTED]> wrote:
> Not sure about the market.. but to replace the default icon of your
> app.
> place your new image at //res/drawable
> and update the AndroidManifest.xml file to point to your new file.
>
> 
> try it out.
>
> Lior
>
> On Nov 29, 10:19 pm, DMT <[EMAIL PROTECTED]> wrote:
>
> > Anyone know how/where to create a custom icon for an Android app (the
> > image that appears in the Phone display immediately to the left of the
> > the app name) in the Android Market?
> > 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] how/where to create a custom icon for my application...?

2008-11-30 Thread DMT

Anyone know how/where to create a custom icon for an Android app (the
image that appears in the Phone display immediately to the left of the
the app name) in the Android Market?
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---