Russell Cecala | 30 Jan 08:38 2015
Picon

What is the max number of apps?

What is the maximum number of apps one can have in google play? 

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Russell Cecala | 29 Jan 18:48 2015
Picon

Why doesn't my "test account" work?

I went to the Google Play Developer console and clicked on the "settings" gear icon.
I enter in the email I have my android phone logged with in the "Gmail accounts with testing access" field.  Then on my phone I open the play store app and try to install one of my apps that cost "$0.99".  I was expecting that I would not have to actually pay for my own app, but google play still charges $0.99 to my credit card to install my app.  I guess I do not understand what the testing access means or how to use it.  Can anyone help me enlighten me?

Thanks
Red

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tony Pitman | 28 Jan 17:53 2015

Bluetooth Low Energy support on lollipop and previous

I have an app that currently supports bluetooth low energy on pre-lollipop. I am using things like startLeScan to do the central role.

I noticed that Lollipop introduces new apis and that the old ones are deprecated.

I am having one problem in particular that may be related. When I call startLeScan with no UUIDs it finds my devices. If I pass in the UUID of the same device that it found it doesn't work.

This works fine on a pre-lollipop device.

Could this be that the api is deprecated and I need to use the new startScan on lollipop? If that is the case how do I do this in the same application?

When I browse to the documentation on the web site for startScan it warns me that it is only available in SDK 21. Does this mean if I use it then my app won't work on pre- SDK 21 devices or does the sdk take care of that for me?

Sorry to seem like a noob, but this is the first time I have encountered something like this.

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Stefan Alder | 28 Jan 08:49 2015
Picon

Get log/console output without root access

I need to get logcat output from our app is which appears to be crashing on load for a beta tester.  I have not been able to replicate the issue myself.

Is there an easy way a beta tester (who is not a developer and doesn't have adb) to capture logcat output?


--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C.R. | 27 Jan 16:04 2015
Picon

Why is Google denying my app? Copyright, trademark perhaps?

I run a website called "What's After The Credits?" at AfterCredits.com; which has been around for about six years now.  I've been working with a developer to create a simple app to go along with my site.  This is something that I've been working on for nearly 3 years, but finally found someone who would be willing to work sort of pro-bono, meaning I won't get the ad revenue from the app, but the app links to my site.  Also about 85-90% of my visitors come via mobile devices.

So, he made the app and submitted it to Google but they first removed it because  "Intellectual property and impersonation or deceptive behavior".  So I wrote up a letter on company letterhead stating that I was working with the developer and that I give him full permission to use my "intellectual property" and link to my site for the purposes of this app.  But then Google just got back to him stating:
"Hi,

Thank you for reaching out to the Google Play team.

After further review, we are unable to reinstate your application. You can find out more information under Reason for Removal in the initial removal notification from Google Play. If your account is still in good standing and the nature of your app allows for republishing, you may consider releasing a new, policy compliant version of your app to Google Play under a new package name.

If you do choose to re-publish a new, policy-compliant version of your app, please make sure to review the Content Policy and visit the Policy Help Center for additional guidance to ensure your next app is compliant with the policy.

Due to the volume of appeals, we will be unable to respond to follow-up queries where we have no new information to share.


Regards,
The Google Play Team"

So, what's going on here?  Can anyone clarify why Google keeps denying this app?  I give him full permission to use my site and it's property, why do they keep denying it?  Oh, and the app is called "After Credits" since that's what I use everywhere on social media as well as being the URL of my site (e.g. aftercredits.com, facebook.com/aftercredits, twitter.com/aftercredits, etc.).  

Thanks in advance for any help and/or suggestions with this issue.

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Abhi | 27 Jan 12:19 2015
Picon

How to access Camera stream inside Webview

I want to access phone camera stream inside webview.
I have HTML pages which are working absolutely fine on Chrome for android

I want the same features inside webview now.

Right now I see dark thumbnail only and no camera permission alert is getting invoked.
On browser as soon as I open the page, I am asked for Audio,Camera Permission and once approved
I am able to see my camera stream inside <video> tag

This is not happening in webview.

Please check my stackoverflow question for the same

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
BArtWell | 25 Jan 12:59 2015
Picon

How to setup widget size correctly?

I need to make a widget with size 4x1 cells. Here is my code:

<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"




   
android:minWidth="250dp"

   
android:minHeight="40dip"

   
android:updatePeriodMillis="0"

   
android:initialLayout=" <at> layout/widget"

   
android:configure="ru.bartwell.myapp.WidgetActivity" />


I test it on two virtual devices in Genymotion:

  1. Google Nexus 7, 800x1280, Android 4.4.4
  2. Samsung Galaxy S5, 1080x1920, Android 4.4.4

And I get different results:

When android:minWidth="250dp" and android:minHeight="40dip" (new formula):

  1. Google Nexus 7 - 3x1 cells
  2. Samsung Galaxy S5 - 4x1

When android:minWidth="292dp" and android:minHeight="70dip" (old formula):

  1. Google Nexus 7 - 4x1
  2. Samsung Galaxy S5 - 4x2

As I see widget size depends of screen resolution. But I just need to get 4x1 widget's size on all devices. How to correctly setup widget size?

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
pdm-tex | 23 Jan 21:13 2015
Picon

Library Project No Class Def Error (Eclipse)

I have an Android library project that is giving me a problem. To test it I have a client application.  If I add the library project in the Android settings my client application runs fine.  To test the library I remove the setting for the library in the Android properties page. If I take the jar file that is created in the library's bin directory and add it to the clients lib directory. I would think it would run.  Instead, I am getting a NoClassDefFoundError.
The client is able to instantiate one class from the library.  The called method inside the library is where the No Class Def shows up.

I have to disclose that this was working and I had been able to even use obfuscated versions of my library.  I cannot imagine what I might have changed, but if you know of any subtle path setting or something please let me know.  I am attaching a stack trace.  the library classes are all in com.dsi.client.lib, the test is com.dsi.winwardsample.

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
01-23 14:42:07.381: E/AndroidRuntime(21462): FATAL EXCEPTION: Librarian
01-23 14:42:07.381: E/AndroidRuntime(21462): java.lang.RuntimeException: An error occured while
executing doInBackground()
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at android.os.AsyncTask$3.done(AsyncTask.java:299)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.FutureTask.run(FutureTask.java:239)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.lang.Thread.run(Thread.java:856)
01-23 14:42:07.381: E/AndroidRuntime(21462): Caused by: java.lang.NoClassDefFoundError: com.dsi.client.lib.UniMagII
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at com.dsi.client.lib.ClientActivity.processTransaction(ClientActivity.java:139)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at com.dsi.winwardsample.WWActivity$Librarian.doInBackground(WWActivity.java:71)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at com.dsi.winwardsample.WWActivity$Librarian.doInBackground(WWActivity.java:1)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-23 14:42:07.381: E/AndroidRuntime(21462): 	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
Nobu Games | 23 Jan 19:07 2015
Picon

Reusable code organization with Android Studio

I've been pulling out my hair over this in the past two days and searched the Internet for best practices when it comes to organizing reusable code in an Android Studio project. Coming from an Eclipse development background it's not really all that intuitive to understand. This post is a bit longer, so bear with me.

TL;DR: What's your best practice when it comes to module organization and version control?

The way I organized code so far using Eclipse for development and Apache Ant for building projects allowed me to easily keep the app project separate from its library projects. They could reside in different directories that belong to different version control system repositories. Now with Android Studio and my limited understanding of Gradle and the new build process I am basically forced to have all so-called library "modules" arranged as sub-directories of the main app project directory. In terms of code organization I have the following options:
  • I use only a single massive repository that is basically an Android Studio project that hosts all my Android app modules and custom library modules
    • This is not going to happen
  • I keep app projects in separate repositories and I import my custom library modules
  • I keep app projects in separate repositories and check out my library modules from a separate repository as a Git submodule
    • I cannot cherry-pick the needed library modules from the Git repository. Git submodule checks out the whole library repository
    • It does not play nicely with that one level deep project/module directory structure for Android Studio projects
  • I set up a Maven repository for my library modules and add the needed modules as dependencies to my app project
    • Very elegant, but...
    • Every single tiny change in my library code requires rebuilding and deploying the module.
    • I also fear that I need to increase the version code / build number every single time so the local Maven cache gets updated? I have no experience with this. :-/

Here is what I am currently doing and I'm not sure if it's good enough or can be considered a best practice:

This is my directory structure for app projects:

\ projects
   
\ my-android-libs   (checked out from library modules repository)
       
\ module-1
       
\ module-2
       
\ ...
   
\ App-1             (checked out from App-1 repository)
       
\ app
       
\ ...
   
\ App-2             (checked out from App-2 repository)
       
\ app
       
\ ...

As suggested in this post, in any of those app projects I need to alter the settings.gradle file and add the desired module dependency like this:

include ':app'
include
':module-1'

project
(':module-1').projectDir = new File(settingsDir, '../my-android-libs/module-1)

Then I also need to add to the app module's build.gradle file a "compile project" statement to the dependencies list:

dependencies {
    compile fileTree
(include: ['*.jar'], dir: 'libs')
    compile
'com.android.support:appcompat-v7:21.0.3'
    compile project
(':module-1')
}

This workaround works so far and right now it's the "lesser evil" for me. However, I'm still totally new to Android Studio, Gradle and Maven and I'd like to hear if you guys know some best practices when it comes to module organization, project setup and version control. I'm especially interested if anyone of you goes with the private Maven repository solution and how that works for 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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Joe Seeley | 23 Jan 05:06 2015
Picon

Android UI Design resources?

I'm easily able to find programming resources for Android, but not so much on UI design.  I have looked through most of the official Google stuff http://developer.android.com/guide/topics/ui/index.html, but haven't seen much beyond that.

Are there any really good books or blogs in this area?  I would really like something that uses a good design by example and gets into more advanced UI development; advanced list views, composing fragments, etc... into a well polished design.

--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Kevin Kowalewski | 22 Jan 14:52 2015
Picon

Lollipop has problems and here's why

http://www.computerworld.com/article/2871662/broken-lollipop-android-50.html


--
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 <at> googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gmane