Documentation for Robotium test cases,Android - android

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.

Related

GitHub oAuth with FirebaseUI on Android

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.

android and gradle - where is the source to the build tasks?

Im trying to figure out how all of android's gradle build tasks work and Ive found the open source project online but digging through it hasnt really shed much light on how each task for a project works.
https://android.googlesource.com/platform/tools/build/+/6d7fd0d2eff092abf1aaf44d03756b24570b390c/gradle/src/main/groovy/com/android/build/gradle?autodive=0%2F%2F%2F%2F
For example I would love to know the exact script it would take to replicate assemble or package and within those I would like to know exactly how to replicate any their child tasks.
Does documentation like this exist anywhere or are developers expected to bang their heads against the computer screen cursing gradle's creators for hours on end while they figure things out on their own.
And please resist the urge to leave a "read the manual" answer unless you leave a link pointing to what I asked for.
I didnt find any documentation which would outline what I really wanted but over the last few days I put it all together from reading Gradles documentation and doing a lot of debugging. It would be nice if in the future there was clear documentation on all the steps in one place so others dont have to spend days to figure things out.

How to get the Android logs remotely?

Because Google told me to, I've been using Log.I , Log.E etc commands throughout my code during development.
This of course has been quite helpful during testing and debugging.
However an application that I have deployed seems to be crashing sometimes, something which I cannot replicate.
Is there a way to retrieve the logs created through the aforementioned commands from the device? I've been through the whole google development site, but there seems to be nothing on the subject (or I am missing something)
Thanks in advance for any help you can provide
Try to look at ACRA and Crashlytics, this tools should help you.

Implement AndroidQuery for getting last version of my app on Google Play

I would like to check by code if the app installed on device is the last update. I've tried many things but does not work. Finally I've found this interensting API: https://code.google.com/p/android-query/wiki/Service. I'm trying to implement it but i find it kinda difficult for me (I'm quite new in this world). I would like to know if anybody can help me to do this. I don't care if I have to use another API or maybe I can use a google's API to get this information. I just wanto get the version number like: "Application.getLastUpdate" (this is just an example) and compare to app installed version. Can anybody give me a hint?? I would appreciate it too much. Sorry if I haven't explain well myself, I can try it again. Thanxs a lot.

Google IO Twitter Livefeed from a fresh install

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

Categories

Resources