Re: [android-developers] Why Android doesn't provide features update via OTA?

2017-08-22 Thread Marina Cuello
Read about project Treble. I believe that's Google's current answer to this
issue.

Marina

On Fri, Aug 18, 2017 at 11:56 PM, <yogesh.dah...@outlook.com> wrote:

> Ya right. But at least they can try it say for next 2 versions. If their
> market share is falling then reverse back to current system.
>
> By giving option to manufacture to alter the OS they are delaying security
> patches. Who suffers in "capital war"? End user.
>
> Because manufacturer doesn't provide updates on time, everyone knows it.
>
>
>
>
>
> On Friday, 18 August 2017 20:31:01 UTC+5:30, Marina Cuello wrote:
>>
>> One could think that they have enough of a market share right now to try
>> it but...
>>
>> I think they know more about what's going on than what I know. So I don't
>> think I'm qualified to be against Google's decisions :)
>>
>> Marina
>>
>> On Thu, Aug 17, 2017 at 11:13 PM, <yogesh...@outlook.com> wrote:
>>
>>>
>>> The only way Google could imitate that is if they don't allow the OEMs
>>>> and Carriers to change anything on the versions of Android they ship their
>>>> devices with.
>>>
>>>
>>> Well Google should take he risk. Don't allow manufacturer to alter it's
>>> base android. You said that most OEM won't use Android. What would they do?
>>>
>>> Everyone knows what happened to Symbian (Nokia), Bada (Samung),
>>> Blackberry. Android is in demand. And no one can replace it at least not in
>>> another 10 years.
>>>
>>> I don't know about "Marketing" thing. But I know what happened to other
>>> OS. What are your opinions about it?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Friday, 18 August 2017 00:54:20 UTC+5:30, Marina Cuello wrote:
>>>>
>>>> The difference, I believe, is more in the maturity of the hardware.
>>>>
>>>> In the PC/laptop world, there is already a lot of standards on relation
>>>> on how the hardware interfaces are made. Most devices are mostly the same,
>>>> or at least "have to" respond to the same interfaces, so their drivers are
>>>> the only thing that need to be added. And Windows in phones is sold only in
>>>> a few devices; the relation is more similar to iPhone/iOs that to what
>>>> Android's market is and it's not comparable.
>>>>
>>>> The only way Google could imitate that is if they don't allow the OEMs
>>>> and Carriers to change anything on the versions of Android they ship their
>>>> devices with.
>>>>
>>>> If they could try to enforce that, most OEMs would decide not to use
>>>> Android, because they WANT to make things different visually, and because
>>>> they NEED to optimise stuff on relation with their hardware.
>>>>
>>>> The solution Google found is to put more and more functionality into
>>>> the Google Play Services app and other independent apps. That way sometimes
>>>> they can force changes on most devices. That's the closest they can get to
>>>> an "OTA" update without alienating the OEMs.
>>>>
>>>>
>>>> Marina
>>>>
>>>>
>>>> On Wed, Aug 16, 2017 at 10:46 PM, <yogesh...@outlook.com> wrote:
>>>>
>>>>> 1) Android release updates.
>>>>> 2) Manufacturer alter those updates.  (Of course Android removed
>>>>> hardware level in Android 8)
>>>>>
>>>>> Why can't Google release all updates via OTA just like Microsoft do
>>>>> for its PC and Mobile systems?
>>>>>
>>>>> Android is very mature by now. Billions of users are using it but it
>>>>> doesn't have OTA update feature.
>>>>>
>>>>> Android requirement is less than 1 GB. But our 4GB handset gets old in
>>>>> one or two year. Because Manufacturer doesn't release New android version
>>>>> on old devices.
>>>>>
>>>>> Can't Google solve this problem?
>>>>>
>>>>> --
>>>>> 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.
>>>>> To post to this group, send email to android-d...@googlegroups.com.
>

Re: [android-developers] Why Android doesn't provide features update via OTA?

2017-08-18 Thread Marina Cuello
One could think that they have enough of a market share right now to try it
but...

I think they know more about what's going on than what I know. So I don't
think I'm qualified to be against Google's decisions :)

Marina

On Thu, Aug 17, 2017 at 11:13 PM, <yogesh.dah...@outlook.com> wrote:

>
> The only way Google could imitate that is if they don't allow the OEMs and
>> Carriers to change anything on the versions of Android they ship their
>> devices with.
>
>
> Well Google should take he risk. Don't allow manufacturer to alter it's
> base android. You said that most OEM won't use Android. What would they do?
>
> Everyone knows what happened to Symbian (Nokia), Bada (Samung),
> Blackberry. Android is in demand. And no one can replace it at least not in
> another 10 years.
>
> I don't know about "Marketing" thing. But I know what happened to other
> OS. What are your opinions about it?
>
>
>
>
>
>
>
> On Friday, 18 August 2017 00:54:20 UTC+5:30, Marina Cuello wrote:
>>
>> The difference, I believe, is more in the maturity of the hardware.
>>
>> In the PC/laptop world, there is already a lot of standards on relation
>> on how the hardware interfaces are made. Most devices are mostly the same,
>> or at least "have to" respond to the same interfaces, so their drivers are
>> the only thing that need to be added. And Windows in phones is sold only in
>> a few devices; the relation is more similar to iPhone/iOs that to what
>> Android's market is and it's not comparable.
>>
>> The only way Google could imitate that is if they don't allow the OEMs
>> and Carriers to change anything on the versions of Android they ship their
>> devices with.
>>
>> If they could try to enforce that, most OEMs would decide not to use
>> Android, because they WANT to make things different visually, and because
>> they NEED to optimise stuff on relation with their hardware.
>>
>> The solution Google found is to put more and more functionality into the
>> Google Play Services app and other independent apps. That way sometimes
>> they can force changes on most devices. That's the closest they can get to
>> an "OTA" update without alienating the OEMs.
>>
>>
>> Marina
>>
>>
>> On Wed, Aug 16, 2017 at 10:46 PM, <yogesh...@outlook.com> wrote:
>>
>>> 1) Android release updates.
>>> 2) Manufacturer alter those updates.  (Of course Android removed
>>> hardware level in Android 8)
>>>
>>> Why can't Google release all updates via OTA just like Microsoft do for
>>> its PC and Mobile systems?
>>>
>>> Android is very mature by now. Billions of users are using it but it
>>> doesn't have OTA update feature.
>>>
>>> Android requirement is less than 1 GB. But our 4GB handset gets old in
>>> one or two year. Because Manufacturer doesn't release New android version
>>> on old devices.
>>>
>>> Can't Google solve this problem?
>>>
>>> --
>>> 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.
>>> To post to this group, send email to android-d...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/android-developers/b3fea6c6-8078-4936-ac4e-187b30d85e09%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/b3fea6c6-8078-4936-ac4e-187b30d85e09%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/6244a8fb-c635-42dd-b140-
> 9291aa76626c%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/6244a8fb-c635-42dd-b140-9291aa76626c%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, vis

Re: [android-developers] Why Android doesn't provide features update via OTA?

2017-08-17 Thread Marina Cuello
The difference, I believe, is more in the maturity of the hardware.

In the PC/laptop world, there is already a lot of standards on relation on
how the hardware interfaces are made. Most devices are mostly the same, or
at least "have to" respond to the same interfaces, so their drivers are the
only thing that need to be added. And Windows in phones is sold only in a
few devices; the relation is more similar to iPhone/iOs that to what
Android's market is and it's not comparable.

The only way Google could imitate that is if they don't allow the OEMs and
Carriers to change anything on the versions of Android they ship their
devices with.

If they could try to enforce that, most OEMs would decide not to use
Android, because they WANT to make things different visually, and because
they NEED to optimise stuff on relation with their hardware.

The solution Google found is to put more and more functionality into the
Google Play Services app and other independent apps. That way sometimes
they can force changes on most devices. That's the closest they can get to
an "OTA" update without alienating the OEMs.


Marina


On Wed, Aug 16, 2017 at 10:46 PM,  wrote:

> 1) Android release updates.
> 2) Manufacturer alter those updates.  (Of course Android removed hardware
> level in Android 8)
>
> Why can't Google release all updates via OTA just like Microsoft do for
> its PC and Mobile systems?
>
> Android is very mature by now. Billions of users are using it but it
> doesn't have OTA update feature.
>
> Android requirement is less than 1 GB. But our 4GB handset gets old in one
> or two year. Because Manufacturer doesn't release New android version on
> old devices.
>
> Can't Google solve this problem?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/b3fea6c6-8078-4936-ac4e-
> 187b30d85e09%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3N3y6M4WwkT10ZcD3dB2WSPP7cYoLk%3DxkYopDFaz5ojA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Error:Execution failed for task directoryPicker:processReleaseResources

2017-08-10 Thread Marina Cuello
I usually "solve" this kind of issues by using a fresh install of Android
Studio, but that's the only recommendation I could give.

Marina

On Wed, Aug 9, 2017 at 2:39 AM, Husain Al-Haboubi 
wrote:

> Anyone?
>
> On Tuesday, August 8, 2017 at 11:35:34 AM UTC-5, Husain Al-Haboubi wrote:
>>
>> Hello developers,
>>
>> I am having a problem lately with Android Studio ever since I updated to
>> 2.3.3. I have searched all the forums for possible solutions. Some say I
>> need to open Android Studio in Administration Mode, others say that I just
>> need to clean the project once!
>>
>> The error occurs when I try to run or build a project. Here is error
>> message:
>>
>> Error:Execution failed for task ':directoryPicker:processRelea
>> seResources'.
>> > java.io.IOException: Could not delete path
>> 'C:\Users\XXX\Desktop\X\X\directoryPicke
>> r\build\generated\source\r\release\android\support\compat'.
>>
>>
>> Every time I want to build or run the project, I have to "Build > Clean
>> project" and sometimes I need to close and reopen AS. This happens to all
>> my projects and not only one project. I did the following:
>>
>>1. Ran Android Studio in Administration mode
>>2. Deleted the build folder
>>3. Restarted the computer and Android Studio
>>
>>
>> But no luck! Any idea on how to resolve this issue?
>>
>> Please be informed that the file path varies. Sometimes it's
>> "android\support\compact" and sometimes it's something else!
>>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e9c92547-52eb-47cb-b1e1-
> fd765d84e06c%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1nvUjeObWYW4rCgdb8jxbmLa7B6uTFgF1E5pqNsQFKVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Taxfree selling in Playstore

2017-08-10 Thread Marina Cuello
You could contact Play Store support and ask about it. Check if you're
lucky using the chat support, I've heard good things about it when In App
purchases are involved:
https://support.google.com/googleplay/android-developer/contact/pre_chat_survey?hl=en=billing=billing_cf=6058750=1_topic=3452890

Marina

On Thu, Aug 10, 2017 at 6:14 AM, 'Oliver Busch' via Android Developers <
android-developers@googlegroups.com> wrote:

> Hallo,
>
> ich bin SysAdmin in einem Tierpark mit Freizeitparkanbindung. Seit ein
> paar Tagen haben wir eine App mit InApp-Purchases im Store. Ich kann leider
> keine Möglichkeit finden, eine Steuerbefreiung in Deutschland einzutragen.
> Unser Steuerberater meinte, dass wir unsere Produkte an Google verkaufen
> und Google dann natürlich mit Steuern verkaufen muss.
>
> Hat er da Recht oder gibt es irgendwo eine Möglichkeit? :)
>
> MfG
> Olli
>
> ---
>
> Hi,
>
> we have an free app with inapp purchases in the store. Everyone can buy
> inapp-p. but we need an taxfree selling. We come from germany and the app
> is only for our zoo that is exemt from tax :)
> I dont find any solution. Is there a way or did we cant change that?
>
> Best regards
>
> Olli
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/88969645-6c8e-472e-8f1a-
> 8a00a84f3e07%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1is-NbhnQXOaxMFcz%3DThK16AG2VUujdBek40MQV5Qm%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Force 4k display mode on Android with preferedDisplayMode

2017-08-08 Thread Marina Cuello
You could check the supported modes on the device, and then check the pixel
size on those to select the one closer to what you want.

Marina

On Tue, Aug 8, 2017 at 9:49 AM, youssef EL MOUMNI <
youssef.elmoumn...@gmail.com> wrote:

> Hi everyone,
>
>
> I am trying to force 4k display mode to target phones with 4k screens. It
> was working pretty well with Android M and I had beautiful 4k support using
>
> WindowManager.LayoutParams params = getWindow().getAttributes();
> params.preferredDisplayModeId = 2;
> getWindow().setAttributes(params);
>
> After the Android N update it changed the behavior completely, the whole
> interface gets scaled way over the screen limits where I only see a portion
> of the screen, including the status bar and the navigation buttons on the
> bottom. to leave the app I need to close it from Android Studio.
>
> Any idea how to get the Android M behaviour back?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/4d4c833d-0aa1-4b17-9e60-
> ad4bf6db9b16%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3ES_jDLncB5yut2KeMiMuq7VWF1BYFx%2B01fp6GhwRsGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Looking for x86 android apps

2017-08-07 Thread Marina Cuello
If it says it's not compatible, it means they don't support it.
You could probably find older versions of the apps you want on ApkMirror
and similar sites that were compatible. But some will block themselves if
you don't have the latest version, and downloading a mirror apk is at your
own risk anyway.
When an app doesn't support an architecture, it's usually because they use
some library or feature that they can't replicate in the rest of them. So
usually there is not a way to "convert" them. If it were a small company
you could probably use APKTool or some other decompiler, find alternative
libraries and try to generate a new one, but big apps like the one you
mention I'm pretty sure have checks that would block your custom app too.
Next time you buy a phone, I would recommend to check before on Play Store
or Amazon if the apps you want are available.
Anyway, this is a developer's groups and you will perhaps find more help on
a users' forum.

Marina


On Mon, Aug 7, 2017 at 7:13 AM, Akhil N  wrote:

> Thank you, I watched those all but they are arm based not x86... I am
> trying to install in my x86 device it showing error msg "not compatible
> with your device" / problem occurs while parsing the package..
>
> Thanks
> Akhil
>
> On Aug 7, 2017 13:14, "Qi Chen" <9468...@gmail.com> wrote:
>
>> You can just type keyword in the search TextBox. I'm curious why you ask
>> this question.
>> Anyway, just like this:
>> https://play.google.com/store/apps/details?id=com.skype.raider
>> https://play.google.com/store/apps/details?id=com.facebook.katana
>> https://play.google.com/store/apps/details?id=com.facebook.orca
>> https://play.google.com/store/apps/details?id=com.whatsapp
>>
>> I'm not sure whether they support x86 arch or not. You can register
>> Google Play with a x86 Android Phone and verify it.
>>
>> 在 2017年8月7日星期一 UTC+8上午11:10:42,Akhil N写道:
>>>
>>> Hi Qi Chen,
>>>
>>>Thanks for your help. Can you please provide me link
>>> where the skype, facebook, messenger, whatsapp like apps for x86. Are there
>>> any mechanisms to convert from arm to x86 apk's ? Please help me.
>>>
>>> Thanks
>>> Akhil
>>>
>>> On Sun, Aug 6, 2017 at 3:49 PM, Qi Chen <946...@gmail.com> wrote:
>>>
 Why not search on Google Play? Just like this: https://play.google.com/
 store/search?q=x86=apps

 在 2017年8月6日星期日 UTC+8上午2:48:32,Akhil N写道:
>
> Hi,
>
>  I am looking for x86 apps for android.. would anyone please
> provide me link to find all the apk's. It's big help for me.
>
> Thanks
> Akhil
>

>>> --
>> 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/to
>> pic/android-developers/-uXiVwTfUfs/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> android-developers+unsubscr...@googlegroups.com.
>> To post to this group, send email to android-developers@googlegroups.com.
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/android-developers/28b3137f-96c3-46d9-812c-3920c0041f97%
>> 40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/CALeqDVyo418rSNvc%2By0ViwrodUWYR1vrnuaFP%3DiHQ4-
> f8GWSdg%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2vLMaJQZGjyPseYXQD6%2BTFokJgc2Z%2BHz5WaCjxrUCpVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Samsung Galaxy A7 (2017) problem

2017-08-04 Thread Marina Cuello
If you check the on Play Store from a computer browser logged in with the
same user than on that phone, it sometimes show you why the app is not
compatible with your devices. It could give you a clue.


Marina

On Fri, Aug 4, 2017 at 11:53 AM, Hernán Paris  wrote:

> The app i developed, doesnt show up on play store when i search with
>
> Samsung Galaxy A7 (2017) SM-A720F DUAL SIM, it only happend in this
> divice. All other divise the app appers as normal on the store, the problem
> only occurs with A7. It is very important to know why it happend, and what
> can i change in the code of my app, or what config i need to change on the
> divise.
>
>
> Thanks!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/aeecc981-e225-4d9e-91b6-
> 7eb400ae9569%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1a7%2BJPTBTB%3DQ-z7xOTFFEAZQw8kGVTOVyq%2Br%3Dg2s2ptg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Upgrade journey from self hosted app to Google play app (same package name).

2017-08-03 Thread Marina Cuello
Did you change the versionCode? I believe it should offer to upgrade if the
version currently on the device is lower than the one on the store.

Marina

On Thu, Aug 3, 2017 at 10:07 AM, Daniel Hansson 
wrote:

> Hi,
> We have hosted our Android app on our own until today when we submitted
> the app to Play Store.
> The issue comes when trying to update from self hosted -> Google Play app.
> The Google Play Store opens but it button title says "OPEN" & "UNINSTALL"
> the app. (should be "UPGRADE" & "UNINSTALL").
> Is it even possible to do this upgrade, and if, how?
>
>
> Thanks
> Daniel
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/99b993ae-7cef-4109-a8fa-
> a781fb38851f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0v3JUATAFTikyQTAocmz2f%2ByV-EAN2zpfEF%3D-%2Bs3B3tQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: proper architecture of Android App, best practices, estabilished solutions ?

2017-08-03 Thread Marina Cuello
There is not an "official best practices" for an Android App. You can check
the Architecture Blueprints and see which one looks nicer for you:
https://github.com/googlesamples/android-architecture

Marina

On Thu, Aug 3, 2017 at 10:40 AM, razor  wrote:

> I didn't mention, I'm experienced java developer, i know how to use IDE,
> Java, Spring, Dependency Injection, SQL, XML, JSON, REST, WebServices, SSL
> etc.. I'm looking for advanced tutorials about android app architectures.
>
> I'm able to create Android App with few Activites, database, few screens,
> fragments etc.
> but i feel that if i add a little more it'll be a mess. That's why i'm
> looking for 'best practices' about 'laying out' android apps
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/fda08551-24cf-4776-a101-
> f80ef581f5b2%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3cs7FvDKc0aJjA0qakREWXR57innCTooQZa8WXvxyszQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Notification Accessibility

2017-08-03 Thread Marina Cuello
There is a "setTicker" on the Notification.Builder that on the docs says
it's what it's sent to the accesibility services. I've never used it but
perhaps you can check if that's what you need.

Marina

On Thu, Aug 3, 2017 at 11:09 AM, IT  wrote:

> Hi, I am currently developing with notifications and I've noticed that
> there are some discrepancies in some pronunciations of word and symbols.
> Does anyone know if it's possible to set the accessibility content on a
> system notification from the app's source code? If so, how?
>
> Thanks!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/8aa6af3a-edda-433e-a10c-
> 107c9b2870b8%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2GQNmq91jFjQ04WAXdZRTj_-RdPg5kxeKJ56N9-QLrdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] widgets overlap (are on top of each other)

2017-08-03 Thread Marina Cuello
When a property starts with "tools:" it means it only works on the editor.
It's useful when you will modify the position or visibility of a view
programatically or  you want to use different color backgrounds to play
around with images with transparency. But it will not be reflected on your
app.
You need to use the "Infer constraints" option for the editor to create the
real constraints.

Marina

On Wed, Aug 2, 2017 at 12:03 AM, Tony Cardinal  wrote:

> hello,
>  I created a simple app with 2 checkboxes a button and a text field. And I
> see all of these widgets on top of each other on the upper left hand corner
> of the screen when I run the app. In the design tab of android studio,
> these widgets are spaced one on top of the other. What am I doing wrong?
> Thank you for your help in advance. Here is the code:
>
> 
>  xmlns:android="http://schemas.android.com/apk/res/android;
> xmlns:app="http://schemas.android.com/apk/res-auto;
> xmlns:tools="http://schemas.android.com/tools;
> android:layout_width="match_parent"
> android:layout_height="match_parent"
> tools:context="com.example.me.a01_05_01.MainActivity">
>
>  android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="Hello World!"
> app:layout_constraintBottom_toBottomOf="parent"
> app:layout_constraintLeft_toLeftOf="parent"
> app:layout_constraintRight_toRightOf="parent"
> app:layout_constraintTop_toTopOf="parent" />
>
>  android:id="@+id/checkBox"
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="CheckBox"
> tools:layout_editor_absoluteX="32dp"
> tools:layout_editor_absoluteY="47dp" />
>
>  android:id="@+id/checkBox2"
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="CheckBox"
> tools:layout_editor_absoluteX="32dp"
> tools:layout_editor_absoluteY="99dp" />
>
>  android:id="@+id/button"
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="Button"
> tools:layout_editor_absoluteX="48dp"
> tools:layout_editor_absoluteY="416dp" />
>
>  android:id="@+id/textView"
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="TextView"
> tools:layout_editor_absoluteX="57dp"
> tools:layout_editor_absoluteY="292dp" />
>
> 
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/52044978-8634-4d62-a84c-
> b48383d2ed31%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0y%3D6Zg8ejmfozO5wi8YnUnZGrZW5o7LAkvxctQr3yv3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] how to set mqtt payload to variable

2017-08-03 Thread Marina Cuello
I looked for MqttMessage on Google and it seems like getPayload() gives you
a byte array.

So if you know that it could be a String that says "connected", you just
need to compare the strings.

String message = new String(message.getPayload());
if(message.equals("connected")) {
// Do stuff
}

You could also check equalsIgnoreCase if you don't know the capitalization.

If that "connected" is not a string but it's on some kind of object, I'm
guessing you'll need to use serialization. But I'm just using simple Java
knowledge, I don't know your project.

Marina



On Wed, Aug 2, 2017 at 4:53 PM, MOHAMMED ashfaq  wrote:

> hello im new to android development could someone please help me with
> below code. i want to make if statement from the mqtt payload . how can i
> make playload = connected then show it is Textview
>
> ```
> public void messageArrived(String topic, MqttMessage message) throws
> Exception {
> subText.setText(new String(message.getPayload()));
> // Vibrator.vibrate(500);
> }
> ```
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/1ffedcf4-be81-4ed5-acbd-
> 5067172fb79b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2CZozqnhVs%3D1t948RfAtMEobF6feGvOWQ4BFRxFQ%2BWTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android 4.4.2 Samsung mobile phone

2017-08-03 Thread Marina Cuello
It would be easier if you ask THEM, but if they somehow can't tell, you
could ask for a picture and check on GSM Arena:
http://www.gsmarena.com/results.php3?fDisplayInchesMin=5=5.9=GRAND=9=1=1,10=2=2440

Marina

On Thu, Aug 3, 2017 at 7:19 AM, Leonardo Micheloni <
leonardogabrielmichel...@gmail.com> wrote:

> Hi guys,
>  I'm new developing for Android and one of the requirements in the project
> I'm working on is that the application needs to run in Android 4.4.2
> because they have Samsung Galaxy Grand mobile phones (I don't know the
> exactly version). The problem is that I need to buy a mobile phone to do my
> internal tests and I'm not sure exactly which model of Samsung buy (I only
> know that it needs to run 4.4.2 and have a 5" screen). I've tried to figure
> out myself but there're a lot of models and I really need some help here.
>  Thanks in advance!
>
> Leonardo.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/21d3078b-ac69-4740-92d7-
> 4c920238e41c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2ByBqVgCMXtGwXWM3GOQC4GiuFHsnOQq6Ep-FA9%2BdRWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] LE Advertising on Android

2017-03-01 Thread Marina Cuello
I don't know. By Googling a bit I've found this class, perhaps this is what
you're looking for:
https://android.googlesource.com/platform/packages/apps/Bluetooth/+/marshmallow-mr3-release/src/com/android/bluetooth/gatt/GattService.java

Marina

On Wed, Mar 1, 2017 at 10:18 AM, Sayu Sekhar <sayu.sek...@agiliad.com>
wrote:

> Thanks Marina
>  I had gone through the posted link and wanted to know if I can know the
> part of Android source which sets the advertising interval.
>
> -Sayu
>
> On Wednesday, March 1, 2017 at 6:30:55 PM UTC+5:30, Marina Cuello wrote:
>>
>> I believe you don't have specific options, just some presets. Check this
>> out: https://developer.android.com/reference/android/bluetoo
>> th/le/AdvertiseSettings.html
>>
>> Marina
>>
>> On Mon, Feb 27, 2017 at 5:41 AM, Sayu Sekhar <sayu@agiliad.com>
>> wrote:
>>
>>> I am trying to create an LE Peripheral App on an Android phone. I
>>> observed that the APIs do not allow me to set the advertising interval for
>>> the advertising packets.
>>> Is it possible to set the advertising interval in the App maybe using an
>>> API or configuration?.
>>> If yes, how? If no, where and what is the advertising interval set in
>>> the Android source code, which I could modify for my testing>
>>>
>>> 
>>> -
>>> *Disclaimer:* This email message including any attachments is
>>> confidential, and may be privileged and proprietary to Agiliad. If you are
>>> not the intended recipient, please notify us immediately by replying to
>>> this message and destroy all copies of this message including any
>>> attachments. You are NOT authorized to read, print, retain, copy,
>>> disseminate, distribute, or use this message or any part thereof. Thank you.
>>> 
>>> 
>>>
>>> --
>>> 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.
>>> To post to this group, send email to android-d...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/android-developers/f9c20031-aa7c-4776-982d-fff768853eb8%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/f9c20031-aa7c-4776-982d-fff768853eb8%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
> 
> -
> *Disclaimer:* This email message including any attachments is
> confidential, and may be privileged and proprietary to Agiliad. If you are
> not the intended recipient, please notify us immediately by replying to
> this message and destroy all copies of this message including any
> attachments. You are NOT authorized to read, print, retain, copy,
> disseminate, distribute, or use this message or any part thereof. Thank you.
> 
> 
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/67cc5edc-515b-43c1-9b4b-
> 59d07fa1d5f7%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/67cc5edc-515b-43c1-9b4b-59d07fa1d5f7%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1nQpAS1SRg%3DAB36%3D0wxjH7K_Px4b2GbirQsj6Pcb8LLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] LE Advertising on Android

2017-03-01 Thread Marina Cuello
I believe you don't have specific options, just some presets. Check this
out:
https://developer.android.com/reference/android/bluetooth/le/AdvertiseSettings.html

Marina

On Mon, Feb 27, 2017 at 5:41 AM, Sayu Sekhar 
wrote:

> I am trying to create an LE Peripheral App on an Android phone. I observed
> that the APIs do not allow me to set the advertising interval for the
> advertising packets.
> Is it possible to set the advertising interval in the App maybe using an
> API or configuration?.
> If yes, how? If no, where and what is the advertising interval set in the
> Android source code, which I could modify for my testing>
>
> 
> -
> *Disclaimer:* This email message including any attachments is
> confidential, and may be privileged and proprietary to Agiliad. If you are
> not the intended recipient, please notify us immediately by replying to
> this message and destroy all copies of this message including any
> attachments. You are NOT authorized to read, print, retain, copy,
> disseminate, distribute, or use this message or any part thereof. Thank you.
> 
> 
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/f9c20031-aa7c-4776-982d-
> fff768853eb8%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX294iGr%2BoL2mHD6ZE4WOYD7kAVdU74hpAU3zgRjrBmpYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Activity closing prematurely

2017-03-01 Thread Marina Cuello
Your code is quite difficult to read on a text editor, because of the crazy
naming convention.  It's much more time than what I can devote today.

But if this SelectPlayer activity is the one opening in a wrong time, your
problem is probably in the other activity, the one that has the
startActivityForResult.

About singleTop, if the "onCreate" for your SelectPlayer is called anyway,
it could mean that it's not launched on the same "task" that the first one,
or that the activity on top is not an instance of SelectPlayer, but another
activity. It could give you a clue on where the problem could be.

Marina

On Mon, Feb 27, 2017 at 2:31 PM, Keith Sheppard 
wrote:

> My main activity kicks off a secondary activity (using
> startActivityForResult) that invites the user to input details of one of
> four players at a bridge table.
>
> When the user has chosen a player and clicked OK, the following things
> happen (triggered by code in onActivityResult)
>
> 1. The player details (passed back in the Intent returned by the secondary
> activity) are written to a text file.
> 2. An AsyncTask is started to send that file to a server PC using SMB.
> 3. While the AsyncTask is still running, the same secondary activity is
> invoked again to get the next player's details.
>
> This sequence is repeated until all four players' details have been sent
> to the server.
>
> On my tablet, this works perfectly every time but one of my beta testers
> has a bizarre problem. He can usually enter the first player's name
> successfully, sometimes the second and occasionally the third but
> eventually one of the names screens appears for a short time later only to
> disappear again without the user clicking my OK button.
>
> Note that the player-names screen allows the user to type a partial name
> and uses a ListView to display all players in a club membership list that
> contain the letters typed. I don't know if that's significant.
>
> What I am seeing in my trace file is that the onCreate method of the
> select player activity is called. The OKClicked method is never called. In
> fact, I have trace points before every finish() call in the select player
> activity and none of them is called. After the onCreate call, the next
> thing I see in my trace file, about 30 seconds later, is onActivityResult
> reporting a ResultCode of zero and the returned Intent pointer of null. In
> other words, the select player activity has spontaneously closed without
> the user clicking OK or it going through any of my code designed to close
> the activity tidily.
>
> This never happens on my tablet, which is running Android 4.4.2. It always
> happens on my beta tester's tablet, which is running 4.4.
>
> After reading reports of a similar Android problem, I changed all the
> activities' settings in my manifest (including the main activity) to
> launchMode singleTop but this made no difference.
>
> Any suggestions? This is particularly awkward because I cannot reproduce
> the problem on my kit. I am having to do all my debugging remotely by
> adding trace points and asking my beta tester to repeat the experiment.
>
> I have uploaded the code for the select player activity in case it's of
> interest.
>
> Kind regards
> Keith
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/6502018f-b8b0-4dbb-a3a8-
> b132458cca3d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3YbN2iYiTM%3DzfbNZexu4JU1LGGKJ9HQRA-RHboL_ch1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Need my published app source link.

2017-02-24 Thread Marina Cuello
I don't think I understand your question. Could you clarify?

Marina

On Fri, Feb 24, 2017 at 7:53 AM, vishal kansagra <
kansagravishal...@gmail.com> wrote:

> Hello Team,
>
>   I have deployed one application namely wibrate on google play store.
> It is based on chat and free wifi service provider and i want to bypass
> resource link of the application where does it rest on play store. So
> Please help me to get it.
>
>
> *Thanks & regards,*
> Vishal Kansagra
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/1c302a91-96be-44e1-8e06-
> 7d5c52aeed03%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1GEbOMBi9EorLcCgM5svaNw%3D7vu%2Bk-jBj_9MjF3Nve-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] getScan() problem

2017-02-22 Thread Marina Cuello
The answer to your questions will be "an empty list" too if you don't try
to make them more clear. No idea what you're talking about :)
https://www.biostars.org/p/75548/

Marina

On Wed, Feb 22, 2017 at 2:53 PM, Siddharth Shankar Swain <
h2015...@pilani.bits-pilani.ac.in> wrote:

> getScan() result is giving me an empty list. Please guide how to solve it.
> Thanks,
> Siddharth
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/3f414996-094f-4d4b-9907-
> 5cb2b580d284%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3dvwu_f4mH2jJWriWFc%2B3FJr31kwRhnATqBKwY4CkLWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Emulator process killed while launching

2017-02-22 Thread Marina Cuello
Usually there is more info on the logs a bit upstream than the actual
error. Do you get any extra info there?

Marina

On Wed, Feb 22, 2017 at 6:16 AM, pheromix  wrote:

> hi all,
>
> I am using Android Studio 2.2.3
>
> I created a very simple project with the basic activity.
>
> When I run the project then there was this error in the Run tab :
>
> *Error while waiting for device: The emulator process for AVD
> Nexus_5X_API_25_x86 was killed.*My computer is windows7 64-bit , RAM 4Gb
> , virtualization is enabled. There is the antivirus Avast running.
>
> So what should I do to prevent this process killing ?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/733b9830-bfea-4fcc-b8bc-
> f63bd4e8cf99%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3%3DJt4aj14it2X0Js-P1DTfu0o3%2BcaHQhRvA79FKT2b7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Restaurant Application - "Print out - Need to display the latest ordered items not Previous"

2017-02-20 Thread Marina Cuello
You're not been clear on your issue, or you're just overthinking a really
simple issue.

You're obviously storing the order data somewhere... just add an extra
 "last print" field for the orders, and a timestamp on each items. When a
print is needed, just filter out the items that are previous to that "last
print".

Marina

On Sat, Feb 18, 2017 at 2:30 AM, Mohamed Hareesh 
wrote:

> Hello Friends,
>
> We are developing an Android restaurant based application. We are trying
> to achieve this below feature for a longer period of time. Still no luck.
> Need your help guys to crack this.
>
> Read the below scenario:
>
> 1. User install the restaurant based application in his device
> 2. Place the orders meaning the list of foods they like in to the cart
> 3. Request for bill
> 4. The admin click on the "Print" option and handover it to the User.
> 5. User again order couple of more items
> 6. When the admin trying to take the print it displays the whole order the
> user was placed i.e from the beginning.
> 7. We need to display the latest orders only when the user was trying to
> take the print out. i.e the couple of items he ordered again only.
>
> Looking forward to your response and queries if any.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/600cea54-7ace-4f8b-a7e2-
> 4df73a06ff88%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1vOzqE%2BSbn3HQiFPK9o9qJeV6MO7LrDwFXX5z5xxRnRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Saving data in wearable android

2017-02-15 Thread Marina Cuello
I never played with that, but it seems like once you declare your app as
standalone some of that stuff should be enabled for you:
https://developer.android.com/training/wearables/apps/standalone-apps.html#shared-code

Marina

On Tue, Feb 14, 2017 at 7:17 PM, Anh <anhduong...@gmail.com> wrote:

> Hi Marina,
> Thanks for your advise but my app on smartwatch will run alone. I meant no
> connection to the phone.
> That's why I need to save it on the local, smartwatch.
> Any ideas???
> Anh
>
> On Monday, February 13, 2017 at 2:49:32 PM UTC-6, Marina Cuello wrote:
>>
>> I think you need to use the data sync API and save the shared preferences
>> on the normal app side.
>> https://developer.android.com/training/wearables/data-layer/
>> data-items.html
>>
>> Marina
>>
>> On Mon, Feb 13, 2017 at 12:34 PM, Anh <anhdu...@gmail.com> wrote:
>>
>>> Hello,
>>> I am encountering an issue that saving userId in wearable app. I have a
>>> login page and need user enters userID and save it.
>>> In android mobile app, I used SharedPreferences successfully. However,
>>> for wearable app, I don't know how and what I can use to save UserID.
>>> I am searching on the internet but no clue. Please support!
>>> Thank you
>>> Anh
>>>
>>> --
>>> 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.
>>> To post to this group, send email to android-d...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/android-developers/e6a68708-ee23-4f52-9d1d-0c0f9398a573%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/e6a68708-ee23-4f52-9d1d-0c0f9398a573%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/f6d87893-6ea6-4ef1-b6d1-
> abe35aa3da95%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/f6d87893-6ea6-4ef1-b6d1-abe35aa3da95%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3GD2k%2ByP0p4be47pRqx%3D5hE_FxWGk8avsu-s0cqxTZqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to make an Android app which cannot be deleted event after hard reset

2017-02-14 Thread Marina Cuello
You need to talk with the OEM or the carriers and make a deal with them.
That's why usually only big brands are on the factory installs :)

Marina

On Mon, Feb 13, 2017 at 9:33 PM, 'Jean-Baptiste Queru' via Android
Developers  wrote:

> You can't, because this violates software layering: you can't have
> something built on top of an OS whose behaviors survive the installation of
> another OS. Software that accomplishes what you want would have to be much
> much lower in the stack, and would frankly be a very bad idea.
>
> JBQ
>
> --
> Jean-Baptiste M. "JBQ" Quéru
>
> [yo/jbq]
>
> Architect, Mobile Excellence and Processes, Yahoo
>
> [yo/mep]
>
> Sent from Yahoo Mail
>
>
> On Sunday, February 12, 2017 7:38 AM, Doguparthi naga sudhir <
> dnsud...@gmail.com> wrote:
>
>
>
>
> Hi everyone,
>
>we are making an Anti-Theft Android Solution where we make
> an android application, but we want it to undeletable even after hard
> resetting the phone or flashing a new rom.
>how to make such application.
>
>
>   Thanks in advance.
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/abd94f98-4199-42e9-aed0-
> eaa0538bafd0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/550378258.3764876.1487032421430%40mail.yahoo.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2_1F8hVhkiUyG7DmS%2BwEwNrESar0%3DCd_us8RUADWm8Uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Saving data in wearable android

2017-02-13 Thread Marina Cuello
I think you need to use the data sync API and save the shared preferences
on the normal app side.
https://developer.android.com/training/wearables/data-layer/data-items.html

Marina

On Mon, Feb 13, 2017 at 12:34 PM, Anh  wrote:

> Hello,
> I am encountering an issue that saving userId in wearable app. I have a
> login page and need user enters userID and save it.
> In android mobile app, I used SharedPreferences successfully. However, for
> wearable app, I don't know how and what I can use to save UserID.
> I am searching on the internet but no clue. Please support!
> Thank you
> Anh
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e6a68708-ee23-4f52-9d1d-
> 0c0f9398a573%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2PsbkL3OVkfQFGNhd9zm22E9Wng-MQSqW180p%2B2EbaAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] General Newbie Question on app development

2017-01-31 Thread Marina Cuello
If you're asking about how to simulate on your computer an Android device
with your required sensors,  you can check what sensors are available on
this documentation page:
https://developer.android.com/studio/run/emulator.html

Marina

On Tue, Jan 31, 2017 at 3:24 PM,  wrote:

> How do I develop an Android app on a PC which requires hardware used on
> the phone (e.g., GPS, magnetometer, etc.)?
>
> Thanks
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/0fceab36-00aa-4153-9918-
> 384ad9c1f48a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX09bbXHas96gUG3tJy3MLaSgJV3--UOq1QE2v6cpJ5rOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Duration - No longer visible

2017-01-25 Thread Marina Cuello
As many things on Android, there is no exact timing. It depends on the load
of the system, the processor(s) on the device, how big the next activity is
(if the "stopping" one is being replaced with another), if there is some
garbage collection going on, and so on...

Marina




On Wed, Jan 25, 2017 at 10:23 AM, subha 
wrote:

> Hi Team,
>
> "onStop(): Called when you are no longer visible to the user"
>
>
> no longer visible means , what is the exacte timing to call onStop?
>
> Thanks,
> Subha
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/CALkECN4LoAigbUUDkqKWm-
> WFo7ECbJMbOXozdqie1xhzWUT4Vg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2gOckn7ZHHhTYw%3DrissGbEs0SATKqA2tMHYqnRwDgX5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Fragment with setRetainInstance(true) and destroying Activity when it stopped

2017-01-23 Thread Marina Cuello
I think this StackOverflow answer looks good for your question:
http://stackoverflow.com/a/12641575/671431

Marina

On Sun, Jan 22, 2017 at 4:22 PM, Maks Tuev  wrote:

> In Android documentation
> :
> " When the system stops one of your activities (such as when a new
> activity starts or the task moves to the background), the system might
> destroy that activity completely if it needs to recover system memory. When
> this happens, information about the activity state is lost. If this
> happens, the system still knows that the activity has a place in the back
> stack, but when the activity is brought to the top of the stack the system
> must recreate it (rather than resume it)..."
>
> And question: whether or not Fragment with setRetainInstance(true) will
> stay alive when system destroy it parent activity (process is not destroy)
> and then this activity goes to foreground?  (sorry for my Endlish)
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/8ff00029-d76a-426c-863a-
> 1a8f8673bf88%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1qhEL5%3DaaH4%3DZpDruQhALr0ZZYzanFRa5STF9Hp3RGxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio: Gradle sync failed. Help!

2017-01-23 Thread Marina Cuello
Did you try double clicking? I think that's the way with the Find action
dialog.

Marina

On Sat, Jan 21, 2017 at 10:50 PM, Chris Fesko  wrote:

> Im having trouble getting Android Studio working, Im running a fresh
> installtion and im getting this error.
>
> 8:30:21 PM Gradle sync started
> 8:30:33 PM System Health
>This IDE is running on a Java JRE instead of a full Java JDK.
>This does not work; debugging (among other features) will not
> work.
>You must configure the boot JDK (via Help > Find Action... >
> Switch IDE boot JDK.)
>More Info
> 8:31:01 PM Gradle sync failed: CreateProcess error=193, %1 is not a valid
> Win32 application
>Consult IDE log for more details (Help | Show Log)
>
> When i do what it says to goto help> find action> switch IDE boot, i get
> no dialog when i click that, and nothing happens.
>
> https://www.jetbrains.com/help/idea/2016.3/switching-boot-jdk.html
>
> Ive been trying to get android studio to work for almost 3 months now i
> have no idea what too do.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/2a9b8dcf-9ec4-4c59-93f9-
> 89f676adcde5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2D-6gYRqbEY%3DpubNLj3vZNwPgAU2SwZH1RirsOW3MtYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Using Inputs

2017-01-23 Thread Marina Cuello
There are plenty of tutorials on the net. I don't usually go the "Let me
Google that for you" route, but with this question I can't help it:
http://bfy.tw/9dhF

Marina

On Sat, Jan 21, 2017 at 10:42 PM, Blueseer32  wrote:

> Hello, does anyone know how to accept user input? I have made an input
> field and I can type things into it and whatnot but I don't know how to use
> the input. Yes, I am relatively new to Android Studio. Thank you in advance.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e7896d98-f147-4451-a84c-
> c3f7eeaa99cf%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3f922eyzAuz%3Du9pKO%3DB86uw4iZOiYh3brdQM0%3Dcy11rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Issue in GoogleApiClient implementation

2017-01-23 Thread Marina Cuello
I don't know this API, but I guess you just could use the easy route and
put a boolean flag. Manage it on your onSaveInstanceState() and
onRestoreInstanceState() to keep its state on orientation change.

Marina

On Sat, Jan 21, 2017 at 11:50 AM, Aman Pathak 
wrote:

> Hi
>
> I wanted to get the location once as soon as the app gets started.So i
> implemented GoogleApiClient in Main Activity.And i added toast to display
> the Location in onConnected() of GoogleApiClient.onConnectionCallbacks.And
> hurrah i got the Toast filled with info as soon the app gets started.But I
> observed an issue that when i change the activity (For e.g Main Activity to
> Setting Actvity or any Activity) and return back to main activity the toast
> gets displayed again. And gets displayed again and again as i change the
> activity and return back.
> And same happens if i change the orientation of device. Is there any way
> to do this? I only want that the location should be fetched only once and
> displayed only once as the app gets started not with changing the activity
> or orientation.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/1a272635-cc6f-4f45-be0b-
> 4428f54646f9%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX37XgpSbkd9z%2BYfmcy%3Du6xv4HvjYL5mDN%2BipLe48vEUrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Stream of data between application

2017-01-20 Thread Marina Cuello
I'm taking it as you will create not only your app but also some kind of
library that third party apps could implement on their side to get and use
your data.

Other than those options you mentioned, I guess you could use a UDP server
on your app and a client on the library side.

Marina

On Fri, Jan 20, 2017 at 10:33 AM, Gabriel Klein 
wrote:

> We are developing a module to take your blood pressure using your finger.
> The module is integrated to the phone and communicating using i2c.
>
> We are building a part to stream raw data to third party applications.
>
> We have an application streaming ~200 lines of data every seconds.
>
> Application #1 -> ApplicationStreamFromModule #2 -> drivers -> i2cmodule
>
> The minimum android SDK version is 7.1.1.
>
> What is the most effective and elegant way to stream this data #2 to
> another application #1?
>
> Timing is important (the user interface needs to react to data).
>
> We found way using socket (a bit overkill), ContentProvider (we think it's
> too heavy / slow), Message/intent/other??
>
> Thank you very much!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/d469c2e7-4950-45ca-8de7-
> 2119598153fc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0PBscN%2BsT22U6HLFvVr7fGTrkJqZfmi8TPhjuXAOWQUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Pay Problem

2017-01-20 Thread Marina Cuello
I don't know this service, but... Given the error in the screen, did you
set up a card  on the Android Pay app on the device in which you are
testing?

Marina

On Fri, Jan 20, 2017 at 11:26 AM,  wrote:

> Hello,
>
>
>   I am trying integration of Android Pay, but this is given message
> like show in Attached screen shot, please help me and guide me.
>
> Thanks and Regards
> Praveen Suryesh
> Ypsilon
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/1d0e8da9-240d-4237-bae6-
> c1f61ad95a34%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0fdfdTkbQ7DhXiUYnAsR7Xq8MJdH%2BhAzwsdJ9E0a3EAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] App not show in "New and Updates" category

2017-01-20 Thread Marina Cuello
I believe it's a curated section, just like the other ones on the main
screen. It's usually filled with big brands, awarded names and viral
trends.
So it's probably not an automatic list, and you'll not see yours there just
because you uploaded.

Marina


On Fri, Jan 20, 2017 at 6:52 AM, Constantin Kupryashin <
constantin.kupryas...@gmail.com> wrote:

> I have successfully published application, but in the category "New and
> updates" application no. Why is our app does not appear there?
> App: Poclick: Falling Blocks
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/311bd3e5-a2aa-49a9-9c7b-
> c95384243cbc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0ZnYFcQ0G%2Bzz%2B54teHTsjdO02ZjL%3DLk6uAWUKUc8mM%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android shows an error No Activity found to handle Intent

2017-01-19 Thread Marina Cuello
I believe ACTION_CALL_BUTTON is used on intent-filters to detect if the
call button on the standard dial has been pressed. I.E. an app for a
company that wants to detect if the user is calling the company or a shady
app that gets some analytics from the user. It's not that usual.So perhaps
there is no app installed that's listening for that action.
If you want to open the standard phone app with that number preloaded, you
should use ACTION_DIAL.

Marina

On Thu, Jan 19, 2017 at 11:00 AM, Fazil T.M  wrote:

> I am developing an android app for calling a number. I am using
> FrameLayout instead of activity. When i using this code
>
> Uri number = Uri.parse("tel:123456789");
> Intent callIntent = new Intent(Intent.ACTION_CALL_BUTTON);
> callIntent.setData(number);
> callIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> getContext().startActivity(callIntent);
>
> Then it shows the error
> android.content.ActivityNotFoundException: No Activity found to handle
> Intent { act=android.intent.action.CALL_BUTTON dat=tel:x
> flg=0x1000 }
>
> I
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/4d1fd742-8702-412e-ac80-
> 580de680ff3d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2O1sfrNorn%3DTLCe0w6Mxsgo%2BWDzNdEAb59VL%3Dt%3DXRqOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Facial Recognition

2017-01-19 Thread Marina Cuello
You could check
https://search-codelabs.appspot.com/codelabs/face-detection
https://developers.google.com/vision/

Marina

On Thu, Jan 19, 2017 at 1:23 AM, Saurabh Bhairava 
wrote:

> I am new to Android. My understanding is that there is an existing API
> that can be used for facial recognition.  Part of this is that - a set of
> image captures (or termination of image captures) is triggered by the
> person changing from being 'plain-faced' to 'smiling-face'. It is also my
> understanding that this API or feature is now deprecated.Is that true,
> does it have some known end-of-life?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/518944b3-ff43-44dc-8294-
> 650506f10511%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1Z_QZmE0_m%3DA1zCy%3Dduy0EOLZuwvnmUAMWAvzOsx0Txg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Questions about In App Purchase (In App Billing)

2017-01-18 Thread Marina Cuello
I don't know about the first issue, I'm not familiar with that framework.

About the second issue, as far as I can recall you get different response
codes  with different situations (as when internet connection is faulty and
doesn't even allow Play to show the user the purchase data), but some other
are bundled undo "user canceled" because some kind of error message is
shown to the user, and the user goes all the way back to your screen using
back button or closing dialog boxes. There is no way to get extra info
about it.

But, if you have too many of those canceled transactions, perhaps it's not
clear on "your side"  how much will it cost and what is the user getting.
Are you showing the users the amount in their own currency? As the "Google
Play" screens do,  perhaps users are pressing your "buy" button to check
how much it will be.

Marina

On Wed, Jan 18, 2017 at 6:24 AM,  wrote:

> Hi, I am using Unity IAP to implement Google Play in my game and
> everything right now seems pretty good. But I have some questions:
> 1. In some rare cases, I will encounter the issues that "the item has been
> purchased". And when the app restarts (I think this is the time for Unity
> IAP to query for the unconsumed products), I fail to find those purchased
> but not consumed products and this problem will last forever. The only
> solution for this is to log out my google play account and log in again. Is
> there anything I can possibly do to fix this problem? Or this is just an
> issue from Unity IAP?
> 2.From analytics implemented in the game, I realise a lot of people
> started the IAP, but don't pay anything and just cancelled the transaction.
> I am curious what happened during this process, (like the user is not
> connecting the internet, the credit card information is missing, payment
> declined, etc ) Is there any way for me to get more information during the
> payment process ( like catching more events)?
> Thank you very much for your help!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/10a37722-11eb-4b9c-850c-
> f218ba8ca6ea%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1aR-JgXqpgznWBXyLyNNhmaKR4Xn1skyvaYV9x5dcm2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How do you remove an Android device from Google Android Device Manager?

2017-01-16 Thread Marina Cuello
You're right. What you're looking for is here:
https://myaccount.google.com/device-activity

Marina

On Sun, Jan 15, 2017 at 10:29 PM, Mark Ellis <mark62el...@gmail.com> wrote:

> That just erases the content on the Android device that I no longer have,
> and doesn't remove the device from my Device Manager
>
> On Sunday, 15 January 2017 18:40:37 UTC, Marina Cuello wrote:
>>
>> There is an "Erase" button on the device "card" on the map on the Device
>> Manager.
>>
>> Marina
>>
>> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/2286ed13-13f8-4cfe-999f-
> 301cd740382a%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/2286ed13-13f8-4cfe-999f-301cd740382a%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX09C7ewDVJqPkf_shC8yL7DWCDv_iE2PrJ%2BzeQQuE69iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to use jni.h for Android?

2017-01-16 Thread Marina Cuello
Hi! There is another group where you could get a better answer. Check it:
https://groups.google.com/group/android-ndk

Marina

On Sun, Jan 15, 2017 at 7:17 PM, Zakir Maho  wrote:

> Hi; I want to call Java codes included Android SDK classes from C++. I
> can call pure Java codes from C++ for desktop console application. But I
> cannot call Java codes included Android SDK classes from C++ for Android
> (I get this error: *JNI_CreateJavaVM was not declared in this scope.*). I
> want an example for Java Native Interface for Android. Have you got
> examples about JNI for Android? Also, I found JNI examples and codes for
> desktop only, no Android. Also I found different *jni.h* and *libjvm.so*
> files positions:
>
> jni.h Directories: 
>
> /usr/lib/jvm/java-8-oracle/include/jni.h
> Android/Sdk/ndk-bundle/platforms/android-*/arch-arm/usr/include/jni.h
> android-studio/jre/include/jni.h
>
> libjvm.so Directories: 
>
> /home/username/android-studio/jre/jre/lib/amd64/server/libjvm.so
> /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so
>
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/86a35af9-97fa-4a2a-b174-
> fc875b502707%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX208rver4as2N4z0fdwEn4V8dzgDzTeE%3DNLfiY7ygNRLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't prevent restore activity stack when launch app from overview screen after process killed

2017-01-16 Thread Marina Cuello
The dirty and easy way out is to check if there is a Bundle coming on the
onCreate of all the other activities, and then kill the activity and start
the one you want.

Marina

On Sun, Jan 15, 2017 at 6:48 PM, Maks Tuev  wrote:

> Reading the Android documentation and some of the answers here (and on
> StackOverflow) I don't find answer to question: how prevent restore
> activity stack when launch app from overview screen after process killed?
> In this case I want to the app started from launch activity.
>
> Somebody knowns how solve this?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/06ea7c02-26a6-4341-b5a6-
> 71c352202e64%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2Vy%3DZROkXqRjLqJvWVaEHd3zurDD%2BkHuCJOzVZctjENA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How do you remove an Android device from Google Android Device Manager?

2017-01-15 Thread Marina Cuello
There is an "Erase" button on the device "card" on the map on the Device
Manager.

Marina

On Sun, Jan 15, 2017 at 1:16 PM, Mark Ellis  wrote:

> How do you remove an Android device from Android Device Manager?
>
> I added an Android device to my Google Android Device Manager account,
> which I've now sold on. So how do I remove/delete the device from my
> account?
>
> Thanks
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/f521e565-bc5b-4847-a881-
> bafc558f59c5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0GfHxRZkkLtT6_gtPgX-ESj%3DBB3d7y%3DFWbzcUBGjbGhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't run application

2017-01-14 Thread Marina Cuello
I run a quick Google search and found this issue:
https://code.google.com/p/android/issues/detail?id=201266.
Did you try the solutions marked there already?

Marina

On Sat, Jan 14, 2017 at 6:08 PM, Abrar Hossain 
wrote:

> Hi there,
>
> I am new to Android development and, whilst making a simple app, I ran
> across this error when I tried to run the app. Here are the configurations
> for my system:
>
> Intel Core i5 3rd gen
> 8GB of RAM
> OS: OpenSuse Tumbleweed
>
> Here is the error message being raised:
>
> Cannot launch AVD in emulator.
> Output:
> sh: lspci: command not found
> sh: glxinfo: command not found
> static QPlatformTheme* QKdeTheme::createKdeTheme(): Unable to determine
> KDE dirs
> libGL error: unable to load driver: i965_dri.so
> libGL error: driver pointer missing
> libGL error: failed to load driver: i965
> libGL error: unable to load driver: swrast_dri.so
> libGL error: failed to load driver: swrast
> X Error of failed request:  BadValue (integer parameter out of range for
> operation)
>   Major opcode of failed request:  155 (GLX)
>   Minor opcode of failed request:  24 (X_GLXCreateNewContext)
>   Value in failed request:  0x0
>   Serial number of failed request:  39
>   Current serial number in output stream:  40
> QObject::~QObject: Timers cannot be stopped from another thread
>
> Any suggestions will be greatly appreciated.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/9b98e82b-779a-44bb-8115-
> 275019529125%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3z3T5yTg27m7TF_r8iv4L5-LdjNtmZMTbNqSfj51w-fg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Target device does not support the run as command

2017-01-14 Thread Marina Cuello
What you are pasting here is not "code", so it's not really helpful.
But I guess what you're saying is that to check the crash you need to see
the logcat, and then you see the "blah blah blah run-as" error message.
That error message can appear when there is something wrong with your
general setup. Try the old "close Android Studio and launch again", or
uncheck and then check again the "Enable ADB integration" option on Android
Studio, or go to command line and kill and restart adb.

Marina



On Sat, Jan 14, 2017 at 4:20 PM, Jon Prichard  wrote:

> hi,
>
> I am a complete beginner and have just started using android studio. when
> I try to run the following code on my Samsung S7 edge I get the message
> 'unfortunately, my first app has stopped' and android studio says 'target
> device does not support the 'run-as' command'. please can you help me fix
> this issue? the code is below, thanks.
>
> 
> https://schemas.android.com/apk/res/android*
> "
> xmlns:tools="*https://schemas.android.com/tools*
> "
> android:orientation="horizontal"
> android:layout_width="match_parent"
> android:layout_height="match_parent">
>  android:layout_weight="1"
> android:layout_width="0dp"
> android:layout_height="wrap_content"
> android:hint="@string/edit_message" />
>  android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="@string/button_send" />
> 
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/22313d66-f81b-4279-875c-
> 6b9a20202357%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2TMpEOO6zhpTzNbX6tX-kETT7%2Bh2nyMCyeg744_ZZ%3DoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] generate signed apk error

2017-01-14 Thread Marina Cuello
You would probably find more help on Cordova specific list or forum, I
think we're here mostly Android SDK developers and perhaps won't be able to
help you.

Marina

On Sat, Jan 14, 2017 at 12:54 PM, Suthesan Rasamanikam 
wrote:

> can anyone help me? why i get this error?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/44393b5e-6ccb-470a-86ed-
> 7359cdc00799%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2CHmXRz8kpoeKP%2BdCBsGXbg4vsSFni3-1miUkidXi46g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Unable to pay registration fee for developer console account

2017-01-09 Thread Marina Cuello
Probably that's the problem then. The help notes surely say "*Note*: The
types of cards accepted may vary by location."
Perhaps this Stack Overflow answer can be of help:
http://stackoverflow.com/a/14745218/671431

Marina

On Mon, Jan 9, 2017 at 3:48 PM,  wrote:

> Thanks for reply
>
> I am from India.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/b844205a-1967-435b-8dad-
> 088828c52a87%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2Z_WYC4-QoFmqTSS0YM0QnwVnUanJi1HYFMy9dpx90Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Get YouTube App error

2017-01-09 Thread Marina Cuello
What do you mean with "install the API"?

Do you have the YouTube App, downloaded from the Play Store on the device
you're using to test your app?

YouTube API is just an "interface",  it needs the device to have the real
YouTube app installed to work.

Marina

On Sat, Jan 7, 2017 at 11:23 PM,  wrote:

> I’m trying to develop a video player app in android studio to play YouTube
> videos and I’m getting this error.
>
> Get YouTube App
>
> This app won’t run without the YouTube App, which is missing from your
> device.
>
> I’ve tried to install the “YouTubeAndroidPlayerApi-1.2.2” a couple of
> ways but it still gives me the same error.
>
> Any ideas?
>
> Thanks
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/ba9a3c18-495b-4b31-99fb-
> ab6204e12a03%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2yCu65NPGLDboL8%3DF92pVPRMr0q-dCgdpc4P-rr-7LFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Unable to pay registration fee for developer console account

2017-01-09 Thread Marina Cuello
I think that for some countries, DEBIT cards are not valid. Only
"international" or "regional" CREDIT cards. Where are you from?

Marina

On Sun, Jan 8, 2017 at 9:46 AM,  wrote:

> I tried many debit cards but after submitting data it display wrong card
> info .Please let me know what I am doing wrong or is there any way to pay
> like using paytm or net banking.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/5028a8ef-7e6f-420e-992b-
> b0902f1e76ca%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2B9bSkLqhnRqwEn5O%3Dwr3_jOz2PtXYqKhSYEUdOW2Xzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] About Application publish and unpublish

2017-01-09 Thread Marina Cuello
Haven't tried in a while, but it always said "may take a few hours to
complete". So perhaps you just need to wait?

Marina

On Mon, Jan 9, 2017 at 8:02 AM, Amit Sharma  wrote:

> Hi,
>
> I had unpublish my app eDiary(Gazipur) on my console account but on play
> store showing my application.
> Plz give me suggestion about this problem.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/906c7dc0-d95a-4ee6-9af4-
> dac1db4797bc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3P-CnYmpB0ZPJob%3DsWpSU%2B%3DX3smF-mFFBoC-CjTaZ8kQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can not resolve symbol 'JsonObjectRequest'

2017-01-09 Thread Marina Cuello
Did you import it in your class?

import com.android.volley.toolbox.JsonObjectRequest;

The easier way is to use the menu option "Code/Optimize Imports" or the
shorcut available on your operative system.

You will also need to add the dependency to your build.gradle file:

compile 'com.android.volley:volley:1.0.0'


Or whatever is the newest version number.

Marina

On Mon, Jan 9, 2017 at 10:39 AM, Alex  wrote:

> Hi,
>
> I am trying to retrieve a JSON query. I am a beginner so I have copied and
> pasted the below model code from https://developer.android.com/
> training/volley/request.html. In android studio every JsonObjectRequest
> is being highlighted red with the hover-over error message "Can not resolve
> symbol 'JsonObjectRequest'. Please can you tell me how to fix? Thank you
>
> TextView mTxtDisplay;
>
> ImageView mImageView;
> mTxtDisplay = (TextView) findViewById(R.id.txtDisplay);
> String url = "http://my-json-feed;;
>
> JsonObjectRequest jsObjRequest = new JsonObjectRequest
> (Request.Method.GET, url, null, new Response.Listener() {
>
> @Override
> public void onResponse(JSONObject response) {
> mTxtDisplay.setText("Response: " + response.toString());
> }
> }, new Response.ErrorListener() {
>
> @Override
> public void onErrorResponse(VolleyError error) {
> // TODO Auto-generated method stub
>
> }
> });
>
> // Access the RequestQueue through your singleton class.
> MySingleton.getInstance(this).addToRequestQueue(jsObjRequest);
>
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/a2114256-7ab0-4092-a5a3-
> 782a57e11f2e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0RsCmWZMot4MQHCfGVkaUgeW0Ws-Rt_46XA2%2BvGP%3D01A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Running Example Code for ViewPager Tutorial

2017-01-06 Thread Marina Cuello
Google devs used in general IntelliJ IDEA as IDE when they "made" us
peasants use Eclipse + ADT. You could see it on their lectures and videos.
That's why ADT never worked really well: they didn't use it. No dogfooding
== No good tools.

So that's why you can find some .idea files on old sample projects.

Marina

On Thu, Jan 5, 2017 at 11:39 PM, Slartibartfast <
his.royal.slartn...@gmail.com> wrote:

> Thanks Marina, Importing (rather than opening) the project has worked.
> Thanks.
>
> By the way, I think it was actually an InteliJ project rather than an
> Eclipse project as the download included an '.idea' folder.  What ever the
> case was though it didn't have a gradle file and importing has indeed
> worked.
>
> Cheers,
> (:
>
> On Friday, 6 January 2017 04:05:26 UTC+10:30, Marina Cuello wrote:
>>
>> Hi!
>> The zip contains an outdated Eclipse-style project. You could try use the
>> Import Project option on Android Studio and see if you can make it work.
>>
>> Marina
>>
>>
>> On Wed, Jan 4, 2017 at 12:44 AM, Slartibartfast <his.royal...@gmail.com>
>> wrote:
>>
>>>
>>> Simple question here.
>>>
>>> I am wanting to develop a page turning animation for my application and
>>> I happened upon this excellent looking tutorial which appears to answer my
>>> every need:
>>> https://developer.android.com/training/animation/screen-slide.html
>>>
>>> The only issue though is that I'm not sure how to run the example.  The
>>> tutorial gives the instructions "If you want to jump ahead and see a
>>> full working example, download
>>> <https://developer.android.com/shareables/training/Animations.zip> and
>>> run the sample app and select the Screen Slide example." however the
>>> downloaded package doesn't contain any gradle files or anything that lets
>>> Android Studio know what to do.  Could someone tell me how one is supposed
>>> to import the supplied files into Android Studio.  I'm sure it's not hard,
>>> I just don't know how to do it myself and am having trouble working it out.
>>>
>>> Thanks.
>>>
>>> --
>>> 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.
>>> To post to this group, send email to android-d...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/android-developers/ebe1e152-dd6a-49bc-aa7a-83a91e25cd78%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/ebe1e152-dd6a-49bc-aa7a-83a91e25cd78%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/85e8f537-ac35-46b9-9c46-
> e00237b0b64d%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/85e8f537-ac35-46b9-9c46-e00237b0b64d%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2%3DRePNR4vhW760mvE9NqR7udRCDWdAu9nxBhYjpH_34w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Memory footprint of image vs sketch

2017-01-05 Thread Marina Cuello
What are you calling a sketch? Can you include an example?

Marina

On Thu, Dec 29, 2016 at 7:52 AM, Rupesh Basnet 
wrote:

> Hello all
>
> I would like to use sketch as icon in my application. Images are supposed
> to have bigger memory footprint than that of sketch. Could anybody out
> there possibly help me figuring out this? Can I do some sort of memory
> instrumentation in order to find out the difference or at least make an
> estimate based on various attributes?
>
> Regards
> Rupesh
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/17ae5aa1-cb21-4fae-905f-
> 6ffc5df9ff9c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1DZP_UqkiEBHFeztMw8ypvaU4XeJ-tViVgP7o4zCQm%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Custom Listener is Null in BroadcastReceiver

2017-01-05 Thread Marina Cuello
Hi!
Are you declaring your receiver on the manifest or somewhere else on the
code? I'm copying this from an example I Googled, so it might not be
exactly what you need, but here are two ways to declare the receiver:

On android_manifest.xml






On your code
// Register a broadcast receiver
IntentFilter intentFilter = new
IntentFilter("android.intent.action.DATA_SMS_RECEIVED");
intentFilter.setPriority(10);
intentFilter.addDataScheme("sms");
intentFilter.addDataAuthority("*", "6734");
registerReceiver(incomingSms, intentFilter);

Marina


On Wed, Dec 28, 2016 at 3:24 AM, Navid Arfaie 
wrote:

> I Create a BroadcastReciver and want to call a method when SMS Recived!
> this code work correctly in other classes but not fire in BroadcastReciver.
>
>
> *My BroadcastReciver.java:*
>
>
> public class IncomingSms extends BroadcastReceiver {
> String smsBody;
>
> private SmsListener smsListener;
>
> public interface SmsListener {
> void PassActivate();
> };
>
> public void setSmsListener(SmsListener listener) {
> smsListener = listener;
> }
>
> public static final String SMS_BUNDLE = "pdus";
> @Override
> public void onReceive(Context context, Intent intent) {
>
> String address = "";
> Bundle intentExtras = intent.getExtras();
> if (intentExtras != null) {
> Object[] sms = (Object[]) intentExtras.get(SMS_BUNDLE);
> String smsMessageStr = "";
> for (int i = 0; i < sms.length; ++i) {
> SmsMessage smsMessage = SmsMessage.createFromPdu((byte[]) sms[i]);
>
> smsBody = smsMessage.getMessageBody().toString();
> address = smsMessage.getOriginatingAddress();
> }
>
> String strOrig = smsBody;
>
> try {
> if (strOrig.contains("_Activated_"))  {
> if(smsListener!=null){
> smsListener.PassActivate();
> }
>
> } else {
> Toast.makeText(context, "Ops", Toast.LENGTH_LONG).show();
> }
>
> } catch (Exception e) {
> Toast.makeText(context, "Ops", Toast.LENGTH_LONG).show();
> }
>
> }
>
> }
>
>
> When SMS recive , I chek smsListener.But it's always null!
>
>
> *and My Activity:*
>
>
> import arfaie.navid.mei.IncomingSms.SmsListener;
>
> public class Activate extends Activity {
>
> private IncomingSms incomingSms;
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_activate);
>
> incomingSms = new IncomingSms();
> incomingSms.setSmsListener(smsListener);
>
> }
>
> SmsListener smsListener = new SmsListener() {
> @Override
> public void PassActivate() {
> Toast.makeText(getBaseContext(), "It Works", 
> Toast.LENGTH_SHORT).show();
> }
> };
>
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/0fa831c4-5c2e-4151-8dbf-
> afe51f73b880%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0mD%3DGEKGY7_8dbtOXtkhTqAqZa95JYmuB%3DYiOwcZ_88g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Recycler view with important marking star view problem

2017-01-05 Thread Marina Cuello
I don't really understand the structure of the views you're using.
But, anyway, the idea behind a "RecyclerView" is that it recycles and
reuses the views that are part of the list. It uses a "limited" pool of
inflated views, and "binds" them to the data that's needed on the screen.
So, if you click a star, and change the image to "filled", when that view
is reused, it will still be "filled". You need to choose the image on
the onBindViewHolder,
not only on the onClick for the star.

Marina

PS:  If you use "Search_Result_Adapter extends RecyclerView.Adapter<
ChildViewHolder>" you can save yourself all the casts to ChildViewHolder on
the whole adapter.


On Fri, Dec 30, 2016 at 11:24 PM, Jagapathi Chowdary <
gondhijagapa...@gmail.com> wrote:

> this is my code
>
>
> import android.Manifest;
> import android.app.Activity;
> import android.content.Intent;
> import android.content.pm.PackageManager;
> import android.net.Uri;
> import android.os.Build;
> import android.support.v4.app.ActivityCompat;
> import android.support.v7.widget.RecyclerView;
> import android.view.LayoutInflater;
> import android.view.View;
> import android.view.ViewGroup;
> import android.widget.ImageView;
> import android.widget.LinearLayout;
> import android.widget.TextView;
> import android.widget.Toast;
>
> import java.util.ArrayList;
>
> /**
>  * Created by PPS on 4/2/2016.
>  */
> public class Search_Result_Adapter extends 
> RecyclerView.Adapter
> {
> private final int HEADER = 0;
> private final int CHILD = 1;
> final private int REQUEST_CODE_ASK_PERMISSION = 123;
> Activity activity;
> private ArrayList star_check = new ArrayList();
> private ArrayList user_id_list = new ArrayList();
> private ArrayList data;
> private int click_position, star = 0;
> private Intent callIntent;
>
> public Search_Result_Adapter(Activity activity, ArrayList
> data) {
> this.activity = activity;
> this.data = data;
> }
>
> @Override
> public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent,
> int viewType) {
>
> RecyclerView.ViewHolder holder = null;
> ArrayList save_value = new ArrayList<>();
> save_value.add("0");
> DataHold.getInstance().setUser_list(save_value);
>
> LayoutInflater inflater = LayoutInflater.from(parent.
> getContext());
> switch (viewType) {
> case HEADER:
> View v_parent = 
> inflater.inflate(R.layout.search_parent_result,
> parent, false);
> holder = new ParentViewHolder(v_parent);
>
> break;
> case CHILD:
> View v_child = inflater.inflate(R.layout.search_child_result,
> parent, false);
> holder = new ChildViewHolder(v_child);
> break;
>
> default:
> View v_parent1 = 
> inflater.inflate(R.layout.search_parent_result,
> parent, false);
> holder = new ParentViewHolder(v_parent1);
> //Toast.makeText(activity.getApplicationContext(), "" +
> data.size(), Toast.LENGTH_SHORT).show();
> break;
> }
> return holder;
> }
>
> @Override
> public void onBindViewHolder(final RecyclerView.ViewHolder holder,
> final int position) {
>
> if (holder.getItemViewType() == HEADER) {
> Search_Header_Model headermodel = (Search_Header_Model)
> data.get(position);
> ((ParentViewHolder) holder).address.setText(
> headermodel.getAddress());
> //Toast.makeText(activity.getApplicationContext(), "Header:
> "+headermodel.getAddress(), Toast.LENGTH_SHORT).show();
> } else if (holder.getItemViewType() == CHILD) {
> final Search_Child_Model child_model = (Search_Child_Model)
> data.get(position);
> ((ChildViewHolder) holder).row1.setText(child_
> model.getRow1());
> ((ChildViewHolder) holder).row2.setText(child_
> model.getRow2());
> ((ChildViewHolder) holder).row3.setText(child_
> model.getRow3());
> ((ChildViewHolder) holder).row4.setText(child_
> model.getRow4());
> ((ChildViewHolder) holder).row5.setText(child_
> model.getRow5());
> ((ChildViewHolder) holder).image2.setOnClickListener(new
> View.OnClickListener() {
> @Override
> public void onClick(View view) {
>
> if 
> (star_check.contains(((ChildViewHolder)holder).getAdapterPosition()))
> {
> for (int i = 0; i < star_check.size(); i++) {
> if (star_check.get(i) ==
> ((ChildViewHolder)holder).getAdapterPosition()) {
> star_check.remove(i);
> ((ChildViewHolder) holder).image2.
> setImageResource(R.mipmap.single_blank);
> }
> }
> updateUserList();
> }
>

Re: [android-developers] Why is there NO good Viewpager tutorial on the Internet??

2017-01-05 Thread Marina Cuello
What you link is not supposed to explain much, almost everything on the
Reference portion of the site is just a little more than a Javadoc instance
and that's what it's made for. In the official site you can find
https://developer.android.com/training/animation/screen-slide.html which is
not a big thing but it's a starting point.
Not a tutorial, but it could be useful: a section of a chapter on Mark
Murphy's book,
https://commonsware.com/Android/previews/swiping-with-viewpager explaining
a bit about its components.
You can also check his code samples:
https://github.com/commonsguy/cw-omnibus/tree/master/ViewPager

Marina


On Sun, Jan 1, 2017 at 2:41 PM, Niklas Daute  wrote:

>  Hello guys,
>
>  I need to get this out before I go completely* insane.*
>
>  Currently I am developing an app which creates PieCharts based on
> user entries, and i have a working single screen/ viegroup/ activity
> whatever version of the app running and complete.
>
>  However, i want to* improve* the* layout *of this* application *a
> little bit and it would help tremendously to have a *viewpager with three
> different pages to host three diffreerent fragments with their own purpose
> each. *
>
>  When I got the idea, i was rather optimistic about achieving my
> goal, one week has passed since then.
>
> *What have I found on the Internet?*
>
> One great tutorial, which shows in *detail* how to create and
> define a ViewPager with all its components and listeners and adapters and
> whatsoever, with the goal to allow a young fresh developer to create a
> simple ui which would help him create a *GREAT* application?
>
> * NOPE*
>
>Half assed information and so called "tutorials" which leave
> out important information alà:
>
> "How to draw an Elephant
>
>   STEP 1: Draw the Elephant.
>
>   STEP 2: Done."
>
> *   YES*
>
> *However the biggest joke is the official View Pager Documentation
> 
> on the android developers web page, which explains nothing and leaves me
> with more questions than i started out with. *
>
>Words cannot explain how frustrated I am about this. How can such a
> elementary UI element which is found in the most famous applications on
> google play be so poorly documented and accessable fore new developers?
>
>I hope someone can understand my struggle and help me out, because
> this issue is deeply frustrating to me. I am not trying to outsource my
> anger/misfortune to anyone here. I am just irritated by the sheer ridicule
> of this viewpager situation.
>
>If someone can provide me with *ONE *good *VIEWPAGER TUTORIAL *i
> would be very thankful.
>
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/aa409c37-ffdb-4f5a-85d1-
> 8f02498fde1b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3_iL7ygrQk0U7sASi_y%2BH6%3DG%3Dgex6meFHR8Dxbmka5zA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Running Example Code for ViewPager Tutorial

2017-01-05 Thread Marina Cuello
Hi!
The zip contains an outdated Eclipse-style project. You could try use the
Import Project option on Android Studio and see if you can make it work.

Marina


On Wed, Jan 4, 2017 at 12:44 AM, Slartibartfast <
his.royal.slartn...@gmail.com> wrote:

>
> Simple question here.
>
> I am wanting to develop a page turning animation for my application and I
> happened upon this excellent looking tutorial which appears to answer my
> every need:
> https://developer.android.com/training/animation/screen-slide.html
>
> The only issue though is that I'm not sure how to run the example.  The
> tutorial gives the instructions "If you want to jump ahead and see a full
> working example, download
>  and
> run the sample app and select the Screen Slide example." however the
> downloaded package doesn't contain any gradle files or anything that lets
> Android Studio know what to do.  Could someone tell me how one is supposed
> to import the supplied files into Android Studio.  I'm sure it's not hard,
> I just don't know how to do it myself and am having trouble working it out.
>
> Thanks.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/ebe1e152-dd6a-49bc-aa7a-
> 83a91e25cd78%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2HSMTxUP3rr9VYtO%3D7P64WgmpR05rd6uHeD-0hb_X6ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Save RecyclerView Item with Activity reference in SharedPreferences

2016-12-21 Thread Marina Cuello
I get it that you have a reference to the activities in each ViewRecipe and
you're expecting the Gson instance to include it on your file.

If that's the case, you need you find another way: When you take an object
and turn it to json using Gson, you only get the items that are
Serializable. An Activity doesn't implement that interface.

If you just need it to start a different activity when an item is clicked,
you could use an Enum or simply an integer as reference and use a switch to
decide which XXActivity.class to use.


Marina


On Tue, Dec 20, 2016 at 11:33 AM, Martiman Henry 
wrote:

> I have a RecyclerView with with each item referring to a different
> activity. I am able to save the individual items in SharedPreferences but
> the reference to the activity is not saved.  This is the SharedPreference
> class that I created. I want to save not only the individual list in the
> recyclerview but also the reference to each activity from their respective
> row from the recyclerview
>
> public class SharedPreference {
>
> public static final String PREFS_NAME = "RECIPE_APP";
> public static final String FAVORITES = "Recipe_Favorite";
>
> // This four methods are used for maintaining favorites.
> public void saveFavorites(Context context, List favorites) {
> SharedPreferences settings;
> SharedPreferences.Editor editor;
>
> settings = context.getSharedPreferences(PREFS_NAME,
> Context.MODE_PRIVATE);
> editor = settings.edit();
>
> Gson gson = new Gson();
> String jsonFavorites = gson.toJson(favorites);
>
> editor.putString(FAVORITES, jsonFavorites);
>
> editor.commit();
> }
>
> public void addFavorite(Context context, ViewRecipe recipe) {
> List favorites = getFavorites(context);
> if (favorites == null)
> favorites = new ArrayList();
> favorites.add(recipe);
> saveFavorites(context, favorites);
> }
>
> public void removeFavorite(Context context, ViewRecipe product) {
> ArrayList favorites = (ArrayList)
> getFavorites(context);
> if (favorites != null) {
> favorites.remove(product);
> saveFavorites(context, favorites);
> }
> }
>
> public List getFavorites(Context context) {
> SharedPreferences settings;
> List favorites;
>
> settings = context.getSharedPreferences(PREFS_NAME,
> Context.MODE_PRIVATE);
>
> if (settings.contains(FAVORITES)) {
> String jsonFavorites = settings.getString(FAVORITES, null);
> Gson gson = new Gson();
> ViewRecipe[] favoriteItems = gson.fromJson(jsonFavorites,
> ViewRecipe[].class);
>
> favorites = Arrays.asList(favoriteItems);
> favorites = new ArrayList(favorites);
> } else
> return null;
>
> return (ArrayList) favorites;
> }
>
> }
>
>
> How am can I save both the item and the reference to the activity?
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e03e6ba3-b8e2-475c-b4d5-
> 73b61da6d582%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX388q1pVyhV1L-Fz3JZ41SFhFKgZ5jzXBwHBeXnDT-vtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Help! Android Studio version 2.2.3 | Error 216

2016-12-19 Thread Marina Cuello
You can use the proper "launcher": {your Android Studio
folder}}\bin\studio.exe is the 32-bit launcher, and {your Android Studio
folder}\bin\studio64.exe is the 64-bit launcher.


Marina

On Mon, Dec 19, 2016 at 12:50 PM, Ashish Ramdin 
wrote:

> Dear Android developers,
>
> I've recently downloaded Android Studio 2.2.3 and installed it on my
> Windows PC.
> But when i open my first project, it send me an error.
>
> Error:CreateProcess error=216, This version of %1 is not compatible with
> the version of Windows you're running. Check your computer's system
> information to see whether you need a x86 (32-bit) or x64 (64-bit) version
> of the program, and then contact the software publisher
>
> How to fix it?
>
> My PC is running on a Windows 7, 32 bit
>
> Can someone assist me with this matter?
>
> Thank you, looking forward for the replies.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/27f39796-68fc-428d-8229-
> 8302fb636aec%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3WKn26w92i%3DB__ZNsiXrM_xWCiGypyk24Ts%3DvXwNs7Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Adding Android platform to company website

2016-12-13 Thread Marina Cuello
Perhaps you could use the tool they use in Android Arsenal? It's called
appetize.io
https://appetize.io/
It's not free, but perhaps it suits your needs.

Marina

On Fri, Dec 9, 2016 at 2:30 PM, Benjamin McCay 
wrote:

> Hello everyone,
>
> I'm currently trying to implement some kind of Android emulator or
> platform into my companies website for demos. Now the purpose of that is
> for demos of different touchscreen point of sale systems that operate on
> the Android operating system. Currently we use Genymotion then add the APK
> file to a Nexus 7 emulator to do demos for potential clients, but we want
> to be able to add a button on our website that customers can press such as,
> "Live Demo," and have the demo open up to where they can experience the
> software from the comfort of their home. I have searched everywhere on how
> to do this but there is no information available, and I can understand that
> it might be a new idea, but I need to make it happen today. Any ideas, or
> any directions to point me in? Thank you.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/ff3ee57a-a3c1-496b-b228-
> e7041c1b2461%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3Td-u4A3ZyNTQBXgx_T9D8UHj1Dqh-zne2_PcQ%3D0%2B6rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: RecyclerView with wrap_content height, inside ScrollView is not working in marsmallow and above devices.

2016-12-13 Thread Marina Cuello
Thanks for posting the answer to your own question! It can help people on
future searchs :)

Marina

On Mon, Dec 12, 2016 at 3:34 AM, Laxman Singh 
wrote:

> Fixed using   android.support.v4.widget.NestedScrollView   instead of
> Scrollview.
>
>
> On Monday, December 12, 2016 at 11:05:24 AM UTC+5:30, Laxman Singh wrote:
>>
>> Why RecyclerView with wrap_content height, inside ScrollView is not
>> working in marsmallow and above devices.
>>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/6b34df40-04b0-4114-979d-
> a50ec889b53e%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1w%2BrCQ4rcsDys5E2VNW2vChu3uY-6E-6hramKf8xmSgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] keytore file required

2016-12-13 Thread Marina Cuello
Yeah, you need the .keystore file and key store password, and I think you
need to use also the same key alias and key password but I'm not sure.

The keystore file should be property of the publisher of the app. But if
you, as hiring company, didn't ask for it by contract, it can be difficult
to convince the developer to give it to you.

It is true that it's a digital signature, but there are only two reasons I
can think why they could want to keep it:
1. to have a leverage to ask you for more money
2. they used the same keystore  on all their projects, and they're afraid
of the security issues it could rise if you use the same keystore to
publish tampered versions of their other apps outside Play Store

In the first case, brace yourself for a nice ride. In the second case, I
guess you need to convince the developer that you're not dangerous.

Marina

On Mon, Dec 12, 2016 at 2:00 PM, Matthew Nardangeli 
wrote:

> My company developed an App and published to play store. Account was
> transferred from developer to my company account, and has since been
> updated by another developer.
>
> We are getting ready to publish update, and current developer is wanting
> original keystore file so we don't lose all our downloads - is this
> needed!? I want current users to get update, not have to download a new
> app, and the old developer is seeming reluctant to giving me the file,
> because they say the keystore file is a digital signature, and should be
> kept with the developer who created it. That doesn't seem correct?
>
> Please help!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/9b913c4c-62fe-4391-97dd-
> 98ff329f6892%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2zWywb%2BdjJ9HU0Dj8gABMasm5ca3vK-RrNTu1f1VXsXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't enable DEBUG & VERBOSE for Huawei Android Logcat

2016-12-13 Thread Marina Cuello
Try with
adb shell setprop log.tag.TagYouUseInYourApp DEBUG

Marina

On Tue, Dec 13, 2016 at 1:52 PM, Ashraf Fouad 
wrote:

> I'm having Huawei Nova Plus
>  I just
> found that Huawei only displays in its Android log starting log level INFO.
> Of course I need DEBUG & VERBOSE in my development. I came across this
> link
> 
> which is exactly same screens appear to me and I mark the 3 check at the
> end for "AP Log", "Charge Log", & "Sleep Log" when I reboot my mobile, it
> still behaves the same and only logging is for INFO. I check the project
> menu again, and I found all log level not checked after reboot.
>
> Appreciate help as really affecting my development.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/a2463328-5c16-4419-b60a-
> 58399de6ff69%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3keWeghh2dBsMJqqU%3DV1EHYCF%3D_TDDJeZ3hTO3kiVU8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] No data shown in my Recyclerview

2016-12-02 Thread Marina Cuello
Hi! Are you calling recyclerView.setLayoutManager(somelayout) somewhere
outside the code you pasted?

"In contrast to other adapter-backed views such as ListView
 or
GridView
,
RecyclerView allows client code to provide custom layout arrangements for
child views. These arrangements are controlled by the
RecyclerView.LayoutManager
.
A LayoutManager must be provided for RecyclerView to function."

Marina

On Fri, Dec 2, 2016 at 2:06 PM, Chie Paliza  wrote:

> Im creating budgeting app. And I want to see the expenses of the user
> weekly but I have a problem, Im getting first the date and compare it in
> the dates in that week but no data
> shown in my recyclerview. This is my code:
>
> recyclerView.requestLayout();
> Log.e("myFirebaseData", "'" + month);
> adapter.cleanup();
>
>
> adapter = new FirebaseRecyclerAdapter(
> ExpenseData.class, R.layout.listitem, myViewHolder.class, 
> mRef.orderByChild("date")) {
>
>
> @Override
> protected void populateViewHolder(final myViewHolder viewHolder, 
> ExpenseData model, final int position) {
>
>
>java.util.Calendar c = Calendar.getInstance();
> DateFormat format = new SimpleDateFormat(" 
> dd, ", Locale.ENGLISH);
> c.setFirstDayOfWeek(Calendar.SUNDAY);
> c.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
>
>
> String[] days = new String[7];
> for (int i = 0; i < 7; i++) {
> Log.e("dateTag", format.format(c.getTime()));
> days[i] = format.format(c.getTime());
> c.add(Calendar.DAY_OF_MONTH, 1);
>
> String checkDate = model.getDate();
> if (checkDate.contentEquals(days[i])) {
>
>
> 
> viewHolder.DateText.setText(model.getDate());
> 
> viewHolder.ExpenseTitleText.setText(model.getExpensetitle());
> 
> viewHolder.AmountText.setText(String.valueOf(String.format("%.2f", 
> model.getAmount(;
> }
> }
> }
>
> };
>
>
> recyclerView.setAdapter(adapter);
>
>
> }
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/5c519fcd-837b-46d1-b0f2-
> 51b73fda5098%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1z%3DcKi575-eQyripmpMT_OyDVWRJFx9SF-v4x-23%3DV0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Cannot download play-services-common

2016-11-30 Thread Marina Cuello
I think (https://developers.google.com/android/guides/setup) you just need
to add the "compile" clause to your build.gradle file to use the client.

compile 'com.google.android.gms:play-services:10.0.1'


On Wed, Nov 30, 2016 at 12:15 PM, Louis TREBUCHET 
wrote:

> I am using Android SDK tools and platform tool #25 and downloaded Google
> Play Services #38
> The library play-services-common is not included in com\google\android\gms
> Where can I find/download it as I need to use GoogleApiClient class ?
> Thanks for your help
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/291b1c21-01c3-4aed-b170-
> ad7fc8f40e13%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3LeLUgkCE9FnPHP7Hp%2BNAFwKUOodz_MJWw-qhRj5gA7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] With beta version build I charged for in app subscription.

2016-11-18 Thread Marina Cuello
The user needs to be registered as beta/alpha user for your Account --not
your app-- at the Google Play Developer Console to avoid getting charged.
Here is the link to the docs:
https://developer.android.com/google/play/billing/billing_admin.html#billing-testing-setup
When you try to buy an item or subscription, the Google Play popup you see
says it's a test buy. If it doesn't say that, just don't buy it: you're not
on a test account and the purchase will be real. You won't get a refund
unless you contact support and you're also pretty lucky.

Marina



On Fri, Nov 18, 2016 at 8:17 AM,  wrote:

> I uploaded signed apk into beta to test in app subscription with my real
> SKU, but when I test approved beta build it ask me to enter real card
> detail I follow the steps and it charged me?
>
> Does in app subscription charged at real time though with beta version?
>
> Is there any other to test In app subscription without any charges?
>
> Note :
> 1. Testing is OPEN BETA TESTING.
>
> 2. I didn't get any refund too?
>
>
> Your help is appreciable!
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/43b57dc4-f8b4-47ba-9b53-
> b917aa7a7605%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3r2QVu7TmU8boT6wTaisn4RW2%2B3tgeTSS%3DonQk09KzTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] disable autostart app after crash

2016-11-18 Thread Marina Cuello
The usual workaround is to implement an UncaughtExceptionHandler to save
some kind of flag when your app crashes,  and then check for it when your
activities start. If it's there, reset the flag and finish the activity.

The good way to do it is to make your activities restore gracefully no
matter what :)

Marina

On Fri, Nov 18, 2016 at 2:47 PM, Chairi Kiourt  wrote:

> Hi,
>
> I have an app that auto restarts after a crash, is there any way to
> disable this.I mean not to start automatically after the crash.
>
> Thank you in advance
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/a4a50917-772f-428a-9c33-
> 3c4db533249b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2ekePyC5yKPXB8bQHLk4rqnAwJdm_Z254nOnyTV%2BTvCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] I can't get Speaker Phone to work on my App

2016-11-18 Thread Marina Cuello
Could you please add the code you're using to play sound? It's not easy to
help you with the info you posted.

Marina

On Fri, Nov 18, 2016 at 11:45 AM, Timothy Hopfer 
wrote:

> No matter what combination I have tried, I do not seem to be able to get
> the speakerphone to turn on and play out the speakers like it is supposed
> to.  I have headphones plugged in for testing, but the app does not seem to
> play out of my HTC 626.  The frustrating part is that it works on my HTC
> Desire Eye perfectly, but not the HTC Desire 626.  I heard the issue was a
> matter of model, but I cant seem to make it work at all for my HTC 626.
> Does anyone know have any idea of what I can do to fix this problem?
> Please help!!!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/2cc37523-9f68-478e-98b4-
> 7ad50a943be7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0Sr4P-KEXNGy3dNJpsRFQGV_-iQvH5Kq_bZPzZBW5THg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Is there an admin here?

2016-11-14 Thread Marina Cuello
The recruiters ruined this group. It didn't had much action already, but
now I can't even see the real questions on the sea of irrelevant job
postings.

Marina

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3cdtpkY-SdpNCcFgPtcj8Y5gdypbF1va64ExbRLfs_Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] google play services lib

2016-08-29 Thread Marina Cuello
Here is the documentation:
https://developers.google.com/android/guides/setup

Marina

On Sat, Aug 27, 2016 at 4:39 AM, 欧阳俊  wrote:

> Why do I use the manage to download the latest SDK, Google play there is
> no Google services play services libs project, then I won't be able to
> access Google's ads, the latest Google play services libs how to download,
> thank you!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/3674c9aa-34ea-4793-aec8-
> caab24f0312b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2ZgAz_35781CoJP95MJzRHM4%2BqwDEpXr8R1uqk5RqNow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to force an update of an App

2016-06-22 Thread Marina Cuello
Tell them to mark your app as auto-update and then never add a new
permission on your manifest.
https://support.google.com/googleplay/answer/113412?hl=en

Marina

On Wed, Jun 22, 2016 at 9:47 AM,  wrote:

> Hi Dev team,
>
> We have a Mobile Capture app published in Play Store. Our challenge is to
> force the update and installation silently and transparent to the Mobile
> User. The application is going to be used by Street Vendors in a developing
> country, and we would like them to have any manual interaction during the
> app update process.
>
> regads,
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/c5c290c3-733a-4dc6-bf4c-99e4a823e341%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3tBmz_cpgwRKrvHaiEDFi3EJACHL9NtRg%2B39jzbd_j-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] i cant run my app

2016-05-11 Thread Marina Cuello
You're stating your project's Min Sdk is Android 23 N preview, but your
devices are Marshmallow or use even older APIs.
Read the docs:
http://developer.android.com/intl/es/tools/publishing/versioning.html#minsdkversion

Marina

On Wed, May 11, 2016 at 5:43 AM, Victor Mtowa  wrote:

> hello I seem to be having a problem in running my app i was able to create
> a project success fully and launch my android virtual device as well. The
> problem show up when i run my application and reach the stage where i want
> to choose the device which i created. when i choose the device and click OK
> i get a message with a caution mark saying"mini Sdk(API 23, N preview) !=
> device Sdk(API 23)). i have attached an image to elaborate more on my issue
> please can i get help. i would appreciate it if i could get a reply on my
> email address.
>
> Thanks.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/5b7d39e7-1cc0-43c1-9e8b-9b0c929fe551%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3%2Bw3qndgMV4SFuaiCgHUwjhwDuxF9_EGKP7Swv3fxcjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Looking for .Net Lead

2016-05-11 Thread Marina Cuello
These messages are ruining this list. It was a bit slow, but all these "hot
list" and completely unrelated head hunts are killing it.

Marina

On Wed, May 11, 2016 at 11:19 AM, sarita D  wrote:

> Hello,
>
> Hope you are doing great. Please find the below Job Description and
> forward profiles to r...@hclglobal.com.
>
>
>
> *We need real time Candidates. Must H1-b. We have BGV*
>
>
>
> *Title: .Net Lead*
>
> *Location: Mount laurel, NJ*
>
> *Duration: 3 to 6 months*
>
> *Rate: DOE*
>
>
>
> *Job Description:*
>
> *MUST HAVE*
>
> · 5+ years of IT experience as Snr. Developers
>
> · Minimum 5 years' experience developing application/services
> development in Microsoft .NET environment
>
> · Minimum 3 years' experience developing internet facing
> applications/services with ASP.NET , C#
>
> · Minimum 1 year's development experience with WCF/WebAPI,
> SOAP/RESTFul services
>
> · If resource is strong in C#, then WCF could be optional else It
> is mandatory skill
>
>  *Nice to have*:
>
>  • Online/Mobile Banking development - strongly preferred
>
> • Microsoft certification
>
> • Online/Mobile Banking Domain knowledge
>
>  *Job Responsibilities:*
>
> • Responsible for requirements analysis, design and
> development of applications/services across multiple client server or web
> based platforms.
>
> • Work closely with Architecture, Business Analysts, QA, and
> other technology teams on application design and ensure system requirements
> are implemented and delivered as per enterprise standards.
>
> • Develop Web applications/Services in WCF, C#, ASP.NET
>  etc, Perform code reviews, Perform unit & Integration
> testing.
>
> *Key accountabilities:*
>
> • Participate in analysis and system design specification sessions.
> Documentation of design options, and solution according to System
> Development Life Cycle (SDLC) methodology. Ensure that solutions adhere to
> development best practices and architectural principles.
>
> • Apply analytical skills to resolve problems and deliver viable
> solutions. Anticipate obstacles and execute proactive approaches to issues.
> Active participation in issue resolution.
>
> • Provide development estimates to Project Manager for development effort
> as well as weekly status reporting.
>
> • Configuration management and source control for the sub projects within
> the release.
>
> • Responsible for coding, testing, packaging, deployment and support of
> builds as code is promoted from development, system, acceptance and
> production environments. May lead code reviews.
>
> • Provide technical support to business and testing team during testing
> phases. Track defects, defect triage and resolution.
>
> • Knowledge transfer within group.
>
> • Ensure required documentation is housed in the project repository and
> that knowledge transfer has occurred to full time staff upon completion of
> contract term.
>
> Minimum work experience: >8 Years
>
> *Skill and Experience Details:*
>
> *Mandatory Skills:* ASP.NET MVC 5 .Net Architecture, .NET Design
> Patterns, SQL Server, .NET, C# - CSharp-Programming, MS SQL SERVER, MS
> Developer Tools
>
> *Desirable Skills:* Json.NET-JavaScript Object Notation for .Net
> *Language Skills:* English Language
>
>
>
> --
>
> *Sarita D **|* Recruiter *|* HCL Global Systems, Inc.
>
> T 248.473.0720 Ext:171 *|* r...@hclglobal.com
>
> 24543 Indoplex Circle, Suite #220, Farmington Hills, Michigan - 48335.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/CAFkUoSu9p2%2BAGA-q1s9RLsfienK4oE%3D-BVyBxOuzKwaok_LrEA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1mLFvGOnfUfy8Z8t-t%2BhpnEzFLxJVh%3DS8rvBJ_Q2a0Sg%40mail.gmail.com.
For more options, visit 

Re: [android-developers] size of google play gallery

2016-04-22 Thread Marina Cuello
The info is in in the same screen on the Console where you upload the
images:

JPEG or 24-bit PNG (no alpha). Min length for any side: 320px. Max length
for any side: 3840px.

At least *2 screenshots are required* overall. *Max 8 screenshots per type*.
Drag to reorder or to move between types.


Marina


On Fri, Apr 22, 2016 at 11:43 AM, Segev Cohen 
wrote:

> hi all
> i want to upload a new app to google play, what is the size of the
> screenshots in the gallery?
>
> thank you!
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/626f1ab1-8256-4573-8234-9b4d94a9259c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX0npf7Uix_P%3DXqS%3DvJFjzftjg%2BoqfAhWU7pDiH1SG30Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't install my apps from Play Store (Error Code: -505)??

2016-04-13 Thread Marina Cuello
Just a wild guess... Starting from Lollipop you get the multiple user
accounts.
If you have several users on the device (including Guest user) and run an
app from Android Studio, it installs on every user's "sandbox".
But... if you delete the app by hand on with some user, it STILL exists on
the other users' account. That could give you a confusing error message
when installing the Release version.
Anyway, check on the logcat to see if you can get more info about your
specific error.

Marina


On Wed, Apr 13, 2016 at 9:17 AM, Brett Stuart 
wrote:

> I have one application I duplicate with different customer's logos etc.
>
> I cant find any duplicate package names in any of the apps, all are unique.
> I have eight of these apps and it allows me to install one only, and the
> rest I get the error.
>
> Strange thing that it works on KitKat but not Lollipop+ when I download
> from the playstore.
>
> I've searched for any reference to "Error Code: -505" but not getting much.
>
> Has anyone else experienced this since Lollipop?
>
> Thanks...
>
>
>
>
>
>
>
>
>
> 
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/504d74ca-ac97-4353-a2ad-89f5ea65a11a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3OjUFS-8UJjcBnUDHy7TgNyrC-2SsMyh6_HJ44NmHo4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio Android App

2016-01-27 Thread Marina Cuello
I used  AIDE with the premiun key frequently a few years ago, and only
check it from time to time currently.
It's pretty nice, but it's better if you have a big screen, and a Bluetooth
keyboard or use it on a nice emulator as Genymotion.
It's great to show off with clients if you're freelance or are selling your
stuff, because you  can easily make modifications to your app in the middle
of a meeting.
It's good enough as an alternative IDE if you pay for the Premium version,
but I never used it as the main one.

Marina

On Tue, Jan 26, 2016 at 11:36 PM, Mark Phillips 
wrote:

> Have you looked at AIDE?
> https://play.google.com/store/apps/details?id=com.aide.ui=en. It is a
> Java IDE that runs on Android and can be used to build Android apps on your
> tablet or phone. It has been around for awhile and is actively used (I see
> traffic on the email list), although I am not sure how well it works. And
> it is not Android Studio.
>
> Mark
>
> On Tue, Jan 26, 2016 at 2:12 PM, TreKing  wrote:
>
>>
>> On Mon, Jan 11, 2016 at 8:49 AM, William Henry King <
>> kingiamw...@gmail.com> wrote:
>>
>>> Is there any way I can request that Google's Android team code an
>>> official Android Studio app for the Play Store, so that we android
>>> developers can develop apps on Android itself?
>>>
>>
>>
>> https://code.google.com/p/android/issues/entry?template=Tools%20feature%20request
>>
>>
>>> It would be really wonderful to code Android apps ON Android, even if
>>> the Android Studio app gets released only for Remix OS specifically.
>>>
>>> Or is an Android Studio app even possible?
>>>
>>
>> Anything is possible, but considering ...
>>
>>- that AS is based on Intellij which does not have an Android app
>>- the beefy hardware and system requirements to run AS
>>- the (presumably) small size of the AS dev team
>>- the considerable effort such an undertaking would be
>>- how much work they want and have to do on the official desktop
>>product
>>- how few Android developers are interested in / clamoring for
>>developing Android on Android
>>
>> ... I wouldn't hold my breath.
>>
>> -
>> 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to android-developers+unsubscr...@googlegroups.com.
>> To post to this group, send email to android-developers@googlegroups.com.
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/android-developers/CANCScgjyaK5zN1zUL5jAC4%2BmL%2B6PH9HmouGqYDZrpUFY%3D5URCQ%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/CAEqej2P3mxs8s54kMGLttH42oVkV0Ozt%2BL1jF%2B1BmeKvau94aA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2pbw5dgT8SJ3kY0V1LWvgDpP-ur7ybgRLYsRyPofnmOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't build project for AndroidStudio

2016-01-25 Thread Marina Cuello
Try checking with the guys at https://groups.google.com/group/android-ndk.

Marina

On Mon, Jan 25, 2016 at 10:30 AM,  wrote:

> I tried to build app in Cocos 2d-x on Ubuntu, using latest Android
> Studio/SDK.
>
> BUILD FAILED
> /home/user/android-sdk/tools/ant/build.xml:597: The following error
> occurred while executing this line:
> /home/user/android-sdk/tools/ant/build.xml:716: The following error
> occurred while executing this line:
> /home/user/android-sdk/tools/ant/build.xml:730: Compile failed; see the
> compiler error output for details.
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/894b97ff-dfd3-42c8-8f4f-b00d29e96e4d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX3zHoTHoX%2BvdxB0w7jJvpFp-DqofSFb_cO%2BxGyqX-aGVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Multi screen form fill up

2016-01-25 Thread Marina Cuello
You could check how Roman Nurik  made it in this library:
https://github.com/romannurik/Android-WizardPager

Marina

On Sun, Jan 24, 2016 at 8:55 AM, Vivekanand P V 
wrote:

> Dear All,
>
> I have a domain class with 20 properties which I want the user to fill.
>
> I like to show one or two properties per screen. Once the user fill up and
> validation is ok, the user clicks on the next button given at the bottom.
> This way, after 10-20 screens, the data is saved for further processing.
>
> I am fairly new to android development and implemented the form as a
> single screen layout. How can I do it the multi screen way?
>
> Please help.
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/5059be74-7c99-4934-a3f4-d4e2333e3069%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1r0Jd%3D3dwN4fWSZkc6ffsksuXQYPf%2BNntWLM_kvhLPVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Bing translator api issue

2016-01-25 Thread Marina Cuello
I don't really get what you want to do. I'm guessing you want to use only
one strings.xml and translate "on-the-fly" all the texts for this and the
rest of your activities?
The best way would be to just translate the strings to another strings.xml
and use the values/your-language bucket to store it. And then just change
language. I've found this Q doing a fast search:
http://stackoverflow.com/questions/12908289/how-to-change-language-of-app-when-user-selects-language
.

If you need to use the Bing service because it's some exercise or proof of
concept or something like that, you could make a Dictionary class or
service that translates every string on the file and stores the translation
on some form of cache.
You could make it eager and load every string just once. In this Q you
can find how to get all the IDs so you can then retrieve the strings you'll
have to translate: http://stackoverflow.com/a/14389698/671431
Or you could make it lazy and get one string at a time. In both cases,
there will be some performance penalty on your UI. One will be a long wait
everytime the user changes to a new language, and the other will make the
first load of every screen a bit slow.
And then there will be even more penalty because anyway you would need to
make a someView.setText(yourDictionary.getText(R.string.someString)) call
for every TextView and perhaps also setContentDescription on the
ImageViews.

I don't think it's pretty.

Marina


On Sun, Jan 24, 2016 at 10:06 AM, Yong Lin  wrote:

> Below is my code, i wanted to use the bing translate api to translate my
> strings.xml . I have a spinner in my code, when the user select the
> language in my spinner, i need to translate my strings.xml to my language,
> may i know how to do it?
>
>
> package com.plantidentification;
>
> import android.app.Activity;
> import android.os.AsyncTask;
> import android.os.Bundle;
> import android.view.View;
> import android.widget.AdapterView;
> import android.widget.Spinner;
> import android.widget.Toast;
> import com.memetix.mst.language.Language;
> import com.memetix.mst.translate.Translate;
>
> /**
>  * Created by YongLin on 1/23/2016.
>  */
> public class LanguageActivity extends Activity {
> Spinner spinnerctrl;
> String translatedText;
>
>
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
>
> setTitle(R.string.title_activity_language);
> spinnerctrl = (Spinner) findViewById(R.id.spinner1);
> setContentView(R.layout.activity_language);
>
> spinnerctrl.setOnItemSelectedListener(new 
> AdapterView.OnItemSelectedListener() {
>
> public void onItemSelected(AdapterView parent, View view,
>int pos, long id) {
>
> if (pos == 1) {
>
> Toast.makeText(parent.getContext(),
> getResources().getString(R.string.YouselectEn), 
> Toast.LENGTH_SHORT)
> .show();
>
> } else if (pos == 2) {
>
> Toast.makeText(parent.getContext(),
> getResources().getString(R.string.YouselectZH), 
> Toast.LENGTH_SHORT)
> .show();
> new MyAsyncTask() {
> protected void onPostExecute(Boolean result) {
>
> translatedText=getResources().getString(R.string.HELLO);
> }
> }.execute();
>
> } else if (pos == 3) {
>
> Toast.makeText(parent.getContext(),
> getResources().getString(R.string.YouselectHI), 
> Toast.LENGTH_SHORT)
> .show();
>
> }
> else if (pos == 4) {
>
> Toast.makeText(parent.getContext(),
> getResources().getString(R.string.YouselectMs), 
> Toast.LENGTH_SHORT)
> .show();
>
> }
>
>
> }
>public void onNothingSelected(AdapterView arg0) {
> // TODO Auto-generated method stub
> Toast.makeText(getApplicationContext(), "Nothing to select", 
> Toast.LENGTH_LONG).show();
> }
>
> class MyAsyncTask extends AsyncTask {
> @Override
> protected Boolean doInBackground(String... arg0) {
> Translate.setClientId("plantidentification");
> 
> Translate.setClientSecret("lMFkUM+gG96NFrhhZV649Ix8NxR2SvqXJWpOTOgNq54=");
> try {
> translatedText = Translate.execute( 
> getResources().getString(R.string.HELLO), Language.ENGLISH, 
> Language.CHINESE_SIMPLIFIED);
> } catch(Exception e) {
> translatedText = e.toString();
> }
>  

Re: [android-developers] font size normalization

2015-08-10 Thread Marina Cuello
You could use this tool to help on calculations:
http://angrytools.com/android/pixelcalc/

Marina

On Fri, Aug 7, 2015 at 12:11 PM, Justin Anderson magouyaw...@gmail.com
wrote:

 AFAIK there is no direct matching like that. They are two different
 operating systems and render text differently.

 That being said, I think I read an article once that said there is a
 (very) rough equivalence between pts used in iOS and sp/dp values used in
 Android.

 You could try using 18 sp (or dp) and comparing rendered font sizes on
 your Android and iOS devices. It may not be exact and you may need to tweak
 it a little, but it is going to mainly be a trial and error kind of thing.

 Of course, all of this is assuming you are not defining your fonts in
 pixel values on Android, which would be a big no no.

 Hope that helps.

 On Fri, Aug 7, 2015, 9:55 AM Jags jag...@gmail.com wrote:

 in my app i use title fonr size 18.7 in ios, my customer says in android
 same size font looks smaller than iphone in s6.
 which font type and size in android s6 will be closest matching in iphone
 ? iphone one is accepted by my customer as a standard to use.

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

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


-- 
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] Alguien sabe porque me sale este error? Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecExc

2015-08-03 Thread Marina Cuello
Por lo general, la causa real del error  aparece más arriba en los logs /
Usually, the real cause of the error can be found in earlier lines of the
logs.


Marina

PS: Es mucho mejor cortar y pegar que hacer capturas de pantalla. Es una
costumbre moderna que no entiendo :P / I find it's better to cut and paste
than taking a snapshot. It's a modern custom I don't get :P.

On Wed, Jul 29, 2015 at 10:55 PM, Jonathan Fajardo Roa 
jfajardor9...@gmail.com wrote:

 Error:Execution failed for task ':app:dexDebug'.
  com.android.ide.common.process.ProcessException:
 org.gradle.process.internal.ExecException: Process 'command
 '/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin/java''
 finished with non-zero exit value 2

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


-- 
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 studio inished with non-zero exit value 3 error

2015-05-13 Thread Marina Cuello
Just in case anyone else encounters this kind of error: usually the
actual error is somewhere upstream the Gradle Console log
messages.

Scroll up and you might find the answer or at least the root of your
generic error.

As the task is dexDebug, in this case I think it could be a repeated
/ inconsistent dependency --if you use two different versions of the
same dependency in your modules--, or that you exceded the max 65k dex
size and need to use the multidex option.  There might be other
reasons, I guess.

Marina

PS: I agree with some other members that think OP was a bit rude, but
as English is not my first language and I know sometimes I sound
harsh when translated, I'm giving OP the benefit of doubt :)

On Tue, May 12, 2015 at 4:32 AM, Ristar rista...@gmail.com wrote:
 Error:Execution failed for task ':app:dexDebug'.
 com.android.ide.common.process.ProcessException:
 org.gradle.process.internal.ExecException: Process 'command 'C:\Program
 Files\Java\jdk1.7.0_72\bin\java.exe'' finished with non-zero exit value 3

 How to fix 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@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.

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

2015-02-19 Thread Marina Cuello
Hi!
I'm not sure how to help, because've only met this problem when there
are several users set on a device.

If I install my app directly from Eclipse with my debug certificates,
then uninstall the app and try to install a production copy, made with
the release certificate, I've got the same error message
INSTALL_FAILED_DUPLICATE_PERMISSION.

Until I uninstall the app in every user by hand, I can't install the
new one. At least in your case the error message makes sense :)

When I was trying to understand that error message, I've read that it
affected permissions with android:protectionLevel  declared as
signature. Are you using that? Can you change it to normal without
affecting your business model?


Marina

On Wed, Feb 18, 2015 at 11:58 AM, Marten Gajda mar...@dmfs.org wrote:
 Hi all,

 we've some problems with Android 5. There seems to be a new policy that
 requires two apps that define the same permissions to be signed by the same
 key. Otherwise you can't install the app getting the error
 INSTALL_FAILED_DUPLICATE_PERMISSION.
 This is very annoying and I'd like to know that the suggested
 solution/workaround to this is.

 We have an Open Source task app that provides access to the tasks via a
 ContentProvider. The concept pretty much equals the CalendarProvider. We
 also have a (not yet Open Source) sync app that can sync to this task app
 (or its ContentProvider).
 The problem is that (in contrast to the CalendarProvider) our users usually
 install the sync app first. That means the permissions of the task app are
 not known when the sync app is installed. So they are not granted
 automatically when the task app is installed afterwards.

 Until Android 5 the solution was to define the same permissions in the sync
 app. But that doesn't work any more in some cases. If the user compiles the
 task app himself he can not use our sync app at the same time, because they
 are not signed by the same key.

 How can we achieve that we protect access to the task ContentProvider by
 permissions still allowing them to use a self compiled version?

 Even if both apps are signed by the same key it doesn't seem to work in some
 cases (does Android 5 also require both apps to be from the same source?)

 A similar issue exists when another developer tries to build a sync app that
 can sync to our task app. He can not add the same permissions, because he
 can't use the same signing key. But if he can't add the same permission
 definition his app won't get the permission if it's installed before the
 task app is installed.

 What's the solution of this mess?

 thanks

 Marten

 --
 Marten Gajda
 Schandauer Straße 34
 01309 Dresden
 Germany

 tel: +49 177 4427167
 email: mar...@dmfs.org
 twitter: twitter.com/dmfs_org

 VAT Reg. No.: DE269072391

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

-- 
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] Re: My android studio suddenly has changed the editor font to enormous.

2014-10-20 Thread Marina Cuello
Hi!

On your Android Studio or File menu (I have a Mac here, not Linux, not sure
how or where is it).
Preferences or Settings (sometimes they change name too, not sure if this
is the case)
Find Appearence  under IDE Settings
Mark Override default fonts by (not recommended)
Choose whatever you want. Apply or Ok

If that's what didn't work for you try this one:

Preferences
Find Editor under IDE Settings
Choose desired Size
Look for the Save as... button
Create a new color scheme.
Select the new profile on the dropbox menu, if it's not selected already.
Apply or Ok

I hope one of them works for you.

Marina





On Mon, Oct 20, 2014 at 4:11 AM, Christine christine.kar...@gmail.com
wrote:

 Pinch? My computer doesn't have a touch screen.


 On Monday, October 20, 2014 12:29:08 AM UTC+2, Phil Bayfield wrote:

 You can pinch to zoom.

 On Thursday, 16 October 2014 16:03:45 UTC+1, Christine wrote:

 My android studio suddenly has changed the editor font to enormous.
 I'm on Ubuntu, changing font size in settings (of android studio)
 doesn't change the font. The way it is now, it's unusable. What can I do?

 Christine

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


-- 
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] bitmap from view flipper

2014-10-02 Thread Marina Cuello
Hi!
I'm not sure if this is what you're looking for, but check this method:
http://developer.android.com/reference/android/view/View.html#getDrawingCache()

Marina

On Wed, Oct 1, 2014 at 4:09 PM, sweety fx fxswe...@gmail.com wrote:

 I need to get the bit map from the View flipper., when I flip I need to
 get the new bitmap from the flipper

 I tried view flipper.getCurrentView() - to get the current view visible
 on the flipper but don't know how to get the bitmap image

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


-- 
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 ADT problem on eclipse

2014-05-21 Thread Marina Cuello
On your Install new software screen, uncheck the Contact all update
sites during install to find required software and try again.

Marina


On Wed, May 21, 2014 at 11:37 AM, dashman erjdri...@gmail.com wrote:


 I updated to ADT 22.6.3  and having problems.

 On Eclipse startup getting an error message to update ADT.

 I read some other messages and went to eclipse install-new-software.

 and tried to update from https://dl-ssl.google.com/android/eclipse/

 When I try to update the ADT from there...

 I get an error message about not being able to update.

  requires 'org.eclipse.ui 3.7.0' but it could not be found

 I'm using Eclipse Helios.


 Any way to undo the ADT update to 22.6.3

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


-- 
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] ADT Update?

2014-04-29 Thread Marina Cuello
You need to go to Install new software... and choose the Android
Developer Tools Update Site.  Then select the tools you need to update and
unmark the Contact all update sites... check. Then follow the update
process and it will work.

Marina


On Mon, Apr 28, 2014 at 11:10 PM, 张张斌 kimichangs...@gmail.com wrote:

 Me too! check every time when eclipse started.


 2014-04-29 2:38 GMT+08:00 Nathan nathan.d.mel...@gmail.com:

 Okay, I installed updates to the Android SDK.

 It tells me that I need to update the ADT plugin and redirects me to
 Check for Updates.

 Checking for Updates says there are no updates. I checked the download
 site for the ADT and it matches.

 In the meantime, no Android targets are available.


 Nathan

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




 --
 如果邮箱有问题,请转至kimichangs...@sina.com

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


-- 
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] Re: How to calculate a tablets resolution before purchasing the tablet

2014-04-15 Thread Marina Cuello
You can search for/make an app that detects the bucket and install it, if
you have access to the device. A quick search gives me
https://play.google.com/store/apps/details?id=com.pmc.android.checkscreensize,
but there are plenty.
Otherwise, as far as I can recall it depends on the manufacturer's decision
which bucket it takes. So no, you can't calculate the bucket given the
physical screen size and dpi specs.

Marina


On Tue, Apr 15, 2014 at 4:06 AM, Simon Giddings mr.s.giddi...@gmail.comwrote:

 The effort I made did not reveal this result and it certainly does not
 answer the question !

 My question was more general, if you hadn't noticed.
 Given that most tablets will give a horizontal and vertical pixel size as
 well as a diagonal size in inches, is it possible to determine the density
 bucket (to use googles term) ie: MDPI or HDPI or XHDPI, etc

 From what you have managed to find, this device would appear to fall
 between two buckets - HDPI and XHDPI because
 - HDPI screens are ~240dpi
 - XHDPI screens are ~320dpi
 (according to Supporting Multiple 
 Screenshttp://developer.android.com/guide/practices/screens_support.html
 )

 So the question remains open 


 On Monday, 14 April 2014 20:21:31 UTC+2, Chris wrote:

 Googling the exact phrase Toshiba eXcite Pro AT10LE-A-10D screen DPI
 yields in the first result a screen DPI of 300.

 At least give it an effort.

 - C

 On Tuesday, April 1, 2014 3:28:39 AM UTC-4, Simon Giddings wrote:

 I am looking at buying a Toshiba eXcite Pro AT10LE-A-10D, which boasts a
 screen resolution of 2560 x 1600 pixels for a screen diagonal of 10.1.

 Is it possible to calculate the DP value - ie MDPI / HDPI / XHDPI etc ?

 I haven't been able to find any form of developer support on the toshiba
 web site, which could have helped.

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


-- 
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 how to draw a circle ring as shown in the image.

2014-04-14 Thread Marina Cuello
Sometimes, the problem when your first language is not English is that you
don't know how to search on Google. What I mean is that you don't know the
right words. When I can't find what I need, but I'm sure there must be
something out there,  I often use synonyms.
In this case, you get what you need if you search for: android custom
progress wheel.

Marina


On Sat, Apr 12, 2014 at 2:52 PM, TreKing treking...@gmail.com wrote:


 On Fri, Apr 11, 2014 at 6:32 AM, 12169 ashish.a...@gmail.com wrote:

 Android how to make a circle ring as shown in the image. it show the
 progress of download process. any help how to make this circle


 What have you tried so far?


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


-- 
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] application downloaded to phone but wont open

2014-04-07 Thread Marina Cuello
Did you define a launcher activity on your AndroidManifest.xml? That could
be a reason.

Marina


On Mon, Apr 7, 2014 at 6:45 PM, firebreather
michaelirvingbr...@gmail.comwrote:

 I have a friend who downloaded a couple of my apps, but they wont open,
 even though their icons are on the phone. I think the error message was
 'not installed' although I'm not sure. I was able to open the apps by going
 to her google play store account, opening her 'my apps' tag, then hitting
 the open button. I should be able to open from her phone. now I'm getting
 some 1 star ratings from people saying the app won't open and it's killing
 me. any ideas?

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


-- 
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] Is it all devices larger side the landscape?

2014-03-31 Thread Marina Cuello
No, there are a few devices with a BlackBerry-like / QWERTY format that
have 4:3 screens. Samsung Galaxy Y Pro is  one I can recall. But they're
exceptions, I believe.

Marina


On Mon, Mar 31, 2014 at 11:04 AM, lselwd webmas...@poliscarhire.com wrote:

 When using Eclipse tested app in Nexus7 emulator AVD - Phonegap Build App
 - when I have
 preference name=orientation value=portrait /
 I get

 https://lh3.googleusercontent.com/-PI4l1H2R4yo/Uzl1sqE_OtI/GLk/GfVkGNkMjCk/s1600/device-2014-03-31-163805.png


 but when
 preference name=orientation value=all /
 after rotation is OK...


 https://lh5.googleusercontent.com/-yk7yDMJJrD4/Uzl1ziOx3WI/GLs/dUlFmk0aShc/s1600/device-2014-03-31-164728.png

 Is it all devices larger side the landscape?

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


-- 
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] Windows Phone ContentPresenter equivalent on Android

2014-02-11 Thread Marina Cuello
I'm not sure how a ContentPresenter works, but you can create custom views
on several ways. You could extend any ViewGroup / xxxLayout that suits you
well, create an xml with a merge tag and so on. Just google a bit
around.

Marina


On Mon, Feb 10, 2014 at 12:39 PM, Jia Li jarlym...@gmail.com wrote:

 Is there a control equivalent to ContentPresenter on Windows Phone?

 I want to create a custom styled view/viewgroup, onto which i can add
 children. Then, I can reuse it on all the screens.

 Please help.

 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.


Re: [android-developers] Eclipse plugins for SQLite3 and project import

2014-01-28 Thread Marina Cuello
I tried your Eve plugin when and it works like a charm. I had a lot of
libraries, some even using others, and it got them ok.
If you can, add an option/function to add a res folder automatically if
there is none. Some libraries have an empty one, and when you import
projects you cloned from Git (where empty folders are ignored) you get no
folder at all. After importing with your plugin,  you see red marks all
over the place. It scared me for a second :P

Marina


On Mon, Jan 13, 2014 at 9:59 AM, Mike mikercar...@gmail.com wrote:

 Hi,

 These are some plugins I made a while back and decided to release them
 free to anyone who needs them.  The Eve plugin imports android projects and
 all their dependencies automatically.  The Walle plugin lets you view and
 run queries against an SQLite3 database on an android device.  Here are the
 links, check out the features:

 www.doubletimesoft.com/software/eve
 www.doubletimesoft.com/software/walle

 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.


Re: [android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Marina Cuello
Does it work if you add http://; to your URL?

It sounds like your device/emulator has no application to handle the
browsing (right word?) of that kind of data (an URI  with no protocol
declared).

Marina


On Thu, Jan 23, 2014 at 2:11 PM, Stanley Lei xiaofeng.lei...@gmail.comwrote:

 Hi all,

 I'm working on the APP to show multiple images with Fragment which
 contains an ImageView control. And I also set the onClickListener for the
 image view to open some URL with startActivity. But unfortunately, the App
 crashed with ActivityNotFoundException. Below is the code and the error
 messages, can anyone give me some suggestion about this issue? Thanks in
 advance.

 @Override
 public View onCreateView(LayoutInflater inflater, ViewGroup container,
 Bundle savedInstanceState) {
 View v = inflater.inflate(R.layout.ad_fragment_layout, container,
 false);
 imgView = (ImageView)v.findViewById(R.id.ad_image);
 if (!loadImageFromFile()) {
 imgView.setImageResource(mRes);
 }


 imgView .setOnClickListener(new OnClickListener() {

 @Override
 public void onClick(View v) {
 Intent i = new Intent(Intent.ACTION_VIEW);
 i.addCategory(Intent.CATEGORY_BROWSABLE);
 i.setData(Uri.parse(www.google.com));
 getActivity().startActivity(i);
 }});
 return v;
 }

 The error message:

 01-23 08:23:37.439: E/AndroidRuntime(7032): FATAL EXCEPTION: main
 01-23 08:23:37.439: E/AndroidRuntime(7032): Process: com.mppp, PID: 7032
 01-23 08:23:37.439: E/AndroidRuntime(7032):
 android.content.ActivityNotFoundException: No Activity found to handle
 Intent { act=android.intent.action.VIEW
 cat=[android.intent.category.BROWSABLE] dat=www.google.com }
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1723)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Instrumentation.execStartActivity(Instrumentation.java:1491)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Activity.startActivityForResult(Activity.java:3436)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Activity.startActivityForResult(Activity.java:3393)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:824)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Activity.startActivity(Activity.java:3644)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.Activity.startActivity(Activity.java:3607)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 com.mppp.app.view.main.ADFragment$2.onClick(ADFragment.java:74)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.view.View.performClick(View.java:4456)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.view.View$PerformClick.run(View.java:18462)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.os.Handler.handleCallback(Handler.java:733)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.os.Handler.dispatchMessage(Handler.java:95)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.os.Looper.loop(Looper.java:136)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 android.app.ActivityThread.main(ActivityThread.java:5102)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 java.lang.reflect.Method.invokeNative(Native Method)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 java.lang.reflect.Method.invoke(Method.java:515)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
 01-23 08:23:37.439: E/AndroidRuntime(7032): at
 dalvik.system.NativeStart.main(Native Method)

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

Re: [android-developers] AppStore emulation tools?

2014-01-15 Thread Marina Cuello
If you are not satisfied by how adb install works, you could try
installing by sending the apk by e-mail or downloading it into the device /
emulator you are using to test and install it from there. It does ask for
permissions and that kind of stuff.

Marina


On Sun, Jan 12, 2014 at 10:17 AM, smoogli roy.ben.ha...@gmail.com wrote:

 thanks, tried adb install but it does not prompt and interact with the
 user. e.g., when adding a permission to the app, it does not prompt with
 OK, accepted
 I would like to verify interaction with users in various scenarios.

  --
 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] Data getting null when the app in background

2014-01-15 Thread Marina Cuello
The quick solution is to check, on the onResume of your activity, if the
data is null, and if it's null, restart everything. There are other, better
ways, but that's the quickest one to code.

If you want to find better options, Google about activity life cycle and
specially recreation of activities.

Marina


On Wed, Jan 15, 2014 at 2:47 PM, Abhilash Baddam 
abhilash.androiddevelo...@gmail.com wrote:

 Hi,

 In my activity there are two spinners,listview and a button GO.
 When the user select the options from the spinners and he clicks on GO
 button there is a server request.
 whatever the response comes from server i am displaying that data in
 listview...
 Once the data displayed, if the user keep the app in background by
 pressing home..after sometime if the user again comes back to the screen
 i am getting null pointer exception as the data or object passed to the
 listview adapter is getting null.
 Seems System is garbage collected the data... How can I overcome this
 situation.

 Can anyone help me on 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@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] Re: In ADT: Best Set of Emulator Devices to Cover Most Actuals?

2014-01-14 Thread Marina Cuello
You could also try Genymotion. You have several device images available. It
doesn't come with Google Apps / Google Play Services included,  but it is
really easy to add Google stuff and even ARM simulation to them. Genymotion
works better than the official emulator if your development computer is not
state-of-the-art :)

Marina


On Sun, Jan 12, 2014 at 10:18 PM, Cayce ca...@cayceweb.com wrote:

 I can't imagine a person would make it this far into the process assuming
 that Emulator was another word for The Real Thing, but thanks for
 kindly pointing that out for me. The question was, simply, of all the
 listed options, as a matter of saving time, which would be the preferred
 set to cover the vast array of devices an app is likely to run on.

 I'll go with TreKing's suggestion of The two latest Samsung Galaxies, the
 two latest Nexus devices, and the two latest HTC devices.

 Thanks, TreKing.


  --
 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] In-app when country not in list of Supported locations for merchants

2013-05-27 Thread Marina Cuello
Hi!
My country Argentina was recently deleted from the list on Supported
locations for merchants. I was developing a little game with an in-app
billing system; some mini-games would come free and some would be optional,
to be purchased.

There is any way to make it work now that it is out of the question? Does
the rule against using other paying systems stand when there is no
availability on my country?
I would welcome any insight from people from countries that aren't on the
supported locations list.

Thanks!

Marina

PS: If you think this is not the proper list or there is another list you
think I could get more input, please let me know.

-- 
-- 
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] Issues Don't know whats that

2013-05-13 Thread Marina Cuello
You just activated some developer options. Go to settings, Developer
options and disable Pointer location and Show touches.

Marina


On Mon, May 13, 2013 at 2:10 PM, news.anand11 news.anan...@gmail.com
wrote:
Hi , I am facing some issue in my phone, I think its because I am
developing something and done something wrong. I don't know whats that I am
sending image with that.

Please find the attached file and please suggest what is that at top of the
 screen. Why I am seeing this on top of the screen.


 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@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] Re: How to do the slicing effect as in fruit ninja when user touches the screen?

2013-05-07 Thread Marina Cuello
Cocos2d-x, basically the same but C++ instead of Objective C. But you'll
need to use Android NDK besides SDK.

Marina

On Tue, May 7, 2013 at 2:52 AM, mait...@rossitek.com wrote:

 Hi, thanks for the reply. I have seen this library but still it is for
 iOS, I want to do it for Android. Any idea how do i do it? any similar
 library for android available?


 On Monday, May 6, 2013 9:26:05 PM UTC+5:30, bob wrote:

 Maybe look at this?


 http://www.iossourcecode.com/**2012/06/23/how-to-make-a-game-**
 like-fruit-ninja-with-box2d-**and-cocos2d-part-3/http://www.iossourcecode.com/2012/06/23/how-to-make-a-game-like-fruit-ninja-with-box2d-and-cocos2d-part-3/

  --
 --


-- 
-- 
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] Re: RuntimeException: Canvas: trying to use a recycled bitmap

2013-03-19 Thread Marina Cuello
I did. I changed some stuff to avoid out of memory errors --just for debug
sake, can't be done in the working app-- and then commented the calls and
the exception is thrown anyway. It seems like something outside my code is
trying to recycle some bitmap.

Marina

On Mon, Mar 18, 2013 at 4:19 PM, bob b...@coolfone.comze.com wrote:

 Why don't you take out the recycle() calls altogether and see if it works?


 Even if you assign after recycling, the following could happen:



 *bitmap.recycle();*

 *
 *

 *  thread switch  *

 *
 *

 *other thread tries to use bitmap*




 On Monday, March 18, 2013 12:50:37 PM UTC-5, Marina Cuello wrote:

 Hi!
 I'm having a weird problem with one of my apps. I'll try later to extract
 some code and make a sample project to share if it's useful but by now I'm
 just asking  to see if anyone found this one or can give me a hint on how
 to tackle it.

 I have two activities.

 Activity A extends SherlockActivity from ActionBarSherlock and haves a
 GridView on it. The grid items have an ImageButton. When you press on the
 ImageButton, it calls an instance of Activity B.

 Activity B extends **SherlockFragmentActivity (ActionBarSherlock again),
 with a ViewPager on it. The fragments have a very complex layout.

 My Activity B has a menu with only one item. The item is set-up on
 onOptionsItemSelected so it simply calls onBackPressed(). That one  calls
 super.onBackPressed() right away. I've only overridden it for debugging
 purposes.

 I tested it on some Jelly Bean devices and on a couple Gingerbread ones
 (I'm using some co-workers phones as test devices :)). On Jelly Bean it's
 ok. But in Gingerbread I've met a weird behaviour.

 When I'm on B, and press the back button on the device, it closes B and
 goes normally to A. But, if I press the option on the menu, I've got a
 force close message and I've got the following log:

 java.lang.RuntimeException: Canvas: trying to use a recycled bitmap
 android.graphics.Bitmap@**2b021388
 at android.graphics.Canvas.**throwIfRecycled(Canvas.java:**955)
  at android.graphics.Canvas.**drawBitmap(Canvas.java:1044)
 at android.graphics.drawable.**BitmapDrawable.draw(**
 BitmapDrawable.java:325)
  at android.widget.ImageView.**onDraw(ImageView.java:881)
 at android.view.View.draw(View.**java:6986)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.support.v4.view.**ViewPager.draw(ViewPager.java:**1923)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at com.android.internal.policy.**impl.PhoneWindow$DecorView.**
 draw(PhoneWindow.java:1882)
 at android.view.ViewRoot.draw(**ViewRoot.java:1544)
  at android.view.ViewRoot.**performTraversals(ViewRoot.**java:1280)
 at android.view.ViewRoot.**handleMessage(ViewRoot.java:**1882)
  at android.os.Handler.**dispatchMessage(Handler.java:**99)
 at android.os.Looper.loop(Looper.**java:130)
  at android.app.ActivityThread.**main(ActivityThread.java:3701)
 at java.lang.reflect.Method.**invokeNative(Native Method)
  at java.lang.reflect.Method.**invoke(Method.java:507)
 at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(**
 ZygoteInit.java:866)
  at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:624)
 at dalvik.system.NativeStart.**main(Native Method)

 The stack seems to relate to my Activity B structure. My app loads puts
 large images on screen, so I have a couple recycle() calls on the
 fragments that take part of Activity B,  but they're all inside

Re: [android-developers] Re: RuntimeException: Canvas: trying to use a recycled bitmap

2013-03-19 Thread Marina Cuello
I checked once again. There were a couple of recycle() that I didn't find
the first time I searched --my Eclipse sometimes lacks of memory for this
kind of tasks, it seems. I searched for the call among my files with
another app, and find the culprit on the onPause() of one of de Fragments.
Thanks!

Marina

On Tue, Mar 19, 2013 at 1:48 PM, Marina Cuello marina.ear...@gmail.comwrote:

 I did. I changed some stuff to avoid out of memory errors --just for debug
 sake, can't be done in the working app-- and then commented the calls and
 the exception is thrown anyway. It seems like something outside my code is
 trying to recycle some bitmap.

 Marina


 On Mon, Mar 18, 2013 at 4:19 PM, bob b...@coolfone.comze.com wrote:

 Why don't you take out the recycle() calls altogether and see if it works?

 Even if you assign after recycling, the following could happen:



 *bitmap.recycle();*

 *
 *

 *  thread switch  *

 *
 *

 *other thread tries to use bitmap*




 On Monday, March 18, 2013 12:50:37 PM UTC-5, Marina Cuello wrote:

 Hi!
 I'm having a weird problem with one of my apps. I'll try later to
 extract some code and make a sample project to share if it's useful but by
 now I'm just asking  to see if anyone found this one or can give me a hint
 on how to tackle it.

 I have two activities.

 Activity A extends SherlockActivity from ActionBarSherlock and haves a
 GridView on it. The grid items have an ImageButton. When you press on the
 ImageButton, it calls an instance of Activity B.

 Activity B extends **SherlockFragmentActivity (ActionBarSherlock
 again), with a ViewPager on it. The fragments have a very complex layout.

 My Activity B has a menu with only one item. The item is set-up on
 onOptionsItemSelected so it simply calls onBackPressed(). That one  calls
 super.onBackPressed() right away. I've only overridden it for debugging
 purposes.

 I tested it on some Jelly Bean devices and on a couple Gingerbread ones
 (I'm using some co-workers phones as test devices :)). On Jelly Bean it's
 ok. But in Gingerbread I've met a weird behaviour.

 When I'm on B, and press the back button on the device, it closes B and
 goes normally to A. But, if I press the option on the menu, I've got a
 force close message and I've got the following log:

 java.lang.RuntimeException: Canvas: trying to use a recycled bitmap
 android.graphics.Bitmap@**2b021388
 at android.graphics.Canvas.**throwIfRecycled(Canvas.java:**955)
  at android.graphics.Canvas.**drawBitmap(Canvas.java:1044)
 at android.graphics.drawable.**BitmapDrawable.draw(**
 BitmapDrawable.java:325)
  at android.widget.ImageView.**onDraw(ImageView.java:881)
 at android.view.View.draw(View.**java:6986)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.support.v4.view.**ViewPager.draw(ViewPager.java:**1923)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1739)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.ViewGroup.**drawChild(ViewGroup.java:1737)
 at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1466)
  at android.view.View.draw(View.**java:6989)
 at android.widget.FrameLayout.**draw(FrameLayout.java:361)
  at com.android.internal.policy.**impl.PhoneWindow$DecorView.**
 draw(PhoneWindow.java:1882)
 at android.view.ViewRoot.draw(**ViewRoot.java:1544)
  at android.view.ViewRoot.**performTraversals(ViewRoot.**java:1280)
 at android.view.ViewRoot.**handleMessage(ViewRoot.java:**1882)
  at android.os.Handler.**dispatchMessage(Handler.java:**99)
 at android.os.Looper.loop(Looper.**java:130)
  at android.app.ActivityThread.**main(ActivityThread.java:3701)
 at java.lang.reflect.Method.**invokeNative(Native Method)
  at java.lang.reflect.Method.**invoke(Method.java:507)
 at com.android.internal.os

[android-developers] RuntimeException: Canvas: trying to use a recycled bitmap

2013-03-18 Thread Marina Cuello
Hi!
I'm having a weird problem with one of my apps. I'll try later to extract
some code and make a sample project to share if it's useful but by now I'm
just asking  to see if anyone found this one or can give me a hint on how
to tackle it.

I have two activities.

Activity A extends SherlockActivity from ActionBarSherlock and haves a
GridView on it. The grid items have an ImageButton. When you press on the
ImageButton, it calls an instance of Activity B.

Activity B extends SherlockFragmentActivity (ActionBarSherlock again), with
a ViewPager on it. The fragments have a very complex layout.

My Activity B has a menu with only one item. The item is set-up on
onOptionsItemSelected so it simply calls onBackPressed(). That one  calls
super.onBackPressed() right away. I've only overridden it for debugging
purposes.

I tested it on some Jelly Bean devices and on a couple Gingerbread ones
(I'm using some co-workers phones as test devices :)). On Jelly Bean it's
ok. But in Gingerbread I've met a weird behaviour.

When I'm on B, and press the back button on the device, it closes B and
goes normally to A. But, if I press the option on the menu, I've got a
force close message and I've got the following log:

java.lang.RuntimeException: Canvas: trying to use a recycled bitmap
android.graphics.Bitmap@2b021388
at android.graphics.Canvas.throwIfRecycled(Canvas.java:955)
 at android.graphics.Canvas.drawBitmap(Canvas.java:1044)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:325)
 at android.widget.ImageView.onDraw(ImageView.java:881)
at android.view.View.draw(View.java:6986)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1739)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.View.draw(View.java:6989)
at android.widget.FrameLayout.draw(FrameLayout.java:361)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1739)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.View.draw(View.java:6989)
at android.widget.FrameLayout.draw(FrameLayout.java:361)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1739)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.View.draw(View.java:6989)
at android.support.v4.view.ViewPager.draw(ViewPager.java:1923)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1739)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.ViewGroup.drawChild(ViewGroup.java:1737)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1466)
 at android.view.View.draw(View.java:6989)
at android.widget.FrameLayout.draw(FrameLayout.java:361)
 at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1882)
at android.view.ViewRoot.draw(ViewRoot.java:1544)
 at android.view.ViewRoot.performTraversals(ViewRoot.java:1280)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1882)
 at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
 at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native Method)

The stack seems to relate to my Activity B structure. My app loads puts
large images on screen, so I have a couple recycle() calls on the
fragments that take part of Activity B,  but they're all inside
!bitmap.isRecycled() conditions, and they're all around the first steps
on the activity and fragments life cycle. Anyway, there is no recycle()
call in my whole project that it's not followed by some assignation, either
with null or with some generated bitmap.

When I debugged the exception didn't fire there. It just appears to be
nowhere, jumping outright from the last line on my onPause() on
Activity B to the runtime exception.

To add some debug chance, I've set a handler
with setDefaultUncaughtExceptionHandler to check what the behaviour would
be after the Exception is thrown, and what I see is:

* In a Samsung device with a Mod Gingerbreas, first the option on the menu
on Activity B disappearing, then the Activity B dissapearing into to
background, a black screen and just a couple seconds later I get an ANR.
* In an unrooted Sony device , I've got to the 

  1   2   >