Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30083 > unrolled thread

Java reference for Android Studio?

Started byJohn Doe <always.look@message.header>
First post2014-10-14 17:12 +0000
Last post2014-10-18 02:17 +0000
Articles 12 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-14 17:12 +0000
    Re: Java reference for Android Studio? Jim Gibson <jimsgibson@gmail.com> - 2014-10-14 13:46 -0700
    Re: Java reference for Android Studio? Joerg Meier <joergmmeier@arcor.de> - 2014-10-14 23:33 +0200
      Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-15 01:49 +0000
    Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-16 23:58 +0000
      Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-17 00:57 +0000
        Re: Java reference for Android Studio? Joerg Meier <joergmmeier@arcor.de> - 2014-10-17 12:04 +0200
          Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-17 10:30 +0000
          Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-17 10:45 +0000
            Re: Java reference for Android Studio? Joerg Meier <joergmmeier@arcor.de> - 2014-10-17 13:28 +0200
              Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-17 18:00 +0000
                Re: Java reference for Android Studio? John Doe <always.look@message.header> - 2014-10-18 02:17 +0000

#30083 — Java reference for Android Studio?

FromJohn Doe <always.look@message.header>
Date2014-10-14 17:12 +0000
SubjectJava reference for Android Studio?
Message-ID<m1jlhd$g0m$1@dont-email.me>
Modifying a stock android application, using Android Studio beta 
(0.8.9). My tablet is plugged into the USB port. It runs the examples 
without issue. technical

I need a reference that will provide all information about 
functions/keywords like these...

getString()

toLowerCase()

I see lots of stuff on Oracle's website, but it's probably a small 
subset of all of those categories. 

Thanks.

[toc] | [next] | [standalone]


#30084

FromJim Gibson <jimsgibson@gmail.com>
Date2014-10-14 13:46 -0700
Message-ID<141020141346472169%jimsgibson@gmail.com>
In reply to#30083
In article <m1jlhd$g0m$1@dont-email.me>, John Doe
<always.look@message.header> wrote:

> Modifying a stock android application, using Android Studio beta 
> (0.8.9). My tablet is plugged into the USB port. It runs the examples 
> without issue. technical
> 
> I need a reference that will provide all information about 
> functions/keywords like these...
> 
> getString()
> 
> toLowerCase()
> 
> I see lots of stuff on Oracle's website, but it's probably a small 
> subset of all of those categories. 

Don't you want the Android API:

<http://developer.android.com/reference/classes.html>

-- 
Jim Gibson

[toc] | [prev] | [next] | [standalone]


#30086

FromJoerg Meier <joergmmeier@arcor.de>
Date2014-10-14 23:33 +0200
Message-ID<3812dbvzflbt.1hj7wasp22y7r.dlg@40tude.net>
In reply to#30083
On Tue, 14 Oct 2014 17:12:14 +0000 (UTC), John Doe wrote:

> Modifying a stock android application, using Android Studio beta 
> (0.8.9). My tablet is plugged into the USB port. It runs the examples 
> without issue. technical

> I need a reference that will provide all information about 
> functions/keywords like these...

> getString()

> toLowerCase()

> I see lots of stuff on Oracle's website, but it's probably a small 
> subset of all of those categories. 

Jim has already linked you to the correct place for the documentation. As
an addendum: what you listed are methods of a class. Without context,
getString could be a method of any class, and classes can have methods name
anything, really, so "getString" in itself means nothing. toLowerCase is
most likely the method from java.lang.String, as found in:

<http://developer.android.com/reference/java/lang/String.html>

Generally, in Java, you call methods on classes (if they are static) or
objects (if they are not). .something on its own means nothing, but
thing.something has a meaning.

Keywords in Java are things like 'class', 'if', 'public' or 'try'. You can
see a list here:

<http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html>

and learn more about them here:

<http://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html>

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#30089

FromJohn Doe <always.look@message.header>
Date2014-10-15 01:49 +0000
Message-ID<m1kjrc$a07$1@dont-email.me>
In reply to#30086
Yes, that looks like most of what I'm looking for.

[toc] | [prev] | [next] | [standalone]


#30112

FromJohn Doe <always.look@message.header>
Date2014-10-16 23:58 +0000
Message-ID<m1pm2t$bd4$1@dont-email.me>
In reply to#30083
My goal is to import and modify the stock Android KitKat clock
application. But looks like that might be very difficult for me. 

To highlight that difficulty, these are the first level folders of 
applications that function in Android Studio (0.8.9) here, versus 
what I get from the Google repository for the stock clock 
application... 

MyApplication
.gradle
.idea
app
build
gradle

stock clock
.git
assets
res
src
tests

As you can see, not a single one of those is the same... 

I have another lead, to programmatically download the Google 
Android repository. And then try accessing the clock application
from there. Looks kind of weak, but I will try it... 

https://source.android.com/source/downloading.html 

[toc] | [prev] | [next] | [standalone]


#30113

FromJohn Doe <always.look@message.header>
Date2014-10-17 00:57 +0000
Message-ID<m1ppha$j2q$2@dont-email.me>
In reply to#30112
Apparently requires Linux. But seriously... 

Apparently Google hates Microsoft and maybe America too. 

But they probably realize that in order to compete with Apple,
they are going to need Windows programmers. So it's probably only
a matter of time before they get with Windows. 

[toc] | [prev] | [next] | [standalone]


#30114

FromJoerg Meier <joergmmeier@arcor.de>
Date2014-10-17 12:04 +0200
Message-ID<ptzlc7jofrkx.l4zdj86pyz9i$.dlg@40tude.net>
In reply to#30113
On Fri, 17 Oct 2014 00:57:15 +0000 (UTC), John Doe wrote:

> Apparently requires Linux. But seriously... 

> Apparently Google hates Microsoft and maybe America too. 

> But they probably realize that in order to compete with Apple,
> they are going to need Windows programmers. So it's probably only
> a matter of time before they get with Windows.

Just because there are no instructions for Windows doesn't mean you need
Linux. Windows has a vast variety of git clients that one could use. I also
really don't think you need the Android sources to make Android apps -
that's only if you want to compile the Android OS itself.

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#30115

FromJohn Doe <always.look@message.header>
Date2014-10-17 10:30 +0000
Message-ID<m1qr4n$5qu$1@dont-email.me>
In reply to#30114
Joerg Meier <joergmmeier@arcor.de> wrote: 

> Just because there are no instructions for Windows doesn't mean 
> you need Linux. Windows has a vast variety of git clients that 
> one could use. I also really don't think you need the Android 
> sources to make Android apps - that's only if you want to 
> compile the Android OS itself. 

My goal is to import and modify the stock Android KitKat clock 
application. I think it's great to be able to modify stock 
applications. My job is to figure out how to get them loaded into 
the IDE. 

I used Git to download the KitKat stock clock application for 
importation into Windows Android Studio. The odd folder names are 
shown in my prior post. Importing and running it produced 63 
errors. I tried researching them and came up empty. I have a 
feeling the errors have to do with IDE project settings 
configuration stuff. Those settings might not be part of the 
repository. Or maybe they are there but meant for the Linux
installation of the Android Studio IDE. The folder names for the
stock clock are completely different than the sample projects that
run fine in Windows Android Studio. 

Currently I'm doing a Linux installation. I guess it won't help, 
but will see. 

[toc] | [prev] | [next] | [standalone]


#30116

FromJohn Doe <always.look@message.header>
Date2014-10-17 10:45 +0000
Message-ID<m1qs0q$7kh$1@dont-email.me>
In reply to#30114
Joerg Meier <joergmmeier@arcor.de> wrote: 

> Just because there are no instructions for Windows doesn't mean 
> you need Linux. Windows has a vast variety of git clients that 
> one could use. 

Are you saying that the Google Android repository (stock programs) 
can be easily extracted and run in the Windows Android Studio IDE?

Taking a look at this page... 

http://source.android.com/source/building.html 

The language on that page suggests to me that the Google Android 
repository is not going to run in a Windows IDE. Maybe it's a very 
old description, but it would be have to be older than the prior 
Windows Eclipse IDE used for making Android applications. And I 
don't think it's that old. 

They say you can use a virtual machine to run Linux in Windows. 
That would be unnecessary computer gymnastics if you could have 
used Eclipse in Windows proper (without the virtual machine) 
instead. 

I appreciate the questions though, there are some things I need to
figure out in order to try compiling the whole kit and caboodle. 

[toc] | [prev] | [next] | [standalone]


#30117

FromJoerg Meier <joergmmeier@arcor.de>
Date2014-10-17 13:28 +0200
Message-ID<w3get1iaieyx$.1c4h3etf6088h$.dlg@40tude.net>
In reply to#30116
On Fri, 17 Oct 2014 10:45:46 +0000 (UTC), John Doe wrote:

> Joerg Meier <joergmmeier@arcor.de> wrote: 
>> Just because there are no instructions for Windows doesn't mean 
>> you need Linux. Windows has a vast variety of git clients that 
>> one could use. 
> Are you saying that the Google Android repository (stock programs) 
> can be easily extracted and run in the Windows Android Studio IDE?

No, I have never tried that and know nothing about it. But the last page
you linked only talked about checking something out of git, which while
easier on Linux isn't that complicated on Windows.

> Taking a look at this page... 

> http://source.android.com/source/building.html 

> The language on that page suggests to me that the Google Android 
> repository is not going to run in a Windows IDE. Maybe it's a very 
> old description, but it would be have to be older than the prior 
> Windows Eclipse IDE used for making Android applications. And I 
> don't think it's that old. 

Short research on Google indicates that it is indeed not possible to
compile Android itself on Windows.

> I appreciate the questions though, there are some things I need to
> figure out in order to try compiling the whole kit and caboodle.

You seem to be starting with something incredibly unusual, which may
attribute for your equally unusual starting difficulties ;)

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#30119

FromJohn Doe <always.look@message.header>
Date2014-10-17 18:00 +0000
Message-ID<m1rlg2$u7r$1@dont-email.me>
In reply to#30117
Joerg Meier <joergmmeier@arcor.de> wrote: 

> John Doe wrote: 
>> Joerg Meier <joergmmeier@arcor.de> wrote: 

>>> Just because there are no instructions for Windows doesn't 
>>> mean you need Linux. Windows has a vast variety of git clients
>>> that one could use. 
>> Are you saying that the Google Android repository (stock 
>> programs) can be easily extracted and run in the Windows 
>> Android Studio IDE? 
> 
> No, I have never tried that and know nothing about it. But the 
> last page you linked only talked about checking something out of
> git, which while easier on Linux isn't that complicated on 
> Windows. 
> 
>> Taking a look at this page... 
> 
>> http://source.android.com/source/building.html 
> 
>> The language on that page suggests to me that the Google 
>> Android repository is not going to run in a Windows IDE. Maybe 
>> it's a very old description, but it would be have to be older 
>> than the prior Windows Eclipse IDE used for making Android 
>> applications. And I don't think it's that old. 
> 
> Short research on Google indicates that it is indeed not 
> possible to compile Android itself on Windows. 
> 
>> I appreciate the questions though, there are some things I need
>> to figure out in order to try compiling the whole kit and 
>> caboodle. 
> 
> You seem to be starting with something incredibly unusual, which
> may attribute for your equally unusual starting difficulties 

Instead of trying to run the whole operating system, I will do the
same as in Windows. Using Git or whatever, download the stock
clock from the repository, import it into Linux's version of
Android Studio, and see if it produces the same 63 errors. 

I think that is a reasonable plan. 

[toc] | [prev] | [next] | [standalone]


#30122

FromJohn Doe <always.look@message.header>
Date2014-10-18 02:17 +0000
Message-ID<m1sikj$agi$3@dont-email.me>
In reply to#30119
Nope, Linux ran the samples and the stock clock same as in the
Windows version of Android Studio. 

These sites were very useful for installing Java and then Android
Studio... 

<http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa>

<http://www.webupd8.org/2014/09/canonical-releases-ubuntu-developer.html>

The stock clock produced a few more errors on Run (67 versus 63 in Windows), 
definitely not what I was looking for. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web