[android-developers] Internet for the App

2011-03-22 Thread Christopher Marchfelder
Hello Folks,

I hope you can help me with a special problem I have. The android app
I am developing requires the internet for every activity (data will be
submitted to the server). My question is: how can I get notified
when the connection breaks down/gets up again? Is there any good
solution?

Thank you.

-- 
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: Internet for the App

2011-03-22 Thread Christopher Marchfelder
Thank you very much :)

On 22 Mrz., 15:18, Kostya Vasilyev kmans...@gmail.com wrote:
 Chris,

 Look up ConnectivityManager, it broadcasts events when this happens.

 And the good old IOException is of course there as well :)

 -- Kostya

 22.03.2011 17:01, Christopher Marchfelder пишет:

  Hello Folks,

  I hope you can help me with a special problem I have. The android app
  I am developing requires the internet for every activity (data will be
  submitted to the server). My question is: how can I get notified
  when the connection breaks down/gets up again? Is there any good
  solution?

  Thank you.

 --
 Kostya Vasilyev --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 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] Creating XML Config

2011-03-09 Thread Christopher Marchfelder
Hello Folks,

I am  a total newbie to Android so I ask this (maybe rather dumb)
question - I want to create a config for my android app. This config
can only be changed by a developer who has the source code and shall
keep some things a bit flexible, e.g. like URL to a server to connect
to etc.

Is there a simple way in android to do so? And how would I access this
config?

Thank you very much

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


Re: [android-developers] Creating XML Config

2011-03-09 Thread Christopher Marchfelder
Thank you! :)

2011/3/10 TreKing treking...@gmail.com:
 On Wed, Mar 9, 2011 at 1:59 AM, Christopher Marchfelder
 marchfel...@googlemail.com wrote:

 Is there a simple way in android to do so? And how would I access
 this config?

 http://developer.android.com/reference/android/content/res/Resources.html#getXml(int)
 Where ID refers to something in the res/xml folder.

 -
 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

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