الثلاثاء، 24 فبراير 2015

Free iOS and iPhone Programming Course for Beginners .

Start Developing iOS Apps Today: Setup - Apple Developer


iOS which was previously called iPhone OS is a mobile operating system developed by Apple Inc. Its first release was in 2007 which included iPhone and iPod Touch. iPad (1st Generation) was released in the April 2010 and in iPad mini was released in November 2012
hirpara

The iOS devices get evolved quite frequently and from the experience we find that at least one version of iPhone and iPad is launched every year. Now we have iphone5 launched which has its predecessors starting from iPhone, iPhone 3gs, iPhone 4, iPhone 4s. Similarly iPad has evolved from iPad (1st Generation) to iPad(4th Generation) and an additional iPad mini version.
The iOS SDK has evolved from 1.0 to 6.0. iOS 6.0, the latest SDK is the only officially supported version in Xcode 4.5 and higher. We have rich apple documentation and we can find which methods and libraries can be used based on our deployment target. In the current version of Xcode, we’ll be able to choose between deployment targets of iOS 4.3, 5.0 and 6.0..
The power of iOS can be felt with some of the following features provided part of the device.
  • Maps
  • Siri
  • Facebook and Twitter
  • Multi-Touch
  • Accelerometer
  • GPS
  • High end processor
  • Camera
  • Safari
  • Powerful APIs
  • Game center
  • In-App Purchase
  • Reminders
  • Wide Range of gestures

The number of users using iPhone/iPad has increased a great deal. This creates the opportunity for developers to make money by creating applications for iPhone and iPad the Apple's App Store.
For some one new to iOS, Apple has designed an application store where the user can buy apps developed for their iOS devices. A developer can create both free and paid apps to App Store. To develop applications and distribute to the store the developer will require to register with iOS developer program which cost $99 a year and a Mac with Mountain Lion or higher for its development with latest Xcode.


Registering as an Apple developer

An apple ID is most necessary if you are having any apple device and being a developer, you definitely need it. It's also free and hence no issues in having one. The benefits of having an apple account are as follows,
  • Access to development tools
  • Worldwide Developers Conference (WWDC) videos
  • Can join iOS developer program teams when invited

To register an apple account for you
1. Click the link (https://developer.apple.com/programs/register/) and select "Create Apple ID"

2. Provide the necessary information which is self explanatory as given in the page.
3. Verify your account with your email verification and account becomes active.
4. Now you will be able to download the developer tools like Xcode which is packaged with iOS simulator and iOS SDK, and other developer resources.

Apple iOS Developer Program

The first question that would arise to a new developer is why I should register for iOS developer program. The answer is quite simple; Apple always focuses on providing quality applications to its user. If there was no registration fee there could be a possibility of junk apps being uploaded and cause problem for app review team of Apple.
The benefits of joining iOS developer program are as follows,
  • Run the apps you develop on the real iOS device
  • Distribute the apps to app store
  • Get access to developer previews

The steps to join iOS developer program are as follows
1. To register click (https://developer.apple.com/programs/ios/)

2. Click enroll now in the page that is displayed
3. Then you can either sign in to your existing apple account (if you have one) or create a new Apple ID.
4. Then you have to select between Individual and Company accounts. Use company account if there will be more than one developer in your team. In individual account you can't add members.
5. Then after entering the personal information (for those who newly registers), you can purchase and activate the program by paying with the help of your credit card (Only accepted mode of payment).
6. Now you will get access to developer resources by selecting the member center option in the page.

7. Here you will be able to do the following,
  • Create provisioning profiles
  • Manage your team and devices
  • Managing application to app store through iTunes Connect
  • Get forum and technical support

الاثنين، 23 فبراير 2015



Earning with adsense is now understood easily but how to earn daily dollars is the most frequently asked question from every blogger If you have blog with enough content then its time to get more traffic on your blog and generate revenue from adsense. You can easily make 100$ per day with adsense. Many bloggers are earning this figure daily, even you can make it. The only thing is you need a better planning and  hard work, determination and passion for blogging about your topic and mainly quality content.
adsence 100$ per day


How to earn from CTR, CPC, CPM ?

CTR – It means Click-Through-Rate. It is the number of ads clicks divided by the number of individual ad impressions.
  • Example : Suppose you are showing 3  ads on every page, so your 1 page view is equal to 3 ad impressions.
  • CTR = Clicks / Ad Impression X 100.

CPC – It means Cost-Per-Click. It is simple as it say whenever ads are click then revenue is earned by the publisher. CPC is always vary which is determined by the advertiser. So it completely depends on your niche of your blog. Accordingly adsense monetize the blog.

CPM – It means Cost-Per-1000 Impressions.

So now, Let’s make 100$ with Adsense per day
You need 40,000 Page views/day to make $100 everyday or 400 to 500 clicks per day, for that you have to post 400 to 500 articles on your blog to make it possible. If you don’t have enough post on your blog then reach that goal first. Yes you need to spend your hard time to earn this hard money.
So remember produce 400 to 500 post on your blog to generate more revenue. But this is not the only thing.
You can also earn form CPM which is Cost-Per-1000 Impressions. If you get 40,000 page views per day then your CPM is 40. If advertisers giving 1$ per 1000 Impressions then you earning from CPM is 40$ per month + CPC earning.

You can also sell your Ad space directly or via BuySellAds.com and generate $6,000 Per Month on an average from 40,000 page views. Check out how webmasters and bloggers are making $6,000 to $8,000 Per Month from BuySellAds with forty thousand page views per day. So your daily earning will be $200 (6000/30=200).

[solved] Adsense Ads Not Showing Up On My Blog

image1
Adsense is the most common and profitable advertisement network from Google. As you know the Policies and terms of the Adsense is very strict. The approval also very difficult in the case of beginners. There is no more introduction needed about the Adsense. We are going straight to the topic.Some my readers asked me That ”Adsense ads not showing up on their blog“. I searched a lot on the internet and forums. Here this post was written from some conclusion I arrived by researching on  some Google Product forum Posts.
if you use YouTube approve adsence Account so You can't fix it..

Steps To Follow: Adsense Ads Not Showing Up

The common Issue is “white or blank block instead of Adsense ads”. Follow the given steps to know what happens in your site.

1. Check whether your Adsense account is banned or not.

Remember your privies activities on your( any malpractice) and conform your part is OK. They will ban quickly when you do some malpractice. You will get an email from Adsense if your account is suspended or banned. Check your mail box and conform it.

2. Check your Browser issues

Check your browser, enable JavaScript, remove Ad blocker. Tell your friend to check whether your site is working or not.
Read this post too: Increase Smartphone Battery Life-Tips You Should Follow

3. Check Ad placement issues

Don’t place more than the preferred ad per page. I think now the maximum count of ads in a page is 3. Read Adsense ad placement policy and apply in your site.
Some of also inserted the Ad code incorrectly. There is a tip to check whether your Adsense code is correctly implemented or not. Check your preview of site in other sites, for example In Blogger.com you can see the preview of the site InTemplate edit section. If you find any ads in the preview of you site, then the code is correctly implemented. You can check any other preview too, but it is not conformed yet. This might be best solution for Adsense ads not showing up problem

4. Hosted and Non Hosted Account issue.

In hosted account you can run Ads only in Youtube, Hubpages, Blogger and some other Google host partners. Please note that in blogger the Adsense hosted account works only in (dot)blogspot domain not on your custom domain. You can upgrade your Hosted account to Non hosted by submitting your site for approval.

5. Adsense PIN is not entered.

When you reached some threshold earning you will get confirmation of your Address and PIN . You have to conform your PIN. Check your mail box for any other mail from the Google and do what they said.

الأحد، 22 فبراير 2015

How To Use Android Mobile Camera As Web Camera For Pc


USE ANDROID MOBILE AS WEBCAM FOR PC WI-FI & USB MODE – DOWNLOAD APP APK

On a PC with no built-in Webcam and not ready to purchase one, either? Luckily your Android device makes a great stand-in for a Webcam
Webcams are useful for chatting with family, colleagues, or even a client. However, if you want a Webcam right now and don't have an extra $40 to $80 laying around for one, why not use your Android device instead?
You won't need to worry about having a front-facing camera on your device, since this method will employ the use of the rear camera. Though, if you'd like, you can use the front camera if the back one isn't functioning properly (or if you enjoy lower-resolution video?).
Using your Android device as a Webcam will do some serious draining of your battery because the screen will remain on the entire time. It's highly recommended that you plug the phone in while using it and completing these steps.
Note: You will need a Wi-Fi connection that is shared by both the computer and your mobile device to use this application.

Getting started:

Install a copy of IP Webcam on your Android device. Next, you'll need to install a copy of its software, IP Camera Adapter, on Windows. You will also need to have either Chrome or Firefox on your computer, as this application does not work well with Internet Explorer.
Once both IP Camera applications are installed, follow the steps below:

hirpara


Step 1: Open the IP Webcam app on your Android device and make the necessary adjustments for resolution, quality, orientation, and FPS limit. After you're finished, scroll to the bottom and tap on Start Server.

hirpara


Tip: It is recommended that you set a username and password. This is not only for security reasons (as you'll likely want to keep your Webcam private), but also because the adapter will occasionally not work without setting up log-in credentials.
Step 2: Head to the IP address that appears at the bottom of the screen on your Android device in Chrome or Firefox. Make sure you include the port shown on the screen as well.

hirpara
Step 3: Choose the option that best suits your needs; I recommend "Use browser built-in viewer."

You should see your video load in the Web browser. If not, go back and try another one of the link options.

hirpara


Step 4: Open the IP Camera Adapter application you installed on Windows. Then, fill in the required information, such as IP, port (and don't forget the /videofeed on that address), username, and password.


Step 5: Click Autodetect next to the resolution settings, and then Apply. Now you'll need to restart any application you want to use the Webcam with, like Skype.
As a side note, you'll probably want to use a headset, as the audio options seem a bit wonky. Other than that, you'll be able to select the Android device as your Webcam option in your social app of choice.

السبت، 7 فبراير 2015

Android Custom ListView with Images and Text  Example


hirpara group

Creating Project:

Make sure you have properly setup the Android SDK, AVD for Testing the Application. Create a New project in Eclipse IDE with the package as “hirparagroup.customlistview”. Create the Main Activity as “MainActivity” and the main Layout as “activity_main”.

Creating Layout:

The Main layout for our project is “activity_main” which has a ListView to display the array with images.
activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >
    <ListView
       android:id="@+id/list"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" >
    </ListView>
</RelativeLayout>
Next step is to create a layout for the list item that is to be displayed in ListView. Create the layout as list_single.xml which has a TextView to display to the Array and a ImageView to display set of images in each list item. Here I have created the layout as TableLayout with ImageView and TextView in a Row.
list_single.xml
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
    <TableRow>
        <ImageView
            android:id="@+id/img"
            android:layout_width="50dp"
            android:layout_height="50dp"/>
        <TextView
            android:id="@+id/txt"
            android:layout_width="wrap_content"
            android:layout_height="50dp" />
</TableRow>
</TableLayout>

Creating Activity:

Before Creating the MainActivity we must create a CustomList class for our custom ListView.
CustomList.java
package learn2crack.customlistview;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
public class CustomList extends ArrayAdapter<String>{
private final Activity context;
private final String[] web;
private final Integer[] imageId;
public CustomList(Activity context,
String[] web, Integer[] imageId) {
super(context, R.layout.list_single, web);
this.context = context;
this.web = web;
this.imageId = imageId;
}
@Override
public View getView(int position, View view, ViewGroup parent) {
LayoutInflater inflater = context.getLayoutInflater();
View rowView= inflater.inflate(R.layout.list_single, null, true);
TextView txtTitle = (TextView) rowView.findViewById(R.id.txt);
ImageView imageView = (ImageView) rowView.findViewById(R.id.img);
txtTitle.setText(web[position]);
imageView.setImageResource(imageId[position]);
return rowView;
}
}
Next step is to create MainActivity. Here we are defining the array “web” which is displayed as text in ListView. Next we define a array imageId to store the Image Id. The images should be placed in the location /res/drawable/. Next custom list adapter is displayed. When a list item is clicked it shows a Toast that it is clicked.

MainActivity.java
package learn2crack.customlistview;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;
import android.app.Activity;
public class MainActivity extends Activity {
  ListView list;
  String[] web = {
    "Google Plus",
      "Twitter",
      "Windows",
      "Bing",
      "Itunes",
      "Wordpress",
      "Drupal"
  } ;
  Integer[] imageId = {
      R.drawable.image1,
      R.drawable.image2,
      R.drawable.image3,
      R.drawable.image4,
      R.drawable.image5,
      R.drawable.image6,
      R.drawable.image7
  };
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    CustomList adapter = new
        CustomList(MainActivity.this, web, imageId);
    list=(ListView)findViewById(R.id.list);
        list.setAdapter(adapter);
        list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
                @Override
                public void onItemClick(AdapterView<?> parent, View view,
                                        int position, long id) {
                    Toast.makeText(MainActivity.this, "You Clicked at " +web[+ position], Toast.LENGTH_SHORT).show();
                }
            });
  }
}

Creating Manifest:

No other special Permissions are required for our project.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="learn2crack.customlistview"
    android:versionCode="1"
    android:versionName="1.0" >
    <uses-sdk
        android:targetSdkVersion="17" />
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="learn2crack.customlistview.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>