A group of alumni, highly established in their careers, got together to visit their old university lecturer. Conversation soon turned into complaints about stress in work and life.
Offering his guests coffee, the lecturer went to the kitchen and returned with a large pot of coffee and an assortment of cups: porcelain, plastic, glass, some plain-looking and some expensive and exquisite, telling them to help themselves to hot coffee. When all the students had a cup of coffee in hand, the lecturer said: “If you noticed, all the nice-looking, expensive cups were taken up, leaving behind the plain and cheap ones. While it is but normal for you to want only the best for yourselves, that is the source of your problems and stress. What all of you really wanted was coffee, not the cup, but you consciously went for the better cups and are eyeing each other’s cups.” “Now, if Life is coffee, then the jobs, money and position in society are the cups. They are just tools to hold and contain Life, but the quality of Life doesn’t change.” “Sometimes, by concentrating only on the cup, we fail to enjoy the coffee in it.” So folks, don’t let the cups drive you… enjoy the coffee instead On Mon, Oct 18, 2010 at 4:35 PM, Kostya Vasilyev <[email protected]> wrote: > 18.10.2010 4:54, perumal316 пишет: > > Hi Kostya, >> >> Yes, I am referring to WiFi as the particular network. But, >> >> " You can monitor WiFi state, and just not do any networking while >> it's not active..." >> > > You can monitor WiFi state using Broadcast Actions defined here: > > http://developer.android.com/reference/android/net/wifi/WifiManager.html > > or here: > > http://developer.android.com/reference/android/net/ConnectivityManager.html > > -I don't understand how to do this. Through an app? You can monitor >> the WiFi state, but how to not do any networking? >> > > Um, now it's my turn to not understand. > > If this is your own application, you can tell it what to do (and not do), > right? > > -- Kostya > > > Regards, >> Perumal >> >> >> On Oct 18, 3:16 am, Kostya Vasilyev<[email protected]> wrote: >> >>> If by "particular network" you mean WiFi vs. cellular, then yes. >>> >>> You can monitor WiFi state, and just not do any networking while it's >>> not active... >>> >>> Notifying the user that your app is doing this might be a good idea, too >>> - so he can take the phone in hand and run towards the nearest WiFi >>> hotspot. >>> >>> -- Kostya >>> >>> 17.10.2010 17:36, perumal316 пишет: >>> >>> >>> >>> >>> >>> I am just wondering. Is it possible to make all data connection to a >>>> particular network only? >>>> Meaning even if 3G will be available it will only connect to a >>>> particular network for all data related processing. >>>> Regards, >>>> Perumal >>>> On Oct 15, 9:34 pm, Jens<[email protected]> wrote: >>>> >>>>> Afaik - Android 2.1 has a bug related to hipri data, it *only* works >>>>> for Android 2.2 and later. That said, your probably better off asking >>>>> the user to turn of WiFi before using your app - or restrict it to sdk >>>>> level 8 and higher. >>>>> On 11 Okt, 17:38, Steven PERRAUDIN<[email protected]> wrote: >>>>> >>>>>> On 31 août, 13:36, Jens<[email protected]> wrote:> With >>>>>> Android 2.2 you can route data over the 3G connection explicitly >>>>>> >>>>>>> while still using WiFi. The feature exists in Android 2.1 also but is >>>>>>> *broken* as the high-priority 3G data connection is torn down >>>>>>> incorrectly almost directly. >>>>>>> >>>>>> How do you get 3G and WiFi connected at the same time ? >>>>>> So is this possible in Android 2.1 to route either to 3G or WiFi ? >>>>>> If both interfaces are connected to a separate network, a simple >>>>>> change of routing table would allow to choose the interface to send/ >>>>>> receive data no ? Or is there a simpler way to achieve this. >>>>>> >>>>> -- >>> Kostya Vasilyev -- WiFi Manager + pretty widget -- >>> http://kmansoft.wordpress.com- Hide quoted text - >>> >>> - Show quoted text - >>> >> > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Julie http://tradinglogically.blogspot.com <http://tradinglogically.blogspot.com> http://vikitionary.blogspot.com http://gandhi-the-man-of-millenium.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

