[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-22 Thread Alex Corbi
changed, a callback function would be called. On 19 Feb., 20:40, Alex Corbi a.co...@gmail.com wrote: Thanks joe i will try that out, is that info reliable Mark??? Thank you guys. On Feb 19, 7:56 pm, joebowbeer joe.bowb...@gmail.com wrote: On Feb 18, 11:35 pm,AlexCorbia.co...@gmail.com

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-02-22 Thread Alex Corbi
btw, have you tried it already? works? On 17 Feb., 09:16, Dongjoon Lee sky...@gmail.com wrote: Hi. If the bluetooth headset is connected, system send this intent. android.bluetooth.intent.action.HEADSET_STATE_CHANGED So you can receive that and get extra information. For extracting extra

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Alex Corbi
Anybody had some experience with this? On 19 Feb., 08:35, Alex Corbi a.co...@gmail.com wrote: Ok Thanks Dianne, What interest me is detecting when new GMail is being received. Wich is the uri of the Gmail content provider? content://gmail-ls ??? is there any documentation somewhere about

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Alex Corbi
Sure, i know... you mean there is no possibility of knowing when new emails (from gmail) are being received? What about other Emails from accounts registered on the Email app? But there are ways to read the new emails in Gmail (I currently use a port for Android of the javaMail library to access

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Alex Corbi
Thanks joe i will try that out, is that info reliable Mark??? Thank you guys. On Feb 19, 7:56 pm, joebowbeer joe.bowb...@gmail.com wrote: On Feb 18, 11:35 pm, Alex Corbi a.co...@gmail.com wrote: What interest me is detecting when new GMail is being received

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-18 Thread Alex Corbi
HI, is there a way for an app to know when a data sync happens? It would be just great to be able to Register a BroadcastReceiver and handle that action, in my case instead of fire a data synchronization i would like to detect when it happens. is it possible? On Jan 25, 6:59 pm, Dianne

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-18 Thread Alex Corbi
.  A global concept of sync isn't really there. On Thu, Feb 18, 2010 at 2:09 PM, Alex Corbi a.co...@gmail.com wrote: HI, is there a way for an app to know when a data sync happens? It would be just great to be able to Register a BroadcastReceiver and handle that action, in my case instead

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-01-14 Thread Alex Corbi
Hi Nick, Can you tell me please which devices use ACL Connections, do common bluetooth handsfree devices (like the ones present in cars ) use this transfer protocol? I am researching this to implement a new functionality on my app Voice Alerts (+info - http://49ers.es/corbi/voice-alerts) so the

[android-developers] android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-01-10 Thread Alex Corbi
HI everybody, im currently looking for the way that my app knows when the phone has being paired and connected to a bluetooth headset device. I read something about this intent, but not on the Reference documentation of http://developer.android.com

[android-developers] Re: Android 2.x - Lost the ability to route audio

2010-01-10 Thread Alex Corbi
Yep, i'm also interested in this... Also how to detect when a bluetooth headset device is being paired and connected with the phone. Actually i started this conversation: http://groups.google.com/group/android-developers/browse_thread/thread/a4dda4e7f905a383 On Dec 24 2009, 10:08 pm, Doug

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-01-10 Thread Alex Corbi
Hi Nick, Thanks for your answer. What i am trying to do is to detect when a bluetooth headset device connect to the phone so my app can react to this event. is there an alternative? Alex On Jan 11, 6:17 am, Nick Pelly npe...@google.com wrote: On Mon, Jan 11, 2010 at 7:40 AM, Alex Corbi a.co

[android-developers] Protection Method to avoid an .apk being copied overall

2010-01-06 Thread Alex Corbi
Hi Developers, First i explain you my situation: I have just released my new App (Voice Alerts - more info: http://49ers.es/corbi/voice-alerts), there is a demo and a full (paid) version. For promoting/publicity purposes i would like to send a copy of the full version to a couple of people, so

[android-developers] Re: Dim Screen - Set to sleep programmatically

2010-01-02 Thread Alex Corbi
nobody? can the power-management third party apps do this? On Dec 24 2009, 1:23 am, Alex Corbi a.co...@gmail.com wrote: Hi there!! A little question about custom Power Management... Is it allow for my app todimthescreenprogrammatically??, the goal would be to send the phone sleeping when

[android-developers] Re: Controlling the current MediaPlayer

2009-12-24 Thread Alex Corbi
wrote: You can broadcast intents to control the Android/HTC media player. Check MediaPlaybackService.java source. On Dec 23, 1:43 pm, Alex Corbi a.co...@gmail.com wrote: Hi google devs, This should be easy, but i haven't found anything yet I want to get a reference

[android-developers] Controlling the current MediaPlayer

2009-12-23 Thread Alex Corbi
Hi google devs, This should be easy, but i haven't found anything yet I want to get a reference to the Mediaplayer running currently on the device, so my app can pause it, execute its code and then resume it again. The class that plays the music and the videos is of course MediaPlayer but i

[android-developers] Dim Screen - Set to sleep programmatically

2009-12-23 Thread Alex Corbi
Hi there!! A little question about custom Power Management... Is it allow for my app to dim the screen programmatically??, the goal would be to send the phone sleeping when a Intent.ACTION_BATTERY_CHANGED event is handled by a BroadcastReceiver, just like its done automatically by the OS (if so

[android-developers] Clickable Desktop Widget

2009-08-24 Thread Alex Corbi
Hi guys, i'm implementing a simple Widget that toggles on/off a service on my App, I've extended a AppWidgetProvider class and succesfully defined the xml appwidget-provider file. The question is, how can i register a OnClikListener so i know when the user clicks the widget on the desktop (once

[android-developers] Re: Clickable Desktop Widget

2009-08-24 Thread Alex Corbi
Thanks, i appreciatte the help. On Aug 24, 4:27 pm, String sterling.ud...@googlemail.com wrote: On Aug 24, 1:05 pm, Alex Corbi a.co...@gmail.com wrote: The question is, how can i register a OnClikListener so i know when the user clicks the widget on the desktop You send it through

[android-developers] Accelerometer shake side-to-side detection issue

2009-08-02 Thread Alex Corbi
Hi everybody, I'm developing an app and i need to detect when the user shakes the phone from side to side , that means just along one axis (in this case X) . That for i'm reading the values from the accelerometer, a bit of code: private final double THRESHOLD = 0.2; @Override public