[android-developers] Re: PUBLISHED APPS MISSING FROM UPDATED CONSOLE

2010-11-25 Thread Nicolas Thibaut
thanks, it works for me I can publish :)

On 25 nov, 10:04, String  wrote:
> So, my best selling app was also AWOL from the console this morning.
> But it IS still visible in the Market client, and I can still edit it
> by entering its Console URL manually:
>
> http://market.android.com/publish/Home#EDIT_APPLICATION?pkg=com.packa...
>
> Not that they shouldn't fix this... just that there is a workaround if
> you need to make changes before they do.
>
> String
>
> On Nov 25, 5:15 am, Brad  wrote:
>
>
>
>
>
>
>
> > WTF - My best selling app is also missing from my Developer Console.
> > I just updated it earlier today - now it's gone.  I used the form to
> > submit a help request (thanks TreKing), hopefully it's not going to /
> > dev/null!
>
> > On Nov 24, 1:01 pm, Adam Hammer  wrote:
>
> > > A few of my unpublished and at least one of my published apps is not
> > > accessible from the console at this time.
>
> > > THIS IS URGENT, I don't use that lightly, google test your code before
> > > you deploy!!!

-- 
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: Apps missing in publisher console

2010-11-24 Thread Nicolas Thibaut
me too.

I have added the uses feature suggested and try to load high res icon,
my app is now hidden :'(


On 24 nov, 22:29, Robert Green  wrote:
> I'm glad it's not just me!
>
> On Nov 24, 1:25 pm, Kumar Bibek  wrote:
>
>
>
>
>
>
>
> > Haha, Quite a few things there...
>
> > >>Will you even be able to log in?
>
> > This one is classy. In that case, we might also have trouble logging into
> > Gmail. :D
>
> > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> > On Thu, Nov 25, 2010 at 2:49 AM, TreKing  wrote:
> > > On Wed, Nov 24, 2010 at 3:10 PM, Kumar Bibek  wrote:
>
> > >> Might be a side-effect. :D
>
> > > Indeed - the process for updating the Android Market usually involves
> > > adding one new thing and breaking several other existing components.
> > > It's turned into a unpredictable game of "What will they break THIS 
> > > time!?"
>
> > > Will your download stats stop moving?
> > > Will your install percentage plummet and never return?
> > > Will your apps disappear?
> > > Will you even be able to log in?
> > > Will you be unable to publish / update?
>
> > > Who knows!?
>
> > > Best to steer clear of trying to do anything with the site for a while if
> > > you can help it.
>
> > > ---
> > >  --
> > > TreKing  - Chicago
> > > transit tracking app for Android-powered devices
>
> > >  --
> > > 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 > >  cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en

-- 
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 app deleted from android market console

2010-11-24 Thread Nicolas Thibaut
thanks treking, I was searching for this form :)


On 24 nov, 21:56, Leon Moreyn-Android Development
 wrote:
> are you using the uses-features in your manifest? there are certain
> features the may not have your app appearing on certain devices.
>
> On Nov 24, 3:29 pm, TreKing  wrote:
>
>
>
>
>
>
>
> > Try 
> > this:http://www.google.com/support/androidmarket/bin/request.py?contact_ty...
>
> > --- 
> > ­--
> > TreKing  - Chicago
> > transit tracking app for Android-powered devices

-- 
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 app deleted from android market console

2010-11-24 Thread Nicolas Thibaut
the app is on android market but does'nt exist in my console ...


On 24 nov, 21:10, Nicolas Thibaut  wrote:
> My app does'nt appear on the console.
>
> I have do this when upgrading:
>
> - add hight res icon with bad size.
> - try to publish
> - error : ok
> - upload apk saved to draft : ok
> - click on "save" : ok
>
> the app just disappear.
> ?

-- 
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 app deleted from android market console

2010-11-24 Thread Nicolas Thibaut
My app does'nt appear on the console.

I have do this when upgrading:

- add hight res icon with bad size.
- try to publish
- error : ok
- upload apk saved to draft : ok
- click on "save" : ok

the app just disappear.
?

-- 
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: UI troubles with Android 2.2

2010-10-07 Thread Thibaut
Thank you for your answer,

I call setOnClickListener() in the Activity while I create the list of
views. Then i give this list to the adapter. The Adapter::getView()
method just returns the view _list.get(position). See below for code
sample.

But I would like to say that the onclick behavior is very very strange
on that list (although everything works with Android 2.1). The last
item reacts correctly, but the previous ones seem to stack the call
and execute the whole stack as a batch when any action finally
succeeds.

In the Activity:

_listView = new ListView(this);
[ ... ]
PeriodListAdapter adapter = new PeriodListAdapter();

OnClickListener openMenu = new OnClickListener() {
@Override
public void onClick(View v) {
PeriodActivity.this.openContextMenu(v);
}
};

PeriodDescription therapyP = new PeriodDescription(this);
therapyP.setPeriod(p);
therapyP.setOnClickMenu(openMenu);
adapter.addPeriodDescription(therapyP);

[ ... ]

_listView.setAdapter(adapter);


Thanks for your interest

Thibaut, a poor disappointed developer...




On 7 oct, 11:46, Daniel Drozdzewski 
wrote:
> On Thu, Oct 7, 2010 at 9:15 AM, Thibaut  wrote:
> > The second trouble is resolved thanks to another message in this
> > google group 
> > (http://groups.google.com/group/android-developers/browse_thread/threa...
> > ). Nested scrollviews don't work anymore.
>
> > Does anyone have an idea why several click attempts are necessary to
> > open the context menu by clicking on an ImageView (located inside a
> > ListView)?
>
> Thibaud,
>
> Where in your code do you call setOnClickListener() ? Please remember
> that ListView recycles the views behind each list item.
> Quick peek at your Adapter.getView() method would help here.
>
> Daniel
>
>
>
> > On 6 oct, 20:30, Thibaut  wrote:
> >> Hello,
>
> >> I have some strange UI troubles with Android 2.2.
>
> >> First, I set an OnClickListener on an ImageView that should open the
> >> context menu. Nothing happens on the first click attempts, but the
> >> next ones trigger several context menu openings (the menu opens itself
> >> when a menu item is selected) ...
>
> >> Second, if the screen is landscape-oriented, a HorizontalScrollViewer
> >> doesn't scroll as expected. It breaks its self movements, giving the
> >> feeling to scroll step by step. Its behavior is normal when the screen
> >> is portrait-oriented.
>
> >> And everything is normal with Android 2.1.
>
> >> Thanks
>
> >> Thibaut

-- 
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: UI troubles with Android 2.2

2010-10-07 Thread Thibaut
The second trouble is resolved thanks to another message in this
google group ( 
http://groups.google.com/group/android-developers/browse_thread/thread/4e8ad65d5cc7f103/c0986e9ad4e655e2
). Nested scrollviews don't work anymore.

Does anyone have an idea why several click attempts are necessary to
open the context menu by clicking on an ImageView (located inside a
ListView)?



On 6 oct, 20:30, Thibaut  wrote:
> Hello,
>
> I have some strange UI troubles with Android 2.2.
>
> First, I set an OnClickListener on an ImageView that should open the
> context menu. Nothing happens on the first click attempts, but the
> next ones trigger several context menu openings (the menu opens itself
> when a menu item is selected) ...
>
> Second, if the screen is landscape-oriented, a HorizontalScrollViewer
> doesn't scroll as expected. It breaks its self movements, giving the
> feeling to scroll step by step. Its behavior is normal when the screen
> is portrait-oriented.
>
> And everything is normal with Android 2.1.
>
> Thanks
>
> Thibaut

-- 
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] UI troubles with Android 2.2

2010-10-06 Thread Thibaut
Hello,

I have some strange UI troubles with Android 2.2.

First, I set an OnClickListener on an ImageView that should open the
context menu. Nothing happens on the first click attempts, but the
next ones trigger several context menu openings (the menu opens itself
when a menu item is selected) ...

Second, if the screen is landscape-oriented, a HorizontalScrollViewer
doesn't scroll as expected. It breaks its self movements, giving the
feeling to scroll step by step. Its behavior is normal when the screen
is portrait-oriented.

And everything is normal with Android 2.1.

Thanks

Thibaut

-- 
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: Android Market Licensing: Now Available!

2010-08-28 Thread Nicolas Thibaut
I have implemented the LVL to send event on private webservices each
time the market respond an NOT ALLOWED.

Five minutes after the submission to android market, some events were
throwed.
How can this be possible ?

how a pirated app can be updated 5 minutes after a submission ?

On 27 août, 08:11, String  wrote:
> I suggest you start a new thread for this issue; this "sticky" topic
> is better used for generalized discussion of LVL, not debugging of
> individual issues.
>
> String
>
> On Aug 26, 5:31 am, Feelsocial  wrote:
>
>
>
> > Hi String , i have uploaded and saved my new licensed version 2 of my
> > application on market. And testing on my emulator but its still not
> > allowing. My version 2 is still not published? Moreover, application
> > licensed version 1 was running fine.Help me plzz..
>
> > Thanks,
>
> > On Aug 21, 2:29 pm, String  wrote:
>
> > > I think you need to upload an APK with versioncode="2" to your Market
> > > console. You don't need to publish it, but you do need to upload and
> > > save that version before LVL will give a correct response for it.
>
> > > String
>
> > > On Aug 21, 9:15 am, Feelsocial  wrote:
>
> > > > Hi all,
>
> > > > I am facing the problem in licensing of my old published paid apps.
> > > > Basically i have paid app which is published by version code 1. I
> > > > implemented the license code on it, it working fine to me. Licensing
> > > > server giving the response or allow that you can use it. But once i
> > > > changed version code from 1 to 2 in manifest file, then licensing
> > > > service not allow to use the app.Server giving the response dont
> > > > allow. I not understanderd, y it has relation with version code? i
> > > > can't publish the update version.???
>
> > > > Moreover, i am already login to my publisher account, i have setting
> > > > of LICENSED in edit profile section.
>
> > > > Is any body can help me?.. Help
>
> > > > On Jul 28, 1:19 am, Kaj Bjurman  wrote:
>
> > > > > I saw that entry, and have a question.
>
> > > > > What will happen if the user doesn't have network connectivity? Many
> > > > > users turn of data traffic when they travel to other countries, but
> > > > > the probably still want to use the licensed applications.
>
> > > > > On 27 Juli, 19:55, Trevor Johns  wrote:
>
> > > > > > Android fans,
> > > > > > For those of you who haven't already heard through our blog, we've
> > > > > > just launched the Android Market licensing service:
>
> > > > > >http://android-developers.blogspot.com/2010/07/licensing-service-for-...
>
> > > > > > From the above blog post:
>
> > > > > > "This simple and free service provides a secure mechanism to manage
> > > > > > access to all Android Market paid applications targeting Android 1.5
> > > > > > or higher. At run time, with the inclusion of a set of libraries
> > > > > > provided by us, your application can query the Android Market
> > > > > > licensing server to determine the license status of your users. It
> > > > > > returns information on whether your users are authorized to use the
> > > > > > app based on stored sales records."
>
> > > > > > Developer documentation is available here:
>
> > > > > >http://developer.android.com/guide/publishing/licensing.html
>
> > > > > > Happy coding!
>
> > > > > > --
> > > > > > Trevor Johns
> > > > > > Google Developer Programs, Androidhttp://developer.android.com

-- 
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: Piracy Breakdown by Country

2010-08-28 Thread Nicolas Thibaut
hi keylabs:

1 - did you have used a "unique users" feature for your stats ?
because while user is not registered, you AAL will push a flurry
event.
if the user never register it will send an event each time he use the
app, so the pirated app will grow indefinitely.
 wrote:
> I am completely surprised at some of the responses here... but I am
> not at all surprised with your results. I have been selling software
> for over 10 years before I started developing Android apps and my
> experience has been that the US always represents the highest amount
> of piracy. Your "culture of piracy" label is absolutely deserved. The
> sense of entitlement that people here have always amazes me and
> that spans everyone from developers to consumers. They want everything
> for free and everything done for them... Piracy aside, after releasing
> free applications on the Android market and seeing the absolute
> stupidity of the majority of comments and that same sense of
> entitlement that I alluded to... I stopped releasing free apps... I
> wrote my own anti-piracy measures (note how Astro does it with
> expiring updates...) and I ignore stupid comments from users and
> fellow developers.
>
> Android Workz
>
> On Aug 26, 4:22 pm, keyeslabs  wrote:
>
>
>
> > Recently did an analysis of piracy rates by country for my app.  Found
> > some very interesting tidbits that I think may be of interest to
> > members of this group:  http://bit.ly/bSaoBe
>
> > Dave

-- 
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] Subscription to HorizontalScrollView

2010-08-12 Thread Thibaut
Hello,

I'm trying to develop a scrollable dot chart to represent temporal
events.

There are 2 HorizontalScrollViews in my layout.
I want the one above updates his position if the user changes the
position of the one below.
Is there any listener or anything else that can help me? I didn't find
anything about that...

Thanks in advance,

Thibaut

-- 
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: Kill running app

2010-06-02 Thread Nicolas Thibaut
you can use restartPackage both api 8 and 7.

the api is deprecated but exists in api 8 and redirect to
killBackgroundProcesses (I use it and it works)

On 30 mai, 17:15, Mats  wrote:
> Hi,
>
> I want my app to kill a running app but i got the problem that since
> API 8 the method is deprecated and i need to use another function.
>
> So i want that if API level of the device is smaller than 8 it runs
> this
>
>                 ActivityManager aM = (ActivityManager)
> this.getSystemService(ACTIVITY_SERVICE);
>                 aM.restartPackage(package);
>
> And from 8 this
>
>                 ActivityManager aM = (ActivityManager)
> this.getSystemService(ACTIVITY_SERVICE);
>                 aM.killBackgroundProcesses(package);
>
> But how do i accomplish this because using something like an if will
> make the compiler complain.
>
> Mats

-- 
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: Android 2.2 : Quick contact on home screen : missing anchor

2010-05-31 Thread Nicolas Thibaut
sorry for the dupplicate entry, the same question is here:
http://groups.google.com/group/android-developers/browse_thread/thread/87a7a1dfc8990f25

On 31 mai, 12:05, Nicolas Thibaut  wrote:
> Hi,
> on my own home screen (still in developement), I have a bug with the
> new Froyo's quick contact feature.
>
> When I click on a contact shortcut in 2.2 home I have this intent
> throwed:
>
> 05-31 11:36:10.160: INFO/ActivityManager(85): Starting activity:
> Intent { act=com.android.contacts.action.QUICK_CONTACT dat=content://
> com.android.contacts/contacts/lookup/1776i7dc33f6409757c55/68
> flg=0x1400 cmp=com.android.contacts/.ui.QuickContactActivity
> bnds=[125,586][235,704] (has extras)
>
> When I do the same on my home screen, I have the same Intent without
> the last bnds params(bounds ??)
> And I throw an Exception like "missing anchor rectangle".
>
> I see the bnds param on the Intent but I dont known when and how to ad
> this param to my pick activity called with:
> ACTION_PICK_ACTIVITY and ACTION_CREATE_SHORTCUT
>
> or directly to the Intent associated to my icon on the screen ?
>
> 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] Android 2.2 : Quick contact on home screen : missing anchor

2010-05-31 Thread Nicolas Thibaut
Hi,
on my own home screen (still in developement), I have a bug with the
new Froyo's quick contact feature.

When I click on a contact shortcut in 2.2 home I have this intent
throwed:

05-31 11:36:10.160: INFO/ActivityManager(85): Starting activity:
Intent { act=com.android.contacts.action.QUICK_CONTACT dat=content://
com.android.contacts/contacts/lookup/1776i7dc33f6409757c55/68
flg=0x1400 cmp=com.android.contacts/.ui.QuickContactActivity
bnds=[125,586][235,704] (has extras)

When I do the same on my home screen, I have the same Intent without
the last bnds params(bounds ??)
And I throw an Exception like "missing anchor rectangle".

I see the bnds param on the Intent but I dont known when and how to ad
this param to my pick activity called with:
ACTION_PICK_ACTIVITY and ACTION_CREATE_SHORTCUT

or directly to the Intent associated to my icon on the screen ?

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: SignalStrength

2010-05-24 Thread Nicolas Thibaut
hi ,

the signal strength is broadcasted to you app.
I am using it like this:

public final PhoneStateListener mPhoneStateListener = new
PhoneStateListener() {
@Override
public void onSignalStrengthChanged(int asu) {
 . //receive the new signal strength



and you initialize the listener like this


((TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE))
.listen(mPhoneStateListener,
 PhoneStateListener.LISTEN_SIGNAL_STRENGTH);

On 24 mai, 11:37, Miguel Ruiz  wrote:
> Hi,
> I´m trying to delevop an application which reads the signal strength
> of the GSM signal for android 2.1 and I am not able to initialized the
> class SignalStrength. I´ve searched in context, PhoneStateListener and
> TelephonyManager. But not a clue. Nothing returns anything like
> SignalStrength or similar.
> Thanks,
> Miguel
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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] [Android 2.2] IMPORTANCE_EMPTY on process never set ?

2010-05-23 Thread Nicolas Thibaut
Hello,

on froyo emulator (and a nexus one with big memory), the flag
importance on the RunningAppProcessInfo seems to be never set.

On android version < 2.2 when you run an activity and press return,
the glag is set to IMPORTANCE_EMPTY and the id in the associated
RunningTaskInfo is  zero.
App stay in memory but have no "UI" process associated with it.

On android 2.2 the flag is never set and id seems to be >0.

Have the application lifecycle and memory management seriously
changed ?

-- 
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: Crashed Service not restarting - TasKiller or Android issue ?

2009-11-27 Thread Nicolas Thibaut
Hi, Taskiller use ActivityManager to "kill" process (there is no kill
but uninstall process).

If I kill taskiller itselfs, the log are:

11-27 19:16:58.952 I/ActivityManager(   75): Displayed activity
com.tni.TasKiller/.TasKiller: 2023 ms (total 2023 ms)
11-27 19:16:59.032 I/ActivityManager(   75): Process
com.android.settings (pid 4361) has died.
11-27 19:17:05.212 D/dalvikvm( 2816): GC freed 2448 objects / 115688
bytes in 175ms
11-27 19:17:12.842 D/ActivityManager(   75): Uninstalling process
com.tni.TasKiller
11-27 19:17:12.842 D/ActivityManager(   75): Force removing process
ProcessRecord{43678608 4341:com.tni.TasKiller/10030}
(com.tni.TasKiller/10030)

If your service die without this log, Taskiller is not guilty !
And if your service is killed by taskiller : the user HOPE it will
NEVER restart.


On Nov 27, 7:01 pm, Derek  wrote:
> Hi Diane,
>
> We've have exactly the same problem. We have TasKiller v2.2 installed
> but we DO NOT use it to kill our app.
> However, our service (running every one minute thanks to AlarmManager)
> never restarts after process has died.
> Here are the log extracted today on my HTC device under 1.6:
> [...]
> 11-27 18:14:00.463: INFO/abc.RefreshService(1482): Alarm planned in
> 6 milliseconds at 125934210 (abc.refreshserv...@431e8178 -
> PendingIntent{431f71f8: android.os.binderpr...@431f71b0})
> 11-27 18:14:00.463: INFO/abc.RefreshService(1482): RefreshService
> stopping (abc.refreshserv...@431e8178)
> 11-27 18:14:00.463: INFO/ActivityManager(74): Stopping service:
> abc/.xyz.RefreshService
> [...]
> 11-27 18:15:07.629: INFO/ActivityManager(74): Process abc (pid 1482)
> has died.
> 11-27 18:15:07.679: WARN/ActivityManager(74): Scheduling restart of
> crashed service abc/.xyz.RefreshService in 5000ms
> [...]
> 11-27 18:19:26.131: INFO/ActivityManager(74): Start proc abc for
> service abc/.xyz.RefreshService: pid=1536 uid=10033 gids={3003, 1015}
> 11-27 18:19:26.241: INFO/dalvikvm(1536): Debugger thread not active,
> ignoring DDM send (t=0x41504e4d l=38)
> [...]
>
> Do you mean that the problem could come from TaskKiller application ?
> Once problem has occurred I still can see our app in TasKiller as
> Italic/grayed (which means that a service is running in background) or
> yellow.
>
> Thanks.
>
> On Nov 22, 8:53 pm, Dianne Hackborn  wrote:
>
> > That's what the task killers do.  Don't use them if you don't want this to
> > happen.  You can't get around this.  The API they are using is intended for
> > the user to explicitly stop everything about an app.
>
> > On Sat, Nov 21, 2009 at 6:53 PM, shahzad ahmad 
> > wrote:
>
> > > Hi,
> > >     I'm just investing how crashed services are restarted. I've developed 
> > > a
> > > simple service and use a taskkiller from market place to kill the
> > > application. Following are the logs after application is killed
>
> > > "Uninstalling the process test.sys"
> > > "Force removing process ProcessRecord{432d6ad0 252:test.sys/10041}
> > > (test.sys/10041)"
> > > "Scheduling restart of crashed service test.sys/.testservice in 5000ms"
> > > "Sending signal. PID: 252 SIG: 9"
>
> > > But the service is never started. Can anybody tell why service is not
> > > starting? Do i need to put any flag in manifest file for service restart 
> > > to
> > > work?
>
> > > Regards,
> > > shaz
>
> > > --
> > > 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
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.

-- 
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: Alarm is canceled if app is stopped

2009-10-13 Thread Nicolas Thibaut

:)
I am the taskiller developper.

If an user choose to kill your app. Your app may not be restarted.

Users are using taskiller because too more apps have bad  implemention
of  broadcasters.
Too many apps are launching without user action, like uninstalled
widgets, because they receive
Broadcast and dont verify the effective use of the app.
Too many apps are implementing Start on boot when not needed.

With taskiller, users are checking that too many apps are loaded on
startup and 50% of these apps are not useful at startup(like
meeboo,facebook,.. )

Too many apps are not explaining what they do. If your apps are using
background service, inform the user that the app will stay
in background, and maybe the users will not kill "stupidly" your app.

And the bad news is that others task managers are implementing
autokill or Boot killwhich can made many apps crashing (if
your app use an intents to another app...if this app is autokilled
your app will never worl :( ...


On Oct 13, 1:09 am, Lazarus 101  wrote:
> Thanks Dianne for the quick answer.
>
> ActuallyTasKilleris not automatically killing apps, but it has a
> widget that allows users to kill (almost) all apps with one click.
> Most of the Android users that I know are using something similar 
> toTasKillerso this is a tricky problem, users will blame my app for not
> doing what it says it does.
> I saw there is a PACKAGE_RESTARTED broadcast but obviously the
> restarted package does not receive the notification so there's not
> much I can do to "fix" this problem...
>
> Having applications that can affect the functionality of every other
> apps installed on the system is not such a good idea IMHO. A Task
> Manager is needed but the user should be clearly informed that the
> apps he choses to kill are not working anymore because that's exactly
> what he wanted. Also the permission is called "restart other
> application" it should be "kill other applications", that's why I
> thought alarms are not affected by this and that services are getting
> restarted (I saw services being restarted after crashes or after being
> killed due to lack of memory so I though it's the same behaviour when
> calling ActivityManager.restartPackage).
>
> On Oct 12, 11:22 pm, Dianne Hackborn  wrote:
>
>
>
> > That is intentional.  Stopping an application is there for the user to stop
> > everything associated with it -- processes, alarms, services, notifications,
> > etc.  They will not be restarted until someone explicitly does so (typically
> > this would be the user re-launching the app and having it do the appropriate
> > thing).
>
> > It sounds likeTasKilleris abusing this API.  The API is there for the user
> > to explicitly stop an app from running without going to the most extreme
> > measure of uninstalling the app.  Trying to use it to automatically stop
> > things behind the user's back seems...  questionable, and probably not what
> > the user actually wants.
>
> > On Mon, Oct 12, 2009 at 1:00 PM, Lazarus 101  wrote:
>
> > > I have an app that does some polling every 2 hours. I set a repeating
> > >alarmthat starts a service but I have noticed that if I use some task
> > > manager (e.g.TasKiller) to kill my app then the polling will not be
> > > performed from that moment on. I know this because I store the time of
> > > the last poll, I have also checked the server logs and there are no
> > > requests received from the client after I force close my app.
> > > Is this the way alarms work or should I look somewhere else for a
> > > crash or smth? because if alarms really get canceled then how should
> > > we implement the polling?
>
> > > I'm also interested in what happens with a running service  if it gets
> > > killed from another app (I assume all task managers are using
> > > ActivityManager.restartPackage() to kill other apps), does it get
> > > restarted?
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---