[android-developers] Re: How to programmatically create a new VPN interface with Android 4.0?

2013-11-29 Thread 洋李
i have  solve this solution,simple Toyvpn show us basic useage,then we can 
do anything , add OpenVpn   like VpnOneClick soft.

在 2012年7月10日星期二UTC+8下午6时01分36秒,洋李写道:

 I'd like to know whether it's possible to create a VPN interface 
 programmatically with the new VPN APIs in Android 4.0. I've looked through 
 http://developer.android.com/resources/samples/ToyVpn but this is about 
 creating a complete VPN client that handles the connections etc. I only 
 want to add a new VPN configuration and possibly remove existing ones.

 There are lots of questions like this but they all seem to be pre 4.0. I 
 understand that previously this wasn't possible, but one would think that 
 the new VPN APIs provided such functionality. So has anyone found a way to 
 do this, or is it still not possible? If there is a way, please point me to 
 the right direction.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Google banned AdSense account, and will not pay money earned with Paid App

2013-11-29 Thread TreKing
On Fri, Nov 29, 2013 at 12:46 AM, gjs garyjamessi...@gmail.com wrote:

 Yes it definitely was a joke, sorry I should have been a bit more explicit
 it describing it that way ;-)

 And no offence is intended to the op.


I was referring to the OP's statement of expecting someone from Google to
listen ... =P

-
TreKing http://sites.google.com/site/rezmobileapps/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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread TreKing
On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb gottlieb...@gmail.comwrote:

 The windows 7 has worked in the past, but doesn't work now.  The windows 8
 setup hasn't been used for this purpose before.  I have made sure to set
 debug = true in the manifest, and that the phones (a new Sony Xperia, and
 an old Sony-Erickson Xperia) are set to accept apps from non-verified
 sources.  I cannot get either phone to show up as a connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


First guess would be you haven't installed the proper drivers.

-
TreKing http://sites.google.com/site/rezmobileapps/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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] ProgressBar width

2013-11-29 Thread Kristoffer
Hello.

Iam creating a progressbar 
with  style=?android:attr/progressBarStyleHorizontal
and iam also created a textview that iam adding ontop of the progressbar 
to show the actual value.

Iam using relativelayout.

Is it possible somehow to make the width of the progressbar to match the 
textview.
So that the length of the progressbar changes to match the width of the 
textview.

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Google banned AdSense account, and will not pay money earned with Paid App

2013-11-29 Thread Michael Palmer
Google isn't exactly known for having responsive support.

On Thursday, November 28, 2013 4:28:15 PM UTC-5, Paulo Cesar wrote:

 I was expecting for someone inside Google to listen to my rant, and point 
 out at somebody who can solve my problem? 

 I don't like lawyers.. But it seems that I have no other way of dealing 
 with this right? Since Google support is completely ignoring me.. 


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread peter gottlieb
Bad guess.  I clearly stated that the windows 7 setup had already worked
with the Sony Erickson, but now doesn't.  For all PC-phone interactions
(browse files on the phone from the PC, update phone software from the PC,
etc) the connections work perfectly fine.  Only the Eclipse connection from
the PC has the problem.  My only thought is a virus, but I have run Norton,
and everything seems fine.  It could be some new virus that only effects
certain software.   As a last resort I will try to get Norton assistance.


On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb gottlieb...@gmail.comwrote:

 The windows 7 has worked in the past, but doesn't work now.  The windows
 8 setup hasn't been used for this purpose before.  I have made sure to set
 debug = true in the manifest, and that the phones (a new Sony Xperia, and
 an old Sony-Erickson Xperia) are set to accept apps from non-verified
 sources.  I cannot get either phone to show up as a connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread Kristopher Micinski
Can you get any response from ADB?

Kris



On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb gottlieb...@gmail.comwrote:

 Bad guess.  I clearly stated that the windows 7 setup had already worked
 with the Sony Erickson, but now doesn't.  For all PC-phone interactions
 (browse files on the phone from the PC, update phone software from the PC,
 etc) the connections work perfectly fine.  Only the Eclipse connection from
 the PC has the problem.  My only thought is a virus, but I have run Norton,
 and everything seems fine.  It could be some new virus that only effects
 certain software.   As a last resort I will try to get Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

 The windows 7 has worked in the past, but doesn't work now.  The windows
 8 setup hasn't been used for this purpose before.  I have made sure to set
 debug = true in the manifest, and that the phones (a new Sony Xperia, and
 an old Sony-Erickson Xperia) are set to accept apps from non-verified
 sources.  I cannot get either phone to show up as a connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread peter gottlieb
I'm not sure what you mean by a response from ADB.  I can debug from
Eclipse on the virtual device, but Eclipse android plug in won't even
recognize the hardware phone.


On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb gottlieb...@gmail.comwrote:

 Bad guess.  I clearly stated that the windows 7 setup had already worked
 with the Sony Erickson, but now doesn't.  For all PC-phone interactions
 (browse files on the phone from the PC, update phone software from the PC,
 etc) the connections work perfectly fine.  Only the Eclipse connection from
 the PC has the problem.  My only thought is a virus, but I have run Norton,
 and everything seems fine.  It could be some new virus that only effects
 certain software.   As a last resort I will try to get Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

 The windows 7 has worked in the past, but doesn't work now.  The
 windows 8 setup hasn't been used for this purpose before.  I have made sure
 to set debug = true in the manifest, and that the phones (a new Sony
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from
 non-verified sources.  I cannot get either phone to show up as a connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread Kostya Vasilyev
Not in any particular order:

- You need drivers.

Sony Ericsson makes their adb drivers available in the Windows Driver 
Download center (or whatever it's called), but not every manufacturer does 
this. For those, you'll need to either install their own (manufacturer 
specific, and potentially device specific) drivers, or get the generic 
Google's adb driver and hack its UPNP IDs before installing.

- The adb debugging setting should be enabled (checked) on your non-virtual 
devices (system settings - developer options).

- Some manufacturers / devices seem to require an entry in adb_usb.ini, or 
you'll get permission denied.

-  Android 4.2 and higher requires an on-device confirmation before it 
allows adb connections.

- I'd recommend trying to get adb devices to work first, before jumping 
into Eclipse.

-- K

On Friday, November 29, 2013 8:27:44 PM UTC+4, peter gottlieb wrote:

 I'm not sure what you mean by a response from ADB.  I can debug from 
 Eclipse on the virtual device, but Eclipse android plug in won't even 
 recognize the hardware phone.


 On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski 
 krismi...@gmail.comjavascript:
  wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
 gottl...@gmail.comjavascript:
  wrote:

 Bad guess.  I clearly stated that the windows 7 setup had already worked 
 with the Sony Erickson, but now doesn't.  For all PC-phone interactions 
 (browse files on the phone from the PC, update phone software from the PC, 
 etc) the connections work perfectly fine.  Only the Eclipse connection from 
 the PC has the problem.  My only thought is a virus, but I have run Norton, 
 and everything seems fine.  It could be some new virus that only effects 
 certain software.   As a last resort I will try to get Norton assistance. 


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treki...@gmail.comjavascript:
  wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottl...@gmail.comjavascript:
  wrote:

 The windows 7 has worked in the past, but doesn't work now.  The 
 windows 8 setup hasn't been used for this purpose before.  I have made 
 sure 
 to set debug = true in the manifest, and that the phones (a new Sony 
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from 
 non-verified sources.  I cannot get either phone to show up as a 
 connected 
 Android device chooser.


 Does anyone have any idea what could be wrong?  


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 a topic in the 
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 android-developers+unsubscr...@googlegroups.com javascript:.

 For more options, visit https://groups.google.com/groups/opt_out.


  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.comjavascript:
 .
 For more options, visit https://groups.google.com/groups/opt_out.


  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 a topic in the 
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send 

Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread Kristopher Micinski
I mean, if you type in adb devices do you get any output to indicate that
ADB can find your device?

Kris



On Fri, Nov 29, 2013 at 11:27 AM, peter gottlieb gottlieb...@gmail.comwrote:

 I'm not sure what you mean by a response from ADB.  I can debug from
 Eclipse on the virtual device, but Eclipse android plug in won't even
 recognize the hardware phone.


 On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

 Bad guess.  I clearly stated that the windows 7 setup had already worked
 with the Sony Erickson, but now doesn't.  For all PC-phone interactions
 (browse files on the phone from the PC, update phone software from the PC,
 etc) the connections work perfectly fine.  Only the Eclipse connection from
 the PC has the problem.  My only thought is a virus, but I have run Norton,
 and everything seems fine.  It could be some new virus that only effects
 certain software.   As a last resort I will try to get Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb gottlieb...@gmail.com
  wrote:

 The windows 7 has worked in the past, but doesn't work now.  The
 windows 8 setup hasn't been used for this purpose before.  I have made 
 sure
 to set debug = true in the manifest, and that the phones (a new Sony
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from
 non-verified sources.  I cannot get either phone to show up as a connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are 

Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread peter gottlieb
I have tried running adb devices, but the only device listed is the
emulator.  If I close the emulator, I get nothing listed.  I don't think
there are any drivers from Sony that would be specific to Eclipse or adb.
The ordinary windows drivers for the Sony phone are obviously working or I
wouldn't be able to see the phone from PC connect.


On Fri, Nov 29, 2013 at 9:47 AM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 I mean, if you type in adb devices do you get any output to indicate
 that ADB can find your device?

 Kris



 On Fri, Nov 29, 2013 at 11:27 AM, peter gottlieb gottlieb...@gmail.comwrote:

 I'm not sure what you mean by a response from ADB.  I can debug from
 Eclipse on the virtual device, but Eclipse android plug in won't even
 recognize the hardware phone.


 On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

 Bad guess.  I clearly stated that the windows 7 setup had already
 worked with the Sony Erickson, but now doesn't.  For all PC-phone
 interactions (browse files on the phone from the PC, update phone software
 from the PC, etc) the connections work perfectly fine.  Only the Eclipse
 connection from the PC has the problem.  My only thought is a virus, but I
 have run Norton, and everything seems fine.  It could be some new virus
 that only effects certain software.   As a last resort I will try to get
 Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottlieb...@gmail.com wrote:

 The windows 7 has worked in the past, but doesn't work now.  The
 windows 8 setup hasn't been used for this purpose before.  I have made 
 sure
 to set debug = true in the manifest, and that the phones (a new Sony
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from
 non-verified sources.  I cannot get either phone to show up as a 
 connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


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

Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread Kristopher Micinski
I wouldn't say that that's obviously true by any stretch of the
imagination.

I remember having to mess around with the registry on Windows to get
debugging to work, though it's been a while so perhaps I'm off base here.
 Anyway, if adb can't recognize your device then that's your problem.  The
eclipse debugging functionality is just a wrapper through adb anyway (since
adb stands for Android Debug Bridge).  You should get this to work first,
though at this point it sounds like it's somewhat device specific.

Kris



On Fri, Nov 29, 2013 at 2:03 PM, peter gottlieb gottlieb...@gmail.comwrote:

 I have tried running adb devices, but the only device listed is the
 emulator.  If I close the emulator, I get nothing listed.  I don't think
 there are any drivers from Sony that would be specific to Eclipse or adb.
 The ordinary windows drivers for the Sony phone are obviously working or I
 wouldn't be able to see the phone from PC connect.


 On Fri, Nov 29, 2013 at 9:47 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 I mean, if you type in adb devices do you get any output to indicate
 that ADB can find your device?

 Kris



 On Fri, Nov 29, 2013 at 11:27 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

  I'm not sure what you mean by a response from ADB.  I can debug from
 Eclipse on the virtual device, but Eclipse android plug in won't even
 recognize the hardware phone.


 On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb gottlieb...@gmail.com
  wrote:

 Bad guess.  I clearly stated that the windows 7 setup had already
 worked with the Sony Erickson, but now doesn't.  For all PC-phone
 interactions (browse files on the phone from the PC, update phone software
 from the PC, etc) the connections work perfectly fine.  Only the Eclipse
 connection from the PC has the problem.  My only thought is a virus, but I
 have run Norton, and everything seems fine.  It could be some new virus
 that only effects certain software.   As a last resort I will try to get
 Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.com wrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottlieb...@gmail.com wrote:

 The windows 7 has worked in the past, but doesn't work now.  The
 windows 8 setup hasn't been used for this purpose before.  I have made 
 sure
 to set debug = true in the manifest, and that the phones (a new Sony
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from
 non-verified sources.  I cannot get either phone to show up as a 
 connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in
 the Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 a topic in the
 Google Groups Android Developers 

Re: [android-developers] testing app from PC on attached phone

2013-11-29 Thread Steve Gabrilowitz
I had the same problem once, figured it was a driver thing but couldn't
seem to find the right driver.  I had used this program
http://www.wondershare.com/android-manager/ before and remembered that it
loaded some sort of driver so I fired it up and after it did its thing and
found the phone and voila adb magically started working!
On Nov 29, 2013 2:33 PM, Kristopher Micinski krismicin...@gmail.com
wrote:

 I wouldn't say that that's obviously true by any stretch of the
 imagination.

 I remember having to mess around with the registry on Windows to get
 debugging to work, though it's been a while so perhaps I'm off base here.
  Anyway, if adb can't recognize your device then that's your problem.  The
 eclipse debugging functionality is just a wrapper through adb anyway (since
 adb stands for Android Debug Bridge).  You should get this to work first,
 though at this point it sounds like it's somewhat device specific.

 Kris



 On Fri, Nov 29, 2013 at 2:03 PM, peter gottlieb gottlieb...@gmail.comwrote:

 I have tried running adb devices, but the only device listed is the
 emulator.  If I close the emulator, I get nothing listed.  I don't think
 there are any drivers from Sony that would be specific to Eclipse or adb.
 The ordinary windows drivers for the Sony phone are obviously working or I
 wouldn't be able to see the phone from PC connect.


 On Fri, Nov 29, 2013 at 9:47 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 I mean, if you type in adb devices do you get any output to indicate
 that ADB can find your device?

 Kris



 On Fri, Nov 29, 2013 at 11:27 AM, peter gottlieb 
 gottlieb...@gmail.comwrote:

  I'm not sure what you mean by a response from ADB.  I can debug from
 Eclipse on the virtual device, but Eclipse android plug in won't even
 recognize the hardware phone.


 On Fri, Nov 29, 2013 at 8:11 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 Can you get any response from ADB?

 Kris



 On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
 gottlieb...@gmail.com wrote:

 Bad guess.  I clearly stated that the windows 7 setup had already
 worked with the Sony Erickson, but now doesn't.  For all PC-phone
 interactions (browse files on the phone from the PC, update phone 
 software
 from the PC, etc) the connections work perfectly fine.  Only the Eclipse
 connection from the PC has the problem.  My only thought is a virus, but 
 I
 have run Norton, and everything seems fine.  It could be some new virus
 that only effects certain software.   As a last resort I will try to get
 Norton assistance.


 On Fri, Nov 29, 2013 at 1:05 AM, TreKing treking...@gmail.comwrote:


 On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
 gottlieb...@gmail.com wrote:

 The windows 7 has worked in the past, but doesn't work now.  The
 windows 8 setup hasn't been used for this purpose before.  I have made 
 sure
 to set debug = true in the manifest, and that the phones (a new Sony
 Xperia, and an old Sony-Erickson Xperia) are set to accept apps from
 non-verified sources.  I cannot get either phone to show up as a 
 connected
 Android device chooser.


 Does anyone have any idea what could be wrong?


 First guess would be you haven't installed the proper drivers.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 a topic in
 the Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/ESKcfB1nTiU/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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 unsubscribe from this group and stop receiving emails from it,
 send an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the 

Re: [android-developers] ProgressBar width

2013-11-29 Thread TreKing
On Fri, Nov 29, 2013 at 4:56 AM, Kristoffer kris.isak.v...@gmail.comwrote:

 Iam using relativelayout.

 Is it possible somehow to make the width of the progressbar to match the
 textview.
 So that the length of the progressbar changes to match the width of the
 textview.


Try setting progress bar to alignLeft and alignRight relative to the
TextView.

-
TreKing http://sites.google.com/site/rezmobileapps/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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] ProgressBar width

2013-11-29 Thread Kristoffer
Hello.
That worked.
Thanks for that great answer.

Den fredagen den 29:e november 2013 kl. 23:43:24 UTC+1 skrev TreKing:


 On Fri, Nov 29, 2013 at 4:56 AM, Kristoffer kris.is...@gmail.comjavascript:
  wrote:

 Iam using relativelayout.

 Is it possible somehow to make the width of the progressbar to match the 
 textview.
 So that the length of the progressbar changes to match the width of the 
 textview.


 Try setting progress bar to alignLeft and alignRight relative to the 
 TextView.


 -
 TreKing http://sites.google.com/site/rezmobileapps/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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] testing

2013-11-29 Thread cgttester gold


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.