concurrency on android

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

concurrency on android

Postby romanzhg » Mon Aug 09, 2010 8:21 pm

Hi,
In my program there is two event listeners, one listen to the gps readings and one listen to the sensor readings, how can i ensure when the event handler for gps is working(performing the onLocationChanged function), the event handler of sensor won't interrupt? Is it designed this way, or I should use a lock?
Bests,
Roman
romanzhg
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Aug 09, 2010 8:16 pm

Top

Re: concurrency on android

Postby blundell » Tue Aug 10, 2010 1:42 pm

Hey Roman, not 100% but I'm sure they are designed to work concurrently themselves and you don't need to code for this problem.
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests