[android-developers] Programatically connect vpn to android

2013-12-18 Thread Sadhna Upadhyay
Hi Guys,
   Can some one tell me that how to connect vpn to android
programatically if any one have idea please share with me
.
Thanks in advance
Sadhna.

-- 
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] Google Play Game Services - Cloud Save

2013-12-18 Thread Kristopher Micinski
To answer your question, no such thing applies to the cloud save API
in the way you're describing.  If your app isn't easily serializable
in an incremental fashion, then an explicit save point sounds like a
perfectly reasonable thing to do...

Kris


On Thu, Dec 19, 2013 at 1:07 AM, Chad Ata  wrote:
> haha.. you're right, the chance of getting featured is practically zero. We
> probably have a better chance with the lottery.. or a lightning bolt.
> But, for example, Amazon has a Developer Select program in which you get
> additional exposure on their app store if you implement a set of features
> and meet certain guidelines.
> We're probably not going to get featured =/ but might as well shoot for the
> stars and do things the way they want =]
>
>
> On Wed, Dec 18, 2013 at 9:51 PM, Kristopher Micinski
>  wrote:
>>
>> Uhh.
>>
>> Hate to break it to you, but there is basically no way you are going
>> to considered for featuring anyway, that's a whole 'nother ballgame
>> :-).  You can argue with people about how to make that happen, but I
>> can basically guarantee you that they're not going to decompile your
>> code and check whether you're using their API the specific way it was
>> designed to be used.
>>
>> Kris
>>
>>
>>
>>
>> On Wed, Dec 18, 2013 at 5:33 PM, Chad Ata  wrote:
>> > Thanks for the response Kris,
>> >
>> > I ask because none of the conflict resolution docs recommend this
>> > solution.
>> > See: https://developer.android.com/training/cloudsave/conflict-res.html
>> > I'm also concerned that if it doesn't meet their quality guidelines,
>> > then it
>> > would not be considered for featuring.
>> > Maybe I'm being paranoid =] but then again, maybe i'm not
>> >
>> > -Chad
>> >
>> >
>> > On Wed, Dec 18, 2013 at 1:17 PM, Kristopher Micinski
>> >  wrote:
>> >>
>> >> I don't see why this would be at all problematic.  It seems completely
>> >> within the guidelines that says this is a bad idea.  The Cloud Save
>> >> API is just that, an API: so I'd use it however it worked best for
>> >> you!
>> >>
>> >> Kris
>> >>
>> >>
>> >> On Wed, Dec 18, 2013 at 3:08 PM, Sheado  wrote:
>> >> > Hi Android,
>> >> >
>> >> > Would it be considered bad practice to implement Cloud Save as simple
>> >> > backup/restore buttons in our game's menu?
>> >> > To clarify, user would press backup on the device with the data they
>> >> > want.
>> >> > Then press restore on the device they want to update.
>> >> >
>> >> > Quietly updating game content as recommended in the docs would not be
>> >> > trivial in our game, so we are considering going with a
>> >> > backup/restore
>> >> > approach.
>> >> >
>> >> > Would this be ok, or would this not meet good Google Play development
>> >> > guidelines?
>> >> >
>> >> > Thanks!
>> >> >
>> >> > --
>> >> > 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/-XbklDth9Cs/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 De

Re: [android-developers] Google Play Game Services - Cloud Save

2013-12-18 Thread Chad Ata
haha.. you're right, the chance of getting featured is practically zero. We
probably have a better chance with the lottery.. or a lightning bolt.
But, for example, Amazon has a Developer Select program in which you get
additional exposure on their app store if you implement a set of features
and meet certain guidelines.
We're probably not going to get featured =/ but might as well shoot for the
stars and do things the way they want =]


On Wed, Dec 18, 2013 at 9:51 PM, Kristopher Micinski  wrote:

> Uhh.
>
> Hate to break it to you, but there is basically no way you are going
> to considered for featuring anyway, that's a whole 'nother ballgame
> :-).  You can argue with people about how to make that happen, but I
> can basically guarantee you that they're not going to decompile your
> code and check whether you're using their API the specific way it was
> designed to be used.
>
> Kris
>
>
>
>
> On Wed, Dec 18, 2013 at 5:33 PM, Chad Ata  wrote:
> > Thanks for the response Kris,
> >
> > I ask because none of the conflict resolution docs recommend this
> solution.
> > See: https://developer.android.com/training/cloudsave/conflict-res.html
> > I'm also concerned that if it doesn't meet their quality guidelines,
> then it
> > would not be considered for featuring.
> > Maybe I'm being paranoid =] but then again, maybe i'm not
> >
> > -Chad
> >
> >
> > On Wed, Dec 18, 2013 at 1:17 PM, Kristopher Micinski
> >  wrote:
> >>
> >> I don't see why this would be at all problematic.  It seems completely
> >> within the guidelines that says this is a bad idea.  The Cloud Save
> >> API is just that, an API: so I'd use it however it worked best for
> >> you!
> >>
> >> Kris
> >>
> >>
> >> On Wed, Dec 18, 2013 at 3:08 PM, Sheado  wrote:
> >> > Hi Android,
> >> >
> >> > Would it be considered bad practice to implement Cloud Save as simple
> >> > backup/restore buttons in our game's menu?
> >> > To clarify, user would press backup on the device with the data they
> >> > want.
> >> > Then press restore on the device they want to update.
> >> >
> >> > Quietly updating game content as recommended in the docs would not be
> >> > trivial in our game, so we are considering going with a backup/restore
> >> > approach.
> >> >
> >> > Would this be ok, or would this not meet good Google Play development
> >> > guidelines?
> >> >
> >> > Thanks!
> >> >
> >> > --
> >> > 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/-XbklDth9Cs/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

Re: [android-developers] Google Play Game Services - Cloud Save

2013-12-18 Thread Kristopher Micinski
Uhh.

Hate to break it to you, but there is basically no way you are going
to considered for featuring anyway, that's a whole 'nother ballgame
:-).  You can argue with people about how to make that happen, but I
can basically guarantee you that they're not going to decompile your
code and check whether you're using their API the specific way it was
designed to be used.

Kris




On Wed, Dec 18, 2013 at 5:33 PM, Chad Ata  wrote:
> Thanks for the response Kris,
>
> I ask because none of the conflict resolution docs recommend this solution.
> See: https://developer.android.com/training/cloudsave/conflict-res.html
> I'm also concerned that if it doesn't meet their quality guidelines, then it
> would not be considered for featuring.
> Maybe I'm being paranoid =] but then again, maybe i'm not
>
> -Chad
>
>
> On Wed, Dec 18, 2013 at 1:17 PM, Kristopher Micinski
>  wrote:
>>
>> I don't see why this would be at all problematic.  It seems completely
>> within the guidelines that says this is a bad idea.  The Cloud Save
>> API is just that, an API: so I'd use it however it worked best for
>> you!
>>
>> Kris
>>
>>
>> On Wed, Dec 18, 2013 at 3:08 PM, Sheado  wrote:
>> > Hi Android,
>> >
>> > Would it be considered bad practice to implement Cloud Save as simple
>> > backup/restore buttons in our game's menu?
>> > To clarify, user would press backup on the device with the data they
>> > want.
>> > Then press restore on the device they want to update.
>> >
>> > Quietly updating game content as recommended in the docs would not be
>> > trivial in our game, so we are considering going with a backup/restore
>> > approach.
>> >
>> > Would this be ok, or would this not meet good Google Play development
>> > guidelines?
>> >
>> > Thanks!
>> >
>> > --
>> > 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/-XbklDth9Cs/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 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] Maintain webview state

2013-12-18 Thread TreKing
On Wed, Dec 18, 2013 at 5:16 AM, Rahul Kaushik wrote:

> i have code onResume which redirect me to my homepage and i as i debug and
> see it on configuration change it pass thru onResume and put me on home
> page
> PLease suggest
>

Don't put code in onResume to redirect to the homepage if that is not what
you want ... ?

-
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/groups/opt_out.


Re: [android-developers] How to implement Tagging Functionality?

2013-12-18 Thread TreKing
On Wed, Dec 18, 2013 at 5:15 AM, sanarmal  wrote:

> How to assign background to string(tag) which is in EditText(or border to
> that string).


Take a look at Spannable and related classes.


> On clicking backspace change background color of last tag(may be i have
> two tag like "android", "Droid" then it will change color of "Droid" and
> clicking again backspace remove "Droid").


Spannable, again, for the backround. And some custom logic for you to
implement for the tracking of the backspace logic.

-
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/groups/opt_out.


Re: [android-developers] Google Play Game Services - Cloud Save

2013-12-18 Thread Chad Ata
Thanks for the response Kris,

I ask because none of the conflict resolution docs recommend this solution.
See: https://developer.android.com/training/cloudsave/conflict-res.html
I'm also concerned that if it doesn't meet their quality guidelines, then
it would not be considered for featuring.
Maybe I'm being paranoid =] but then again, maybe i'm not

-Chad


On Wed, Dec 18, 2013 at 1:17 PM, Kristopher Micinski  wrote:

> I don't see why this would be at all problematic.  It seems completely
> within the guidelines that says this is a bad idea.  The Cloud Save
> API is just that, an API: so I'd use it however it worked best for
> you!
>
> Kris
>
>
> On Wed, Dec 18, 2013 at 3:08 PM, Sheado  wrote:
> > Hi Android,
> >
> > Would it be considered bad practice to implement Cloud Save as simple
> > backup/restore buttons in our game's menu?
> > To clarify, user would press backup on the device with the data they
> want.
> > Then press restore on the device they want to update.
> >
> > Quietly updating game content as recommended in the docs would not be
> > trivial in our game, so we are considering going with a backup/restore
> > approach.
> >
> > Would this be ok, or would this not meet good Google Play development
> > guidelines?
> >
> > Thanks!
> >
> > --
> > 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/-XbklDth9Cs/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] Android app with source code required

2013-12-18 Thread Kristopher Micinski
This is JavaScript, which probably isn't what Desan wants..

Kris


On Wed, Dec 18, 2013 at 4:54 PM, 장시영  wrote:
> hi
>
> A Prototype of Mobile Client for E-commerce Application
>
> http://www.codeproject.com/Articles/233818/A-Prototype-of-Mobile-Client-for-E-commerce-Applic
>
>
>
>
> 2013/12/18 Desan Benz 
>>
>> hi i am just beginner of android development as i had taken few days
>> training on android. I am searching for android app project of
>> ecommerce app where different materials can be bought . I hope you
>> guys provide me good ecommerce android app with its source code . Help
>> needed . - Sandesh
>>
>> --
>> 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 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 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] Android app with source code required

2013-12-18 Thread 장시영
hi

A Prototype of Mobile Client for E-commerce Application

http://www.codeproject.com/Articles/233818/A-Prototype-of-Mobile-Client-for-E-commerce-Applic




2013/12/18 Desan Benz 

> hi i am just beginner of android development as i had taken few days
> training on android. I am searching for android app project of
> ecommerce app where different materials can be bought . I hope you
> guys provide me good ecommerce android app with its source code . Help
> needed . - Sandesh
>
> --
> 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 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] Google Play Game Services - Cloud Save

2013-12-18 Thread Kristopher Micinski
I don't see why this would be at all problematic.  It seems completely
within the guidelines that says this is a bad idea.  The Cloud Save
API is just that, an API: so I'd use it however it worked best for
you!

Kris


On Wed, Dec 18, 2013 at 3:08 PM, Sheado  wrote:
> Hi Android,
>
> Would it be considered bad practice to implement Cloud Save as simple
> backup/restore buttons in our game's menu?
> To clarify, user would press backup on the device with the data they want.
> Then press restore on the device they want to update.
>
> Quietly updating game content as recommended in the docs would not be
> trivial in our game, so we are considering going with a backup/restore
> approach.
>
> Would this be ok, or would this not meet good Google Play development
> guidelines?
>
> Thanks!
>
> --
> 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 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] Google Play Game Services - Cloud Save

2013-12-18 Thread Sheado
Hi Android,

Would it be considered bad practice to implement Cloud Save as simple 
backup/restore buttons in our game's menu?
To clarify, user would press backup on the device with the data they want. 
Then press restore on the device they want to update.

Quietly updating game content as recommended in the docs would not be 
trivial in our game, so we are considering going with a backup/restore 
approach. 

Would this be ok, or would this not meet good Google Play development 
guidelines?

Thanks!

-- 
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] VideoView Looping Jump

2013-12-18 Thread Bobbie
I'm running Android 4.2.2. I'm trying to loop a seamless loop video in a 
VideoView. It does not accept the mp.setLooping(true) parameter, it will 
not loop the video, it plays only once.

I am able to use the myVideoView.setOnCompletionListener(mp) to do a 
mp.start() every time it completes, and it's working decent.

The only issue is, when the video starts again on the loop, it's "jumps" a 
little, making the seamless loop no longer seamless.

Anyone else run into this issue? Were you able to resolve it?

-- 
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] Maintain webview state

2013-12-18 Thread Rahul Kaushik
I have webview whne i perform some opertaion it nave gate me to the
required  link but when i change my configuration i.e portrait to landscape
or vise versa to redirect me to to my home page

url navigation is done in
private  class CustomWebViewclient extends WebViewClient


i have code onResume which redirect me to my homepage and i as i debug and
see it on configuration change it pass thru onResume and put me on home
page
PLease suggest

Thanks
RK

-- 
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] How to implement Tagging Functionality?

2013-12-18 Thread sanarmal
I am trying to implement tagging functionality in my app. When user enter 
"," then string before "," will be select as a tag and background color i 
need to assign this string(tag) so user can understand this is tag.
See following image.  



And after clicking backspace(Android soft keyboard button) then background 
color of the previous tag will change and if I click backspace again then 
previous tag will remove from EditText.

See following image.



Here what i done yet.

int i = 0;
names.addTextChangedListener(new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start, int before, int 
count) {
if(s.equals(","))
{
String strTag = names.getText().toString();
int txtLength = strTag.length()+3;
 tagArrray[i] = strTag;
 i++;
 names.setText("#"+strTag+"  ");
 names.setSelection(txtLength, txtLength);
}
}
@Override
public void afterTextChanged(Editable arg0) {
// TODO Auto-generated method stub  
}

@Override
public void beforeTextChanged(CharSequence arg0, int arg1,
int arg2, int arg3) {
// TODO Auto-generated method stub  
}

});   

*Where i stuck*

   - How to assign background to string(tag) which is in EditText(or border 
   to that string).
   - On clicking backspace change background color of last tag(may be i 
   have two tag like "android", "Droid" then it will change color of "Droid" 
   and clicking again backspace remove "Droid").

Please give me some hint or reference.

-- 
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] Re: setAccuracy vs setHorizontalAccuracy

2013-12-18 Thread Mr&Mrs D


On Wednesday, December 18, 2013 9:44:53 AM UTC+2, gjs wrote:
>
> Hi,
>
> Not I, but you could guess that these relate in a device, cost &/or 
> technology independant manner about what (Location) accuracy is desired by 
> your app.
>
> The current technologies that the OS might choose from based on your 
> settings include GPS (fine or high accuracy), Wifi access point (medium 
> accuracy), Cell Tower (low accuracy) & Barometer (for medium vertical 
> acurracy ?), public IP address (low accuracy?)  where those technologies 
> are supported by the end users device.
>
> By presenting the Location accuracy options in a technology independant 
> manner Android also leaves open the possibility of supporting other 
> Location based techniques in future, such as Bluetooth, RFID, NFC, and 
> other passive wireless techiques, using sensors etc. And to do this with 
> you needing to update your app.
>
> Regards
>
>  
Great - my question as stated in the OP is _why have 2 methods with 
different set of integer parameters (why not an enum btw) doing the exact 
same thing_ not why I do not ask for GPS or wifi by name.
Please read more carefully before posting
 

> On Wednesday, December 18, 2013 8:25:58 AM UTC+11, Mr&Mrs D wrote:
>>
>> As internally accuracy just 
>> sets`mHorizontalAccuracy`
>>  I wonder why both setHorizontalAccuracy() and 
>> setAccuracy() - and no less than 6 constants - are provided.
>>
>> Anyone knows ?
>>
>> On Tuesday, November 5, 2013 12:48:54 PM UTC+2, Mr&Mrs D wrote:
>>>
>>> setAccuracy
>>>
>>> > Indicates the desired accuracy for latitude and longitude. Accuracy 
>>> may be ACCURACY_FINE if desired location is fine, else it can be 
>>> ACCURACY_COARSE. More accurate location may consume more power and may take 
>>> longer.
>>>
>>> setHorizontalAccuracy
>>>
>>> > Indicates the desired horizontal accuracy (latitude and longitude). 
>>> Accuracy may be ACCURACY_LOW, ACCURACY_MEDIUM, ACCURACY_HIGH or 
>>> NO_REQUIREMENT. More accurate location may consume more power and may take 
>>> longer.
>>>
>>> Another example of the pristine android docs. So what is the difference 
>>> ? Notice they take different constants - is it possible/desirable to 
>>> specify both with some combination of constants ?
>>>
>>> asked also 
>>> here
>>>
>>>

-- 
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] Re: "You need to enter a valid Youtube address."

2013-12-18 Thread Gopinath Prathapaneni
Remove the 's' in 'https' in the url. It works.

On Monday, November 19, 2012 12:33:15 PM UTC+5:30, Keith Wiley wrote:
>
> I realize this issue is not really about Android development, but ever 
> since the Android Market Forum went away, I have not been sure where 
> developers should discuss Google Play Store administration problems.  If 
> you know a better place than this group, please politely inform me, I would 
> appreciate the clarification.
>
> Otherwise, here goes...
>
> I'm trying to set up a new app and it won't let me enter a promo video 
> URL. I keep getting an error "*You need to enter a valid Youtube address.*", 
> which is staggeringly unspecific feedback.  Isn't a proper youtube URL of 
> the form *https://www.youtube.com/watch?v=XXX 
> *?  I don't know what else 
> to try.
>
> Any ideas?
>
> Thanks.
>
>

-- 
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] Event flow when adding/removing app widgets

2013-12-18 Thread Andriy Tsykholyas
I have read Google's App Widgets 
guide
.
I'd like to clarify the event flow in 
AppWidgetProviderin
 following scenario:
0) User installed the app which contains a widget
1) User added widget (W1) of the app to home screen
2) User deleted that widget W1
3) User added widget (W2) of the app to home screen

As I understand from documentation the event flow must be following:
1) onEnabled()
optional multiple onUpdate(W1)
2) onDeleted(W1)
onDisabled()
3) onEnabled()
optional multiple onUpdate(W2)

The question: does the framework guarantees that onEnabled() will be called 
in 3)?
Or asking it another way: can onUpdate() be called directly after 
onDisabled()?

-- 
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] Android app with source code required

2013-12-18 Thread Desan Benz
hi i am just beginner of android development as i had taken few days
training on android. I am searching for android app project of
ecommerce app where different materials can be bought . I hope you
guys provide me good ecommerce android app with its source code . Help
needed . - Sandesh

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