Pages

Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Friday, May 6, 2016

Install Android Studio on Ubuntu 15 10 using ubuntu developer tools center


remark:
ubuntu-developer-tools-center is now named Ubuntu Make officially.
Please check the updated "Install Android Studio on 64-bit Ubuntu-GNOME 15.10 with Ubuntu Make".



To install Android Studio on Ubuntu 15.10 using ubuntu-developer-tools-center
- install java (refer "Install Oracle java8 on Ubuntu 15.10 via PPA")
- Enter the command in Terminal:
$ sudo apt-get install ubuntu-developer-tools-center
$ udtc android

This video show installing Android Studio on 64-bit Ubuntu 15.10 (run in VirtualBox) using ubuntu-developer-tools-center.

Read More..

Friday, April 29, 2016

Android popup messages using Toast

In Android you can display pop up messages that lasts for a certain duration and then disappears-using the Toast class.

Toast is a transient message that appears and disappears without any interaction from the user and with no notification to the program that it disappeared.

the Toast can display a simple text message or a complex view.

Displaying simple text:

to display a simple toast that displays a text message we use the following code:
Toast toast=Toast.makeText(this, "Hello toast", 2000);
toast.setGravity(Gravity.TOP, -30, 50);
toast.show();

we create the toast using the static Toast.makeText(Context con,String message, int duration) method to create a toast in the current context to display a text message for a duration specified in milli seconds or we can use the constant values Toast.LENGTH_SHORT to display for a short duration or Toast.LENGTH_LONG for longer duration.
The toast by default appears in the center of the screen, you can change the default position by specifying the Gravity and the X and Y offsets.
finally we call the Show() method to display the toast.

the previous toast will be like this:

Displaying complex views:


Toasts can also display complex views. this is done like this:

First: create a layout xml file in res/layout directory. the file must be named toast_layout.xml.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android_orientation="vertical"
android_layout_width="fill_parent"
android_layout_height="fill_parent"
android_id="@+id/toastView"
>
<TextView
android_layout_width="fill_parent"
android_layout_height="wrap_content"
android_text="Hello toast"
android_textColor="#000"
/>
<TextView
android_layout_width="fill_parent"
android_layout_height="wrap_content"
android_id="@+id/txtDate"
android_textColor="#000"
/>


</LinearLayout>

then from the code
Toast toast=new Toast(this);
LayoutInflater inflater=this.getLayoutInflater();
View toastView=inflater.inflate(R.layout.toast_layout, (ViewGroup)findViewById(R.id.toastView));
TextView txtDate=(TextView)toastView.findViewById(R.id.txtDate);
txtDate.setText("toast appeared at "+Calendar.getInstance().getTime().toLocaleString());
toast.setGravity(Gravity.CENTER, 0, 0);
toast.setView(toastView);
toast.show();

the toast will be like this:
Notes:
  • In the toast_layout.xml width, if you put any buttons or any control that has a callback, it would appear disabled and the user cannot interact with it.
  • The toast can be created in two ways: by calling Toast.makeText method or by specifyinga view via setView method. when you want to display a simple text use the first one otherwise use the second. if you try to interchange or combie between the two methods an exception will be thrown.
Read More..

Saturday, April 23, 2016

Getting started with Android development tools

Hi in this post we’ll know what tools we will use to start developing Android applications.


We’re going to download the latest Android SDK from this location http://developer.android.com/sdk/index.html

Then we’ll download Eclipse IDE from this location

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-win32.zip

then follow the installation steps from this link

http://developer.android.com/sdk/eclipse-adt.html

after you finish you will be ready to start developing Android Applications
Read More..

Saturday, March 5, 2016

DAEMON Tools Pro Advanced Full Free Download


Salam Blogger :) 
Untuk Penggemar Game2 Offline PC, Pasti butuh banget Software ini untuk mount file2 ISO. Game2 Berat biasanya di Compress menjadi ISO File. Iso File sendiri adalah hasil dari Disc Game yg sudah di jadikan Image File. Dan dengan Software ini, kita juga bsa Burning File2 ke Disc . Ane juga baru dengan dunia Iso, burning, Image File ini, haha. biasa ane maen game online mulu, jarang maen game Offline. karena lagi bete aja sama yg monoton, jadi nyoba2 game2 offline. dan ternyata di butuhin banget software ini untuk Mount. dan Software ini yang menurut saya simple use. Oke langsung cek it ...


DAEMON Tools Pro Advanced : 
Enables you to evaluate full Advanced software functionality.
Use variety of tools to work with image files, emulate up to 32 virtual SCSI drives and 2 virtual IDE devices and much more with advanced product possibilities. You can also burn disc images to all types of media: CD/DVD/HD DVD or Blu-ray. All you need working with images is in one application.


|Screenshoot|


Tutorial Instal :
1. Download dan Extract Terlebih dahulu File Daemon Tools Pro advance nya. 
2. Klik Silent installation (ENG).cmd nya. Kemudian klik Daemon.Tools.Pro.Advanced.v6.1.0.0483.exe
3. Instal seperti biasa. (Next" saja) 
4. Tunggu Hingga selesai . Daemon tools siap di pakai. 
5. Pemakaian utk File .Iso tinggal di klik aja File .Iso nya. automatis Mount. Enjoyy 


|DOWNLOAD|
DAEMON Tools Pro Advanced Full - Free Download
[Pass rar: maharanyo.blogspot.com]


#Smoga bermanfaat :) 
# Ask? Comment :) 
Read More..

Sunday, February 21, 2016

Android and its Fragmentation


Android has been making rapid strides into the Mobile market and has become a serious contender for the top 1 position in the mobile market (and is picking up on the tablet market quite quickly).

The fact that it was anopen platform allowing for lot of innovation and choice made the developer world and the mobile OEMs vouch for it and the inroads it madeinto the market was significant – significant enough for Apple to stand up, take note and even file a law suit J

However, this very fact is now slowly turning to be a bane for the Android platform, as it has led to a huge amount of fragmentation in the market. OpenSignalMapshas done a research in 195 countries and has come up with the graphic that clearly depicts the kind of fragmentation in Android devices.