Search Google

Sunday 11 January 2015

Download Android Applications Source Codes and Projects 

Android SQLite Database Tutorial and Project

In this application, we will learn how to use SQLite database in android to save values and retrieve back from it. SQLite database does not support complex operators or function, so it does not support join, group by, no data type integrity etc. other wise it is same as other databases. There are three data types in SQLite:

1) TEXT: to store any value as a text
2) Integer: to store integer type value
3) Real: to store floating type value

But as we said it does not support data type integrity so we can use any data type and we can store any type of value in it. So let's start our project, create new project and here we are using two buttons, first button is used to take value from edit text boxes and save them to SQLite database, The second button is used to retrieve all data from database and display them on text view which is scrollable. The code of android XML file is given below:

Android SQLite Database Tutorial and ProjectAndroid SQLite Database Tutorial and Project

<RelativeLayout xmlns:android=""
   android:background="#abc" >
   android:ems="10" >
  <requestFocus />
   android:hint="Sur Name"
   android:ems="10" />
   android:text="Insert Values"
   android:text="Display all Values" />
   android:layout_below="@+id/button2" >
    android:orientation="vertical" >
  <TextView android:id="@+id/textView1"

Now open your Java file and initialize all objects.
-> To create new database or open existed database use: openOrCreataDatabase() and pass name of the database and open it in private mode.
-> To run any query except select query use: execSQL()
-> To select values from database use: rawQuery()
The code of android Java file is given below with explanation:
package com.example.checkblogapp; //your package name
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
public class MainActivity extends Activity {
  SQLiteDatabase db;
  TextView tv;
  EditText et1,et2;
  protected void onCreate(Bundle savedInstanceState) {
   //initialize all view objects
   //create database if not already exist
   db= openOrCreateDatabase("Mydb", MODE_PRIVATE, null);
   //create new table if not already exist
   db.execSQL("create table if not exists mytable(name varchar, sur_name varchar)");
   //This method will call on when we click on insert button
   public void insert(View v)
    String name=et1.getText().toString();
    String sur_name=et2.getText().toString();
    //insert data into able
    db.execSQL("insert into mytable values('"+name+"','"+sur_name+"')");
   //display Toast
   Toast.makeText(this, "values inserted successfully.", Toast.LENGTH_LONG).show();
   //This method will call when we click on display button
   public void display(View v)
   //use cursor to keep all data
   //cursor can keep data of any data type
   Cursor c=db.rawQuery("select * from mytable", null);
   //move cursor to first position
   //fetch all data one by one
    //we can use c.getString(0) here
    //or we can get data using column index
    String name=c.getString(c.getColumnIndex("name"));
    String surname=c.getString(1);
    //display on text view
    tv.append("Name:"+name+" and SurName:"+surname+"\n");
    //move next position until end of the data
source code from an APK file

Procedure for decoding .apk files, step-by-step method:
Step 1:

Make a new folder and put .apk file in it (which you want to decode).
Now rename the extension of this .apk file to .zip (eg.: rename from
filename.apk to and save it. Now you get classes.dex
files, etc. At this stage you are able to see drawable but not xml and
java files, so continue.

Step 2:
Now extract this zip apk file in the same folder (or NEW FOLDER). Now
download dex2jar from this link and
extract it to the same folder (or NEW FOLDER). Now open command prompt
and change directory to that folder (or NEW FOLDER). Then write dex2jar
classes.dex and press enter. Now you get classes.dex.dex2jar file in the
 same folder. Then download java decompiler from and now double click on jd-gui
and click on open file. Then open classes.dex.dex2jar file from that
folder. Now you get class files and save all these class files (click on
 file then click "save all sources" in jd-gui) by src name. At this
stage you get java source but the xml files are still unreadable, so

Step 3:
Now open another new folder and put these files

    put .apk file which you want to decode
    download apktool v1.x AND apktool install window (both can be
downloaded at the same location) and put in the same folder
    download framework-res.apk file and put in the same folder (Not all
apk file need framework-res.apk file)
    Open a command window
    Navigate to the root directory of APKtool and type the following
command: apktool if framework-res.apk
    apktool d "fname".apk ("fname" denotes filename which you want to

now you get a file folder in that folder and now you can easily read xml
 files also.

Step 4:
It's not any step just copy contents of both folder(in this case both
new folder)to the single one
and now enjoy with source code..


Unable to resolve target 'android-16,17,18,19'

I have had the same problem, after an update I got a similar error.
It can be fixed to manually edit the file and update the android-16 part to the latest one you have installed. In your current case that is android-17.
I guess it can be configured using Android ADT as well, but I could not figure it out and this was quicker
Furthermore, you have to update your manifest as well, make sure you have android:targetSdkVersion set to 17.
google api 

  1. Schedule Gmail Emails – You can write the emails now and send them later at any date and time with Apps Script and Google Sheets.
  2. Sell Digital Products Online – Use a combination of PayPal and Google Drive to setup your own digital shop online.
  3. Save Google Voicemails as MP3 – The web app will automatically copy the MP3 of your Google voice mail messages from Gmail to Google Drive.
  4. Gmail Encrypt – You can encrypt your outgoing Gmail messages using the powerful AES encryption and no one will be able to snoop your private conversations.
  5. 1-click Website Hosting – Use this Google Script to host your websites, images, podcasts and other media files on Google Drive with one click.
  6. Google Form File Uploads – You can receive files directly in your Google Drive from anyone through HTML forms created with HTMLService.
  7. Google Web Scraping – Import Google Search results into a Google Spreadsheet with the ImportXML function for analysis or export them in other formats.
  8. Flipkart & Snapdeal Price Tracker – Monitor and compare prices of items listed on Flipkart and Snapdeal and get price alerts via email.
  9. Mail Merge with Gmail – Send personalized email messages to your contacts using Gmail. The messages can have attachments and you even write messages in raw HTML.
  10. Files Permissions Explorer – See who has access to your shared files and folders in Google Drive and whether they view or edit permissions.
  11. Send to Google Drive – You can save your Gmail attachments directly to Google Drive – just apply a particular label to your Gmail message and the included attachments will be copied to Drive.
  12. Save Gmail Images – The script monitors your Gmail mailbox and will auto-save any image attachments to your Google Drive.
  13. Sort Gmail by Size – Is your Gmail mailbox running out of space. The scripts will determine all the bulky messages in your Gmail mailbox.
  14. Bulk Forward Gmail – The auto-forward feature in Gmail only works on incoming messages but our bulk forward script can forward even older email to your other email addresses.
  15. Update Google Contacts –  See how your friends and family members can directly add or update their own contact information into your Google address book.
  16. Google Contacts Map – The Google Script will plot the postal address of your Google Contacts on a Google Map. You can also export this data as a KML file for Google Earth.
  17. Email Form Data –  Google Forms are the best tool for creating online polls and surveys. The script will email you the entire form data as soon as someone submits the form.
  18. Auto Confirmation Emails – Send confirmation emails to the user’s email address after they submit a Google Form.
  19. Schedule Google Forms – Set an expiration date for your Google Form and they’ll close automatically at a certain date.
  20. Twitter Bot – Learn how to write your own Twitter bot that auto-responds to tweets. This particular bot queries Wolfram Alpha to answer queries.
  21. Twitter Out-of-Office –  You can create out-of-office automatic replies for people who are trying to reach you via Twitter and they wouldn’t expect a response from you right away.
  22. SMS Alerts for Gmail – You can receive SMS text alerts for important incoming messages in your Gmail by connecting your mailbox with a private Twitter account.
  23. Extract Email Addresses – The script scans your mailbox and creates a list of email addresses of people who have previously communicated with you.  Useful for building your email marketing lists.
The workflow uses Google Drive for storing files, PayPal for payments and Gmail for delivering content to the buyer. There’re no limitation on the size of files or the number of products that you can sell. There’re no bandwidth restrictions. There’s no middleman fees except for the usual PayPal charges. And people can purchase your stuff through PayPal or using their debit or credit cards.

Sell Digital Downloads with PayPal and Google Drive

paypal button
First, create a “Buy Now” button in your PayPal account for the product that you wish to sell online and assign a unique Item ID to the item (see screenshot above).
PayPal will now offer you the HTML code for the purchase button that you can embed in your website. Alternatively, you can copy the direct link – see example – to share your product over email or for selling on social media websites.
PayPal Buy Button
The next thing you need to do is upload the corresponding file to your Google Drive. When someone makes a purchase, the Google script will pull this file from Drive and send it to the buyer via Gmail as an email attachment. If the file is big, say the size >20 MB, the script will automatically share the file with the buyer and sends the shared link instead of the actual file.
The final step is to run the Google Script that will monitor your Gmail mailbox for any PayPal related transactions and sends the digital files to the buyer.
This is easy. Click here to make a copy of the PayPal script in your Google Drive and include the Item IDs and file names of all products that you are selling through PayPal. Next choose Run -> PayPal and authorize the script.
PayPal Items with Google Drive
Google DFP, or DoubleClick for Publishers, is a perfect solution in either of the above scenarios. DFP is a free ad server from Google that lets you sell ad space on your website more effectively and also helps maximize your advertising revenue.
Google DFP
With DFP, you may run standard banner ads, text ads (JavaScript based) or even rich-media campaigns that use video and Flash creatives. The tool, which was formerly known as Google Ad Manager, requires no downloads or installation and any website publisher can sign-up for the DFP program as long as they have an active Google AdSense account.

Sell Your Advertising Space with Google DFP

Say you have a blog where you cover a variety of topics including technology, sports and entertainment. An advertiser wants to serve banner ad campaigns on all your tech related pages. As part of the deal, he has agreed to pay $20 CPM for all US impressions and you can fill your remnant inventory through Google AdSense ads.
Let’s see how we can easily setup such an ad campaign through Google DFP.
Step 1: Create Ad Units
We need to tell DFP about all the advertising spaces on our web pages. For this example, we’ll create three ad units – the 300×250 rectangle, the 160×600 skyscraper and the 468×60 banner. These are standard IAB units though you can define custom ad sizes as well.
Go to DFP –> Inventory –> Ad Units –> New Ad Unit (choose Web or Mobile). Give your ad unit a descriptive name so that you can easily determine where that ad unit will be displayed and also include the size of that unit. You may check the option “Maximize revenue of unsold and remnant inventory with AdSense” in case you wish to display Google Ads when there are no direct ads or when Google is offering better CPM than the direct advertiser.

25 Ways to Make Money on the Internet

  1. Start a website or a blog and earn revenue through advertising networks like Google AdSense and BuySellAds. You can even sell your own ads directly through Google DFP.
  2. Launch a curated email newsletter using MailChimp and find sponsors or use a subscription model where people pay a fee to receive your newsletter.  HackerNewletter, Now I Know and are good examples.
  3. Create your own YouTube channel and become a YouTube partner to monetize your videos. You may use Oneload to distribute the same video to multiple video sites.
  4. Make something creative – like handbags, jewelry, paintings, craft items – and sell them on Etsy, ArtFire or eBay.
  5. Build your own online store with Shopify or SquareSpace and sell both physical goods and digital downloads. Sell everything from furniture to clothes to food.
  6. Create t-shirt designs and put them on Threadless, Zazzle and CafePress.
  7. Write a book and publish it on the Kindle store, Google Play and iBooks. You can also sell your ebook to other retailers through services like Smashwoods and BookBaby.
  8. Become an instructor at Udemy and SkillShare and get paid for teaching your favorite subjects – from guitar to literature to yoga to foreign languages – to a worldwide audience.
  9. Learn how to code and you can then hunt for software development projects at Guru, eLance or Rent-a-Coder (now
  10. Become a virtual office assistant and offer administrative or technical assistance to clients remotely from your home office. Head over to eLance, TaskRabbit and oDesk for finding work.
  11. Offer one-on-one help to anyone worldwide over live video using Google Helpouts. You can do live cooking classes, teach maths or even offer fitness and nutrition tips.
  12. Write scripts, browser extensions, plugins or mobile apps for iOS and Android and sell the source code of your software on CodeCanyon, Chupa or BinPress.
  13. People are outsourcing petty computer jobs – like data entry work, transcribing text from business cards or performing web research – and you find these jobs at Mechanical Turk, an Amazon service.
  14. Creative professionals can scan marketplaces like CrowdSpring, 99Designs and DesignCrowd for projects involving logo design, web design, brochures and other marketing material.
  15. Do you have a good voice? Sign-up as an audio narrator at Umano or become a voice over artist at VoiceBunny and Voice123.
  16. Record your own music and sell it on music stores like Amazon MP3, iTunes, Pandora or Spotify through DistroKid, Tunecore, and CDBaby. You can also sell your audio files directly on marketplaces like AudioJungle, Pond5 and Bandcamp.
  17. Become an affiliate for Amazon and various online stores and earn a commission on sales. You can use programs like VigilinkShareASale, CJ or LinkShare to know about the various vendors that offer affiliate programs.
  18. Educators and teachers can help students with homework or offer on-demand teaching class over the Internet. Apply to become an online tutor at, InstaEdu and TutorVista.
  19. Got an empty room in your apartment? You can list the property on Airbnb, host people and make some money. The other alternative is Couchsurfing but the service forbids from charging guests.
  20. Sell photographs that you have taken on Creative Market, PhotoDune, iStockPhoto or ImgEmbed. The latter lets you easily license photos you have uploaded on Facebook, Flickr or Instagram for online use.
  21. Sell the stuff you no longer use – like old books, children’s toys, gadgets, DVDs, furniture, etc. – on sites like eBay, Craigslist or, if you are in India, OLX.
  22. Apply to become a website tester at UserTesting and get paid to review and test websites from the usability perspective.
  23. If friend’s look at you for tech support, there’s no reason why you can’t offer similar services on the Internet. Get Skype (for calling) and Chrome Remote Desktop (for screen sharing) and you are all set to offer remote tech help from anywhere.
  24. Create an account at Fiverr and PeoplePerHour and offer a wide range of services from translation to graphic design to writing to SEO.
  25. You can make money by flipping websites. Flippa, GoDaddy Auctions and Sedo are popular marketplaces for buying and selling registered domains while LeanDomainSearch is a good tool for finding available domain names.
  26. -----------------------------------------------------------------------------------
  • Help -> Install New Software...
  • For "Work with", select the Android source Work with Android source
  • Tick ADT v23.0 for installation, then click "Next"
  • Eclipse will show "Install Remediation Page" since there is conflict with previous version. (If it does not, see below.) Select "Update my installation to be compatible with items being installed" to uninstall the old version and install the new one. After that, proceed with the usual steps Install remediation page
Note: When I installed the new version of ADT, I didn't include the new version of "Android Native Development Tools" package. Instead, I installed the rest of packages first, and then installed "Android Native Development Tools". For a reason, if I try to install all the new packages including "Android Native Development Tools", the installation fails.

Here we have compiled a comprehensive list of tools and resources for startups to take advantage of when taking their concept from idea to fruition. 

Ad Promotion



Customer service

Email Marketing

Event Management

Finding and Posting Startup Jobs

Keyword Search

Landing Pages

Personal Storage


Project Management

Social Media



Traffic Research

Startup Costs 

Business Cards

Design Resources

Outsourced Design


Domain Registration




Development Tools

Email Integration




 Startup Incubators 

Email Address
Kampala, Uganda
info (at)
Eveleigh NSW
info (at)
Vancouver BC
No email address found
Vancouver BC
mike (at)
Canada & USA
Ontario & California
info (at)
info-china (at)
susan (at)
info (at)
Denmark & Sweden
Hellerup & Stockholm
info (at)
firstname.lastname (at)

No comments:

Post a Comment