Is there a good website to share and optimize code together? - android

Recently I am working on Android app development, and also I did iOS app before. I am not good at Android so far, so sometimes I found the app is kind lagging, thought stackoverflow.com is very nice place to share and found the bug, but I would like to ask if there are some websites that I can share all codes and details about the app, and there are also some programmers there they can read and point it out what's wrong with my app? I don't know if this question is legal here, just think it's good to have one and learn more..

You can post code and get it reviewed at https://codereview.stackexchange.com/

The best solution would probably be to push your projects to a site like Github where there's a great infrastructure in place to allow people to collaborate with you.
Asking people to do so is a different issue, but probably best achieved through posts on XDA-developers and equivalent forums.

There are plenty of places where you can post your entire source code. Here are two that I have used:
Google Code: allows you to post your code publicly with details about downloading. You can use this and google forumns to get reviewed and help. SVN access is easy to configure. Can add others to projects.
SourceForge: allows you to post code publicly and privately. SVN is easy once again. Allows you to add others users to the project with read/write/edit permissions.
Those two may not be the best places for getting reviewed and help easily, but they are wonderful for hosting and source control!
Also, these do have forumns where you can point others to your projects and ask questions!

Related

How to use google drive api in my android application?

I want to upload my application data to google drive.So I have to integrate Google Drive into my application, but I can't find any proper solution or source code for do that thing. So please if any one have full code of how to use Google Drive into android application than please help me.
First, a bit of critique. If you ask a question this way ('show me the magic trick'), it will get promptly down-voted, purged. It only shows you did not do your homework.
The other possibility is that you are starting and being totally lost (been there). If this is the case, let me give you a direction:
Study the 2 APIs available to Android, the REST Api and the GDAA. They do essentially the same thing, the selection very much depends on your app's needs.
Make decision which one to use. Pay special attention to the fact the GDAA supports only FILE scope, limiting the files/folder your app can see. Weight advantages/ disadvantages.
Study / play with the demo code for the API you selected. The links are in the docs you already studied (point 1 above). In case the official Google did not meet your needs, you may also look at the basic CRUD implementations of the 2 APIs here(REST) and here(GDAA)
As you'll see, you are weeks away from getting anywhere. And don't count on anybody here to do the work for you.
Good Luck

Android App with HTML/CSS/jQuery. [How] Can it be done?

I know this has been asked before (did not find a straight forward answer) but can I (Or how can I) create and Android App using CSS/HTML/Jquery ?
I will not need to hook into native functions, such as the accelerometer, camera, or even the Toast Messages...I only need to create an app to show a list of names and some details when name is selected, therefore I don't know if it's worth learning to make my life more complicated for something like this.
PS: I need the app to work offline, otherwise I would have just made it with jQuery Mobile and uploaded it on a server.
UPDATE AFTER GETTING DOWNVOTED
Ok, so I get downvotes for this question, probably because it's been asked before, or maybe not, since he/she didn't take the time to write a reason...
Anyway, my point is: I did googled it and searched, but at this moment there are a lot of ads of websites and web apps that will help you do this BUT are they reliable, safe..do they really do the trick or it comes with bugs? That is why I asked the question, to see who used what and what was their experience with it. So yeah, you can downvote me for not trusting every ad and not taking the time to try out everything out there!
Well you can use https://software.intel.com/en-us/html5/tools to develop cross-platform apps. I used it to develop too. It is quite good but it only has one major issue: you can't use php. It also enables you to do on-device testing.

iAds for android?

First, I don't know where to ask this question. Well this is programming QA site. So obviously its a wrong place. But I hope people here can answer it. And if there is a site for it, about Android random questions, please provide an url.
I see people on different forums(including SO) talking about they are using iAds for Android, but none of them say how ? I mean iAds by Apple, do they even allow Android users to use their Ads ? I searched all over google but found nothing about it. Are these guys just messing around or what ?
here is one example :
http://answers.onstartups.com/questions/33530/how-to-increase-ad-revenue (Answer by user20715)
iAds only supports for iOS not android.iAds alternative Admob which supports iOS,Android,Windows Mobile OS!
Here is More Detail About Admob
Welcome..!
iAd is Not available on android
iAd only supports for IOS not Android.
Choose a good AdNetwrok that gives you better eCPM. There is lot of AdNetwork available but in my suggestion AdMob is not good for Android.

Where to find Android Development Homework Problems

Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html

Best Learning Resource for OAuth

I have to use OAuth for my Android client and I have found that the learning resources are pretty rare or inadequate for this technology.
Does anybody know a good book/tutorial/online resource to learn OAuth?
Thank you.
hi Kunjan avoidin the OAuthocalypse???
heres is a excellent example to implement OAuth for Twitter in Android
http://github.com/brione/Brion-Learns-OAuth by Brion Emde
heres the video
if you have any question I will help you
I see this has more or less been answered, however with recent development in the OAuth spec old tutorials and sample code might or might not work (at least I had difficulties to make it work based on old blog posts here and there). I summarized how I did it on Android here:
http://nilvec.com/implementing-client-side-oauth-on-android/
This is the page that finally made it click for me:
http://blog.doityourselfandroid.com/2010/11/07/google-oauth-overview/
I recently had to figure out OAuth myself, and I've written a blog post with example code which accesses Twitter via OAuth.
The code is C++/Win32, however it might help give you an idea of what's involved. There are also links to the relevant resources I used throughout the post, which may be of some help.
Have you tried the official wiki?
Also, most providers have their own documentation for the OAuth process, for example Twitter

Categories

Resources