[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-05-07 Thread code_android_festival_way
) It would be great to hear about your experience. To stop the alarm just uninstall the app. (I said it is a really simple app :-) ) Thank you very much. On 29 Apr., 17:11, code_android_festival_way festival.s...@googlemail.com wrote: Thank you for your questions. I will add a sample app in the next

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-29 Thread code_android_festival_way
by mode? On Apr 28, 2:24 pm, code_android_festival_way festival.s...@googlemail.com wrote: So well I have tested that out once more. I have tried different wake lock levels up to the full wake lock. It doesn't make any difference. As a last test I have set up a simple notification

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread code_android_festival_way
 am, code_android_festival_way festival.s...@googlemail.com wrote: Hmm does really no one got an idea what could be wrong here? Regards On 25 Apr., 19:44, code_android_festival_way festival.s...@googlemail.com wrote: Well you are right that this will drain the battery pretty heavily

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread code_android_festival_way
got another device running Android 2.x and would like to test that one out. I would love to hear your opinions. On 28 Apr., 18:45, code_android_festival_way festival.s...@googlemail.com wrote: Thank you very much for your answers. I will try all of your devices. Regarding the following: I dont

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-27 Thread code_android_festival_way
Hmm does really no one got an idea what could be wrong here? Regards On 25 Apr., 19:44, code_android_festival_way festival.s...@googlemail.com wrote: Well you are right that this will drain the battery pretty heavily. At the moment I am using the broadcast which gets fired every n seconds

[android-developers] Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
Hello. I got a problem with my sound notifications not being sent while the screen is off and the device is unplugged from the charger. Here is the workflow: - Alarm Service gets fired every 30 seconds (well the timer can be adjusted) - The alarm starts a service which fires a sound and vibrate

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
or light up the screen everything is going back to normal. To be honest I don't really know how to handle this correctly. What am I doing wrong? I'm getting crazy about these wake lock errors. :( On 25 Apr., 11:46, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I got

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
and there is no sound notification at all. When plugging in the USB cable or switching on the screen the sound notification gets played pretty fine. On 25 Apr., 16:38, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Even when I acquire a partial wake lock

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-25 Thread code_android_festival_way
the sound noitification working during the wake lock. If someone has got a solution for that problem I would love hearing about it. :) On 25 Apr., 17:17, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: What do you mean exactly by that? Well I know that 30 seconds

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-03-03 Thread code_android_festival_way
To be honest this is really bad news. Marketed as a superphone and not being able to even do valuable multi touch in gaming is pretty weird/weak! Even a simple pong game (1 human vs 1 human on 1 device) is not possible with that cheap screen. On Feb 16, 12:18 pm, Sean Hodges

[android-developers] Broadcasts - ACTION_MEDIA_SCANNER_STARTED - ACTION_MEDIA_SCANNER_FINISHED

2010-02-09 Thread code_android_festival_way
Does someone know if these broadcasts can be caught with a BroadcastReceiver which is registered in the AndroidManifest? I haven't been able to catch events when I tried it that way and just wanted to know if this should be generally possible. Thank you for your help. Regards! -- You received

[android-developers] Re: Nexus One multicolor LED notifications gone?

2010-01-13 Thread code_android_festival_way
disabled on the Nexus One? I've not yet tried on my Moto Droid. On Tue, Jan 12, 2010 at 11:48 PM, code_android_festival_way festival.s...@googlemail.com wrote: Here we go: http://code.google.com/p/android/issues/detail?id=6018q=nexus%20trac... On 12 Jan., 15:52, code_android_festival_way

[android-developers] Nexus One multicolor LED notifications gone?

2010-01-12 Thread code_android_festival_way
I have seen that HTC Sense devices ignore multicolor LED notifications but I assumed that the Nexus One is capable of doing them. Why are they not possible anymore? Why are they specified in the Android SDK and even the Google supported phones drop that feature? At the moment we only see a white

[android-developers] Re: Nexus One multicolor LED notifications gone?

2010-01-12 Thread code_android_festival_way
I know that. I just like to know why do they kill useful hardware features and add senseless things like 3D wallpapers? On 12 Jan., 15:14, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Why are they specified in the Android SDK and even the Google supported

[android-developers] Re: Nexus One multicolor LED notifications gone?

2010-01-12 Thread code_android_festival_way
sucks. On 12 Jan., 15:37, code_android_festival_way festival.s...@googlemail.com wrote: I know that. I just like to know why do they kill useful hardware features and add senseless things like 3D wallpapers? On 12 Jan., 15:14, Mark Murphy mmur...@commonsware.com wrote

[android-developers] Re: Nexus One multicolor LED notifications gone?

2010-01-12 Thread code_android_festival_way
Here we go: http://code.google.com/p/android/issues/detail?id=6018q=nexus%20trackballcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars On 12 Jan., 15:52, code_android_festival_way festival.s...@googlemail.com wrote: I'd like to add that the hardware is capable of doing it. (like

[android-developers] Problems with the new ContactsContract API when picking a contact

2009-11-12 Thread code_android_festival_way
I am trying to get my application updated to the latest ContactsContract API and got some problems. In my application I am trying to pick a contact and use the received URI for loading up his contact picture. This is the way I am doing it: http://paste.pocoo.org/show/SQI91OBuCKk0JQC63Zkd/ When

[android-developers] Re: HTC Hero does not support colored LEDs (SDK way) - What can developers do in these cases? [Follow up from android-platform]

2009-10-21 Thread code_android_festival_way
they are pretty important. On 21 Okt., 16:45, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Well I understand your point. But I don't think that users will understand that point. (even when they had devices that supported colored LEDs) You are the one who wrote

[android-developers] HTC Hero does not support colored LEDs (SDK way) - What can developers do in these cases? [Follow up from android-platform]

2009-10-20 Thread code_android_festival_way
[This is the follow up of a thread I have started in the android- platform group] Hello. I am the developer of a heavily used application (over 110.000 active installs) and got one problem with the Android platform. One of the features in my application uses the normal way of the Android SDK

[android-developers] Re: HTC Hero does not support colored LEDs (SDK way) - What can developers do in these cases? [Follow up from android-platform]

2009-10-20 Thread code_android_festival_way
with Android getting modified by device manufacturers. On 20 Okt., 15:36, code_android_festival_way festival.s...@googlemail.com wrote: [This is the follow up of a thread I have started in the android- platform group] Hello. I am the developer of a heavily used application (over 110.000 active

[android-developers] ListView including a TextView and Checkbox - Both need to handle clicks!

2009-06-30 Thread code_android_festival_way
Hello. At the moment I am trying to implement a ListView with the following row setup: ImageView - TextView - Checkbox The TextView and the CheckBox should be be clickable and should handle different actions. What is the right way to implement such a behaviour? At the moment I am setting

[android-developers] CONNECTIVITY_CHANGE - Why is there no broadcast for WIFI on but mobile gets lost?

2009-06-17 Thread code_android_festival_way
Hello. [1] At the moment I am trying to catch the event when the mobile network is not available. This works when WIFI is off and I catch the CONNECTIVITY_CHANGE broadcast. But when I enable WIFI and lose the mobile network (network is not available) no broadcast gets sent. Is this a bug or why

[android-developers] incomingNumber - contact name - What is the right way?

2009-06-12 Thread code_android_festival_way
Hello. I am using a PhoneStateListener to determine the incomingNumber for a phone call. What is the right way to get the corresponding contact name? I have tried: http://paste.pocoo.org/show/LuRcRJZImQvEgSpE1uzV/ ( I have also used People.NUMBER_KEY) But I'm always getting a cursor with the

[android-developers] Catch LED stop event - Possible?

2009-05-12 Thread code_android_festival_way
Hello guys. I have started a LED notification from the NotificationsManager. Is it possible to catch the event when the user pulls down the status bar and kills my notification? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] MyFavs application sending/receiving SMS

2009-04-22 Thread code_android_festival_way
Could someone tell me how the SMS messages look like that the MyFavs application gets? In addition it would be nice to know if they fire the broadcast receiver for incoming SMS messages. Thank you very much. --~--~-~--~~~---~--~~ You received this message because

[android-developers] How to get the Uri of the contact photos?

2009-02-10 Thread code_android_festival_way
Well at the moment I'm trying to set the contact photo in a custom view to the RemoteView of my custom expaneded statur bar. For setting an image to the RemoteView I have two possibilities: contentView.setImageViewUri(...) contentView.setImageViewResource(...) Well now I got the problem that I

[android-developers] URI for the CalendarAlerts? - Not in sources.

2009-02-04 Thread code_android_festival_way
Could someone please tell me the URI for the calendar alerts? I have found the URI for the calendars in the sources but the alerts are stored in another table and I can't find the URI for the content in this table because it is stored in a class which is not available. It would be nice if some

[android-developers] Default sounds - URI?

2009-02-03 Thread code_android_festival_way
Could someone tell me what URI I have to use in order to get access to the default sounds which you can choose for example in the messaging notifications. Thank you very much. Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Border around a LinearLayout / rounded edges

2009-01-28 Thread code_android_festival_way
, 2009 at 11:32 AM, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I'm not very experienced in Java. Is there an easy possibility to get a border and round edges around a LinearLayout? (perhaps with XML parameters) Or do I have to draw my own widgets. Thank

[android-developers] Spacing between two LinearLayouts - How to achieve it with XML?

2009-01-28 Thread code_android_festival_way
Hello. At the moment I'm using the following layout. http://paste.pocoo.org/show/101642/ Module one and two get added in code. Now I'd like to have a 10px spacing between the two modules. I have tried to set layout_topMargin to the parent LinearLayout but it doesn't work. In addition I have

[android-developers] Border around a LinearLayout / rounded edges

2009-01-27 Thread code_android_festival_way
Hello. I'm not very experienced in Java. Is there an easy possibility to get a border and round edges around a LinearLayout? (perhaps with XML parameters) Or do I have to draw my own widgets. Thank you for your help. Regards. --~--~-~--~~~---~--~~ You received

[android-developers] How do I refer to a string ressource in the array.xml?

2009-01-22 Thread code_android_festival_way
Is there a possibility to refer to a string ressource in the arrays.xml? I have tried: string-array name=services item@strings/call/item /string-array which I would normally do in a layout file. But it failed. Could someonte tell me the right way to do that. Regards

[android-developers] Application not responding - boot receiver - Why does it happen?

2009-01-14 Thread code_android_festival_way
Hello. I am talking about an application which works with a background service. To start that background service I have registered a Broadcast Receiver which waits for the boot completed action. When the receiver is called I am directly starting up the background service. To sum up:

[android-developers] Re: Application not responding - boot receiver - Why does it happen?

2009-01-14 Thread code_android_festival_way
start of my application? (with no Broadcast receiver registered) I'm really really looking forward reading your messages because this all doesn't make any sense to me. On 14 Jan., 16:19, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I am talking about an application which

[android-developers] Re: Application not responding - boot receiver - Why does it happen?

2009-01-14 Thread code_android_festival_way
Ok it had been the Bluetooth Receiver. Thank you for your answer. On 14 Jan., 20:03, moazzamk moazz...@gmail.com wrote: Do you have any other type of receiver registered? Something without an intent-filter? - Moazzamhttp://moazzam-khan.com/ On Jan 14, 11:30 am, code_android_festival_way

[android-developers] Re: Writting/Reading Sync settings - Possible?

2009-01-13 Thread code_android_festival_way
Something new on that topic? On 11 Jan., 09:11, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I have seen several applications in the market that enable you to toggle yoursyncsettings. (for example ToggleSettings) How is this done? I have found the permissions to read

[android-developers] Re: Writting/Reading Sync settings - Possible?

2009-01-13 Thread code_android_festival_way
One last try if someone could tell me how to toggle the sync settings. :-) On 13 Jan., 10:40, code_android_festival_way festival.s...@googlemail.com wrote: Something new on that topic? On 11 Jan., 09:11, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I have seen

[android-developers] Writting/Reading Sync settings - Possible?

2009-01-11 Thread code_android_festival_way
Hello. I have seen several applications in the market that enable you to toggle your sync settings. (for example ToggleSettings) How is this done? I have found the permissions to read and write the sync settings but I don't really know how to to that. Could someone drop me an example how to

[android-developers] Multiple alarms - Intent aims at the same service but different values - Not possible?

2009-01-11 Thread code_android_festival_way
Hello. At the moment I'm trying to register/set two alarms that open up a background service. Both alarms should open up the same service doing something depending on the extras that come with the intent. (the alarms have different startup and interval values) Why can't I do that. I get only

[android-developers] Re: Multiple alarms - Intent aims at the same service but different values - Not possible?

2009-01-11 Thread code_android_festival_way
. Waiting for you feedback. thanks --wxc200 自由之精神,独立之人格 Zsa Zsa Gabor - I'm a great housekeeper. I get divorced. I keep the house. On Sun, Jan 11, 2009 at 9:24 PM, code_android_festival_way festival.s...@googlemail.com wrote: Hello. At the moment I'm

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available or not. This checkup consists of one sent broadcast and sometimes restarting the WorkService. (perhaps a few ms of work) What is

[android-developers] Re: Question about battery draining - alarm scheduled service

2008-12-18 Thread code_android_festival_way
the screen goes off. On Thu, Dec 18, 2008 at 3:07 AM, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I'm thinking about implementing an Alarm which starts up a little CheckupService which checks if another WorkService (on which I rely on) is still available

[android-developers] Starting the messaging preferences - not possible? Really?

2008-12-16 Thread code_android_festival_way
Hello! Is it really not possible to start the preferences activity of the default messaging application? It would be ok as well to start the messaging application at the conversation list. Is there no way to do this? Regards. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Starting the messaging preferences - not possible? Really?

2008-12-16 Thread code_android_festival_way
, code_android_festival_way festival.s...@googlemail.com wrote: Hello! Is it really not possible to start the preferences activity of the default messaging application? It would be ok as well to start the messaging application at the conversation list. Is there no way to do this? Regards

[android-developers] Application icon still appears in the Android menu after uninstalling the application.

2008-12-13 Thread code_android_festival_way
Hello! I got several feedback messages from users of my application that after uninstalling it the application icon still appears in the Android menu. Could someone please help me finding the reason for that behaviour? Is it something in the Manifest? In addtition it would be interesting for

[android-developers] Is there really no possibility to detect incoming calls with a receiver?

2008-12-13 Thread code_android_festival_way
Hello! Is there really no possibility to react on incoming calls with the help of a BroadcastReceiver? I can catch everything except incoming calls. At the moment I have to rely on a non stop running server listening for the telephone state with the PhoneStateListener which is not really great

[android-developers] ContentObserver - SMS - What's wrong with it

2008-12-12 Thread code_android_festival_way
Hello I'm using the following setup to get notified for changes on the SMS provider: http://paste.pocoo.org/show/95066/ But I'm only getting notified (onChange gets called) when I have an incoming SMS and get and unread count of 1. But when I read the message the Observer doesn't get called and

[android-developers] Re: ContentObserver - SMS - What's wrong with it

2008-12-12 Thread code_android_festival_way
This is the solution: http://paste.pocoo.org/show/95079/ The key is the uri to the provider. On 12 Dez., 17:27, code_android_festival_way festival.s...@googlemail.com wrote: Hello I'm using the following setup to get notified for changes on the SMS provider: http://paste.pocoo.org/show

[android-developers] Tracking the CALL button from a service? - Possible?

2008-12-12 Thread code_android_festival_way
Hello. Is it possible to track the CALL button with a BroadcastReceiver? I have tried that but can't get it to work. So it would be interesting if there is a possibility to track the pressing of the call button by a service. Looking forward reading your answer.

[android-developers] Re: Tracking the CALL button from a service? - Possible?

2008-12-12 Thread code_android_festival_way
, code_android_festival_way festival.s...@googlemail.com wrote: Hello. Is it possible to track the CALL button with a BroadcastReceiver? I have tried that but can't get it to work. So it would be interesting if there is a possibility to track the pressing of the call button

[android-developers] Incoming Emails - Incoming SMS - What is the way to catch them?

2008-12-11 Thread code_android_festival_way
What is the right way to catch incoming emails and sms? I don't want to read them I just want to be notified. (my service wants to get a callback and get something done) I tried to setup the BrodcastReceiver listening for ACTION_PROVIDER_CHANGED. But I can't get something in the onReceive method

[android-developers] Re: Incoming Emails - Incoming SMS - What is the way to catch them?

2008-12-11 Thread code_android_festival_way
/android-developers/browse_thread/threa... On Dec 11, 10:41 am, code_android_festival_way [EMAIL PROTECTED] wrote: What is the right way to catch incoming emails and sms? I don't want to read them I just want to be notified. (my service wants to get a callback and get something done) I

[android-developers] Re: Incoming Emails - Incoming SMS - What is the way to catch them?

2008-12-11 Thread code_android_festival_way
Thanks for your answer. This is true and I will keep that out of my application now. Thanks for this advise. Is there a possibility to catch new voicemail messages? On 11 Dez., 13:44, Mark Murphy [EMAIL PROTECTED] wrote: code_android_festival_way wrote: I just want to be notified when

[android-developers] Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
At the moment I'm facing kind of a big problem. I am using a service to listen with the TelephonyManager for incoming calls in order to do something according to the incoming call. To be able to do this I have to rely on my running service. It is just sitting in the background doing nothing. I

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
the processes that host services in order to make space for the visible activity. JBQ On Thu, Dec 11, 2008 at 3:21 PM, code_android_festival_way festival.s...@googlemail.com wrote: At the moment I'm facing kind of a big problem. I am using a service to listen with the TelephonyManager

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
, the service *is* killed outright, no onDestroy(). JBQ On Thu, Dec 11, 2008 at 3:44 PM, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Ok so all I can do is set some last Toast in the onDestroy message in order to notify the user of the killed service right? 1. I

[android-developers] Usage of ArrayAdapter leads me to Index Array out of Bounds Exception

2008-12-11 Thread code_android_festival_way
Hello. I'm using an ArrayAdapter for my Spinner in the following way: http://paste.pocoo.org/show/95017/ This works pretty fine. But after adding an item and reinstalling the application from Eclipse on the G1 I'm getting and an Index Array Out of Bounds Exception. To fix the problem I have to

[android-developers] Spinner - problems with padding and wrap_content

2008-12-10 Thread code_android_festival_way
Hello I got the following XML style for my spinner: http://paste.pocoo.org/show/94667/ (just a snippet) In code I'm adding content to the spinner like this: http://paste.pocoo.org/show/94668/ (just a snippet) But this leads me to the following result:

[android-developers] Problem with Callbacks while restoring UI state

2008-12-10 Thread code_android_festival_way
What is the right way to disable callback methods (onChangeListener etc) untill the UI is restored to the last status? While setting my UI back to the last status (setting checkboxes etc) a lot of callback methods get called that I don't want to be called. Since it is no interaction from the

[android-developers] Re: Easy way to identify a missed call? (Broadcast)

2008-12-08 Thread code_android_festival_way
Something new about this topic? On 5 Dez., 01:01, code_android_festival_way [EMAIL PROTECTED] wrote: Hello! At the moment I want to write a small application that gives me LED notifications when Imisseda call. (the system only provides me with notifications when I get a SMS, email

[android-developers] LED notifications not working?

2008-12-05 Thread code_android_festival_way
Hello! I've tried to implement a LED notification in my little application for testing but I can't get them working. Here is the little snippet from my code: private void setNotificationLED(int color){ Notification notification = new Notification(); notification.ledARGB =

[android-developers] Re: LED notifications not working?

2008-12-05 Thread code_android_festival_way
Ok I got the solution on my own. You need to add: notification.flags = Notification.FLAG_SHOW_LIGHTS; to the method and it starts working. Regards! On 5 Dez., 11:37, code_android_festival_way [EMAIL PROTECTED] wrote: Hello! I've tried to implement a LED notification in my little

[android-developers] Easy way to identify a missed call? (Broadcast)

2008-12-04 Thread code_android_festival_way
Hello! At the moment I want to write a small application that gives me LED notifications when I missed a call. (the system only provides me with notifications when I get a SMS, email or voicemail messages) Is there a broadcast that gets sent directly after the system missed a call? This would

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-09-12 Thread code_android_festival_way
I've added it now to a playlist and restarted the emulator which leads me to the same result. The songs inside the new playlist lost its meta data again. Regards! On 12 Sep., 00:26, Megha Joshi [EMAIL PROTECTED] wrote: 008/9/9 code_android_festival_way [EMAIL PROTECTED] Thank you for you

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-09-09 Thread code_android_festival_way
to appear in the Album, Artists sections of the Music app. 2008/9/8 code_android_festival_way [EMAIL PROTECTED] I got a problem with the audio recording. I am able to record audio and play the recorded file with the music app. This looks like this: http://img.skitch.com/20080908

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-09-08 Thread code_android_festival_way
/external/audio/media/33 On 2 Sep., 22:35, code_android_festival_way [EMAIL PROTECTED] wrote: Thank you very much for offering the sample code. On 2 Sep., 22:16, Megha Joshi [EMAIL PROTECTED] wrote:  Please refer to theaudioRecording sample code at the link below:  http://groups.google.com

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-09-02 Thread code_android_festival_way
Thank you very much for offering the sample code. On 2 Sep., 22:16, Megha Joshi [EMAIL PROTECTED] wrote:  Please refer to the audio Recording sample code at the link below:  http://groups.google.com/group/android-developers/files 2008/8/31 code_android_festival_way [EMAIL PROTECTED] Did

[android-developers] Re: Where to download icons?

2008-09-01 Thread code_android_festival_way
Is it possible to use GPL licensed icons in proprietary projects? On 1 Sep., 10:09, Guillaume Perrot [EMAIL PROTECTED] wrote: Number of icons (mostly under creative commons license) are hosted athttp://www.iconspedia.com/ On Sep 1, 9:38 am, code_android_festival_way [EMAIL PROTECTED

[android-developers] Re: Where to download icons?

2008-09-01 Thread code_android_festival_way
 am, code_android_festival_way [EMAIL PROTECTED] wrote: Is it possible to use GPL licensed icons in proprietary projects? On 1 Sep., 10:09, Guillaume Perrot [EMAIL PROTECTED] wrote: Number of icons (mostly under creative commons license) are hosted athttp://www.iconspedia.com

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-08-31 Thread code_android_festival_way
? Cheers, Justin Android Team @ Google On Aug 24, 3:20 pm, code_android_festival_way [EMAIL PROTECTED] wrote: I've got two questions. 1) Is there a working example for recording audio with the MediaRecorder? At the moment I'm using the following setup but it doesnt work

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-26 Thread code_android_festival_way
., 00:59, hackbod [EMAIL PROTECTED] wrote: On Aug 25, 2:43 pm, code_android_festival_way [EMAIL PROTECTED] wrote: From that point on the application saves the last opened activity. So this seems to be a bug caused by the installation through Eclipse right? If it's just that after starting

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread code_android_festival_way
post more information about what you are doing? Please note that this behaves correctly in other places, such as ApiDemos, so there must be something different than normal that you are doing. On Aug 25, 1:05 am, code_android_festival_way [EMAIL PROTECTED] wrote: Some information

[android-developers] Re: Audio Picking / Video Picking (ACTION_PICK) - Should it work in 0.9?

2008-08-25 Thread code_android_festival_way
Thank you for your quick response! On 25 Aug., 22:28, Megha Joshi [EMAIL PROTECTED] wrote: This is a bug in the sdk , it will be fixed in a future release... 2008/8/24 code_android_festival_way [EMAIL PROTECTED] Hello guys! I got a question regarding the picking of audio and video

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-08-25 Thread code_android_festival_way
Something new about this. Audio recording would be very important for me. Best regards! On 25 Aug., 00:20, code_android_festival_way [EMAIL PROTECTED] wrote: I've got two questions. 1) Is there a working example for recording audio with the MediaRecorder? At the moment I'm using

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-24 Thread code_android_festival_way
it and __removed .android folder__ everything started working! On Aug 22, 10:16 pm, shotwave [EMAIL PROTECTED] wrote: thank you, guys On Aug 22, 3:01 am, code_android_festival_way [EMAIL PROTECTED] wrote: Hello! I have done it the following way: http://paste.pocoo.org/show

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-24 Thread code_android_festival_way
Well I've managed it to add representation of the Uri to a multipart message. And here is the way I did it: http://paste.pocoo.org/show/83196/ It is working quite fine. Regards! On 24 Aug., 15:46, code_android_festival_way [EMAIL PROTECTED] wrote: I got another question regarding that topic

[android-developers] Audio Picking / Video Picking (ACTION_PICK) - Should it work in 0.9?

2008-08-24 Thread code_android_festival_way
Hello guys! I got a question regarding the picking of audio and video files with the ACTION_PICK in the Media ContentProvider. It is working for images but audio gets me a: 08-24 17:43:52.010: ERROR/AndroidRuntime(19692): android.content.ActivityNotFoundException: No Activity found to handle

[android-developers] MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-08-24 Thread code_android_festival_way
I've got two questions. 1) Is there a working example for recording audio with the MediaRecorder? At the moment I'm using the following setup but it doesnt work: http://paste.pocoo.org/show/83242/ Error: 08-24 19:27:18.675: ERROR/Database(178): Error inserting title=Content Creation No.5

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-23 Thread code_android_festival_way
Something new to this topic? On 22 Aug., 15:05, code_android_festival_way [EMAIL PROTECTED] wrote: I came across the parameter alwaysRetainTaskState athttp://code.google.com/android/reference/android/R.attr.html#alwaysRe... and don't really know how to use it the right way. I've got several

[android-developers] bindService / unbindService - Recognized some pretty wired behavior

2008-08-23 Thread code_android_festival_way
While trying to safe my threads I recognized something pretty wired which I don't really understand. 1) I'm binding to my service with bindService(..) in onCreate() 2) onServiceConnected() gets called 3) Inside the method onServiceConnected I'm calling unbindService() (just for testing) 4)

[android-developers] Re: LocationManager - getLastKnownLocation() - NullPointer Exception

2008-08-22 Thread code_android_festival_way
, code_android_festival_way [EMAIL PROTECTED] wrote: The LocationManager.request*Updates methods must be called from a Looper thread, such as the main thread of an Activity. Additional method variants have been added that take an explicit Looper argument to allow for use outside of a main thread

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-22 Thread code_android_festival_way
 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Looks like you also need the Apache Commons IO library which you can get fromhttp://commons.apache.org/io/. Cheers, Justin Android Team @ Google On Aug 18, 3:19 pm, code_android_festival_way [EMAIL PROTECTED] wrote: So I'm

[android-developers] alwaysRetainTaskState - Some questions

2008-08-22 Thread code_android_festival_way
I came across the parameter alwaysRetainTaskState at http://code.google.com/android/reference/android/R.attr.html#alwaysRetainTaskState and don't really know how to use it the right way. I've got several activities in my application and want to persist the state of my activity UI so that the user

[android-developers] Exception when leaving an activity (with the back button) which is binded to a Service

2008-08-22 Thread code_android_festival_way
Hello guys! I'm having the following problem. I'm having an activity that starts a background thread in order to bind to a service which does some work. Now I've got the problem that when pressing the back button I get the following exception: 08-22 17:09:46.460: ERROR/AndroidRuntime(26218):

[android-developers] Re: Exception when leaving an activity (with the back button) which is binded to a Service

2008-08-22 Thread code_android_festival_way
the service and then call super.stop(). Cheers, Justin Android Team @ Google On Aug 22, 8:19 am, code_android_festival_way [EMAIL PROTECTED] wrote: Hello guys! I'm having the following problem. I'm having an activity that starts a background thread in order to bind to a service

[android-developers] Re: Exception when leaving an activity (with the back button) which is binded to a Service

2008-08-22 Thread code_android_festival_way
Ok. After a little bit of debugging I know that the Service runs inside the background thread. (the methods that I call inside the service after binding to it) But after that is it really that difficult to stop that background thread in onPause? Even calling the deprecated stop() doesn't stop

[android-developers] Re: Exception when leaving an activity (with the back button) which is binded to a Service

2008-08-22 Thread code_android_festival_way
Well the thread is doing something at the moment I want him to be killed. (he is downloading pictures which will be shown in the gui later on) So I've looked at your example but don't understand how I should implement that in my thread. I just want him to stop what he is doing because after

[android-developers] Re: Exception when leaving an activity (with the back button) which is binded to a Service

2008-08-22 Thread code_android_festival_way
So if I'm understanding you right I HAVE to interrupt the work that is done in the background thread. That will be difficult, it is not just the download of information. I'm setting a geo search at flickr, handling the response and so on and so on. Finally giving back some links (to photos) which

  1   2   >