Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Service Objects in Rails (Refactoring)

"Fat models, skinny controllers" has been the design style for Rails app development. However, with time this style has been outdated as with code growth the models become too fat to handle. Why not use concerns? ActiveSupport concern ca

How to save Data items in spinner

In the below  code I have created a spinner, when you add your name or text in edit text box and press Add Button your text data will be save on Spinner. Here first I have added a EditText, Button and Spinner with in activity_main.xml layout. In

How to create Swipeable View in android

 In the below example I have created View Pager (View pager slider). Here I have added ViewPager in activity_main.xml layout, after that I have created slide_page xml layout, in that I have added a textview and in next step I have created four n

How to make Popup function in android?

Here I have created Popup function , Popup function can be used to display menu item list, anchor text and listitem etc. In the below example when we clicked on menu button the popup will be open and if we click outside the popup it will disappears.

How to implement push notifications in phonegap application.

Using Google Cloud Messaging (GCM) we can send push notification from web server to the android devices that are registered. This is how the process works: 1.Android device sends sender id to GCM server for registration. 2.GCM Server returns regist

How to create app icon on home screen on app installation in Android

Here is how we can create app shortcut icon on device's home screen after app installation: There's only a few lines of code. if(!MyUtility.getIsFirstTime(splash).equals("true")) { MyUtility.setIsFirstTime(splash, "true");

Guidelines for Blogging

Important steps or points to be followed before posting any blog. Creating a unique technological blog every time seems to be a question in everyone’s mind. It is to be noted that just uploading codes doesn't count as good blogging. One needs to sup

How to open a url inside inapp browser efficiently ?

Below is a simple android activity which shows you clearly how to open a particular url inside our native application. In here we have taken a single xml i.e. "show_web_view" which is used as a layout of this activity in which only a WebView is defin

How to save session in databse using php?

Saving session in database is best practice for website security. so if we want more security then we need to save session in database. Here are few steps to save session in database step 1--> Create a table name as sessionsdata step 2--> cr

Atom Feeds in Rails

Hi friends, We have recently talked about auto_discovery_link_tag, that consumes RSS and Atom feeds. Now we are going into deep what is the atom feeds in Rails and how we can achieve that. Lets begin with a defining Atom Feeds. Atom Feeds are XML -b

1 92 370
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: