Saturday, 8 June 2013

The Way The Life goes..

I am here to say nothing new about Life but just want to color it that i want to share.

It’s my thought how i look Life and how it can be and based on my thoughts which includes for me and not intended to hurt anyone.

Some says Life is dull, looks not colorful,shaded etc., everyone’s Life is like a book,don't skip the page to see what's the end result.Enjoy every moment, sometimes book may contain error correct it,instead don't throw it. Without hot and rain, you can’t see rainbow. Make it so colorful and fly high to touch the sky.

If you are worry, just go to the beach sit and watch the beauty of sea, see the beauty of leaves,nature,singing of birds. Every time sea hits the rock and rise. similarly problem also, destroy those problems and arise and don't withdraw, try as you can.Happiness always surrounds us. utilizing is in our hands.   

Next comes  purest form and meaningful is friendship. All humans cant be same. Every humans may vary.If all characters are equally given by HIM, life will also get bored. Some may reserved, talkative, fighting,angry mood,sad mood etc., but everyone have a good nature,but environment and surroundings make  to change.
Similarly the dear one who shows more angry or irritated just get rid of that place or be silent, more arguments will take more unwanted topics to continue and it will make a gap between the value of friendship.

Making others happy is a gift and similarly should not be responsible for others sorrow. It will hurt them a lot. We may forget but the dear one who got hurt will not say but pain will remain always.Sometimes polite speech and silence is also a best one to defeat a person who hurts you. Don't ever never care what others say or spread gossip about you.just spread a smile.

Once Mother Theresa went in a street and met a stranger who is in upstairs.She looked up and asked sir,will you please donate a fund to the orphanage if you can. Stranger simply splitted on her hands and said, go this what i have. Mother Theresa smiled and said in a polite way that you have given for me, yet there are so many children who still suffering. On hearing this, stranger's heart felt very bad and came from upstairs and hold her legs and asked to forgive him.

No one can't be a perfect! but can be changed with extend. 

Life is to enjoy.In this short and just temporary life, make friends and avoid arguments and angry!!  Cute fights can be done, and it should not get hurt to that person.

If mistake is not on your side, don't worry and be bold on your side and if your mistake is on your side, don't hesitate to say sorry!! 

Ever never change your character for anyone.Be what you are and don't intimate others. One of the main problem arises is confusion between heart and mind. Don't mismatch your love to think in mind and work in heart. Solve it at right time and right place. keep surroundings happy.

Four letter word meaningful and worth.

Love and  live in Life with smile forever!! :)




Do the best what you can

Be the first how should be

Leave the rest if you cant

Keep smiling always...................





Friday, 17 May 2013

Google's New features in location and physical moment.


Google is improving a lot for developer's favour by adding lots of flavour in android.
Three new location based API's- 

Fused Location provider- Fused Location provider basically combines all phone sensors that can detect location and in turn greatly reduces battery consumption when an app such as maps requires specific location.So it combines data from a device cellular radio,gps and wifi to provide more uniform location features in app.

Geofenching- It allows to set up geographical area and then it trigger events when user enter or leave it. It has been there in ios 5.1,now google also going to  provide api.

Activity Recognition-It can figure out, whether you are currently travelling on foot, car or bicycle.

Google's Barra also announced that company is launching Google play game services offering many features IOS users have in Game center along with additional features such as ablility to play corss platform between Android Devices and Web-based games.



Monday, 13 May 2013

Tizen-Samsung Future and not Android

As so many OS are releasing and much competition in mobile world, Samsung +Intel association going to hit a stable release which is so called as Tizen. OS family is based on Linux and it uses HTML 5 scripting language. Tizen released version 2.0 called as Magnolia.

Tizen provides application development tools based on JavaScript libraries JQuery and Jquery Mobile.Since version 2.0 native application framework is also available based on Open Services Platform from Beta platform.

SDK allows developers to use HTML 5 and related web technologies to write application that run on supported devices.

Bada an OS for mobile which open services platform forms native application framework of Tizen 2.0 and later.

Corodova implemtation for tizen is JavaScript wrapper library allowing to build and run Corodova based projects on Tizen.

Tizen is a competitor to Android and IOS but it goes further,Tizen wants to be universal and works on

1.Smartphone
2.Tablet
3.Netbook
4.Vehicles
5.TV


From the official website, you can download SDK https://www.tizen.org/

For Developers tutorial, it's available here. https://source.tizen.org/documentation




Wednesday, 20 March 2013

To pass different activity in tablet and phone android

In this, I am  going to discuss about how to use different activity used  in Tablet and phone. I will show you the structure how it will look. You can use it based on your requirement.

in res->values->bool.xml


<?xml version="1.0" encoding="utf-8"?>
<resources>
    <bool name="isTabletDevice">false</bool>
</resources>


Main.java


         boolean tabletDeviceSize = getResources().getBoolean(R.bool.isTabletDevice);
if (tabletDeviceSize) {



Intent intent = new Intent(Main.this,
B.class);
startActivity(intent);

}

else
{

               Intent intent = new Intent(Main.this,
C.class);
                 startActivity(intent);

}
Happy coding..


Thursday, 3 January 2013

Blackberry beginning tutorial

Well If you are familiar with java, then you can create Blackberry programming.

Click here

https://developer.blackberry.com/java/ to download blackberry sdk 7.1

Then you will be redirected to download page,

http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=00EC53C4682D36F5C4359F4AE7BD7BA1&dl=FF6622A42D684A5F18B53B8D94C9BE98&check1=A

Download and install it.

Your eclipse will start

Click File->New ->Blackberry Project

Enter Project name and click Finish.

In package explorer, you will find package.Inside the package you will find two class file. MyScreen.java and MyApp.java.You can rename it as your choice.

MyScreen.java is the "Application" screen and MyApp.java is "MainScreen" application class.

Let's proceed in programming..

MyScreen.java:


Import net.rim.device.api.system.ApplicationManager;

Import net.rim.device.api.ui.UiApplication;

Public class MyScreen extends UiApplication
{

Public static void main(String args[])
{

//new Instance of application

Launcher lr=new Launcher();

lr.enterEventDispatcher();

Private Launcher()
{

This.pushScreen(new MyApp() );

}

}


MyApp.java


Import net.rim.device.api.ui.component.LabelField;

Import net.rim.device.api.ui.container.MainScreen;

Public class MyApp extends MainScreen

{

//Inside the constructor,labelfield been used.
Public MyApp()

{

//I am creating a labelfield that will display in screen
LabelField lf=new LabelField();

//set the text that you want in label field.
lf.setText(“Hello world”);

//add the label field in mainscreen
this.add( lf );

}

}

To run the application. run->run project->Blackberry simulator 














Monday, 24 December 2012

List of open source Android game Engine


For creating games in android, there are some supporting open source android game engine which are listed below

1.jMonkey Engine(Java based 3D Game Engine)

http://jmonkeyengine.org/

2.YoghurtGum(Android Game Engine)

https://code.google.com/p/yoghurtgum/

3.Catcake(Android Game Engine)

https://code.google.com/p/catcake/

4.jPCT-AE(Android Game 3D Engine)

http://www.jpct.net/jpct-ae/

5. Dwarf-fw(Android 3D Framework)

https://code.google.com/p/dwarf-fw/

6.Mages(Android Game Engine)

https://code.google.com/p/mages/

7.Angle(Android Game Engine)

https://code.google.com/p/angel-engine/

8.Shiva3d(Android Game Engine)

http://www.stonetrip.com/

9. Unity3d

http://unity3d.com/

10.E3Droid

http://www.e3roid.com/

11.LibGDX

https://code.google.com/p/libgdx/

12.Dxstudio

http://www.dxstudio.com/index.aspx

13.CuttleFishEngine(2D)

http://www.masonmc.com/2012/mkdir-cuttlefish2/

14.Rokon 2D game engine

https://code.google.com/p/rokon/

15. Corona Game Edition

http://www.coronalabs.com/products/corona-sdk/


Friday, 21 December 2012

Android DayDreams

Hi,

This is my First post.Please encourage me to continue this forever.

Well, So my First post is about Android. 


Android used to keep so many attractive sweet names in Alphabetical order that starts from Cupcake(1.5) to JellyBean. Hope next new version of Android on march or may 2013 will be Android 5.0 Key Lime Pie.

Android released Jelly Bean 4.1,However 4.2  updates with minor changes also released. Several new concepts introduced in that. I get attracted on a concept called as Daydreams which I want to share with you.

Daydream is a new interactive screensaver mode for Android devices.It is added in api level 17.



Lifecyle of DreamService:

onAttachedToWindow():

Use this for initial setup, such as calling setContentView().

onDreamingStarted():
Your dream has started, so you should begin animations or other behaviors here.

onDreamingStopped()
Use this to stop the things you started in onDreamingStarted().

onDetachedFromWindow()
Use this to dismantle resources your dream set up. For example, detach from handlers and listeners.

Now Let us look a simple example for DayDreams.

//It extends with DreamService

public class DayEx extends DreamService 
{
//create a textview

TextView t;

//Based on lifecycle of daydreams, u need to use setcontentview in this method.
@Override
public void onAttachedToWindow() 
{

setContentView(R.layout.main);

t=(TextView)findViewById(R.id.textView1);

super.onAttachedToWindow();
 setInteractive(true);
 
      setFullscreen(true);
   
    t.setText("Hello world");

}

@Override
public void onDreamingStarted() {
// TODO Auto-generated method stub
super.onDreamingStarted();
}


}

In Android Manifest.xml declare this.


   <service
     android:name=".DayEx"
     android:exported="true"
     android:label="DayEx >

     <intent-filter>
        <action android:name="android.service.dreams.DreamService" />
        <category android:name="android.intent.category.DEFAULT" />
     </intent-filter>


Start to run the application.

Go to Settings-> Applications->Display->DayEx(The given service label will be displayed in this.You can change any name for the application).





You can display this while  in charging or in docked.You can select your choice in WHEN TO DREAM. Then select start now..



Enjoy..:) :)