EF's Blog

Posts Tagged ‘android

Well, in my opinion, here’s top two sites that provide apk (mostly pirated apk) : 

1. http://www.blapkmarket.com

2. http://www.mobilism.org

I still prefer blapkmarket.com eventhough they dont provide sd card app/game data, because the .apk usually works, not like mobilism.org  who usually also provide game data but sometimes not works on my phone

this post was taken from :

http://qdevarena.blogspot.com/2010/05/download-android-sdk-standalone-for.html

 

——

I searched all over the internet and found no posts like this, hence I’m making one hoping it would be helpful for a lot of people.

The magic URL used to be – http://dl-ssl.google.com/android/repository/repository.xml (Outdated)
That is the XML file from which the URL for downloading the SDK packages are obtained.

Update :- The previous URL is now invalid, the new URL is given below
https://dl-ssl.google.com/android/repository/repository-5.xml

For e.g. if you want to download Android SDK for version 4.0.3 for all platforms, you could look up that XML file. You will find a block under tag SDK 4.0.3 like this

<sdk:archive arch=”any” os=”any”>

<sdk:size>44758833</sdk:size>
<sdk:checksum type=”sha1″>f2aa75133c29916b0b0b984974c2d5e46cb09e9c</sdk:checksum>
<sdk:url>android-15_r01.zip</sdk:url>
</sdk:archive>

 

So the URL will be is http://dl-ssl.google.com/android/repository/android-15_r01.zip

If all the above sounds too complex

You can directly download from the below links. If this page does turn out to be useful, then I might update it regularly. Do leave a comment to let me know if it has helped you.

Android SDK Platform 4.0.3 (*** NEW ***)
All Platforms

Android SDK Platform 4.0
All Platforms

Android SDK Platform 3.2 revision 1
All Platforms

Android SDK Platform 3.1 revision 3
All Platforms

Android SDK Platform 3.0, revision 2
All Platforms

Android SDK Platform 2.3.3_r2
All Platforms

Android SDK Platform 2.3.1_r2
All Platforms

Android SDK Platform 2.2_r3
All Platforms

— OLDER LINKS (Still working) —

Android SDK Platform Honeycomb Preview, revision 1
All Platforms

Android SDK Platform 2.3.3_r1 (Offline complete download) – Approx 80 MB
All Platforms

Android SDK Platform 2.3_r1 (Offline complete download) – Approx 80 MB
All Platforms

Android SDK Platform 2.2_r2 (Offline complete download) – Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.1_r1 (Offline complete download) – Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.0.1_r1 (Offline complete download) – Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.0, revision 1 (Offline complete download) – Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 1.6_r2  (Offline complete download) – Approx 63 MB
Windows
Mac
Linux

Android SDK Platform 1.5_r3  (Offline complete download) – Approx 54 MB
Windows
Mac
Linux

Android SDK Docs for Android API 7, revision 1 – Approx 48 MB
All Platforms

Android SDK Tools, revision 5  (16 to 23 MB)
Windows
Mac
Linux

 

first, type adb devices to know what the device are …

adb devices

C:\Users\efransiscus>adb devices
List of devices attached
emulator-5554 device
4641197608B2AE7E device

format :

adb -s <device name> install <path+apk name>

or

adb install <path+apk name>

example

adb install D:\Download\kxl-android-sample.apk

or

adb -s 4641197608B2AE7E install D:\Download\kxl-android-sample.apk

add this lines to your object in xml

android:scrollHorizontally=”true”
android:ellipsize=”end”
android:lines=”1″

A standard toast notification appears near the bottom of the screen, centered horizontally. You can change this position with the setGravity(int, int, int) method. This accepts three parameters: a Gravity constant, an x-position offset, and a y-position offset.

For example, if you decide that the toast should appear in the top-left corner, you can set the gravity like this:

toast.setGravity(Gravity.TOP|Gravity.LEFT, 0, 0);

If you want to nudge the position to the right, increase the value of the second parameter. To nudge it down, increase the value of the last parameter.

I do not believe you can set the style programatically. To get around this you can create a template layout xml file with the style assigned, for example in res/layout create tvtemplate.xml as with the following content:

<?xml version=”1.0″ encoding=”utf-8″?>

<TextView xmlns:android=”http://schemas.android.com/apk/res/android&#8221;
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:text=”This is a template”
style=”@style/my_style” />

then inflate this to instantiate your new TextView:

TextView myText = (TextView)getLayoutInflater().inflate(R.layout.tvtemplate, null);

Hope this helps.

For example :

<TableRow
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_gravity=”center_vertical”
android:background=”@drawable/epolicy_menu_nab_barbackground”
android:weightSum=”1″
>
<TextView
android:id=”@+id/tvNABColumnJenis”
android:text=”@string/strNABColumnJenis”
style=”@style/size10ptWhite3dpBold”
android:layout_weight=”.45″
android:layout_width=”0dp”
/>
<TextView
android:id=”@+id/tvNABColumnPerubahan”
android:text=”@string/strNABColumnPerubahan”
style=”@style/size10ptWhite3dpBold”
android:layout_weight=”.21″
android:layout_width=”0dp”
/>
<TextView
android:id=”@+id/tvNABColumnDalam3Hari”
android:text=”@string/strNABColumnDalam3Hari”
style=”@style/size10ptWhite3dpBold”
android:layout_weight=”.34″
android:layout_width=”0dp”
/>
</TableRow>

these parameters :

android:weightsum=”1″

and 

android:width=”0dp”

is a must.


EF’s Blog

I'm just ordinary people who lived in an extra-ordinary world.

EF's Blog Stats

  • 151,005 hits
May 2020
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Archives