[android-developers] How to auto-update next version of App on all previous installations?

2015-07-01 Thread NewToAndroid
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

Re: [android-developers] Problem when publishing next version of my App

2015-06-25 Thread NewToAndroid
. If you open up the build.gradle file for your module in the defaultConfig block there will be two lines: versionCode 1 versionName 1.0 Change these to: versionCode 2 versionName 2.0 and that should do the trick. On 20 June 2015 at 13:00, NewToAndroid rahul...@gmail.com javascript

[android-developers] Problem when publishing next version of my App

2015-06-20 Thread NewToAndroid
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

[android-developers] Notification not working in Android 5.1

2015-06-01 Thread NewToAndroid
Hi All, I have an app which displays a notification from a service (and the service shows notification icon etc etc). The notification works fine till Android 4.3, I think it also works on 4.4 (not 100% sure). But it definitely does not work with 5.1. This is the code I have at the moment

[android-developers] apk name for Google play

2015-05-01 Thread NewToAndroid
Hi all, I want to publish my app on Google play. When I create the signed apk (with Android Studio), it creates the file with name apk-release.apk. It does not look appropriate to me to upload apk file with that name on Google play. Is it ok if I just rename the apk file before upload ? Does it

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-21 Thread NewToAndroid
Thanks for the guidance. I will go for the broadcast-receiver mechanism, that is technically better. I will stop the service when we loose internet connection and start it when internet is back on -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread NewToAndroid
Hi all, I have a very simple app, which has 1 screen with few buttons. It will start a service which will pay music using mediaplayer. Now, sometimes if I go in no internet coverage area or move between 3g and wifi, the player stops and service completes (does its onDestroy). I am thinking of

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread NewToAndroid
NewToAndroid rahul...@gmail.com javascript: wrote: Hi all, I have a very simple app, which has 1 screen with few buttons. It will start a service which will pay music using mediaplayer. Now, sometimes if I go in no internet coverage area or move between 3g and wifi, the player stops and service

[android-developers] Service dies when no internet connectivity

2015-04-13 Thread NewToAndroid
Hi all, I have developed an app which steams music live in a service. The service is started with an intent from the activity. It works fine. Basically, I am using media player object, which plays music in the service (which I started with intent). But when I was driving thru some remote hilly

[android-developers] Which layout(s) can help me ?

2015-04-05 Thread NewToAndroid
HI All, I am developing a most simple looking app. But being new to Android struggling with a (probably) minor issue. On my front screen there is an image (kind of logo) at the top and centre, which is a typical rectangular image. This might take top 25% or 30% of the screen of a typical

[android-developers] Re: Is it internet connection issue ?

2015-03-25 Thread NewToAndroid
Its me again. It was my own silly mistake that was causing me grief which I put in the post here. I had the permissions mentioed inside the application tag, it should be outside that tag. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Is it internet connection issue ?

2015-03-23 Thread NewToAndroid
Hi all, I am developing a live audio streaming app on Android Studio 1.0.1 and testing it on Samsung Galaxy s3 phone (not on emulator). First I was getting IOException when i was doing setDataSource on media player object when using http:// url. I have set the INTERNET permission in manifest,

[android-developers] Re: Is it internet connection issue ?

2015-03-23 Thread NewToAndroid
setting in studio so that, the apk file will pick up the permission information ?? Please help. On Monday, March 23, 2015 at 4:03:38 PM UTC, NewToAndroid wrote: Hi all, I am developing a live audio streaming app on Android Studio 1.0.1 and testing it on Samsung Galaxy s3 phone

[android-developers] Re: Getting FileNotFound exception when URL is valid

2015-03-17 Thread NewToAndroid
wrote: Hi. Did you set android.permission.INTERNET permission? Regards, Alex On Monday, March 16, 2015 at 1:53:13 AM UTC+1, NewToAndroid wrote: I tried that and now it is giving different error 03-16 00:25:53.020 29074-29074/com.example.android.playlivesound E/﹕ mali: REVISION=Linux

[android-developers] Getting FileNotFound exception when URL is valid

2015-03-15 Thread NewToAndroid
Hi, Few other developers have asked this question before, I checked those posts. But looks like I have a different issue here. I am using Android Developer Studio 1.0.1 sitting on JRE 1,7 (on a windows laptop). I am developing an App around a live streaming audio, using MediaPlayer class. If

[android-developers] Re: Getting FileNotFound exception when URL is valid

2015-03-15 Thread NewToAndroid
, 2015 at 8:35:57 AM UTC-4, NewToAndroid wrote: Hi, Few other developers have asked this question before, I checked those posts. But looks like I have a different issue here. I am using Android Developer Studio 1.0.1 sitting on JRE 1,7 (on a windows laptop). I am developing an App around

[android-developers] Why apps not developed in C ?

2014-03-31 Thread NewToAndroid
Hi all, I have this question out of curiocity. Android is based on Linux, which is basically written in C. Why Android apps are not written in C ? Why Java? I accept that , I might have big gaps in my understanding of Android, which is what I want to clear. Thanks in advance -- You received

[android-developers] Re: Why apps not developed in C ?

2014-03-31 Thread NewToAndroid
Thats good to know. My intension behind asking this question was, will the apps be faster if written in C/C++ ? But looking at the intro of NDK, they say it won't give significant performance improvement if apps developed in c/c++. Is it because of the layers of basic Android architechture? Or

[android-developers] Cannot run the project in Emulator

2014-03-22 Thread NewToAndroid
Hi All, I have downloaded the ADT and started doing my Hello World project. I have added nothing to the project, apart from what Eclipse will create by default i.e. the main activity is there, which will display text. When I run the project as Android Application, the emulator opens up, but

[android-developers] Cannot get the initial SDK setup working, nightmare

2013-04-02 Thread NewToAndroid
Hi All, I am on a Windows Vista (32 bit) laptop, using Java version 1.6.0_29. I downloaded the Android SDK ADT Bundle from developer.android.com. I am under impression that, I need not do any other setup/installation when I am using the bundle. Using a Windows account which is administrator.

[android-developers] Unfortunately the activity has stopped

2012-01-26 Thread newtoandroid
i tried a simple login page which gets the gps location if the login condition is satisfied,while running it shows ünfortunately,the activity has stopped with an ok button. i have created the avd with gps support supporting android 4 with google Inc and even set the gps manually in ddms

[android-developers] viewing source code

2011-12-02 Thread newtoandroid
hii how could i view the sourcecode of an application -- 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