[android-developers] Cannot add Google account after factory settings reset Moto E Android 5.1

2016-12-18 Thread Piotr Błachut
Hi, 

After reset to factory settings I`m not able to add any google account to 
enable Google Play store.

Scenario:
1. Open google play application (or any other which is connected with 
account, adding account from the settings gives the same result)
2. Put email
3. Put password
4. Put verification code (optional - I`ve tried account with 2 factor auth 
ant without it)
5. Accept privacy policy
6. Application crashes (Google Play has stopped working)

Device information:
Motorola Moto E
Android version: 5.1
Kernel version: 3.4.42-g70ad15f
hudsoncm@ilclbld36 #1
System version: 23.201.3.condor_reteu.reteuall.en.EU.reteu
Compilation number: LPCS23.13-34.8-3

Logs from crash:
12-18 12:34:24.206 13512-13512/? W/System.err: java.lang.
IllegalStateException: The specified child already has a parent. You must 
call removeView() on the child's parent first.
12-18 12:34:24.206 13512-13512/? W/System.err: at 
android.view.ViewGroup.addViewInner(ViewGroup.java:3938)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
android.view.ViewGroup.addView(ViewGroup.java:3788)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
android.view.ViewGroup.addView(ViewGroup.java:3729)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
android.view.ViewGroup.addView(ViewGroup.java:3702)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
com.google.android.gms.auth.login.BrowserActivity.c(SourceFile:936)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
com.google.android.gms.auth.login.x.onPageFinished(SourceFile:882)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
com.android.webview.chromium.WebViewContentsClientAdapter.onPageFinished(WebViewContentsClientAdapter.java:548)
12-18 12:34:24.206 13512-13512/? W/System.err: at 
org.chromium.android_webview.AwWebContentsObserver.didNavigateMainFrame(AwWebContentsObserver.java:67)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
org.chromium.content.browser.WebContentsObserver.didNavigateMainFrame(WebContentsObserver.java:89)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
android.os.Handler.dispatchMessage(Handler.java:102)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
android.os.Looper.loop(Looper.java:135)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
android.app.ActivityThread.main(ActivityThread.java:5343)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
java.lang.reflect.Method.invoke(Native Method)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
java.lang.reflect.Method.invoke(Method.java:372)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
12-18 12:34:24.207 13512-13512/? W/System.err: at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
12-18 12:34:24.212 13512-13512/? A/chromium: [FATAL:jni_android.cc(295)] 
Check failed: false. Please include Java exception stack in crash report
12-18 12:34:24.248 13997-13512/? W/google-breakpad: -BEGIN BREAKPAD 
MICRODUMP-
12-18 12:34:24.249 13997-13512/? W/google-breakpad: O A arm 02 armv7l 
3.4.42-g70ad15f #1 SMP PREEMPT Mon Feb 22 10:07:50 CST 2016
12-18 12:34:24.249 13997-13512/? W/google-breakpad: S 0 BEFAEA18 BEFAE000 
3000
12-18 12:34:24.268 13997-13512/? W/google-breakpad: S BEFAE000 
520302A0EC31E7B62A00010020003EE8FABEE91BE6B63CE6FABE44E1FABE08E1FABEDA0A3CA90400DA0A3CA908E1FABE030044E1FABEA0E1FABEC4E6FABEECFF6C0B3CA9ED2EE6B6803FD056F0B7803FE47DE8B6445D18B53CE6FABEDA0A3CA903E1FABE1E00803F04E1FABEBBC6BB9B00A0BBC6BB9BBBC6BB9B80FA4AA95CEAFABE34EBFABE27E927A824EBFABE74001B006C0080FA4AA980FA4AA93700E47DE8B65CEAFABEBBC6BB9B3CEBFABE5CEAFABE705079B80CE2FABE0CEBFABED4E1FABE01005CEAFABE705079B8010081FE27A83CEBFABE14EBFABE1CEBFABE13001B008A001B008A00
12-18 12:34:24.269 13997-13512/? W/google-breakpad: S BEFAE180 

Re: [android-developers] Two-way data binding not working

2016-05-11 Thread Piotr Błachut
Thank you for your response. Until today I haven`t heard about it. Its 
incredible that there is no public announcement about this. 

As far as I looked into it, there are a lot of problems with IDE and only 
some attributes are supported. Maybe that is the reason why they did not 
publish it :)

W dniu środa, 11 maja 2016 17:56:30 UTC+2 użytkownik TreKing napisał:
>
>
> On Wed, May 4, 2016 at 3:22 AM, Piotr Błachut <blachu...@gmail.com 
> > wrote:
>
>> Are there any plans that android databinding would officially support two 
>> way bindings? Do you now where can I find any updates regarding this?
>
>
> Apparently this is supported now, though I don't recall any kind of 
> official announcement, which is quite odd considering what a major addition 
> this is:
>
> https://halfthought.wordpress.com/2016/03/23/2-way-data-binding-on-android/
>
>
> -
> 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 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/a500a026-cf5a-431b-97e0-fc1172d7d439%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Two-way data binding not working

2016-05-04 Thread Piotr Błachut
Are there any plans that android databinding would officially support two 
way bindings? Do you now where can I find any updates regarding this?


Currently two way databinding can be achieved only by creating custom 
binding adapters 
(see: 
https://github.com/pblachut/AndroidDatabinding/blob/master/Databinding/app/src/main/java/piotrek/databinding/EditTextBoxBinding.java).
 
Main disadvantage of this approach is that you have to wrap your type into 
observable object and you cannot use ObservableField<> which should done it 
for you. It is coused that observability of such objects are hidden 
intentionally 
see: https://code.google.com/p/android/issues/detail?id=187130.




W dniu czwartek, 10 marca 2016 21:30:38 UTC+1 użytkownik TreKing napisał:
>
>
> On Wed, Mar 9, 2016 at 9:43 AM, Krishna Sarma  > wrote:
>
>> I am trying to use two-way data binding for editing user data. I am able 
>> to show the POJO contents in the view but the changes made by user are not 
>> able to capture back through POJO.
>
>
> If you mean you expect your model object to update when the user changes a 
> UI field (like entering a text value in an EditText), that is not supported 
> by data binding, to my knowledge.
>
> The code you have set up is for one-way - modify your model and the 
> binding updates the relevant UI field.
>
>
> -
> 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/25d290a7-e6b1-47c9-8c67-7d4b5b6f3905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.