According to a recent article iPhone has gained a better appeal than Android among programmers. I'm quite a newbie to Java and a complete profane to ObjectiveC, in your opinion, in which one of the two could I have a try? which platform is good for me
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 11, 2012
iPhone or Android?
How to implement Android Pull-to-Refresh
In Android applications such as Twitter (official app), when you encounter a ListView, you can pull it down (and it will bounce back when released) to refresh the content.
How do I make an http request using cookies on Android?
I'd like to make an http request to a remote server while properly handling cookies (eg. storing cookies sent by the server, and sending those cookies when I make subsequent requests). It'd be nice to preserve any and all cookies, but really the only one I care about is the session cookie.
Restful API service
I'm looking to make a service which I can use to make calls to a web based rest api. I've spent a couple of days looking through stackoverflow.com, reading books and looking at articles whilst playing about with some code and I can't get anything which I'm happy with.
Difference between a View"s Padding and Margin
What is the difference between a View's Margin and Padding?
Sunday, June 10, 2012
What is Context in Android?
In Android programming, what exactly is a Context class and what is it used for? I read about it on the developer site, but I am unable to understand it clearly.
Android Endless List
How can I create a list where when you reach the end of the list I am notified so I can load more items?
Using ZXing to create an android barcode scanning app
I've been searching on how to add a barcode scanner to my app. Does anybody know of any examples or know how to do this easily? Any help is greatly appreciated.
How can I get zoom functionality for images?
Is there a common way to show a big image and enable the user to zoom in and out and pan the image?
Running a Haskell program on the Android OS
Forenote: This is an extension of the thread started on /r/haskell
Friday, June 8, 2012
How to avoid already-authorized in Android Facebook SDK
I'm getting a completely useless page when I use the Single Sign on for Facebook's Android SDK.
How to disable orientation change in Android?
I have an application that I just would like to use in portrait mode, so I have defined android:screenOrientation="portrait" in the manifest XML. This works OK for the HTC magic phone (and prevents orientation changes on other phones as well).
How do I make links in a TextView clickable?
I have the following TextView defined:
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/txtCredits"
android:autoLink="web" android:id="@+id/infoTxtCredits"
android:layout_centerInParent="true"
android:linksClickable="true"></TextView>
Open an image in Android"s built-in Gallery app programmatically
I am trying to open an image / picture in the Gallery built-in app from inside my application.
Using Intent in an Android application to show another activity
In my Android application, I have two activity classes. I have a button on the first one and I want to show the second when it is clicked, but I get an error. Here are the classes:
How can I make a horizontal ListView in Android?
Like many things in Android, you wouldn't think this would be such a hard problem but ohhh, by golly, would you be wrong. And, like many things in Android, the API doesn't even provide a reasonably extensible starting point. I'll be damned if I'm going to roll my own ListView, when all I want is to take the thing and turn it on its side. \rant
Tuesday, June 5, 2012
Post message to facebook wall from android fb sdk always error
I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk ). Tried to post wall but always get error (permission already set and logged in to fb)
Login failed invalid key error with Facebook SDK
I get "Login failed error" with the Facebook Android SDK while running on the device. I have done everything what they specified, like creating a hash and all.
How to make Facebook"s app new menu on Android?
Recently Facebook released a new version of its Android application that features an improved navigation. One main new feature is the new menu (that already existed on the iOS version):
Android: Tabs at the BOTTOM
I've seen some chatter about this, but nothing definite. Is there a way to put the tabs in a TabWidget to the bottom of the screen? If so, how?