Does anyone know how to install the JDK on Linux?
The location of the downloaded JDK is:
/home/viktor/Desktop/android-sdk-linux_x86-1.1_r1/jdk-6u13-linux-
i586.bin


I put this in the command line:

export PATH=$PATH;/home/viktor/Desktop/android-sdk-linux_x86-1.1r1/
jdk-6u13-linux-i586.bin



But there alwys appears this error message:

No such file or directory


Can you please help me?



On 28 Mrz., 17:20, Nox <[email protected]> wrote:
> How can I install the JDK on Linux???
>
> On 22 Mrz., 18:04, kavitha <[email protected]> wrote:
>
> > Hii All,
>
> > I am developing a game in android and i want to capture screen
> > coordinates of a view(ImageView) which is embedded in frame.
>
> > Hierarchy is
> > <LinearLayout android android:layout_height="fill_parent"
> > android:layout_width="fill_parent" >
> >       <RelativeLayout android:layout_height=fill_parent"
> > android:layout_width="fill_parent" >
> >             <FrameLayout android:layout_height="wrap_content"
> > android:layout_width="wrap_content"
> > android:id="@+id/frame14"></FrameLayout>
> >     </RelativeLayout>
> > </LinearLayout>
>
> > At run time i am attaching two image views for frame layout.I wanted
> > to capture screen coordinates of frame layout.But Couldnt do it.if i
> > say
>
> > (FrameLayout) f=(FrameLayout)findViewById(R.id.frame14);
> > int[] loc = new int[2];
> > f.getLocationOnScreen(loc);
> > System.out.println(loc[0]);
> > System.out.println(loc[1]);
>
> > I get Null Pointer Exception for getLocationOnScreen() method.
>
> > If I try to get f.getLeft() and f.getRight() they return as 0 coordinates.
>
> > Can anyone please tell me how tofindlocation on screen of a view.
>
> > It is very urgent.Please help.
>
> > Thanks
> > Kavitha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to