Laman

Monday, August 31, 2009

Intents

Intent objects are a bundle of information. It is used to launch the essential components of an android application, like


-startActivity(intent) for launching an activity
-startService(intent) for launching a service
-sendBroadcast(intent) for launching a Broadcast Receiver


The primary pieces of information of an Intent are


-action and
-data

Action means the action to be performed by the intent like, ACTION_DIAL, ACTION_SET_WALLPAPER etc.

Data means, the data to be operate on.


Two types of intent are
-Explicit Intent
-Implicit Intent


In explicit intents, we explictly define the target component
eg: Intent intent = new Intent();
intent.setClass(this, NextScreen.class);
startActivity(intent);
In this, we explicitly define to go to the NextScreen activity.

In implicit intents, no target component will be there. Actually, it is launching components of other application.

eg: Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER);
startActivity(intent);
READ MORE - Intents

Sunday, August 30, 2009

ADC2 Submissions Closing Monday!

Don't forget to submit your ADC2 apps by midnight PST on Monday, August 31! Remember that this is Pacific time in the US (GMT - 7) so be sure to convert the deadline into your local timezone.

Also, even if you've already submitted your apps, please double check and make sure that your app is in the "Submitted" state in the UI! If it says "Unsubmitted", it will NOT be considered as an entry.

READ MORE - ADC2 Submissions Closing Monday!

Saturday, August 29, 2009

Copying Files to a Disk Image

Once you have created the disk image, you can copy files to it prior to loading it in the emulator. To copy files, you can mount the image as a loop device and then copy the files to it, or you can use a utility such as mtools to copy the files directly to the image. The mtools package is available for Linux, Mac, and Windows.

Here, I will mount and copy files to emulator SD Card as a loop device.

In Unix-like operating systems, a loop device, vnd (vnode disk), or lofi (loopback file interface) is a pseudo-device that makes a file accessible as a block device.

Create a directory, named SD in my home.

Type the command in Terminal:
$sudo mount -o loop /home/eric/.android/avd/my_avd_GoogleAPIs_1.5.avd/sdcard.img /home/eric/sd

Where /home/eric/sd is the directory mounted to be accessed.
/home/eric/.android/avd/my_avd_GoogleAPIs_1.5.avd/sdcard.img is the SDCard image created for Android Emulator.

Now, you can create directory, copy files to the emulator's SDCard by SD.

$cd sd
$sudo mkdir pictures
$cd pictures
$sudo cp /home/eric/SDCard_16M.png .
$...

To know more details of the command mount, type
$man mount

--------------------------------------------------------
it's another approach, Create SD Card in Android Emulator and copy files into, in Eclipse, Emulator and DDMS.

READ MORE - Copying Files to a Disk Image

Create an SD Card to existing AVD

Here, I want to create an SD Card image to an AVD.

- Firstly, locate the path of your AVD, type the command in Terminal:
$android list avd

- Create a SDCard image, named "sdcard.img" (it's the default name for the emulator to load).
In my case, I want to add 16M SD Card to the /home/eric/.android/avd/my_avd_GoogleAPIs_1.5.avd.

$mksdcard 16M /home/eric/.android/avd/my_avd_GoogleAPIs_1.5.avd/sdcard.img

where /home/eric/.android/avd/my_avd_GoogleAPIs_1.5.avd/ is the path of my avd.



Restart the emulator, click Menu in Android Home screen, then click Settings > SD Card & phone storage. Now, you can see the SD Card here.

With 16M SD Card:


Without SD Card, before adding the SDCard image:


next >> Copying Files to a Disk Image


--------------------------------------------------------
it's another approach, Create SD Card in Android Emulator and copy files into, in Eclipse, Emulator and DDMS.

READ MORE - Create an SD Card to existing AVD

Thursday, August 27, 2009

Image Shade | Image Reflection | Text Effect | Barcode Generator

Here is the great collection of online free tools to creating Image Reflection / Image Shade / Mirror Effect / Text Effect / Text Reflection / Drop Shadow / Barcode Generator / ASCII Art Generator / Book Cover Generator.

Turn your photos into Cool reflecting Web 2.0 look Images
This service allows you to add online Mirror effect to your pictures and images.
Reflectz.Net | Reflection Maker | Wet Floor Maker | Mirror effect | 1-Click Picture Effects



Drop Shadow - Generate a Drop-Shadowed Image
DropShadow.net allows you to instantly create drop shadows on any images you upload.


Mirror Text This site allow you to create online mirror effect for any text.


Text Effect / Animation


Text Effect | Glow TXT.com | Text Screedbot | Text Anim | Glitter Textfree glitter text and family website at FamilyLobby.com

Barcode Generator!
Free online barcode generator, make as many barcodes as you want!

Barcodez.net | Barcode Soft | Bcgen.com | Barcode Generator 2009

the barcode printer: free barcode generatorBarcode Maker - Online Barcode GeneratorFree Barcode Generator - Barcoding Inc.


Book Cover Generator



ASCII Art Made Easy!


Generate a ASCII graphic from a word or text or Image
50 Plus Style ASCII | Photo to Text | Text Image.Com | ASCII.Mastervb.Net | IMG2TXT | Network Science.de | Render Images | Root Secure.net

Messages, Comments or Tags on Images

Picfont

READ MORE - Image Shade | Image Reflection | Text Effect | Barcode Generator

Monday, August 24, 2009

Vx 7 Wallpaper

http://3.bp.blogspot.com/-GKIIkoRreHs/TZXJuihju2I/AAAAAAAACpM/YOYGz5Fu7Ag/s1600/waveaquawide14sa.jpg
Black & White hp wallpaper windows 7




http://1.bp.blogspot.com/-2pJJ1XQ0I0E/Th6igbKfDBI/AAAAAAAAALk/pN4D3q6hvsA/s1600/VX7_wallpaper_01.jpg
Asus VX7 Lamborghini – laptop ultra-rapid si cu un design aparte ...


http://2.bp.blogspot.com/-ZSpfytZHReM/TZXIc09J9WI/AAAAAAAACpI/QT5kYEfcFVI/s1600/vervelm8_1440.jpg
hp wallpaper windows 7 | Vx 1


sexualtruth.xvlite.com


http://4.bp.blogspot.com/-esjc7dR2d1s/TZXIV7RyfUI/AAAAAAAACpE/ZESBzA4c8zI/s1600/Untitled.jpg
hp wallpaper windows 7 | Vx 1


http://1.bp.blogspot.com/-VJIxBlRQg88/TZaofrS6jGI/AAAAAAAAIEs/XWxn28yb8Sg/s1600/VX7_wallpaper_03-MacBook-Desktop-Mac-Leopard-Laptop-latest-models-wallpapers-hd-hp-dell-mac-apple-high-quality-wallpapers-2011-3d-laptop-sexy-girls-wallpapers-models-wallpapers-laptop.jpg
... -wallpapers-2011-3d-laptop-sexy-girls-wallpapers-models-wallpapers


http://2.bp.blogspot.com/-3C6Df4la0rM/TZHqSEujiyI/AAAAAAAAAC8/q0PzeaJnDes/s1600/VX7_wallpaper_02.jpg
Email This BlogThis! Share to Twitter Share to Facebook


http://2.bp.blogspot.com/-7PEVmIHeODg/UOE7ZLeblDI/AAAAAAAABF0/cvKdqkR2M3k/s1600/Toyota-Innova-VX-7-Seater-2.jpg
carsmachinesviews.blogspot.com pics


http://1.bp.blogspot.com/-ha18E4ZhRaQ/TZQ9TRlhVeI/AAAAAAAACos/JKisLedv8gY/s1600/TX2000_1600.jpg
HPTouchsmart1 invent wallpaper | Vx 1


http://1.bp.blogspot.com/-vkjxJObcOqI/TZQ82MKaSoI/AAAAAAAACok/9fgwoZYajew/s1600/HPTouchsmart1+invent.jpg
HPTouchsmart1 invent wallpaper | Vx 1


http://3.bp.blogspot.com/_GyFxYgt9gdI/TK-I7A3z8nI/AAAAAAAABJU/I-BUzqG_acg/s1600/War+Airplane+(119).jpg
120 War Airplanes HD Wallpapers 1920 X 1080 | Vx 2


http://1.bp.blogspot.com/_GyFxYgt9gdI/TK-HADfNheI/AAAAAAAABEg/Q4J88C7m-BM/s1600/War+Airplane+(41).jpg
120 War Airplanes HD Wallpapers 1920 X 1080 | Vx 2


http://3.bp.blogspot.com/_gryRbyQ-ZYs/THwuqNi01JI/AAAAAAAAAVc/DJNY-bfwbJk/s1600/VAUXHALL+VX220+MO1670+7X16+MO1780+8X17.jpg
She wasnt that impressed. Women.


http://4.bp.blogspot.com/_GyFxYgt9gdI/TK-Hx_7XLAI/AAAAAAAABGg/SgpM4uuIWl8/s1600/War+Airplane+(38).jpg
120 War Airplanes HD Wallpapers 1920 X 1080 | Vx 2


http://2.bp.blogspot.com/-_KokTbg8pvM/TkDvjkcO5dI/AAAAAAAACrU/VX2zFQaSKCg/s1600/Full-HD-Wallpapers-37.jpg
window 7 HD Wallpaper: Window 7 HD Natural Wallpapers


http://3.bp.blogspot.com/-vX7CA_57yYo/T7gqbry5RuI/AAAAAAAABYU/trQOsgEdBHM/s1600/nike20wallpaper2.jpg
Deportes II | ar-chef-tina


http://4.bp.blogspot.com/-wPzO7jZX0As/Tl8DLkiMl6I/AAAAAAAAArw/sG9k7g92vX4/s1600/golden%2Btemple%2Bwallpaper3.jpg
Email This BlogThis! Share to Twitter Share to Facebook


http://2.bp.blogspot.com/-Vx7Efk7NsDI/Ttxmiba-F7I/AAAAAAAAAWA/YRVy7PHfo5M/s1600/50-cent-wallpaper-1-717622.jpg
Cat Love: 50 cent wallpaper hd


http://1.bp.blogspot.com/-9eJscBSrL9w/TxFUwJpuwvI/AAAAAAAACTk/ruElnn3vx7U/s1600/wallpapers+mix+mariaxhe+%252824%2529.jpg
Fondos de Pantalla, Variadas - Taringa!


http://2.bp.blogspot.com/-PtI2rtnyfaE/T9X8yMo8SgI/AAAAAAAACYk/vX7oU9FB6JA/s1600/Funny+Wallpaper.jpg
Free Funny pictures


http://3.bp.blogspot.com/-1NaghBfa16Y/T0cFGCA5XGI/AAAAAAAABVU/0EX_vx5qYMM/s1600/cute%2520girls%2520wallpaper%2520desktop%2520wallpapers.jpg
Cute Cartoon Wallpaper Wallpapers Tattoo


http://3.bp.blogspot.com/-7VU-wqQqpbs/T5GMrWmcByI/AAAAAAAAIyY/vhsFC97sAaE/s1920/vorsteiner-ferrari-599-vx-wallpaper.jpg
Vorsteiner Ferrari 599 VX Widescreen Wallpaper


http://3.bp.blogspot.com/_FNefdFBxwGk/SwjIofPX4KI/AAAAAAAABCg/X0vX7ngNruU/s1600/HDTV_monaco_landscape_wallpapers_1600x900.jpg
the best car 2011: Landscape Wallpapers [1600x900]


http://4.bp.blogspot.com/-AwDYGbnFUms/ThN7ec3FP7I/AAAAAAAAAxA/Aw_0aEi4AwM/s1600/181621_Papel-de-Parede-Tribal--181621_1600x1200.jpg
CONCURSOS VX: WALLPAPER DO DIA.


http://2.bp.blogspot.com/-D2Vx7d6raMg/Th4_Ssejn7I/AAAAAAAABqE/eullumUp-0Q/s1600/The-best-top-summer-desktop-wallpapers-12.jpg
Wallpaper Beautiful Summer Wallpapers - Serbagunamarine.com


http://2.bp.blogspot.com/-loD5o5jZIoY/TiQdqjdx7GI/AAAAAAAABBQ/lC2wf97Ddzs/s1600/118050_Papel-de-Parede-Leao--118050_1680x1050.jpg
CONCURSOS VX: WALLPAPER DO DIA.


http://1.bp.blogspot.com/-fx-hcgIQXvI/ThrzVUov1xI/AAAAAAAAA9A/I7U8PT3GPzw/s1600/126421_Papel-de-Parede-Cavalo-de-Fogo_1680x1050.jpg
segunda-feira, 11 de julho de 2011


http://4.bp.blogspot.com/_VGp3PwH4bd4/TSwKfHrZ7oI/AAAAAAAAADc/VX_LVIwXdFk/s1600/mksm233qsep4_771.jpg
... More superhero artwork amazing spiderman 5 hq wallpaper | Source Link


http://4.bp.blogspot.com/_a2qJSNVc_lw/TP9V-dQfylI/AAAAAAAAB4Q/vx7oT-EjLrc/s1600/magic-in-the-air-christmas.jpg
Wallpapers de Craciun – Cele mai frumoase imagini de Craciun ...


http://2.bp.blogspot.com/-jPJW0JVg1Bw/TtxmryccxEI/AAAAAAAAAsg/Vx7OQtOUM5s/s1600/tatu-wallpaper-hd-7-755436.jpg
Darcy Cruz: tatu hd


http://3.bp.blogspot.com/--k19jya_zH8/ToXMQ33GRYI/AAAAAAAABvQ/ZYfl5vx7KVg/s1600/img101.jpg
sfondi ufficiali di Windows 8 in HD (wallpaper ) | Guide informatica


http://4.bp.blogspot.com/_xzOXa2VX5Iw/S7JTRXjGDSI/AAAAAAAAWAs/uqeqyauMxYs/s1600/2008092012521120153.jpg
Flowers Wallpapers | Download Flowers Nature Wallpapers and ...


http://3.bp.blogspot.com/-fi90Yb5wGkE/TV027KtsvAI/AAAAAAAAC0c/vx1LEr-cBjs/s1600/islamic_wallpaper_by_zaki994-d31tjb2-copy1.jpg
Beautiful Islamic Wallpaper Page 7 Images


http://3.bp.blogspot.com/-YIf0N5LqTZM/Teb7vX8TnpI/AAAAAAAAFGo/5zPXDWGPI0k/s1600/tron+legacy+wallpaper+6.jpg
Posted by squidward #1 Labels: tron wallpaper


http://3.bp.blogspot.com/-zxHMAIdPios/T8fL3bIk7aI/AAAAAAAAAKE/V-vx0moeIyI/s1600/windows-7-hd-wallpapers-5.jpg
HD Wallpapers: windows 7 hd wallpapers


http://3.bp.blogspot.com/-VX7X3P8gS_E/TqKxGPUzUvI/AAAAAAAABXM/jvVr-oqy04g/s1600/peaceful-world-mind-calming-backgrounds-nature-pictures.jpg
Posted in Labels: Lirik | at10/22/2011 08:05:00 PM


http://4.bp.blogspot.com/-vdIXtFM8Nxw/TzVeg__tWtI/AAAAAAAAADg/6VKfaw_VX7g/s1600/Great-Dane-dogs-wallpaper.jpg
Pin Great Dane Wallpaper Widescreen 2 Stella Oola Laertes on Pinterest


http://1.bp.blogspot.com/-yWjeZieXAVw/UBZTs3nqXFI/AAAAAAAAAo4/ahw53t2vx7w/s1600/swimming+pools+(2).jpg
... pools wallpapers| fantastic swimming pools | swimming pool wallpapers


http://3.bp.blogspot.com/-gbV2-jbzKOk/T0WnWIl8dDI/AAAAAAAAC9c/MgU5QFa7vX4/s1600/dota%2Bgame%2Bwallpaper.png
February 2012 ~ DotA


http://2.bp.blogspot.com/-35wNlWM6fHI/TdVaU5EX0zI/AAAAAAAAAd8/Fb71b6ytRY4/s1600/sport-car-wallpapers.jpg
Cars Pictures Wallpapers Bikes Wallpapers Vauxhall Vx220 Sports


http://2.bp.blogspot.com/-U-jHt7vX3tk/TX1MYDYSFcI/AAAAAAAAZcU/cxMA5fQMSkU/s1600/iPad%2BWallpapers%2Bby%2Bwww.W4TS.org%2B-%2BWallpapers%2Bfor%2BTablets%2Band%2BSmartphones%2B7.jpg
Wallpapers para iPad y iPad2 (Imágenes de 1024x1024) - Taringa!


http://24.media.tumblr.com/tumblr_m4n7w4vx3Z1qzyhb5o1_1280.jpg
Scorpius in Red and Blue Cosmic dust clouds dim... | The Dark Side of ...


http://24.media.tumblr.com/83fe7055baecb1676850701cae1dc97f/tumblr_mjfac1A4vx1qewgkto1_1280.jpg
Cristian Manuel Chavez Boca Juniors Team 137x158px Football Picture


http://24.media.tumblr.com/12ce7c44a325df6bc304a6eacda49354/tumblr_mguf54tKte1qg6vx3o1_1280.png
this is the internet | Tumblr


http://24.media.tumblr.com/tumblr_m6pt25cA9b1r74fl2o1_1280.jpg
Gunslinger Girl Il Teatrino Wallpaper #1


http://25.media.tumblr.com/tumblr_mdlpawp3vX1qc7jfxo1_1280.jpg
Paisajes Para Pintar Ni Os Dibujos Colorear Imagixs - Serbagunamarine ...


READ MORE - Vx 7 Wallpaper
Related Posts Plugin for WordPress, Blogger...