Implemented authorization with this tutorial
https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md#github
And it wasn't working. For an unknown reason.
Will provide an answer below.
I see no reason to provide my code since tutorials are full of them and i'm totally followed them.
As a solution, i just found a guide which not listed in the instruction. Or it's really hard to find.
Hope this helps someone.
After you have done with hosting and add
.well-known/assetlinks.json
It's not "Congrats, you did it!" as mentioned in the tutorial.
The second guide i mentioned above
https://developer.android.com/training/app-links/verify-site-associations.html#web-assoc
You need to complete the next step: "Confirm the Digital Asset Links files".
And for inattentive ones as me, want to add, not just copy-paste code snippet, it has spaces and you have to remove it.
In another case you will get something like this statements:list?%20source and you will get an error as a response.
In my case, all worked only after i did that step.
If FirbaseUI team read it and it was helpful, please add plus one step in your guide to avoid misunderstanding.
Related
I want to know is there any library exist for Google Map which expand all markers which are on the same LatLng.Like this : http://jawj.github.io/OverlappingMarkerSpiderfier/demo.html
This library exist for JavaScript but i didnt find any way or library to achieve this functionality.If anyone know the answer please let me know.
Thank you.
I have been trying to find the Overlapping Marker Spiderfier feature for Android as well.
I came across a GitHub project that attempts this at:
https://github.com/Gid-CTO/OverlappingMarkerSpiderfier-java
I have yet to try it out for myself. If anyone knows of anything else or have used this successfully, please let me know.
EDIT: I have officially tried the Overlapping Marker Spiderfier for Android by Iliya Romm (the GitHub project) and got it to work successfully. I had some trouble in the beginning but posted it as an issue on GitHub and the author was more than helpful. The instructions are incomplete and there's some additional code you need to add. You can see the additional code here: https://github.com/Gid-CTO/OverlappingMarkerSpiderfier-java/issues/2
You can use it in combination with the marker clustering tool that is part of the Android-Maps-Extensions library.
UPDATE 2
I posted an answer that fixes my original problem. See that for more information.
UPDATE
FYI for anyone wondering, in the end I found this: http://github.com/commonsguy/zxingdemo/tree/master Exactly what I needed to get it rolling was a simple demo that worked! Also, thanks to Sean for pointing me in the right direction for my googling.
I am currently trying to build a simple android app that can scan in a barcode. I have looked through multiple tutorials, tried everything to a T, and re-tried and re-tried. Nothing worked. So now I am going to ask for assistance to see where I went wrong.
To list the tutorials I have followed:
https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner
Tried this one first.
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3
http://simonmacdonald.blogspot.com/2011/12/installing-barcode-plugin-for-phonegap.html
Plus a couple others, but more or less hit the point to the same process. Some key points, when I add the LibraryProject to my project as a Library, the app will not compile until I create an AndroidManifest.xml I tried using the one found in the LibraryProject and tried creating a bare mininmal one, both would allow to compile, but the app ForceCloses.
When I load up the App and click "Scan" it ForceCloses and in the debug log of LogCat in Eclipse I get:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.myapp/com.google.zxing.client.android.CaptureActivity}: java.lang.ClassNotFoundException:
com.google.com.zxing.client.android.CaptureActivity in loader dalvik.system.PathClassLoader[/data/app/com.myapp-1.apk]
I have tried googling, found a few issues, but no real clear or solid answers, most just point to the tutorials above. I am not sure if the tutorials are just outdated or I am being stupid and am missing something key. Been working on this for a few days now and am at my wits end.
If you can help I would appreciate it. To avoid answers regarding if I have done X or X, here is what I have done.
When I test the application, I do briefly see it trying to load BarcodeScanner, but right after I see that it ForceCloses. I am not sure what I am missing, but for references I will post the code I currently have setup to test:
AndroidManifest.xml - http://pastebin.com/qq9q0ZU7
Plugins.xml - http://pastebin.com/dZ5eKPSU
index.html - http://pastebin.com/wvht4ken
If I need to post any other items let me know.
On Android, it is much much simpler than all this you're trying to do. Throw this out and restart from http://code.google.com/p/zxing/wiki/ScanningViaIntent
Ok, so for anyone having this problem, you have two choices. You can use the ScanningViaIntent, as Sean pointed out. It works great, if you need an example look at CommonsGuy. As for the tutorials I posted above to get this working with PhoneGap, my whole problem was, after I imported the LibraryProject I did not go back through and add the files. I am not sure if a setting in my Eclipse is bad. But I basically just right clicked on the LibraryProject, went to Import -> File Structure -> Library Project's original project path, and loaded all of it back in there.
There is probably something wrong with my Eclipse setup, but yea. I now have the BarcodeScanner plugin for PhoneGap working!
I have downloaded the android API and added the reference to my Sample application. When i run the application i get the error : " Could not find com_facebook_android.apk!". And my Facebook application does not appear. Where am i doing wrong. Please guide me in this.
Thanks.
You don't give enough information about what you are trying to do, but I think the answer to this question may help you: http://facebook.stackoverflow.com/questions/7258394/i-get-a-could-not-find-com-facebook-android-apk-error-when-i-run-my-android-pr/7265972#7265972
At least it sounds like the same problem you have.
I just dowloaded the Google IO Source code from here: http://code.google.com/p/iosched/ in order to understand the great UI of this app.
I also wanted to grab the code of the Twitter LiveFeed, but when compiling freshly downloaded code, I get a crazy UI:
I don't understand what's wrong as I didn't changed one line of the code!
Does this issue happens on other people devices?
Thank a lot.
I answer myself in case other people also searching for the answer:
http://twitter.com/#!/romannurik/statuses/69818965840506880
yes we used some custom Google
Realtime Search tweaks that I
explicitly removed from open source.
So that seem impossible for now... Or we will have to look for other alternatives
From long time i am searching for some documentation for Robotium test cases.
So please tell me from where i will get the same.
Soon we will upload some tutorials about Robotium. For know you can get some idea from
http://code.google.com/p/robotium/wiki/RobotiumTutorials
if you have not visited this page so far. If you are facing some specific issue, you can also ping us.
Javadoc is distributed in jar form at https://code.google.com/p/robotium/downloads/list.
However, that's really annoying and lame. It's just HTML, so why not post it on the web somewhere??
UPDATE: Seems that this has been done: http://robotium.googlecode.com/svn/doc/index.html
You can download the javadoc for Robotium here: http://code.google.com/p/robotium/wiki/QuestionsAndAnswers
This should give you all you need.