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

2013-12-02 Thread peter gottlieb
That took care of it.  Thanks very much.


On Mon, Dec 2, 2013 at 8:49 AM, Justin Anderson wrote:

> What version of Android is the new Experia running?  On newer versions the
> developer options are hidden by default... You need to enable them by going
> to "Settings > About Phone/Tablet/Device" and then tapping on the "Build
> number" setting several times... You should get toast notifications telling
> you when you have enabled the developer features.
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Sat, Nov 30, 2013 at 9:04 PM, peter gottlieb wrote:
>
>> I finally got the adb to recognize my old Experia, after I made sure the
>> USB debugging was turned on.  The new Experia doesn't seem to have that
>> option available or any other Development options.  I will have to talk to
>> Sony support about that.
>>
>>
>> On Fri, Nov 29, 2013 at 9:46 AM, Kostya Vasilyev wrote:
>>
>>> 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.com> wrote:
>>>>
>>>>> Can you get any response from ADB?
>>>>>
>>>>> Kris
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
>>>>> 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  wrote:
>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb >>>>>> > 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?
>>>>>>>>
>>>>>>&g

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

2013-11-30 Thread peter gottlieb
I finally got the adb to recognize my old Experia, after I made sure the
USB debugging was turned on.  The new Experia doesn't seem to have that
option available or any other Development options.  I will have to talk to
Sony support about that.


On Fri, Nov 29, 2013 at 9:46 AM, Kostya Vasilyev  wrote:

> 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 > > wrote:
>>
>>> Can you get any response from ADB?
>>>
>>> Kris
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 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  wrote:
>>>>
>>>>>
>>>>> On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
>>>>> 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.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, sen

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  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 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 <
>> krismicin...@gmail.com> wrote:
>>
>>> Can you get any response from ADB?
>>>
>>> Kris
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 
>>> 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  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.c

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

> Can you get any response from ADB?
>
> Kris
>
>
>
> On Fri, Nov 29, 2013 at 10:52 AM, peter gottlieb 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  wrote:
>>
>>>
>>> On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 
>>> 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.


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

>
> On Fri, Nov 29, 2013 at 12:45 AM, peter gottlieb 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.


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

2013-11-28 Thread peter gottlieb
The common practice is to test an app on an emulator (such as what one gets 
from the Eclipse ADT plug-in) and then on an attached phone.  I have 9 apps 
on Google Play that were developed in this manner.  Now I can no longer get 
the Eclipse environment to recognize the attached phone.  I have had this 
problem in the past it always worked after a few tries (perhaps after 
re-booting the PC, or re-instantiating Eclipse).  I have tried on 2 
systems:   

Indigo Service Release running on Windows 7

Android developer tools Build: v22.3.0-887826 running on Windows 8.


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?   


   

-- 
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] instantiation of main activity

2012-07-27 Thread peter gottlieb
I have gone through several stages in the development of an app, compiling 
and executing just fine.  After my latest increment of code the app builds 
fine, but crashes with the following message in the Log:

unable to instantiate ActivityComponentinfo {}: 
java.lang.NullPointerException.

My conclusion is that all of a sudden the Android system code is crashing 
before even getting to any of my code, which is also supported by the  
fact  that if  I comment out all of my app-specific code in the onCreate 
function, I still get the crash.  However, testing several of my other apps 
shows them building and executing just fine.

Please help.

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