[android-developers] Programmatically publishing app in GooglePlay / Way to automate???

2012-09-17 Thread frantz lohier
Dear All, Publication of App to the Google play app store has massively an positively evolve in past 3 years. Part of it was the result of management of app and content payment, support for device configuration or integration of advertisement (all good goals I suppose). I've already released 5

[android-developers] Change in behavior of dialog windows since Android 4.x

2012-08-26 Thread frantz lohier
Dear All, Since the arrival of Android 4.x, it looks like dialog windows that are opened just before an activity goes into the pause state don't respond to button anymore (i.e., OnClickListener does nothing after the activity is paused while displaying a dialog). IS there anyone else

[android-developers] How to toggle the display of an activity dynamically

2012-08-16 Thread frantz lohier
Hello, I'd like my activity to start without any display and, based on some criteria/user preference, revert back to displaying a UI/dialogue when onCreate() is called. After some research on the web, I found that the application manifest can be easily set to force a none display theme with '

Re: [android-developers] Prevent garbage collection for Broadcast receiver that are dynamically registered

2012-08-16 Thread frantz lohier
...@commonsware.comwrote: On Wed, Aug 15, 2012 at 12:34 PM, frantz lohier floh...@gmail.com wrote: Question: is there a way to ensure that receiver are programmatically registered at run-time are not deallocated when an app goes in background? IMHO, a better implementation would be to register the receiver

[android-developers] Prevent garbage collection for Broadcast receiver that are dynamically registered

2012-08-15 Thread frantz lohier
Dear All, I've developed an app that registers a receiver in the onResume() constructor. This receiver need not to be deallocated as it processes intent even when my app is not running on the foreground. For that reason, the receiver is not deregistered by onPause(). Now, when the app goes in

[android-developers] Picking up contacts: difference in behaviour between HTC and NexusOne - SDK 2.1-update1

2010-06-07 Thread frantz lohier
Hi, I wrote an app that invokes the contact manager in the following way: Intent pickcontact = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startActivityForResult(pickcontact, CONTACTPICKED); I am experiencing 2 different behavior between HTC phones and the NexusOne, all with firmware

[android-developers] Problem using the audiorecord API

2010-01-26 Thread frantz lohier
Hi All, I'm writing an Activity that attempts to use the AudioRecord API. When I invoke the setNotificationMarkerPosition, my activity crashes with the following error message: *java.lang.IllegalStateException: Unable to retrieve AudioRecord pointer for setPositionUpdatePeriod()*

[android-developers] Problem using the AudioRecord API

2010-01-18 Thread frantz lohier
Hi All, I'm writing an Activity that attempts to use the AudioRecord API. When I invoke the setNotificationMarkerPosition, my activity crashes with the following error message: *java.lang.IllegalStateException: Unable to retrieve AudioRecord pointer for setPositionUpdatePeriod()*

[android-developers] Invoking the default Alarm clock app as ways for Apps to receive a intent at scheduled time

2010-01-16 Thread frantz lohier
Dear All, Is there a way for an App to invoke the default Alarm Clock application and receive a intent at a given time for specific functions to be activated. I understand the the AlarmManager can be used for this sort of purpose but I'm trying to leverage the complete alarmclock GUI framework

[android-developers] Continous Audio recording in memory

2010-01-16 Thread frantz lohier
Dear All, I'm writing an App that needs to continuously record audio in memory and email the last 30 seconds of audio when required. Much of the mediarecorder API is designed to store linear audio in files. Could anybody point me towards a way to continously record audio in memory, using a

Re: [android-developers] Re: continuous audio recording in memory

2010-01-10 Thread frantz lohier
Ok thanks. Do you think there's a way to do that purely in Java/Using the framework ? Thanks, On Wed, Jan 6, 2010 at 11:27 AM, HeHe cnm...@gmail.com wrote: a look at .../framework/base/media/.../AudioRecord.cpp should be helpful~ On Jan 6, 10:11 am, frantz lohier floh...@gmail.com wrote

[android-developers] Retrieving the phone maker and phone model

2010-01-09 Thread frantz lohier
Does anybody know a way for an Activity to retrieve the name of the phone (maker/model) ? 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

Re: [android-developers] Retrieving the phone maker and phone model

2010-01-09 Thread frantz lohier
Great, thanks Mark (by the way, your books are great). One quick more: how do I know the min/max resolution of a screen offered by a given device ? Thanks, On Sat, Jan 9, 2010 at 10:04 AM, Mark Murphy mmur...@commonsware.comwrote: frantz lohier wrote: Does anybody know a way for an Activity

[android-developers] continuous audio recording in memory

2010-01-06 Thread frantz lohier
Dear All, I'm trying to write an App that continuously record audio in memory (in a circular buffer). Could anyone point me towards a piece of code (perhaps in the kernel) that shows how to best to this ? Thanks, -- You received this message because you are subscribed to the Google Groups

[android-developers] Pickup a phone contact under the emulator

2009-12-01 Thread frantz lohier
Dear All, Quick question; - When running the 2.0 emulator, my application can’t pick-up a phonebook contact anymore: o (1) when invoking an ACTION_PICK intent and when the agenda is empty, I get a menu suggesting that when pressing the MENU key, I be able to select a account. No

Re: [android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-29 Thread frantz lohier
Thank you Dmitri for the code. I've reviewed it and don't see any interaction with the AccountManager. One of the problem with SDK 2.0 is that pickup contacts is condition by having a user login with a proper account. My application crashes under the emulator because I cannot profile a Gmail

Re: [android-developers] Re: Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-29 Thread frantz lohier
for an App to learn what is the current language (input/display) being used ? Thanks, On Mon, Nov 2, 2009 at 9:23 AM, jarkman jark...@gmail.com wrote: On Nov 2, 5:02 pm, frantz lohier floh...@gmail.com wrote: + in the Market, should we upload different app versions compiled for different SDK

[android-developers] How can an app dynamically what is the current display language set

2009-11-09 Thread frantz lohier
Dear All, I have a quick 2 questions; - is there a way for an App to understand what is the current display language ? - is there a way for an App to understand if the current country the phone operates should report speed in miles per hour as opposed to km/hour ? Many thanks, -- You

[android-developers] Localization awareness

2009-11-07 Thread frantz lohier
Dear All, I have a quick 2 questions; - is there a way for an App to understand what is the current display language ? - is there a way for an App to understand if the current country the phone operates should report speed in miles per hour as opposed to km/hour ? Many thanks, -- You

[android-developers] Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-01 Thread frantz lohier
Happy Halloween All ! The party is over and Google suddenly released the much anticipated Android 2.0 SDK. Much improvement for sure ! That said, the party is over and I came to have to deal with the following Ghost; I've released an app in the market (Ambu) - so far qualified under SDK 1.5

[android-developers] Re: server error when trying to buy my own app

2009-10-26 Thread frantz lohier
. On Oct 25, 7:39 pm, frantz lohier floh...@gmail.com wrote: Dear All, I'm a developper based in the US that recently released a pay-for app in the market called AmBu. Googlecheckout is the merchant account I am using (the only one approved by the market it seems). Two customers

[android-developers] server error when trying to buy my own app

2009-10-25 Thread frantz lohier
Dear All, I'm a developper based in the US that recently released a pay-for app in the market called AmBu. Googlecheckout is the merchant account I am using (the only one approved by the market it seems). Two customers were able to purchase my app from a foreign country (Europe). However, when

[android-developers] Re: Application compatibility between SDK 1.5 and 1.6

2009-10-12 Thread frantz lohier
Thanks Mark. Could you elaborate on what you mean by reflection ? Thanks, On Mon, Oct 12, 2009 at 9:40 AM, Mark Murphy mmur...@commonsware.comwrote: flohier wrote: What is the recommended approach to have currently shipping 1.5-SDK compliant apps to start offering 1.6 features (such as

[android-developers] Re: activity stak

2009-07-27 Thread frantz lohier
Thanks Dianne. I don't think it's necessary true. My activity is actually alive but not visible (I have a periodic timer thread that wakes up some function of my activity). My activity called the phone dialer, the phone dialer is on top of the stack and my activity is still runiing but is not