Download sync magic in android app - android

I am working on an android app for displaying certain blogs of various categorization.
I am done with the app and now recently I came across OB Programming Interviews app which display various programming interview questions on the basis of algorithmic categorization.
This app contain a feature of downloading the entire question database for offline usage. I want to implement a similar functionality in my app. Can anybody suggest me something or give me a direction to proceed as after some hours of google search I am still clueless about the idea of the implementation.
Thanks in advance!

Related

Android Social Game implementation - Data storage and sharing

So, I'm reading this android game programming book, which is great, and I was wondering about how to implement the database of a social game.
Let me take a dummy example that fits the example purpose: there is a group of people playing a game, where everyday there is a question (generated by the app), and the first user to answer it wins.
So, basic questions: when someone answer the question, how the others players will know?
I imagine that when the winner answer the question, this would be stored in a database (the cloud?) and when the others users log into the game, the app would connect to the clound, synchronize all users update and display a message saying that there is a winner already for that question.
Is that in anyway correct? I have a fair/medium experience in developing in Android, but never worked much with storage/internet connection.
There is any specific API to deal with this task?
P.S. I'm aware of SharedPreferences, but I'm quite sure that's not I'm looking for. My main question is how to share data over the internet/users using and Android app.
Thanks
Android provide Game Services for this.
I this APIs https://developers.google.com/games/services/android/realtimeMultiplayer are what you are looking for
Otherwise you may think to develop your own server logic for instance via Google App Engine

android - available cloud based testing tools and suites

I was wondering if anyone in the stackoverflow community could point out some cloud based testing tools for android. I would like to be able to test my applications on real devices that I dont have access to and get the full logcat and other data associated with testing. I know there are a lot out there but I would like to hear other peoples experiences with them before I go spending any time or money on trying them out. A quick google search brings up testdroid.com but I have heard of countless others that I couldnt find in the top couple of pages.
Any comments on the matter would be greatly appreciated.
Have a look to this website : http://testdroid.com/

Please give me a 'kick-start' to build an app to log into a web site

Never built an app before.
Downloaded & installed SDK & Eclipse.
For my 'learning experience' I would like to build an app for my Galaxy S II (4.0.4) that will take me to a web site and then log me in, eg: my Gmail Account or my Voip.ms Account
Can someone point me to a tutorial or suggest how I should start such an app?
Is this too complicated to begin with?
Personally, I think this is way too complicated to start as a learner. You may end up spending a lot more time in debugging some code which does not work because of some silly stuff rather than "learning" how to code Android.
I started with a simple app that has few screens, stores some info in local SQLite DB and sends some across to an remote SQL Server over internet. I managed to complete this in 2 weeks and got quite a good hold on Android basics. Now I am working on a much complex app and am not getting stuck in fundamental issues.
Developer.android.com offers some good app examples and tutorials and is the first go-to location when you want to see how to do something Android-related.
As for what you want to do, it will really depend on the website. Going to the website in question, searching for a developer section is the way to go.
There they will explain which API they offer to devs. OAuth + REST are widely adopted but there is no universal solution, it really depends on the website.
A final note : embedding a webpage in an Android app is a very bad idea from an user-experience perspective, Using an API to offer a native app will always result in a better experience.

Rating algorithm for android/mysql

Im a dummy in android development and currently creating an android application and trying to implement a rating system, allowing a user to submit a review and be rated by other users. I would like to know how the whole process is going to be like and what algorithm will be needed.
A guidance will be greatly apperciated and thanks in advance.
If you are open to other websites that creates rating systems I am sure there are tons that you can find online
This example shows a voting algorithm for Google App Engine (a possible server platform for your Android app).

Listing like appstore in firefox or any other browser for windows/desktop linux

A little question about the listing in iPhone OS and some other applications, and possibly in Android Market.
When listing the apps, it fills the list in an automatic process, when reaching or is near to reach the end.
My question is: How is that written in iPhone applications. But the main question is: Is that possible to make for Firefox users with Javascript, Ajax or possibly any other language? Been looking a little bit in documentation but havent found anything useful, maybe I just havent looked enough
edit: Found it for Android - Dynamic ListView in Android app
Still looking for same futures for a Windows browser tho
out
edit2: im looking to implement it in a website
with a list of books + some info.
You want Javascript. There are plenty of examples packaged as Greasemonkey scripts that turn Google search results into an endless scrolling list. I hesitate to offer a specific code example since I'm not quite sure what you're after. Are you looking to deploy that sort of script on a website you're building, or are you looking at making someone else's page do this with your own script?

Categories

Resources