Development

A easy way to compile many objects in Oracle database

When compiles an object that is referenced by many others, they stay invalidated until Oracle compile they again and sometimes it fails.

So, here’s a tip to compile several invalid packages, procedures and/or functions and fix this.

There is a command to compile all invalid objects under an user, the command is:

<pre class=”brush:sql”>exec dbms_ultility.compile_schema(&lt;USER&gt;);</pre>

Replace  &lt;USER&gt; for <i>user</i>, or for user name where invalid objects are.

This command is slow and not compiles objects invalidated by coding error. To find which are invalid you need runs the query below:

<pre class=”brush:sql”>
select object_name
from all_objects
where status = ‘INVALID’
</pre>

Invalid objects will be listed.


Motorola Droid Razr – The super smarphone Android

Recently released, the Motorola Droid Razr is the thinnest smartphone with 4G worldwide. With 7.1 mm thickness, it has a 4.3 inch Super AMOLED screen, 540 x 960 resolution and protected with Gorilla® Glass screen. Its 8MP camera, can record Full HD (1080p) videos, its front 1.3MP camera allow videos in HD resolution (720p).

More light and resistant, Motorola Razr is coated by Kevlar®, giving a more attractive finish.

Android Gingerbread (posteriorly Icecream Sandwich) is supported by your Dual-core processor 1.2 Ghz and 1GB RAM. Also can count with internal memory has 16 GB, more 16 GB (expansible to 32 GB) in MicroSD card that comes with it, EDGE, GPRS, 3G, Wi-FI and 4G, GPS and DLNA (Digital Living Network Alliance) protocol.

Talking about connectivity, the smartphone will comes with MotoCast pre-installed. This application allows you to share your files, videos and music between your device and your PC trough Wi-Fi, 3G or 4G, without USB cable.

As Motorola Atrix, Droid Razr also compatible with Webtop gadget.

The design of Motorola Droid Razr is based on his grandfather, Motorola Razr V3, wich sold 110 million units worldwide.

Razr V3 X

Motorola Razr V3x

Droid Razr

Motorola Droid Razr

The release was on november 16, but still is not possible find the device in Brazil, where the suggested price for Motorola is R$ 1999.00 (US$ 1110.00).


Apps can’t miss in your Android – Listen

You, that follows podcasts around the world and don’t have a computer all time to download them and copy them to your smartphone, can use Listen.

This application, developed by Google, allows you to find podcasts and subscribe to it. Podcast that aren’t found by search, can be subscribed manually in “My subscriptions” options.

Here, with brazilian 3G quality, you will get a continuous audio (without buffer pauses) using the wi-fi connection or hearing tracks with 96kbps or less.

The Listen allows you download audios to listen it after, when you want and without internet connection.

Link: Listen
Price: Free
Advertisement: No
Rating*: 3,8/5

* Rating obtained until publication

Sharing 3G connection from Android to PCs and laptop through USB cable

Froyo, version 2.2 of Android, comes with application that allow you to share your 3G connection to anothers Wi-fi devices, but, if you don’t have a Wi-fi network card in your computer, this application have not usability.

ProxoId, free application available in Android Marketing, allows you to share connection from your Android  only using USB cable.

It needs a stand alone program and Android drivers running in your PC/laptop to work.

The driver and stand alone program can be found in a ZIP file for Windows 32 bits  here  and Windows 64 bits here. If you’ve already installed manufacturer driver (from CD), skip to Finding your smartphone section.

*Texts of images bellow are in Brazilian Portuguese

Installing drivers

Uncompress ZIP file and connect your Android to PC. The new hardware wizard will be shown.

Choose “No, not this time” and click in “Next”. In following screen, choose”Install from a list or specific location”. Click “Next”.

Enable the options “Search for the best driver in these locations” and “Include this location in the search”, then click in “Browse”.

Go to directory where you have uncompressed the ZIP file > “usb_driver” > “x86″, like image bellow.

Click in “OK”, “Next” and follow next steps until complete the installation.

Finding your smartphone

Make sure your Android is connected to computer. Open the directory “proxoid-adb” and run “check.bat”. A screen with number of your device, like this below, should be displayed.

If don’t, try to desconnect and connect your smartphone again or try to reinstall the drivers.

Configuring ProxoId

Configuration screen is opened when ProxoId runs:

“Start/Stop ProxoId” – Control service to share the connection;
“Port” – Port number to proxy
“User-Agent Filter” – Mask to User-Agent (Browser).

Configuring Browser

Internet Explorer and Google Chrome

Open “Start” menu > “Control Panel” and “Internet Options”. Click in tab “Connections” and in “LAN Settings”.

In “Address”, type “localhost” and, in “Port”,  type same value marked in application.

FireFox

Open Firefox, clique in menu “Options”. Choose tab “Advanced” > “Network” and click in button “Settings…”.

Enable “Manual proxy configuration” option.

In “HTTP”, type “localhost” and, in “Port”, type same value marked in application.

Sharring the connection

Enable “Start/Stop ProxoId” in your Android.

At computer, run “start-tunnel.bat” in “proxoid-adb” directory.

That’s it! While application is enabled and  ”start-tunnel.bat” is running, your computer will use your Android to connect at internet!


Android 2.2 – How to install apps directly in SD card

ome Android smartphones have low capacity internal memory and not allow you to install many apps.

At Android 2.2 there is a possibility migrate the apps to SD card after instalation, but some applications not allow to do this.

Looking for a fix to solve this problem in my Motorola Droid, I found a way to install apps directly in SD card, like show in Mundo Zoom, and not need root.

Download ZIP file from Android SDK and extract. Browse to folder “android-sdk-windows\platform-tools“.

Set your Android to debug mode. Don’t you know? “Settings” > “Applications” > “Development” and enable “USB debugging” option.

Connect your smartphone in USB and enable “Charge Only” on USB Connection Management.

Click in Start Menu, Run. Type “cmd” e press Enter to open command prompt.

With command prompt and Windows Explorer opened, click and drag file “adb.exe” to prompt window, after, insert a space and type “shell”. Press Enter.

The “$” simbol and cursor should appear. Now type “pm setInstallLocation 2” and press Enter

This command sets partition “2″ (SD Card) as default to install applications.

Done! That`s all you need for apps to be installed directly in your SD card


  • AdSense

  • Copyright © 1996-2010 André L. S.. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress