NewToAndroid | 2 Jul 01:12 2015
Picon

How to auto-update next version of App on all previous installations?

Hi All,

I have an App published on play store. Recently, I have put the next version of the App.
But, the next version is not installed (i.e. upgraded) on previous installations automatically.
How can I make the App auto update?
Also, is it a valid expectation that the App should auto-update itself, when next version is available ?
Please help.

Thanks in advance

--
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.
Fla | 1 Jul 12:55 2015
Picon

Android Wear apps and multiple APKs compatibility

Hello,

I would like to distribute different apks of my wear app for different wear devices. 

It is possible to do that with regular applications (http://developer.android.com/google/play/publishing/multiple-apks.html)

But since Wear apps are packaged into regular mobile apps, these rules do not apply. Same with the developer console Supported devices list.

What are the alternatives ? Will this change in the future ? Can a mobile app contains different wear apks and install only the appropriate ones ?

Thanks

Fla

--
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.
kkrish121@gmail.com | 26 Jun 07:44 2015
Picon

Call recording is not working on Kitkat (Nexus 5)

Hi All,
I was able to record the incoming call on Kitkat with the help of following code but the same code is not working for Lollipop version.
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
Can you please help me to find out the reason?
Thanks
Jitendra


--
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.
Saurav | 23 Jun 09:36 2015
Picon

Control Android Wear Vibrations

Hey All,

It has been wrong and I have made a point to work everyday for a small amount of time on something I love, Android.

Could someone please point me to APIs or materials that would help me CONTROL the vibration on my Android Wear.

Thanks in advance!

Regards,
Saurav Mukherjee

--
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.
jb | 23 Jun 00:29 2015
Picon

How to recompile -Xlint:depreciation in Android Studio?

Hi,

I recently moved my android project from IntelliJ to Android Studio.
When I build my project I get the following:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

I tried to set -Xlint:deprecation in Preferences->Compiler->VM Options. I get a Gradle failed to complete error message
I tried to set -Xlint:deprecation in Preferences->Gradle->Gradle VM Options. I get a Gradle failed to complete error message

How can I set -Xlint:deprecation and -Xlint:unchecked in Android Studio?

I'm running Android Studio 1.2.2 on OSX 10.10.3

TIA

jb

--
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.
NewToAndroid | 20 Jun 14:00 2015
Picon

Problem when publishing next version of my App

Hi All,

I have a small app already live on Play Store. As I was new to Android, I totally forgot to mention any version on the manifest file. There was no versionCode or versionName in the first version of apk, which is live now.
However, it is shown as version 1 in the developer console.

Now I want to submit the upgrade i.e. next version.

I have added following lines to the manifest file

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mobile.mypackagename"
    android:versionCode="2"
    android:versionName="2.0"
    >

Generated the release apk. Then I tried to upload the new apk file by clicking on "Upload new apk to Production".
But, I am getting error, "Upload failed. You need to use a different version code for your APK because you already have one with version code 1."

What is the problem here ?

Thanks in advance

--
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.
Jefferson Delgado P. | 18 Jun 12:49 2015
Picon

Pintar mapa al vuelo

Buenos días,

Llevo ya un par de días peleándome e intentando mostrar un mapa de google al vuelo, es decir, en base a lo que me venga del servidor, tengo que pintar un mapa, un select o lo que toque, y con el mapa no lo he conseguido. He estado mirando varias opciones y la que he visto más factible, ha sido la siguiente:

 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,
 
LayoutParams.WRAP_CONTENT);
 
LinearLayout B = new LinearLayout(mContext);
 B
.setOrientation(LinearLayout.VERTICAL);


 
GoogleMapOptions options = new GoogleMapOptions();
 options
.camera(new CameraPosition(new LatLng(0, 0), 1, 0, 0));
 
MapView mMapFragment = new MapView(mContext, options);
 
params = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 200);
 mMapFragment
.setLayoutParams(params);
 
 B
.addView(mMapFragment);


He probado con distintas variantes y no consigo que el mapa se vea, ni en gris, ni amago ni nada de nada, aunque eso si, el espacio de 200px me lo respeta y se ve un gran cuadro en blanco.

Lo intenté con un SupportMapFragment en lugar de MapView pero nunca llegué a poder siquiera ejecutarlo.

Si alguno me puede arrojar algo de luz, se lo agradecería.

Muchas gracias.


Un saludo

--
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.
Jags | 18 Jun 11:19 2015
Picon

wakeup my app from bluetooth

my current application is about reading data from a bluetooth device. when my application is in background, my application wakes up and receives data properly. But when the application is stopped by me from list of background apps, or the app has not run at all, the application does not wake up.

Request experts to guide me to a solution approach. I want my application to wake up from stopped state when bluetooth pair happens or data is pushed from bluetooth.

thanks and regards
jags

--
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.
Farproc | 18 Jun 01:37 2015
Picon

"Error inflating class com.android.internal.widget.ActionBarContainer" on some Sony devices.

Hi,

I've got a lot of error reports from Sony devices with Android 5.0.2 in the past few weeks. It seems that  a ArrayIndexOutOfBoundsException occurs when inflating ActionBarContainer. ActionBarContainer is an internal class, never used directly in my code.  The only line of my code in the stack trace is a call to Activity.setContentView(). Any ideas? Thanks.

----------------------------------------------------------------------------------------------------

The list of Build.FINGERPRINT of these devices includes:

Sony/C6802/C6802:5.0.2/14.5.A.0.270/3305956307:user/release-keys
Sony/C6833/C6833:5.0.2/14.5.A.0.270/3305956307:user/release-keys
Sony/C6902/C6902:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/C6903/C6903:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/C6943/C6943:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/D5503/D5503:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/D5803/D5803:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6503/D6503:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6603/D6603:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6616/D6616:5.0.2/23.1.C.0.385/498118161:user/release-keys
Sony/D6633/D6633:5.0.2/23.1.1.E.0.1/937646546:user/release-keys
Sony/D6653/D6653:5.0.2/23.1.A.1.28/151083418:user/release-keys

----------------------------------------------------------------------------------------------------

The stack trace:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.app/com.my.app.MainActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.internal.widget.ActionBarContainer
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2345)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
at android.app.ActivityThread.access$800(ActivityThread.java:149)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5317)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.internal.widget.ActionBarContainer
at android.view.LayoutInflater.createView(LayoutInflater.java:633)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3500)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3572)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:371)
at android.app.Activity.setContentView(Activity.java:2144)
at com.my.app.MainActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:5933)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
... 23 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=7; index=7
at android.content.res.Resources.toPreloadCookie(Resources.java:2447)
at android.content.res.Resources.loadDrawable(Resources.java:2475)
at android.content.res.TypedArray.getDrawable(TypedArray.java:749)
at android.view.View.<init>(View.java:3806)
at android.view.ViewGroup.<init>(ViewGroup.java:492)
at android.widget.FrameLayout.<init>(FrameLayout.java:115)
at android.widget.FrameLayout.<init>(FrameLayout.java:111)
at android.widget.FrameLayout.<init>(FrameLayout.java:107)
at com.android.internal.widget.ActionBarContainer.<init>(ActionBarContainer.java:57)
... 26 more

--
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.
张张斌 | 17 Jun 06:21 2015
Picon

[android-developers] Hi!I want to ask a question about payments from Google

I want to launch  apps to PLAY,of course not free.I just want to know,does the payments be pushed to my Credit Card as soon as the transaction happens or at a regular time of a month/day?
Or pushed into my Google Wallet I can handle it all by myself?
It is important to me, because of the awkward country I am living in.


Thank you!

Best Regards

kimichang

--
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.
张张斌 | 17 Jun 06:04 2015
Picon

Hi Gays! I have a question that want to ask you about the payment from Google.

I want to launch  apps to PLAY,of course not free.I just want to know,does the payment be pushed to my Credit Card as soon as the transaction happens or at a regular time of a month/day?
It is important to me, because of the awkward country I am living in.


Thank you!

Best Regards

kimichang

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