video tutorials in Android

Are you searching video tutorials in android with and without free in android, here is the some links for that. why not you search on internet then ask. Go to firstI recommend you best android video tutorials provided websites are:Official android videosLynda.commybringback.commarakana.comThenewboston.comxtensivearts.com...

How to add a footer in ListView in android

Create a footer view layout consisting of text that you want to set as footer and then tryView footerView = ((LayoutInflater) ActivityContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.footer_layout, null, false);ListView.addFooterView(footerView);or may be use this also:<?xml...

How to access child views from a ListView in android

Are you get lots problems during access child view from a listview in android, then here is the some solution that may helpful for you.Android ListView: get data index of visible itemand combine with part of Feet's answer above, can give you something like:int wantedPosition = 10; // Whatever position...

Close or hide the Android Soft Keyboard from code

Are you trying to  make close or hide the Soft Keyboard in your app using code. here is the solution .Force Android to hide the virtual keyboard using the InputMethodManager, calling hideSoftInputFromWindow, passing in the token of the window containing your edit field.EditText myEditText = (EditText)...

Validate email in JavaScript?

This is one of those useful things that people will be Googling for validate email address on Javascript, this tutorial mostly used when you are developing app on Cross platform, like sencha, phonegap.function validateEmail(email) {    var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; ...

ebook: Migrating to Android for iOS Developers

Migrating to Android for iOS Developers gives you - as an experienced iOS app developer - the ability to learn native Android apps development from scratch. Through case studies and examples, this book starts with a simple but meaningful Hello Android project. Then, this book continues by providing...

What are the differences between git pull and git fetch?

When you are getting confuse in git pull and git fetch, here is the some solutions, may be helpful.In the simplest terms, git pull does a git fetch followed by a git merge.You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/. This operation never...

Common android developer interview question and anwers

Here is common interview asked during interview .What is Android?#  It is an open-sourced operating system that is used primarily on mobile devices, such as cell phones and tablets.It is a Linux kernel-based system that’s been equipped with rich components that allows developers to create and run...

How make weblink(hyperlink) in textview in android

Weblink or Hyperlink in textview, simple way to make it:Textview tv_link= (Textview)findViewById(R.id.tvLink);tv_link.setText("prandroid@gmail.com");Linkify.addLinks(tv_link, Linkify.ALL);or may be use this also:TextView tvLinkTest= (TextView) findViewById(R.id.tl);tvLinkTest.setMovementMethod(LinkMovementMethod.getInstance());next...

Press back and Exit app in androird

If you getting trouble when pressing back don't exit app, then this article will help you. Here first time your will display toast message, please press again for exit app.here is the full source code:public class MainActivity extends Activity { private static long back_pressed; private Toast toast;...

Refresh activity on back button in android

Normally, when user click the back button in android, the next view is not refreshed. I had this problem when I was doing the settings. if user changed the some settings and hit back button, the new settings won’t be applied to the “back” list view since all the cells are reused.you can do some scroll...

Programmatically Displaying the Settings of device

Sometimes, you want to set wifi, bluetooth and others setting then from programmatically do things here in your codeyou can use the startActivity()method together with an Intent object. The following shows some examples:    //---display the main Settings page---    startActivity( ...

How to create Custom Notification in Android

Customization notification part needed sometimes, that you modified android notification of user request. Here is the sample code for custom notification:Main.Java code :public class NotificationToastActivity extends Activity { @Override    public void onCreate(Bundle savedInstanceState) { ...

Create custom button in Android using XML

How to create custom button in android using xml style file . which is placed on drawable folder .Now, just create shape of the ImageButton to have black shader background.android:background="@drawable/button_shape"and the button_shape is the xml file in drawable resource: <?xml version="1.0"...

What is Context in Android?

Interface to global information about an application environment. This is an abstract class whose implementation is provided by the Android system. It allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities,...

Android error: Failed to install *.apk on device *: timeout

Do most important this, when your faced this problem, lets hope you have to through away this problem.Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.If you are in Eclipse, you can do this by going through Window->...

Jar Mismatch Found 2 versions of android-support-v4.jar in the dependency list

Step #1: Undo all that. If you are messing with the build path, on R16 or higher version of the ADT plugin for Eclipse, you're doing it wrong.Step #2: Pick one of those two versions of the JAR, or pick the one from the "extras" area of your SDK installation.Step #3: Put the right JAR in App Library.Step...