iPhone: When should the network activity indicator be used
Asked Answered
I

7

5

I have just started including networking functionality into my apps. I know that you should use the network activity indicator when the user is actively waiting for something, but what about if it was just a subtle background communication with the server (in my case, just to update a value) - is it still good practice to let the user know that your app is connecting to the internet?

This is something I find interesting about the iOS platform - that it lets its developers tell the users whether or not the internet is being used.

UPDATE: In this specific case I'm downloading a text file which is 4 chars long!!

Interlingua answered 17/8, 2011 at 10:47 Comment(3)
I don't find it interesting :) I dont want my app to send data to internet without my knowledge.Coppice
not send - pull from the internetInterlingua
Ah.. ok :) sorry. Not an iphone user.Coppice
C
3

Apple's own iWork apps don't use the network activity indicator, even though they are constantly uploading the changes to the server.

I think that if the user is clearly aware that the app accesses the internet (i.e. they explicitly allowed it), there is no need to show the indicator for every small network operation. It is intended for indicating that a larger amount (>100kb) of data is being uploaded/downloaded, and keeping the user informed, that the app is still working.

If you just think of iCloud as an example, I think it would be very annoying to continuously see the network activity indicator spinning.

Coenurus answered 17/8, 2011 at 11:11 Comment(0)
M
8

As usual a look into the HIG and the documentation is useful.

This is what apple says about the network activity indicator.

Guidelines

Display the network activity indicator to provide feedback when your application accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator would be likely to disappear before users notice its presence.

Millerite answered 17/8, 2011 at 10:58 Comment(0)
C
3

Apple's own iWork apps don't use the network activity indicator, even though they are constantly uploading the changes to the server.

I think that if the user is clearly aware that the app accesses the internet (i.e. they explicitly allowed it), there is no need to show the indicator for every small network operation. It is intended for indicating that a larger amount (>100kb) of data is being uploaded/downloaded, and keeping the user informed, that the app is still working.

If you just think of iCloud as an example, I think it would be very annoying to continuously see the network activity indicator spinning.

Coenurus answered 17/8, 2011 at 11:11 Comment(0)
O
2

It is obviously good practice to let the user know when they are using the internet as such activities involve the use of money. Its more of an ethics thing than convention.

Openminded answered 17/8, 2011 at 10:53 Comment(1)
exactly - that's why I was surprised that the iOS didn't automatically do thisInterlingua
S
1

You should always let the user know if anything is going on.

Just for the sake of letting the waiting time appear shorter than it actually is.

And it just looks nice.

Screen answered 17/8, 2011 at 10:50 Comment(2)
in this case there is no waiting time because the idea is it gets updated without the user even noticingInterlingua
Don't count the ideal, assume the worst - time out - User won't know the operation is still happening and think everything went well when suddenly after X seconds theres an error. User should know that during this entire time the app was still trying/doing network communication, so when the error will come he will understand the course of the situation. When everything is well - user will see the indicator for extremely short amount of time - Letting him know that something happened, and now its done and completed.Deryl
S
0

You should always show the network activity indicator whenever the internet is been accessed. Your app's users should always be indicated if the app is currently using their internet connection. Man! Don't cheat your beloved customers. Its a sin. May God bless you! ;-)

Stoddart answered 17/8, 2011 at 10:56 Comment(0)
A
0

The HIGs state the following:

When appropriate, display the network activity indicator. The network activity indicator can appear in the status bar to show users that lengthy network access is occurring. To learn how to implement this indicator in your code, see “Network Activity Indicator.”

And

Display the network activity indicator to provide feedback when your application accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator would be likely to disappear before users notice its presence.

I would probably not show the activity indicator, because it is no "lengthy" network access.

Apple Documentation

Adne answered 17/8, 2011 at 10:59 Comment(0)
S
0

I would always show the user the internet or connection activity. As stated before you have to keep in mind that data plans do cost money. And have a connection means consuming exactly that money. The activity symbol is no big deal and it even does not disturb the interaction of the app. So there is no reason why NOT to use the activity indicator.

Shluh answered 17/8, 2011 at 11:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.