Asking : Istilah Android

by Rafles Marpaung » Fri, 23 Apr 2010 05:31:03 GMT


Sponsored Links
 As subject...

Mohon maaf kalo pertanyaan ane tolol banget. Tapi ane bener2 buta masalah
android. Bisa tolong di-share, apa itu root, rom, jd2, flash, pantheon,
dsb...

TIA...
€€€€sent from black spica by T-sel
japri : marp....@gmail.com
twitter : @raph_id
gtalk : rafles....@gmail.com
€€€€
-- 
"



Other Threads

1. How to build full source for MIPS(e.g:HMP10)

How to build full source for MIPS(e.g:HMP10)
===================================

This is quick how to  build full source for mips architecture.

* Test Information:
 - Fedora 11 Distribution (Host Linux)
 - register at  http://www.mipsandroid.org/account/register
 - ref :http://www.kandroid.org/board/board.php?
board=androidsource&command=body&no=53 (by GeunSik, Lim)

f11$ wget http://android.git.kernel.org/repo >~/bin
f11$ chmod 755 ~/bin/repo

f11$  mkdir mipsandroid
f11$  cd mipsandroid
f11$  repo init -u git://public.mipsandroid.com/platform/manifest.git -
b mips-cupcake
f11$  repo sync

f11$  vi ./.repo/local_manifest.xml

<manifest>
   <project name="platform/vendor/rmi/hmp10" path="vendor/rmi/hmp10"/>
   <project name="platform/external/msntp" path="external/msntp"/>
</manifest>

f11$  cd mipsandroid
f11$  repo sync


f11$  chmod 755 jdk-1_5_0_20-linux-i586-rpm.bin
       ( http://java.sun.com/javase/downloads/index_jdk5.jsp ( J2SE
5.0 Download)
f11$  ./jdk-1_5_0_20-linux-i586-rpm.bin
f11$ cd ~/bin/mipsandroid
f11$  wget ftp://ftp.mips.com/pub/tools/software/android/mips-4.3.tar.gz
f11$  cd /opt
f11$  tar xvzf ~/bin/mipsandroid/mips-4.3.tar.gz
f11$  opt/mips-4.3/bin/mips-linux-gnu-gcc -v
Using built-in specs.
Target: mips-linux-gnu
Configured with: /scratch/clm/2008q3-src/src/gcc-4.3/configure --
build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=mips-linux-
gnu --enable-threads --disable-libmudflap --disable-libssp --disable-
libstdcxx-pch --with-arch=mips32r2 --with-float=hard --enable-mips-
nonpic --enable-extra-sgxxlite-multilibs --with-gnu-as --with-gnu-ld --
enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-
__cxa_atexit --with-pkgversion='Sourcery G++ Lite 4.3-51' --with-
bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --
prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/mips-linux-
gnu/libc --with-build-sysroot=/scratch/clm/2008q3-lite/install/mips-
linux-gnu/libc --with-gmp=/scratch/clm/2008q3-lite/obj/host-
libs-4.3-51-mips-linux-gnu-i686-pc-linux-gnu/usr --with-mpfr=/scratch/
clm/2008q3-lite/obj/host-libs-4.3-51-mips-linux-gnu-i686-pc-linux-gnu/
usr --disable-libgomp --enable-poison-system-directories --with-build-
time-tools=/scratch/clm/2008q3-lite/install/mips-linux-gnu/bin --with-
build-time-tools=/scratch/clm/2008q3-lite/install/mips-linux-gnu/bin
Thread model: posix
gcc version 4.3.2 (Sourcery G++ Lite 4.3-51)

f11$  sudo yum -y install eclipse-ecj clearsilver

f11$  sudo yum -y install gcc* compat-gcc*  readline*  libreadline*
openssh*  flex bison gperf
libsdl-dev libesd0-dev  libwxgtk2.6-dev build-essential zip curl wget
valgrind python*
java* java-* java-1.6.0-openjdk-devel* glibc*  zlib zlib-devel
libncurses* gcc* compat-gcc*
readline*  libreadline* openssh* flex bison gperf libsdl-dev libesd0-
dev  libwxgtk2.6-dev
build-essential zip curl wget valgrind python* java* java-* java-1.6.0-
openjdk-devel* glibc*
SDL* ncurses*

f11$  sudo ln -s /usr/bin/ecj  /bin/ecj
f11$  cd ~/bin/mipsandroid

f11$  vi /etc/profile
export J2RE_HOME=/usr/java/jdk1.5.0_20/jre
export JAVA_HOME=/usr/java/jdk1.5.0_20/jre
export ANDROID_JAVA_HOME=$JAVA_HOME
export PATH=/usr/java/jdk1.5.0_19/jre/bin:/usr/java/jdk1.5.0_20/bin:
$PATH

f11$  source /etc/profile
f11$  build/envsetup.sh

f11$  export TARGET_PRODUCT=hmp10
f11$  export TARGET_ARCH_VERSION=mips32
f11$  export TARGET_ARCH=mips
f11$  make Supported target products are:

      Vendor Platform                   <target product>
      ---------------                   ----------------
         RMI HMP10                           hmp10


Enjoy ~~
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. About Custom Views

*I have used three custom views... playpanel works fine.. but
drawHeaderpanel does not workk..*

public class MainPanel extends Activity
{
  @Override
    protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            LinearLayout ll = new LinearLayout(this);

            DrawHeaderPanel header=new DrawHeaderPanel(this);


            PlayPanel cv = new PlayPanel(this);


            ll.setOrientation(LinearLayout.VERTICAL);

            ll.addView(header);

            ll.addView(cv);

            setContentView(ll);
    }

*THE drawheaderpanel extends View*
    public DrawHeaderPanel(Context context)
    {
        super(context);
    }

 @Override
    public void onDraw(Canvas canvas)
    {

        canvas.translate(10, 10);
        mpaint.setColor(Color.GRAY);
        mpaint.setStrokeWidth(1);
        canvas.drawRect(-1, -1,320,50, mpaint);
        tTextPaint.setColor(Color.BLUE);
        canvas.drawText("Level:", 20, 20, tTextPaint);
        canvas.drawText("Score:",220,20,tTextPaint);

    }

*onDraw renders the contents to the screen..isnt it..what else do i need
here.. could anybody point out to me the problem here
Plzzz help me outt.. i m stuckk herere... *

--~--~---------~--~----~------------~-------~--~----~

3. Android build fail issue after reverting back to JDK 5.0

4. Spinner that looks like an EditText - Head is bloody and bruised

5. General Purpose Framework for Optimizing Software on Mobile Phones

6. General Purpose Framework for Optimizing Software on Mobile Phones

7. .:.. Ban, Girls