Friday, 30 August 2013


YES!!

It is possible to install an app on user mobile without letting it known...




What happens in this process:-

An app has to been installed in android device have a UI such that it does not let know that what application is doing in background. let name it as - "Bridge app"(like my Secret_install app).

Then this bridge app will download an another app located on server. let name this another app as- "Hidden app"(here it is Face_detect app).

Downloading of this hidden app is done in background without user get informed.

After hidden app is downloaded it is stored over phone memory.

When this whole process is completed this hidden app is installed to mobile device....(again user has not information that a app is getting installed)

1.Device does not ask for user to install that hidden app.

2.Device does not show window containing permissions involved in hidden app.

3.Device does not show the window of installation (like in other app installation)

4.Hidden app will install secretly and show an icon on menu screen.


You can download this DEMO app which i have created on same basis....

Download and check it - here

This is demo app only and does not infect your mobile and does not gain access to your mobile....

It is safe to try this demo.

it is for information basis only!!.

This trick works in most cases... but it does not work on some devices!!! i am searching the reason. and let you all know it soon....

so be safe and avoid untrustable websites/stores for app downloads.

Wednesday, 24 July 2013

There are many game engines available for mobile platforms like:-

1 AndEngine.(2D Only)
2 Cocos2d.(2D Only)
3 Min3d.(3D)
4.jMonkey(3D)
..etc

But most programmers prefer libgdx due to following advantages:-
1. Open source.
2. Supports 2D and 3D(3D is still Updating with new features).
3. Free since it is open source.
4. Many sample tutorials available on home site of libgdx.
5. Supports various platforms(Android/ios/Html5/Desktop).



So here we will learn to simply configure our libgdx project and write our first libgdx program.

*Assuming you have some basic knowledge of programming before.
(SYSTEM SETUP)
Steps involved :-

1 Install java development toolkit (jdk). here.
2 Download and extract Android SDK (ADT Bundle) from here.
3 Download libgdx library (you can select any one from release build or nightly build ).
*what is difference between both libraries?
 :- 
There is nothing much difference you can choose any - Release build is updated only when considerable changes are done while nightly build is updated almost daily.
4 Unzip the contents of library in some directory (say:- c:\game_engine\libgdx).

(PROJECT SETUP)
(Main base project can be used in android,desktop,html5 project)
1. Open Eclipse come with ADT Bundle.
2. Create a new java project.(name: mylibgdx).
3. Create a package in src folder(com.suheb.libgdx_example).
4. Create a class in this package (mylibgdx_class).
5. Now we have to import libgdx libraries.
    1> Right click on project folder and go to build path->configure build path.
    2> Select "Add External JARs".
    3> Browse to location where you have extracted libgdx libraries (say:- c:\game_engine\libgdx). 
         and select these jars:-
                                           1.gdx.jar
                                           2.gdx-natives.jar
                                           3.gdx-backend-lwjgl.jar
                                           4.gdx-backend-lwjgl-natives.jar
   click ok.

6. Now open our class (mylibgdx_class) implements it with ApplicationListener.
7. Press ctrl+shift+o and all unimplemented methods will auto generated.
                                          OR 
    You can type/copy the following code as it is in your class.

//CODE
package com.suheb.libgdx_example;

import com.badlogic.gdx.ApplicationListener;

public class mylibgdx_class implements ApplicationListener{

@Override
public void create() {
// TODO Auto-generated method stub
}

@Override
public void dispose() {
// TODO Auto-generated method stub
}

@Override
public void pause() {
// TODO Auto-generated method stub
}

@Override
public void render() {
// TODO Auto-generated method stub
}

@Override
public void resize(int arg0, int arg1) {
// TODO Auto-generated method stub
}

@Override
public void resume() {
// TODO Auto-generated method stub
}

}

I am not describing whole code skeleton right now
Just a quick description....
  1. create method :- Called when project executes and its instance is created mostly all initializations  and variables goes here.
  2. dispose :- when program is going to terminated.releasing of resource goes here.
  3. pause :- when when program is paused or is not in focus all rendering and screen updates should also be paused.
  4. render :- called repeatedly all updation to screen goes here.
  5. re-size :-called when screen size is changed or orientation is changed.
  6. resume :- called after pause is removed.all rendering and updation also resumes.

Desktop project:-

  1. Create a new Java project in Eclipse.
  2. Project name-mylibgdx_desktop.
  3. Right click project folder and create a new folder named "libs". copy following jars in that folder
    1. gdx-natives.jar
    2. gdx-backend-lwjgl.jar
    3. gdx-backend-lwjgl-natives.jar
  4. In Eclipse, right click the project -> Refresh. Right click again -> Properties -> Java Build Path -> Libraries -> Add JARs, select the three JARs and click OK.
  5. Click the Projects tab, click Add, check the main project and click OK.

Android project:-

  1. Create a new Android project in Eclipse.
  2. Project name-mylibgdx_android. 
  3. Build target android 1.5 or more.
  4. Package name - com.suheb.libgdx_example_android then click Next.
  5. Create activity MyLibgdx_Example_Android.
  6.  Right click project folder and create a new folder named "libs". copy following jars in that folder
    1. gdx-backend-android.jar 
    2. gdx.jar
    3. both armeabi and armeabi-v7a folders.
  7. In Eclipse, right click the project -> Refresh. Right click again -> Properties -> Java Build Path -> Libraries -> Add JARs, select gdx-backend-android.jar and gdx.jar click OK.
  8. Click the Projects tab, click Add, select the mylibgdx project and click OK twice.
  9. Click the Order and Export tab, check the mylibgdx project.

Run project on desktop

Right click the desktop project -> New -> Class. Name it Desktop_Sample and specify a package (eg, "com.suheb.desktop_example"). Use following code:
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
public class Desktop_Sample{
        public static void main (String[] args) {
                new LwjglApplication(new mylibgdx_class(), "My_Libgdx_Example", 480, 320, false);
        }
}
This code creates an LwjglApplication, gives it an instance of your class, a title, and size. The "false" means we aren't using OpenGL ES 2.0 (we will use 1.0/1.1).
To run the game on the desktop, right click the project -> Debug As -> Java Application. You should get a black window titled "My_Libgdx_Example".

Run project on Android

Open the MyLibgdx_Example_Android class in the Android project that was automatically created and make it look like this:
import com.badlogic.gdx.backends.android.AndroidApplication;
public class MyLibgdx_Example_Android extends AndroidApplication {
        public void onCreate (android.os.Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                initialize(new Game(), false);
        }
}

Thursday, 30 May 2013


Creating a simple virus program(harmless,just for fun / prank)....

This program can infect the phone as well as disinfect it....

(disinfecting will not function properly in some cases,data is not actually lost anywhere but you have to recover it manually in such case... **it is also described below)
so use at own risk....

Screen shot:-
After infecting






but yet it works in most cases

This posts include a simple program in android which is capable to invisible all the SD-Card content of phone from file manager,gallery and media scanner...

The basic idea behind it is only to hide/invisible the SD-Card content from phone.so Android OS gets unaware about that data and don't shows it up.....

In Android system folders having a dot "." as initial of its name considered as hidden .... so what we do is to make each SD-card folder to start with "..." to hide them ex- 'image' --> '...image'
and while disinfecting we have to remove those dots to unhide them from system....

Tuesday, 14 May 2013


If you are interested in android programming and have a creative mind you can create a simple image editor for android for your own personal use:-

1> This program is concentrated on drawing text on a resource image and saving it on sd-card.

2>We can undo all editing at any time if we do not want so.

3>Drawing text can be change any time.

4> #You can 'Try' it your self and change its functionality according to your requirements.

5> Easy to implement and supports all devices. :)



finaoutput:-





Friday, 3 May 2013

Simple Autocallrecorder

SIMPLE AUTOCALLRECORDER APP

An great app including simple and easy to use functionality.

It is an good app of its kind can be used to keep an record and track of all your voice calls.
Those may be incoming or outgoing.recording functionality can be  disabled when it is not required.
calls can be recorded and stored in sdcard for any future referencing.

Some screenshots are:-




Bought MICROMAX CANVAS HD a week ago and it seems it has some issues and problems according to my personal experience.



Major issues:-

1> Its touch sensitivity is a major drawback. while scrolling or sliding over screen it accidently opens up apps or drags.

2> Its auto rotate is not so responsive. while using auto rotate it does not rotate screen immediatly and it is required to shake phone vertically and then horizontal  to rotate the screen.(while switching between apps)

3> It has no task manager installed by default.should be downloaded one from play store whichever one you like.

4> Accelerometer is not even so smooth. While playing game like temple run 2 it seems that i have to also tilt myself completely with the phone to move the character.

5>No update options availabe for jellybeans 4.2.(Now). may be availeble in near future.

6>Phone UI hangs when a message is recieved.(for 2-3 secs)

7> Sounds cuts or not audible on either sides when on call.
...... and might be more to find out......