Showing posts with label and. Show all posts
Showing posts with label and. Show all posts

Sunday, July 24, 2016

Screen Off and Lock



One click to turn off screen and lock device without touching power button.This tools allows you to switch off and lock screen by 1 click with screen off ANIMATION and SOUND effects.
You can click the shortcut in notification bar, put it into your dock of your launcher or long pressing the search key to switch off the screen and lock your device!
The donate version will EXIT COMPLETELY and FREE UP all the used memory after the screen is turned off or locked.








http://www.youtube.com/watch?feature=player_embedded&v=zmbSEimFeQU


 
Read More..

Tuesday, June 14, 2016

Relax and Sleep Relax and Sleep for Android

* Notice *
Please read the FAQ before commenting/rating - your issue is probably listed here with a solution! The Q&A is BELOW. (click more and scroll down)

* About  Relax and Sleep for Android*
Choose from a list of 35+ ambient sounds which include thunder, stopwatch, white noise, ocean, sea, birds, rain, crickets, frogs, water, mechanical noises, nature... and many more.
Change the independent track volumes and create your own unique relax melody!

* Features Relax and Sleep for Android *
- Custom Presets
- Count Down counter
- Alarm Clock (with SleepBot)
- Fade Out and much more..

* Faq Relax and Sleep for Android*
Q: Something doesnt work or force closes!
A: Instead of rating us low, please send us an email with some information about your device and the problem. We will try our best to solve it.

Q: Why does relax and sleep need the read phone state permission?
A: To mute Relax and Sleep when an incoming call is detected, this permission is needed.

Q: Some sounds wont work / the list has sounds checked that do not work?
A: Please uninstall the application and download/install it again from the market, this will solve the issue.

Q: Is there SD Card support?
A: Yes there is. Go to Settings->Applications->Manage Applications and choose Relax and Sleep. A Move To SD card button is there waiting to be pressed.

Q: Can i set my own alarm sound?
A: This is not possible, but you can click on menu,preferences and read the instructions for more information.

Q: Can i add my own sound?
A: This is not possible, but you can click on menu,preferences and read the instructions for more information OR you can send us an email with your request and we will add it to our wish-list for a future release.

Q: I hear a gap in the loop of sounds?
A: If you have an Android device of version 2.3.4 or higher then you could be right. Google replaced the whole media-framework (called opencore) with a new framework (called stagefright) which in this case cant repeat gapless. We are working on a solution but this can take time (thank google for this one).

Recent changes Relax and Sleep for Android:
- a quick update to fix several critical issues
- fixed force closes while starting
- new news popup (with history)
- fixed an issue for android 1.5 devices where no text was shown

Relax and Sleep for Android


 
Read More..

Sunday, April 6, 2014

Google Maps Android API v2 example detect user touch on GoogleMap and animate to the clicked location

Modify from last eample "Set map type of GoogleMap" to detect user click on GoogleMap, and animate to the user clicked location.

Google Maps Android API v2 example: detect user touch on GoogleMap and animate to the clicked location


To detect user click event on GoogleMap, modify the FragmentActivity implements OnMapClickListener, override onMapClick(LatLng point), and call myMap.setOnMapClickListener(this).

To animated to a specified location, create a new CameraUpdate by calling CameraUpdateFactory.newLatLng(point) method with the specified location. And then call myMap.animateCamera(...) to start animation to the specified location.

package com.example.androidmapsv2;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.GoogleMap.OnMapClickListener;
import com.google.android.gms.maps.model.LatLng;

import android.app.AlertDialog;
import android.location.Location;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends FragmentActivity implements OnMapClickListener{

final int RQS_GooglePlayServices = 1;
private GoogleMap myMap;

Location myLocation;
TextView tvLocInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

tvLocInfo = (TextView)findViewById(R.id.locinfo);

FragmentManager myFragmentManager = getSupportFragmentManager();
SupportMapFragment mySupportMapFragment
= (SupportMapFragment)myFragmentManager.findFragmentById(R.id.map);
myMap = mySupportMapFragment.getMap();

myMap.setMyLocationEnabled(true);

myMap.setMapType(GoogleMap.MAP_TYPE_HYBRID);
//myMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
//myMap.setMapType(GoogleMap.MAP_TYPE_SATELLITE);
//myMap.setMapType(GoogleMap.MAP_TYPE_TERRAIN);

myMap.setOnMapClickListener(this);


}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.activity_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_legalnotices:
String LicenseInfo = GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo(
getApplicationContext());
AlertDialog.Builder LicenseDialog = new AlertDialog.Builder(MainActivity.this);
LicenseDialog.setTitle("Legal Notices");
LicenseDialog.setMessage(LicenseInfo);
LicenseDialog.show();
return true;
}
return super.onOptionsItemSelected(item);
}

@Override
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();

int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext());

if (resultCode == ConnectionResult.SUCCESS){
Toast.makeText(getApplicationContext(),
"isGooglePlayServicesAvailable SUCCESS",
Toast.LENGTH_LONG).show();
}else{
GooglePlayServicesUtil.getErrorDialog(resultCode, this, RQS_GooglePlayServices);
}

}

@Override
public void onMapClick(LatLng point) {
tvLocInfo.setText(point.toString());
myMap.animateCamera(CameraUpdateFactory.newLatLng(point));
}

}


Modify layout file to add a TextView to display the clicked location.
<LinearLayout 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:orientation="vertical"
tools:context=".MainActivity" >

<TextView
android:id="@+id/locinfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment"/>

</LinearLayout>


download filesDownload the files.

Next:
- Detect long click on map and add marker


The series:
A simple example using Google Maps Android API v2, step by step.

Read More..

Monday, March 31, 2014

And today I launched my website on a free server

Last summer I worked on my website and one of my wishes was to upload it on a server.
Thanks to a friend I heard about a nice free server (cause I like free things) that supports PHP and MySql databases and I uploaded there.
Ok, but what about this blog? I will still publish articles here, that website will be just an "intro" to this blog and also there Ill publish links to my projects. It was just one of my dreams to create my website from sketches and to publish it on a server...
So HERE it is! And was created with PHP, MySql Databases and just a little bit HTML & CSS! And visit my site: http://23ars.site50.net
Read More..

Sunday, March 30, 2014

C code to implement BFS and DFS

/* C program to implement BFS(breadth-first search) and DFS(depth-first search) algorithm */

#include<stdio.h>

int q[20],top=-1,front=-1,rear=-1,a[20][20],vis[20],stack[20];
int delete();
void add(int item);
void bfs(int s,int n);
void dfs(int s,int n);
void push(int item);
int pop();

void main()
{
int n,i,s,ch,j;
char c,dummy;
printf("ENTER THE NUMBER VERTICES ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
printf("ENTER 1 IF %d HAS A NODE WITH %d ELSE 0 ",i,j);
scanf("%d",&a[i][j]);
}
}
printf("THE ADJACENCY MATRIX IS
");
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
printf(" %d",a[i][j]);
}
printf("
");
}

do
{
for(i=1;i<=n;i++)
vis[i]=0;
printf("
MENU");
printf("
1.B.F.S");
printf("
2.D.F.S");
printf("
ENTER YOUR CHOICE");
scanf("%d",&ch);
printf("ENTER THE SOURCE VERTEX :");
scanf("%d",&s);

switch(ch)
{
case 1:bfs(s,n);
break;
case 2:
dfs(s,n);
break;
}
printf("DO U WANT TO CONTINUE(Y/N) ? ");
scanf("%c",&dummy);
scanf("%c",&c);
}while((c==y)||(c==Y));
}


//**************BFS(breadth-first search) code**************//
void bfs(int s,int n)
{
int p,i;
add(s);
vis[s]=1;
p=delete();
if(p!=0)
printf(" %d",p);
while(p!=0)
{
for(i=1;i<=n;i++)
if((a[p][i]!=0)&&(vis[i]==0))
{
add(i);
vis[i]=1;
}
p=delete();
if(p!=0)
printf(" %d ",p);
}
for(i=1;i<=n;i++)
if(vis[i]==0)
bfs(i,n);
}


void add(int item)
{
if(rear==19)
printf("QUEUE FULL");
else
{
if(rear==-1)
{
q[++rear]=item;
front++;
}
else
q[++rear]=item;
}
}
int delete()
{
int k;
if((front>rear)||(front==-1))
return(0);
else
{
k=q[front++];
return(k);
}
}


//***************DFS(depth-first search) code******************//
void dfs(int s,int n)
{
int i,k;
push(s);
vis[s]=1;
k=pop();
if(k!=0)
printf(" %d ",k);
while(k!=0)
{
for(i=1;i<=n;i++)
if((a[k][i]!=0)&&(vis[i]==0))
{
push(i);
vis[i]=1;
}
k=pop();
if(k!=0)
printf(" %d ",k);
}
for(i=1;i<=n;i++)
if(vis[i]==0)
dfs(i,n);
}
void push(int item)
{
if(top==19)
printf("Stack overflow ");
else
stack[++top]=item;
}
int pop()
{
int k;
if(top==-1)
return(0);
else
{
k=stack[top--];
return(k);
}
}

/* Output of BFS(breadth-first search) and DFS(depth-first search) program */

C code to implement BFS and DFS
Output of BFS and DFS Program

C code to implement BFS and DFS
Output of BFS and DFS Program

For more related to Data Structure see List of Data Structure Programs. If you like this program, Please share and comment to improve this blog. Thanks.. :)
Read More..

Saturday, March 29, 2014

The New Digital Age Reshaping the Future of People Nations and Business


In an unparalleled collaboration, two leading global thinkers in technology and foreign affairs give us their widely anticipated, transformational vision of the future: a world where everyone is connected—a world full of challenges and benefits that are ours to meet and to harness.

Eric Schmidt is one of Silicon Valley’s great leaders, having taken Google from a small startup to one of the world’s most influential companies. Jared Cohen is the director of Google Ideas and a former adviser to secretaries of state Condoleezza Rice and Hillary Clinton. With their combined knowledge and experiences, the authors are uniquely positioned to take on some of the toughest questions about our future: Who will be more powerful in the future, the citizen or the state? Will technology make terrorism easier or harder to carry out? What is the relationship between privacy and security, and how much will we have to give up to be part of the new digital age?

In this groundbreaking book, Schmidt and Cohen combine observation and insight to outline the promise and peril awaiting us in the coming decades. At once pragmatic and inspirational, this is a forward-thinking account of where our world is headed and what this means for people, states and businesses.

With the confidence and clarity of visionaries, Schmidt and Cohen illustrate just how much we have to look forward to—and beware of—as the greatest information and technology revolution in human history continues to evolve. On individual, community and state levels, across every geographical and socioeconomic spectrum, they reveal the dramatic developments—good and bad—that will transform both our everyday lives and our understanding of self and society, as technology advances and our virtual identities become more and more fundamentally real.

As Schmidt and Cohen’s nuanced vision of the near future unfolds, an urban professional takes his driverless car to work, attends meetings via hologram and dispenses housekeeping robots by voice; a Congolese fisherwoman uses her smart phone to monitor market demand and coordinate sales (saving on costly refrigeration and preventing overfishing); the potential arises for “virtual statehood” and “Internet asylum” to liberate political dissidents and oppressed minorities, but also for tech-savvy autocracies (and perhaps democracies) to exploit their citizens’ mobile devices for ever more ubiquitous surveillance. Along the way, we meet a cadre of international figures—including Julian Assange—who explain their own visions of our technology-saturated future.

Inspiring, provocative and absorbing, The New Digital Age is a brilliant analysis of how our hyper-connected world will soon look, from two of our most prescient and informed public thinkers.

Read More..

Tuesday, March 11, 2014

100 Doors Aliens space apk and data direct link free download


Genres:Logic
Added:02.11.2014

Android 2.2 and higher. v1.0.7 [20.1 MB][apk]


Read More..

Tuesday, March 4, 2014

ANDROID Real Football 2013 Apk and Cache qvga wvga hvga wsvga

Download ANDROID Real Football 2013

http://androidgamesofworld.blogspot.com/

Real Football is back. Real Football 2013 will bring you many victories, joy and a lot of new unique abilities. Install the game and manage your own football club. Gather your own team and lead it to victory. To achieve success you will have not only to control your team at the playing field, but hire staff and build up the area around the stadium; the stadium itself also needs care: negotiate with sponsors and make many other things. Your team will not be the best when beginning the game and it will take part not in the best league of the country. So, you will rise to the heights from the bottom. To get to the major league and fight with the most famous and powerful teams of the world you need to watch your team and each player in particular. In order to train players you will need some additional buildings, which you will build for the money earned and for sponsors money. You will have to build a separate training ground for developing skills of players and keeping them in a good shape. With the laps of time you will be able to expand the stadium, build shops and other infrastructure, which you will get your profit from.

The game requires a cache download.How to install the game with the cache?

The path for the cache: sdcard/Android/obb


Read More..

Sunday, March 2, 2014

Little Alice Third birthday apk and data direct link free download


Genres:Arcade
Added:02.19.2014

Android 4.0.4 and higher. v1.0.1 [14.5 MB][apk]




Read More..

Friday, February 28, 2014

Farm Town MOD APK v1 33 Unlimited Golds and Diamonds Free Full Version No Root Offline Crack Obb Download

Farm Town 1.33 Apk Mod Full Version Unlimited Diamonds Download Golds

Farm Town 1.33 Apk Mod Full Version Unlimited Diamonds Download Golds-iANDROID Games 


DOWNLOAD LINKS
Read More..

Thursday, February 27, 2014

Android Need for Speed Most Wanted Apk and Data qvga wvga hvga wsvga

Download Android Need for Speed Most Wanted

http://androidgamesofworld.blogspot.com/
Fasten belts, press gas and keep stronger- it is the most important race in your life. Deceive police officers, cheat rivals and leave friends in the most dangerous Need For Speed for all history of this series. Will you have enough courage to become Most Wanted?
Leave from annoying cops, competing with crackheaded street racers and criminals. Take the wheel of the most improbable cars: SRT Viper GTS, Porsche 911 Carrera S, Hummer H1 Alpha and many others. Feel the drive of underground street races with realistic system of damage of cars - for the first time on a mobile platform.

For Android 2.3.3 and higher. v.1.0.47 [12.1 MB][apk] Download Here
Game cache. For all devices [604.7 MB][zip] Download Here
Read More..