How to Import a Android Project (.apk file or folders) into Eclipse

Whether you have an .apk file or an unpacked folder with the android files within, these steps will help you continue on your quest. If you haven’t unpacked the .apk file yet, you want to check the below article:

How to Decrypt, Unpack, and Edit .apk files

It contains step by step on how to unpack .apk files correctly and easily.

Once you’ve unpacked your file. Continue below steps:

  • You need to download Eclipse and Android SDK for these steps. Luckily they are already in a bundle. And here’s the link. Download Bundle.
  • File -> Import -> Android Code into Workspace -> (Select Root Directory (folder) of the Application you are importing) -> Check the (Copy projects into Workspace [checkbox]) -> Click Finish
  • Go Take a break
  • Now nerd out on your new app.


If you have any queries/feedback, please write it in comments section below OR mail me here : Snehal [at] Techproceed [dot] com

Happy Androiding :-)

How to block ads on Android, with or without root [Guide]

If you’re an Android user you’re probably very familiar with mobile ads. Advertisements make the Internet go round. Heck, even dotTech relies on ads to make money. However, there is a huge difference between non-intrusive advertisements and ads that are so obnoxious that you can’t even read what you came to read on a website.



That is why we’ve put together this guide to help you block ads on Android smartphones and tablets. Read on to learn more and keep in mind, we have a separate guide on how to block ads on Windows, Mac, and Linux.

Before We Begin

This guide will cover three ways on how to block ads on Android.

The first method requires a rooted device and will block ads globally on your smartphone or tablet; this means, it will block ads for all browsers, apps, games, websites, etc. Once you apple the first method, you don’t need to ever run the ad blocking app again — it is a do-it-once-and-forget-it method. Method #1 works with all Android smartphones and tablets running Android 2.1 and up.

The second method does not required a rooted device and also blocks ads globally. However, it requires you to continually have an app running to block ads — if you close the app, ads will stop being blocked.

Method #1 works with all Android smartphones and tablets running Android 2.1 and up.
The last method blocks ads in Firefox on Android and does not require root nor does it require a separate app to be running.

For the first two methods, you will be required to sideload an app because the apps needed to perform the ad block are not available in Google Play Store. Sideloading apps on Android means download their APK (the installer file) and using a file manager to manually install the app as opposed to download from Play Store. In order to sideload, you need to make sure to enable ‘unknown sources’ on your Android device, which can be found Settings -> Security or Settings -> Applications.

Also note, after performing any of the following three methods to block ads, it is very easy to unblock ads. For the first method, there is an option withing the ad blocking app to remove ad blocking. For the second and third methods, simply uninstall the ad blocker apps to stop blocking ads.

That said, let’s begin…

Method # 1: How to block all ads on Android using AdAway app (root required)


This first method is a global ad blocking solution that blocks ads by modifying the HOSTS file of your Android smartphone or tablet. As such, it requires you to have a rooted device. If you don’t want to root your device, skip down to method #2 or method #3 to block ads.

Once you have a rooted device, blocking ads by modifying the HOSTS file is actually very easy. You need to do the following:

  1. Make sure ‘unknown sources‘ is enabled on your Android device. You can enable it from Settings -> Security or Settings -> Applications. You can disable ‘unknown sources’ after you’ve finished blocking ads. In fact, we recommend disabling ‘unknown sources’ after you are done blocking ads.
  2. Download and install F-Droid on your smartphone or tablet, a third-party app store for Android. You will need to sideload F-Droid onto your Android device. To sideload, download F-Droid’s APK installer file and place it on your smartphone or tablet’s internal storage. Next, open your file manager, find the APK file you downloaded, and tap it to install it.
  3. After you’ve installed F-Droid, run F-Droid on your Android smartphone or tablet, and let it scan your device for compatibility. After it is finished, simply search for AdAway from inside F-Droid. Once you find AdAway, download and install it.
  4. Once AdAway is installed, run it and grant it root access. Once you’ve granted it root access, just press the ‘Download files and apply ad blocking‘ button and wait while AdAway modifies your HOSTS file to block ads. After it is done, restart your device.

Once your Android smartphone or tablet has finished restarting, all ads in all apps and on all website will be blocked. And the best part? You don’t ever have to run AdAway again, unless you want to update your ad blocking filters, because AdAway does not need to be running to block ads.

Also note, after you are done, you can uninstall F-Droid if you like and it is recommend to disable ‘unknown sources’.

Enjoy!

Method #2: How to block all ads on Android using Adblock Plus app (root not required)

This second method also blocks ads globally on your Android smartphone or tablet (meaning it blocks ads in all apps, games, websites, browsers, etc.) However, the difference between this second method and the first method is, you need to always have Adblock Plus app — the app used to block ads — running in order to block ads. If you close Adblock Plus, then ads will stop being blocked.

The way Adblock Plus blocks ads is by using a reverse proxy. You don’t need to know what a reverse proxy is or how to use it because Adblock Plus does all the hard work for you. However, because different versions of Android have different support for proxies, you may or may not need root access.

All Android 3.1 and up devices (e.g. Android Ice Cream Sandwich, Jelly Bean, KitKat, etc.) support proxies so you do not need root access to use Adblock Plus. Most manufacturers of devices running less than Android 3.1 (e.g. Android Gingerbread, Froyo, etc.) manually added support for proxies even though earlier versions of Android didn’t support it, so even if your device runs an older version of Android then you likely can use Adblock Plus without root access.

In other words, the majority of people with Android smartphones and tablets will be able to block ads with Adblock Plus without root access. However, if you have one of the few Android devices that don’t support proxies, then you will need root access to use Adblock Plus. And if you are going to root your device, I recommend using method #1 instead of this method anyway.

That said, blocking ads with Adblock Plus is a fairly simple process. To block ads on Android smartphones or tablets using Adblock Plus, do the following:

  1. Make sure ‘unknown sources‘ is enabled on your Android device. You can enable it from Settings -> Security or Settings -> Applications. You can disable ‘unknown sources’ after you’ve finished blocking ads. In fact, we recommend disabling ‘unknown sources’ after you are done blocking ads.
  2. Download and install Adbock Plus on your smartphone or tablet. You will need to sideload Adblock Plus onto your Android device. To sideload, download Adblock Plus’s APK installer file and place it on your smartphone or tablet’s internal storage. Next, open your file manager, find the APK file you downloaded, and tap it to install it.

After you’ve installed Adblock Plus, run Adblock Plus on your Android smartphone or tablet and enable Filtering. For most devices, Adblock Plus will then automatically setup the proxy settings required to allow Adblock Plus to block ads. However, if you have one of those devices for which Adblock Plus is unable to setup the necessary proxy settings, you will need to do it manually (it takes less than five minutes). 

Once Adblock Plus is installed and it has been enabled and properly setup to block ads, you are done — all ads should now be blocked! However, keep in mind, Adblock Plus needs to be running at all times if you want ads blocked. If you disable or close Adblock Plus, it will stop blocking ads.

Enjoy!

Method #3: How to block all ads in Firefox on Android using Adblock Plus add-on (root not required)

If both method #1 and method #2 for blocking ads have been unsuccessful for you, you can block ads in Firefox on Android using the Adblock Plus add-on for Firefox. This method will only block ads when you surf the web using Firefox (it won’t block ads in other apps or games or if you use a different browser) but you don’t need root access to use this method and there is no app that you need running at all times to use this — ads are automatically blocked whenever you use Firefox.

That said, blocking ads via the Firefox mobile web browser for Android is probably the simplest way of blocking ads. To do it, do the following:

  1. Download and install Firefox on your Android smartphone or tablet from Google Play Store; you can find it in Play Store by searching.
  2. Once Firefox is installed, launch it and either search for Adblock Plus in Firefox’s add-on section from the Firefox browser on Android. Once you’ve found it, install Adblock Plus for Firefox and ad blocking within the browser will start immediately — no restart is needed.

Enjoy!


Conclusion

Android is a wonderful platform but it’s also a platform that can sometimes be swamped with advertisements (as is pretty much the whole web nowadays). Luckily, Android being as versatile as it is, blocking advertisements is a reality. Enjoy!

If you have any queries/feedback, please write it in comments section below OR mail me here : Snehal [at] Techproceed [dot] com

Happy Ads free Android  :-)

How to : Delete an Undeletable or Locked File

Have you ever run into a situation where you wanted to delete a file, but Windows simply wouldn’t allow you to do it? Personally, these things happen to me all the time, especially when I’m at a client’s house trying to get their machine clean of malware. Have you ever tried deleting a locked file using common windows commands? If so, then you’ll know that this is just not possible.

The main reason behind this is that the explorer.exe process locks files that are in use, effectively preventing you from deleting them. Usually, these files should not be touched, but sometimes, situations arise when you really need to erase some troublesome ones.

Fortunately, there are a few easy solutions to delete those files.


Solution #1: Kill explorer.exe


  1. Open a command prompt
  2. Navigate to the location where the locked file is
  3. Press CTRL-ALT-DEL, click on “task manager”, select the Processes tab
  4. Kill the explorer.exe process via the “End Process” button
  5. Go back to the command prompt and delete the file
  6. Bring up the task manager windows again
  7. Select file->new task
  8. Type explorer.exe in the “create new task” field
  9. Press OK.


Solution #2: Use The Windows Recovery Console

Just stick your Windows CD in your CD tray, boot on it, and at the “Welcome to Setup” screen, press “R“. Once the recovery console has started, navigate to the location of your locked file, and delete it. Since WRC does not really start the system, the files will not be in use, and you will be able to delete them. Oh, and for all you Linux geeks out there, yes, we know, doing this via a linux live CD / USB key is also possible.



Solution #3: Use unlocker


Unlocker is a very useful freeware that will allow you to unlock any files that are currently in use by Windows. You’ll know if this is happening if you are getting any of these messages when trying to delete a file:

  • Cannot delete file: Access is denied
  • There has been a sharing violation
  • The source or destination file may be in use
  • The file is in use by another program or user
  • Make sure the disk is not full or write-protected and that the file is not currently in use

Unlocker will make things right again for you.

You’ll notice that right after installing the software, a new option named “unlocker” will appear when right clicking any files or folders in Windows Explorer. To unlock a locked file, just right click it, select unlocker, and the unlocker software will start. Then, click “unlock all” and close the software. Now that your file is unlocked, just delete it in Windows Explorer, as you always do. This is much simpler than solution #1 or #2, isn’t it?

I hope these three solutions will help you get rid of those hard to delete files!


Custom Domain Setup on Blogger with Godaddy

Custom domain setup in Blogger.com is used to create your own blog URL. (for example: techproceed.blogspot.com to techproceed.com).

When you purchase a domain from Godaddy.com, they assign an IP address (A record and CNAME record) for the domain. Hence, you need to change those records to point to your Blogger.com blog. This post can help you to change the A and CNAME records of your Godaddy account.

Follow the steps given below:

Login to your Godaddy account and click on the My Account tab.



Under Domains, you will see the list of your domain names. Click on Advance Details of your desired domain. You’ll be directed to the Domain Manager page.



At the bottom of the Domain Manager Page, you will see a section under the heading DNS Manager, where you can edit the DNS configuration of your domain by clicking the Launch link



Under the A(Host) Tab of the DNS manager, enter the 4 IP addresses as below, one-by-one, using the Quick add button, to change the A records.


216.239.32.21
216.239.34.21
216.239.36.21
216.239.38.21



Click on the Quick Add button in the box labeled CNAME(alias). If you’ve already created a CNAME record for your blog’s address, click the pencil icon next to the existing CNAME record.

After you are done adding records, click on Save Changes to save your edited data.

For the Name, enter only the sub-domain of the address you want to use for your blog. For example, if you picked www.myblog.com as your address, enter www here.

Enter ghs.google.com as the Host Name. Specify a TTL or use the default setting of 1 hour.



This is how you can change the existing domain IP address that now points to your Blogger IP address. Wait for few hours for the changes to take effect in your IP records. After that you can say bye bye to your old Blogger.com blog URL by changing it with your custom domain name.

FAQs :

Q 1. Domain without www not working, but with www is working

Solution 1 (works for sure) :

You will have to redo it via Google Apps.You will have to enable a redirect.

1. Go to Google Apps and sign in to domain management.

2. Then click on domain settings.

3. Then click on domain Names.

4. Then Click on words highlighted to set a redirect via google apps and you should see it done within 3 hours or MAX 2 DAYS (though it usually does not take more than a day in the rarest case).Just follow the simple english instructions there and you should see it done.

Solution 2 :

Ping the website you are wanting to forward to, in order to get the IP address if you don't know it.

"Run"; CMD; "ping yourwebsite.com"

Will display ping data and reply from IP address. Note this address.


  1. Login to Godaddy.com to manage your account or other domain registry site
  2. Go to DNS Control
  3. Modify/Add "A Host"
  4. Under "Host" enter: @
  5. Under "Points To" Enter the IP Address you obtained earlier.
  6. You are done! Site is forwarded without the www prefix when entered into address bar.


Solution 3 :

A website can have any valid fully qualified domain name. If you own the domain Techproceed.com, nothing at all prevents you from running a website called superchickens.Techproceed.com.

In practice, though, users expect two things, and if you don't provide them users will be frustrated and not find your site:

1. If your domain is Techproceed.com, then your website needs to respond when a user types just Techproceed.com in the address bar and presses Enter, because that is convenient.

2. Your website should also respond with the same content when a user types www.Techproceed.com, because the www. prefix is very common and many users will assume they must provide it.

So how do we do this? If you are paying for service from a web hosting company, and www.Techproceed.com works but Techproceed.com doesn't, then your hosting company needs to fix that for you right away. Contact technical support and let them know you will be switching hosting companies if they don't fix it promptly. There is no valid reason why they can't make both names work for you. It is a very simple change to the web server's configuration and they ought to be doing it automatically for every new customer anyway.

That's the answer for nearly everyone reading this. However, if you are running the web server yourself -- possibly because you run a web hosting company -- here are the steps you need to follow to do the job:

1. Adjust the DNS settings for Techproceed.com. Make sure you have address records (type A records) for both Techproceed.com and www.Techproceed.com, with the same IP address. This is not hard to do at all with both Windows and Linux DNS servers.

2. If you are using virtual hosting to provide many websites on a single IP address, you will also need to tell your web server about the alternative name for the site. In your web server's configuration, add Techproceed.com as an alias for www.Techproceed.com. In an Apache server httpd.conf file, this typically looks like:

DocumentRoot /home/www/web
ServerName www.Techproceed.com
ServerAlias Techproceed.com

Only the ServerAlias directive is new. the rest is shown to provide context. Your Apache VirtualHost configuration may not be identical.

After the configuration file is edited the Apache web server must be signaled to reload its configuration. On a typical Unix system this can be done with the following command:

service httpd reload


If you have any queries/feedback, please write it in comments section below OR mail me here : Snehal [at] Techproceed [dot] com

Happy Setting up of your own custom domain  :-)