Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-28 Thread TreKing
On Fri, Jun 27, 2014 at 11:39 PM, Spica spicaneb...@gmail.com wrote:

 Any idea why it is not working on all the android devices?


Because you didn't test and account for all android devices.

If you want a better answer than that, you need to provide a better
question than this. For example, explaining what not working or failing
means would help the rest of us who have no idea what you're talking about.

http://www.catb.org/esr/faqs/smart-questions.html

-
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/d/optout.


[android-developers] Android Preview L and splitActionBarWhenNarrow

2014-06-28 Thread Kostya Vasilyev
Did anyone else playing with Preview L notice their 
splitActionBarWhenNarrow application attribute not working, when using the 
Material theme?

I wonder if this is an accidental bug, or a intentional change (given that 
Google's own apps seem to not be using a split action bar these days)?

-- K

-- 
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/d/optout.


Re: [android-developers] Android App Failing When downloaded From Google Play

2014-06-28 Thread Spica
TreKing - i have nerrowed down the problem and its with GPS location. Here 
is the code which is not working:

_locationManager = (LocationManager) 
getSystemService(Context.LOCATION_SERVICE);
Criteria criteria = new Criteria();
_provider = _locationManager.getBestProvider(criteria, false);
_location = _locationManager.getLastKnownLocation(_provider);

Variable _location is set to null when i test on other device than the 
one(galaxy s3) i used to developed the app. My understanding is that above 
code should work on any GPS enabled android device. Any insight why it is 
not working on device other than my development device?

On Saturday, June 28, 2014 10:03:13 AM UTC-4, TreKing wrote:


 On Fri, Jun 27, 2014 at 11:39 PM, Spica spica...@gmail.com javascript: 
 wrote:

 Any idea why it is not working on all the android devices?


 Because you didn't test and account for all android devices.

 If you want a better answer than that, you need to provide a better 
 question than this. For example, explaining what not working or failing 
 means would help the rest of us who have no idea what you're talking about.

 http://www.catb.org/esr/faqs/smart-questions.html


 -
 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/d/optout.


[android-developers] After update to latest build tools 23.0.0: compile problems

2014-06-28 Thread greno
$ make
...

 * [taskdef] Could not load definitions from resource emma_ant.properties. 
It could not be found.*

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 23.0.0
 [checkenv] Installed at /usr/local/android-sdk-linux_x86

-setup:
 [echo] Project Name: .
  [gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
 [echo] Resolving Build Target for 
[gettarget] Project Target:   Android 3.0
[gettarget] API level:11
 [echo] --
 [echo] Creating output directories if needed...

-compile:
[javac] Compiling 41 source files...
*[javac] ManagerProxy.java:3: error: package android.annotation does 
not exist*
[javac] import android.annotation.TargetApi;
[javac]  ^
[javac] ManagerProxy.java:48: error: cannot find symbol
[javac] @TargetApi(11)
[javac]  ^
[javac]   symbol:   class TargetApi
[javac]   location: class ManagerProxy
[javac] 2 errors

BUILD FAILED
/usr/local/android-sdk-linux_x86/tools/ant/build.xml:720: The following 
error occurred while executing this line:
/usr/local/android-sdk-linux_x86/tools/ant/build.xml:734: Compile failed; 
see the compiler error output for details.

Total time: 2 seconds


And I do not see a 
 /usr/local/android-sdk-linux_x86/tools/support/annotations.jar




-- 
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/d/optout.


[android-developers] Re: After update to latest build tools 23.0.0: compile problems

2014-06-28 Thread greno
Ok, it looks like v 23.0.0 is REALLY BROKEN.

https://code.google.com/p/android/issues/detail?id=72419



On Saturday, June 28, 2014 6:21:39 PM UTC-4, greno wrote:

 $ make
 ...

  * [taskdef] Could not load definitions from resource 
 emma_ant.properties. It could not be found.*

 -set-mode-check:

 -set-debug-files:

 -check-env:
  [checkenv] Android SDK Tools Revision 23.0.0
  [checkenv] Installed at /usr/local/android-sdk-linux_x86

 -setup:
  [echo] Project Name: .
   [gettype] Project Type: Android Library

 -set-debug-mode:

 -debug-obfuscation-check:

 -pre-build:

 -build-setup:
 [getbuildtools] Using latest Build Tools: 20.0.0
  [echo] Resolving Build Target for 
 [gettarget] Project Target:   Android 3.0
 [gettarget] API level:11
  [echo] --
  [echo] Creating output directories if needed...

 -compile:
 [javac] Compiling 41 source files...
 *[javac] ManagerProxy.java:3: error: package android.annotation does 
 not exist*
 [javac] import android.annotation.TargetApi;
 [javac]  ^
 [javac] ManagerProxy.java:48: error: cannot find symbol
 [javac] @TargetApi(11)
 [javac]  ^
 [javac]   symbol:   class TargetApi
 [javac]   location: class ManagerProxy
 [javac] 2 errors

 BUILD FAILED
 /usr/local/android-sdk-linux_x86/tools/ant/build.xml:720: The following 
 error occurred while executing this line:
 /usr/local/android-sdk-linux_x86/tools/ant/build.xml:734: Compile failed; 
 see the compiler error output for details.

 Total time: 2 seconds


 And I do not see a 
  /usr/local/android-sdk-linux_x86/tools/support/annotations.jar






-- 
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/d/optout.


[android-developers] Re: After update to latest build tools 23.0.0: compile problems

2014-06-28 Thread greno
Ok, it looks like v 23.0.0 is REALLY BROKEN.

https://code.google.com/p/android/issues/detail?id=72419


-- 
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/d/optout.