[SOLVED] App Quits on iPhone Autolock

Forum to discuss iMonkey iPhone/iPod Touch client for MediaMonkey

[SOLVED] App Quits on iPhone Autolock

Postby SmoochiesBoss » Sat Oct 04, 2008 1:39 pm

Once the screen goes dark, iMonkey quits. When I unlock, I'm taken back to the home screen instead of to iMonkey. Is that fixed in 1.1?
SmoochiesBoss
 
Posts: 30
Joined: Sat Oct 04, 2008 1:29 pm

Re: App Quits on iPhone Autolock

Postby Melloware » Sat Oct 04, 2008 2:37 pm

I have to quit when the screen goes dark because what happens is the TCP connection gets broken so you have to reinitialize the application anyway. By closing the application when the screen goes dark it allows me to gracefully break the connection.

If you don't want that to happen go into the Settings and choose "Disable Sleep" to ON. It will prevent the screen from going dark while using iMonkey.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11092
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: [SOLVED] App Quits on iPhone Autolock

Postby SmoochiesBoss » Sat Oct 18, 2008 3:03 pm

How about reconnecting on wake instead? My real-time stock quotes app does this, so it must be possible.....
SmoochiesBoss
 
Posts: 30
Joined: Sat Oct 04, 2008 1:29 pm

Re: [SOLVED] App Quits on iPhone Autolock

Postby Melloware » Sat Oct 18, 2008 4:17 pm

SmoochiesBoss wrote:How about reconnecting on wake instead? My real-time stock quotes app does this, so it must be possible.....


I looked everywhere and didn't see any code to "wake from sleep". I will keep looking.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11092
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: [SOLVED] App Quits on iPhone Autolock

Postby nohitter151 » Mon Oct 20, 2008 10:45 pm

I think it would be my preference that the App quits after autolock; after all, it only takes a few seconds to re-open the app anyway.
nohitter151
 
Posts: 13
Joined: Mon Oct 20, 2008 10:26 pm

Re: [SOLVED] App Quits on iPhone Autolock

Postby SmoochiesBoss » Tue Oct 21, 2008 10:13 am

nohitter151 wrote:I think it would be my preference that the App quits after autolock; after all, it only takes a few seconds to re-open the app anyway.


You might, but standard iPhone behavior is to wake from its screenlock to the same state it was in prior.
SmoochiesBoss
 
Posts: 30
Joined: Sat Oct 04, 2008 1:29 pm

Re: [SOLVED] App Quits on iPhone Autolock

Postby Melloware » Tue Oct 21, 2008 5:43 pm

The problem is...the iphone actually severs the WIFI connection upon sleep. If you are in Calculator or Photos etc they don't have network connections so they can just pick up where they left off. And safari etc, HTTP is a dormant protocol meaning its there when you need it you are not connected like an umbilical cord. iMonkey unfortunately is connected like an umilical cord and if Apple had provided an "OnWokenUp" event I could provide the reconnect. There is no event to notify me the device has "woken back up" for me to reconnect to the server. So I felt the cleanest way was to log you out cleanly on Lock.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11092
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: [SOLVED] App Quits on iPhone Autolock

Postby Melloware » Sun Aug 23, 2009 7:31 am

This has been fixed in version 1.4. It tries to reconnect automatically when waking from sleep.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11092
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA


Return to iMonkey (closed)

Who is online

Users browsing this forum: No registered users and 1 guest

cron