A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)



 
 
Thread Tools Display Modes
  #1  
Old October 26th 18, 11:45 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 185
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Report: My first "hello world" using Android Studio freeware on Windows
worked just fine (total elapsed time was about an hour).
http://www.bild.me/bild.php?file=7570013helloworld01.jpg
http://www.bild.me/bild.php?file=4072224helloworld02.jpg
http://www.bild.me/bild.php?file=7646977helloworld03.jpg
http://www.bild.me/bild.php?file=3369563helloworld04.jpg

The main issues to deal with a
o OEM USB Drivers for your phone (I had driver issues but surmounted them)
o Phone set to USB Debugging Mode (already a basic setup for most users)
o Android Studio (freeware, easily installed & seemingly powerful)
o Android SDK (Android Studio handles this well)
o Java (Android Studio handles this well, at least for Hello World)

Getting a "hello world" to work on an Android phone may sound like an
accomplishment, but it's not really that much since all you do is punch
buttons, given that the Google Android Studio freeware literally writes the
entire app for you.
https://developer.android.com/studio/

What takes the hour elapsed time is that Android Studio downloads a
separate SDK, and a few other things, plus there was, in my case, a minor
hardware emulation issue on my old desktop, and a USB debugging issue
(perhaps because I've been playing a lot with my USB MTP drivers lately).
https://groups.google.com/forum/#!topic/comp.mobile.android/SHR2YmpfVwo

The installation of Android Studio takes about an hour to download stuff:
https://developer.android.com/studio/install

You want to plan ahead to decide where you want to put things though:
o Studio: c:\app\hardware\android\studio\
o SDK: c:\app\hardware\android\sdk\
o Projects: c:\tmp\android\projects\myfirstapp\
o c:\users\you\.android\ (I'm not sure why stuff was put here)
o c:\users\you\.AndroidStudio3.2\ (I'm not sure why stuff is here)
etc.

My main noob mistake was to keep this default, which I should have removed:
[x]Performance Intel HAXM
Hardware-assisted virtual engine to speed up Android app emulation

Another noob mistake I made was that I had to re-install the original
OEM (LG Stylo 3 Plus) USB drivers before Android Studio could see it:
https://developer.android.com/studio/run/oem-usb#Drivers

Even though Windows had no problem seeing the phone over USB, Android
Studio didn't see the phone until I installed the OEM LG drivers from
https://developer.android.com/studio/run/oem-usb#Drivers

Specifically the LG TP450 driver for the $130 LG Stylo 3 Plus:
https://www.lg.com/us/support/software-firmware-drivers?search=lg+tpe450#=

Then all you do is follow their step by step tutorial which just works:
https://developer.android.com/training/basics/firstapp/

This is my first (baby) step to writing simple Android/iOS apps that a
o Forever free
o No ads
o No servers
o No spyware
o Simple user interface to do a given simple job the simplest way possible
http://www.bild.me/bild.php?file=7570013helloworld01.jpg

One catch-22 was that emulation required hardware acceleration, but that
wouldn't work for me, so I can _only_ run on the phone right now (which
isn't too bad, for now) until I figure out a way around that gotcha.

Later, I'll deal with getting a hello world to work on the iOS devices.
https://www.androidauthority.com/developing-for-android-vs-ios-697304/
  #2  
Old October 27th 18, 06:39 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Diesel
external usenet poster
 
Posts: 937
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Arlen Holder
news alt.comp.freeware, wrote:

Report: My first "hello world" using Android Studio freeware on
Windows worked just fine (total elapsed time was about an hour).
http://www.bild.me/bild.php?file=7570013helloworld01.jpg
http://www.bild.me/bild.php?file=4072224helloworld02.jpg
http://www.bild.me/bild.php?file=7646977helloworld03.jpg
http://www.bild.me/bild.php?file=3369563helloworld04.jpg


What does this have to do with alt.comp.freeware or the various other
usenet newsgroups you've spammed this to?

The main issues to deal with a
o OEM USB Drivers for your phone (I had driver issues but
surmounted them) o Phone set to USB Debugging Mode (already a
basic setup for most users) o Android Studio (freeware, easily
installed & seemingly powerful) o Android SDK (Android Studio
handles this well) o Java (Android Studio handles this well, at
least for Hello World)


These are only issues for people like you who don't know what you're
doing and don't bother reading documentation. Others who download it
realize it's a programming environment and are most likely well aware
of the 'main issues' you had trouble with, and likely won't require
help dealing with them. Unlike yourself.

The installation of Android Studio takes about an hour to download
stuff:
https://developer.android.com/studio/install


Nopers, not for me it didn't. More like 20 minutes or so. You must
have a ****ty amount of bandwidth allocated to you. I'll have 1gbit
input to my home and office very soon for the same price as I'm
paying now for the 100mbit connection I have at both places; which is
quite nice considering.

You want to plan ahead to decide where you want to put things
though


Coders and/or serious programmers already do this when we setup the
compiler/programming package(s) we're using. I don't know why you
feel it necessary to re-invent the wheel here. And again, don't know
why you felt it necessary to include all of these groups:

comp.mobile.android
alt.comp.freeware
microsoft.public.windowsxp.general

What the **** does windows XP general (especially considering that
your previous comments in another thread concerning XP entirely
dismiss it as old news) have to do with your recent discovery here?

My main noob mistake was to keep this default, which I should have
removed:


No, it wasn't. You've made much better noob mistakes. Your first one
was calling me a moron when I've been a certified (having multiple
certifications) professional computer repair technician for over two
decades. Have you succesfully gotten a drive letter to represent
either the internal and/or external memory on your phone yet? It's
been almost two weeks since your first thread creation asking how.

Another noob mistake I made was that I had to re-install the
original OEM (LG Stylo 3 Plus) USB drivers before Android Studio
could see it:
https://developer.android.com/studio/run/oem-usb#Drivers


That wasn't actually necessary. Your system had the physical files
from your previous installation. It was missing the registry
settings.

Even though Windows had no problem seeing the phone over USB,
Android Studio didn't see the phone until I installed the OEM LG
drivers from
https://developer.android.com/studio/run/oem-usb#Drivers

Specifically the LG TP450 driver for the $130 LG Stylo 3 Plus:
https://www.lg.com/us/support/softwa...vers?search=lg
+tpe450#=


That only applies to your stylus, due to the firmware revision your
using. Others may/may not have to do the same. Still yet, they may
have to select other 'generic' drivers to use their Android product.

Do you understand yet, Arlen that not all Android devices are created
equally? Or, do you need more time and yet more examples of that
before it sinks in?

Then all you do is follow their step by step tutorial which just
works:
https://developer.android.com/training/basics/firstapp/

This is my first (baby) step to writing simple Android/iOS apps
that a


Ayep, baby step. You haven't got the foggiest idea what you're doing.
Do you expect to pickup coding (well, scripting, even if it's java)
overnight or something? Are you planning to make the next great thing
in a couple of days time? You don't have the experience yet to write
code at the level I and many of my peers do, Arlen.

In other words, I don't expect to see freeware created entirely by
you anytime soon. Perhaps, you'll release something 2019 or first
part of 2020 if you keep with it. At the rate you're going getting a
drive letter to represent internal/external memory on an Android
phone over wifi and/or usb though, it's looking more like 2020...


One catch-22 was that emulation required hardware acceleration,
but that wouldn't work for me, so I can _only_ run on the phone
right now (which isn't too bad, for now) until I figure out a way
around that gotcha.


*yawn* I didn't know usenet was your personal journal?



--
To prevent yourself from being a victim of cyber
stalking, it's highly recommended you visit he
https://tekrider.net/pages/david-brooks-stalker.php
================================================== =
110 people once tied for second prize in the Powerball Lottery after
playing the same lucky numbers from a fortune cookie.
  #3  
Old October 27th 18, 09:38 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 185
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Sat, 27 Oct 2018 05:39:49 -0000 (UTC), Diesel wrote:

What does this have to do with alt.comp.freeware or the various other
usenet newsgroups you've spammed this to?


It's all about Windows & Android freeware, whether you realize it or not:
o It's a test of Android Studio freeware (which downloads SDK freeware)
o And it's about _writing_ Android freeware that does not yet exist

The whole reason I tried the Windows freeware was so that I could overcome
basic issues with current Android freeware, such as the fact that Android
doesn't have non-ad, non server, non spyware, etc., freeware that...
o Sets native Screenshot file output to a folder on the external sdcard
o Creates a single press "10" minute alarm that requires no other action
o Pops up a keyboard that _defaults_ to the microphone (for God's sake!)
o Camera that works better with gloves under a vehicle in awkward positions
o Outputs an editable file of all apps installed & versions & URLs
o Single press surreptitious recording of ambient conversations
o Keyword-driven locally processed custom virtual assistant
etc.
As per this recent thread:
What are the most fundamental basic apps that are (apparently) lacking on Android?
https://groups.google.com/forum/#!topic/comp.mobile.android/SZk_fXWqg88

Nopers, not for me it didn't. More like 20 minutes or so. You must
have a ****ty amount of bandwidth allocated to you.


You might have cable. We are too far away from civilization for that.

There are no wires or pipes that come or go from my house to a "public
utility" other than the power lines (and even they fall down about a dozen
times a year, which is a perennial beef we have with our power company).

And we have both a femtocell & a cellular repeater for our cell signal:
http://www.bild.me/bild.php?file=8809135cellular01.jpg
Which I've tested to see which works best in which room of the house:
http://www.bild.me/bild.php?file=8831319cellular04.jpg
Where we get pretty good at cellular & WiFi signal-debugging freewa
http://www.bild.me/bild.php?file=3792112cellular02.jpg
But if you know of better WiFi debugging freeware, please let us know:
http://www.bild.me/bild.php?file=1851937cellular03.jpg
Because we're _always_ looking for better WiFi & cellular debug freeware!
http://www.bild.me/bild.php?file=1793606cellular07.jpg

I'll have 1gbit
input to my home and office very soon for the same price as I'm
paying now for the 100mbit connection I have at both places; which is
quite nice considering.


Our net speeds are nothing like yours with cable at the price you pay.

Our WISP Internet comes through the air from quite a few miles away, so
we're all pretty good at setting up radio antennas, and our plots are
large, so we have plenty of spare radios where I personally have about a
dozen access points like this one scattered about the house and property:
http://www.bild.me/bild.php?file=5562233cellular06.jpg

Ayep, baby step. You haven't got the foggiest idea what you're doing.
Do you expect to pickup coding (well, scripting, even if it's java)
overnight or something? Are you planning to make the next great thing
in a couple of days time? You don't have the experience yet to write
code at the level I and many of my peers do, Arlen.


While we're both very old men, the big difference between me, and you,
Diesel, is that I'm an average adult of average intelligence.

Even so, I _hate_ coding, where the _last_ time I wrote in a bona-fide
programming language (not just shell scripts) was when I took COBOL, PL/1
(yes, this is before "C"), IBM Assembly language (yes, in the days when
"duplex" was a big deal), and Fortran (yes, before Fortran 77 even
existed).

I hated "write(x,y)" statements then, and I'd likely hate them now.
Same with "Error 42" codes that we looked up in a big fat book outside the
paper output bins and the punch-card readers.

The problem is that I hate software that doesn't do the simplest of things,
as I described above. So I'm going to see if I can write it.

All my software will always be
o freeware
o no ads
o no servers
o no spyware
o simple as can be to do a single job well

It will _always_ be provided so that _everyone_ can use it for free.
You can either help, or complain.

In short, to answer your question about freeware, this thread happens to be
o About Windows freeware
o To write Android freeware
  #4  
Old October 31st 18, 05:51 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Diesel
external usenet poster
 
Posts: 937
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Arlen Holder
news alt.comp.freeware, wrote:

On Sat, 27 Oct 2018 05:39:49 -0000 (UTC), Diesel wrote:

What does this have to do with alt.comp.freeware or the various
other usenet newsgroups you've spammed this to?


It's all about Windows & Android freeware, whether you realize it
or not: o It's a test of Android Studio freeware (which downloads
SDK freeware) o And it's about _writing_ Android freeware that
does not yet exist


Fair enough. What does it have to do with Windows XP specifically
though? You've previously dismissed WIndows XP as being irrelevant in
this day and age. You incorrectly assume that no person and/or
business still makes use of it. In fact, you really have no idea how
much in use it still is.

alt.comp.freeware isn't actually a programming newsgroup though. I
don't know if the others you've selected are, but, alt.comp.freeware
isn't. There are newsgroups specifically for discussing programming
in a wide variety of languages. You may want to check and see if your
news server(s) carry one or more. You may find help more specifically
tailored towards programming on them.

Nopers, not for me it didn't. More like 20 minutes or so. You
must have a ****ty amount of bandwidth allocated to you.


You might have cable. We are too far away from civilization for
that.


Indeed, I do. Spectrum. I've also got a spiffy Intel box that I used
to examine the SDK with; hence my times aren't anything like yours.
The intel box I used has all the requirements and then some...

If it helps, it's an i7-8700K (that's an unlocked chip my friend)
with 32gigs of gskill ram running at 3400 in pairs. (2x16) With a
half tb SSD drive that was used for the download and install. [g]
Sitting on an MSI z370 pro series mainboard, WD drives, EVGA super
nova 1kw power supply. Nvidia 2080K series (gross overkill and has
nothing to do with the Android SDK)..

Yes, it's liquid cooled; as in refrigerant with a small compressor
just like you'd find on your window based air conditioner unit. It
easily cruises upto 5ghz and remains stable as ****, thanks to that
cooling system. I've got *alot more* CPU horsepower than your AMD
phenom 2 ever even thought about. And that's just ONE machine here.
suffice to say, it's a ****ing monster.

I've got more cores, more threads on each core, and a ****load more
cache as well as clock cycles. Your AMD can't touch it. One of the
perks of being a certified technician, you actually know WTF you're
doing and are more than capable of spec'ing a build as well as final
assembly. I can do it in my damn sleep.

Our net speeds are nothing like yours with cable at the price you
pay.


No, they aren't. I have a package deal at both places, so, I'm not
paying much for what I'm getting.

While we're both very old men, the big difference between me, and
you, Diesel, is that I'm an average adult of average intelligence.


That's just one difference. That being said, I would like to see the
post I wrote to you where I ever claimed I was a genius? I'm not an
idiot, by no means, but... genius? That depends on what you consider
genius to be and in what field specifically. Or trait.

It will _always_ be provided so that _everyone_ can use it for
free. You can either help, or complain.


Actually, I have a third option. I can choose to do neither.



--
To prevent yourself from being a victim of cyber
stalking, it's highly recommended you visit he
https://tekrider.net/pages/david-brooks-stalker.php
================================================== =
There's always more going on than you think. And it's always worse
than you imagine.
  #5  
Old October 30th 18, 12:14 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , Arlen Holder
writes
Getting a "hello world" to work on an Android phone may sound like an
accomplishment, but it's not really that much since all you do is punch
buttons, given that the Google Android Studio freeware literally writes
the
entire app for you.
https://developer.android.com/studio/


Thanks, Arlen, for posting this. I hadn't heard about it before, and it
looks as though it might be useful as a way to knock up one or two
specialist apps in the future.

I tried building the Hello World app and got it working without any
problems. But, it took me a whole afternoon on a i5-2520M laptop with
8GB of ram, and during that time everything else on the machine became
almost totally unresponsive. The processor appears to support HAXM, but
I missed the place to check to install this.
Everything was so slow that I kept thinking the installation/build had
crashed.

Can I ask the spec of your old desktop?
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #6  
Old October 30th 18, 07:51 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 185
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Tue, 30 Oct 2018 00:14:40 +0000, Bill wrote:

Thanks, Arlen, for posting this. I hadn't heard about it before, and it
looks as though it might be useful as a way to knock up one or two
specialist apps in the future.


Thank you Bill for posting that it helped you, as that's my goal, which is
to help everyone at the same time that I help myself. I've always been that
way, so I'm completely different than most people who are only about
themselves.

Maybe we can help each other.
I am hoping to use Android Studio to write a "beep in ten minutes app".

Here's my current status of the "hello world" in Android Studio:
http://www.bild.me/bild.php?file=9210567androidstudio05.jpg
Where this is the result on the Android Nougat 7.0 LG Stylo 3 Plus:
http://www.bild.me/bild.php?file=2116419androidstudio06.jpg

I haven't spent a lot of time with Android Studio (just that first hello
world), but I'm willing to get the first app to work, which, I hope to be a
simple timer app that has the fewest buttons possible, and that goes away
and of course, no ads, no servers, no spyware, nothing but the basic app.
- Press here to beep in 5 minutes (and then go away until beep).
- Press here to beep in 10 minutes (and then go away until beep).
- Press here to beep in 30 minutes (and then go away until beep).
- Press here to beep in 1 hour (and then go away until beep).
- Enter the time to beep [___]minutes (and then go away until beep).
etc.

The _great_ news about Android Studio is that it literally _writes_ your
first app for you and puts it on your phone, and the app actually works!

From there, it's learning how to add bits and buttons.
Layout file:
Source file:

I tried building the Hello World app and got it working without any
problems.


Good for you. I can't get the emulation to work on my old Win10 desktop.
http://www.bild.me/bild.php?file=5625744androidstudio01.jpg
But the app works perfectly on the phone (Nougat LG Stylo 3 Plus, 64GB).

Here's the error I get during emulation:
http://www.bild.me/bild.php?file=3629764androidstudio03.jpg
o Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!
o Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
o Emulator: Process finished with exit code 1
o Gradle build finished in 1 m 15 s 77 ms

But, it took me a whole afternoon on a i5-2520M laptop with
8GB of ram, and during that time everything else on the machine became
almost totally unresponsive.


Truth be told, all DIYs are "idealized" in that they take longer than the
person said they did, where my initial efforts also took longer.

I just said an hour as a guess, but I let it run and so the elapsed time
was overnight but I didn't calculate exactly how much time was idle so I
"assumed" about an hour of actual actions (but it was likely longer).

In reality, I agree with you that it takes longer, so double that, or
triple that or something, but Diesel's assessment of '20 minutes' is just
dead wrong, and unachievable, I would think. (Diesel is always trying to
prove how smart he is so take anything he says with a grain of salt.)

I have no desire to prove I'm smart, so I have no problems admitting when I
screw up, or when I'm wrong, or when I'm ignorant of something, so you can
trust me more than you can trust most people who can't admit when they're
stupid.

If I were to have a gun put to my head, I'd assess the time at, oh, a "few"
hours, so the "whole afternoon" seems reasonable to me, as it does have to
download and then unpack a _lot_ of stuff the first time around (and the
Google site is super sloooooooooooooooooow where it gets stuff from).

The processor appears to support HAXM, but
I missed the place to check to install this.


I first had HAXM (whatever that is) turned on by Android Studio by default,
and then I had to turn it off so when I re-installed Android Studio (which
takes less time than the first install because the SDK is already there by
then), I turned off the HAXM (whatever that is).

I think you won't _see_ the Android Studio HAXM setting unless you ask to
do a _custom_ install.

I have no idea what HAXM is, by the way, and I didn't google it because
HAXM isn't what I want to do right now. If you have a clue what HAXM is,
and how to tell if my machine has it, that would be useful, but don't go to
any trouble unless you already know offhand as I could look it up.

Everything was so slow that I kept thinking the installation/build had
crashed.


The zip files from Google take a looooooooooong time to download. I just
walked away and came back later, so my _elapsed_ time was likely as long as
yours was (I didn't actually count the time).

Can I ask the spec of your old desktop?


Sure. Ask anything. We can help each other.

My old desktop has 16GB of RAM, so that's the one good thing, and it's
Win10, so that's another good thing, but everything else is just old. It's
an HP Pavilion P6230, 2.6Hhz, AMD Phenom2 CPU, with an Nvidia graphics
card. Nothing fancy.

I'm working on simply getting the "hello world" button to beep.
https://developer.android.com/training/basics/firstapp/building-ui
Here's the crappy look at the moment, but it's my first button.
http://www.bild.me/bild.php?file=3610557androidstudio04.jpg
The buttons don't do anything yet, but they'll eventually ring an alarm:
http://www.bild.me/bild.php?file=2116419androidstudio06.jpg

If we can work together on something like this, or if others have a
suggestion, it would be nice to get a handful of interested folks to pick a
SIMPLE action (like ring a bell) and then work together toward that goal.

That would make Usenet very useful, don't you think?
  #7  
Old October 30th 18, 08:13 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 185
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Tue, 30 Oct 2018 19:51:20 -0000 (UTC), Arlen Holder wrote:

I think you won't _see_ the Android Studio HAXM setting unless you ask to
do a _custom_ install.


Hi Bill,

Does your Windows computer motherboard have an Intel CPU or AMD CPU?
http://www.bild.me/bild.php?file=3945600androidstudio07.jpg

Apparently, "HAXM" isn't on Windows, by default, nor, apparently, will it
install on AMD computers (which mine is).
o Intel Virtualization Technology (VT, VT-x, vmx) extensions
o AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)

If your motherboard has an Intel CPU, this HAXM information may help you.

Installation instructions for installing HAXM on Windows
https://github.com/intel/haxm/wiki/Installation-Instructions-on-Windows

Download software for Intel Hardware Accelerated Execution Manager
https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
  #8  
Old October 31st 18, 05:51 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Diesel
external usenet poster
 
Posts: 937
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Arlen Holder
news alt.comp.freeware, wrote:

Hi Bill,

Does your Windows computer motherboard have an Intel CPU or AMD
CPU?
http://www.bild.me/bild.php?file=3945600androidstudio07.jpg

Apparently, "HAXM" isn't on Windows, by default, nor, apparently,
will it install on AMD computers (which mine is).
o Intel Virtualization Technology (VT, VT-x, vmx) extensions
o AMD Virtualization (AMD-V, SVM) extensions (only supported for
Linux)

If your motherboard has an Intel CPU, this HAXM information may
help you.


Did you miss this part?


Message-ID:

But, it took me a whole afternoon on a i5-2520M laptop with
8GB of ram, and during that time everything else on the machine
became almost totally unresponsive. The processor appears to support
HAXM, but I missed the place to check to install this.

***end snippit paste

Do you see the i5? That's an Intel designation. He has (wait for it)
an Intel based system. Do watch who you refer to as dumb, ignorant,
stupid, or any other choice assinine comments you have for others,
next time around; n00b.


--
To prevent yourself from being a victim of cyber
stalking, it's highly recommended you visit he
https://tekrider.net/pages/david-brooks-stalker.php
================================================== =
Modem: A great deterrent to phone solicitors
  #9  
Old October 31st 18, 07:26 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 185
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 31 Oct 2018 05:51:26 -0000 (UTC), Diesel wrote:

Do watch who you refer to as dumb, ignorant,
stupid, or any other choice assinine comments you have for others,
next time around; n00b.


This post is for Bill, where it is apparently considered normal for it to
take a long time for Android Studio to initially set itself up for you.
http://www.ntu.edu.sg/home/ehchua/programming/Android/Android_HowTo.html
Notice that site agrees with you, Bill, in that:
"The installation and many operations take a LONG time to complete."
"It takes time - from 30 minutes to n hours to forever."

While the Android Studio IDE takes care of everything, here are the parts:
1. Java JDK (includes JRE)
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
(The Android Studio IDE will download & unpack the JDK for you.)
2. Android SDK
https://developer.android.com/sdk/older_releases
(The Android Studio IDE will download & unpack the SDK for you.)
3. Android Studio IDE
https://developer.android.com/studio/install
(This is all you need since it will set up the SDK & JDK for you.)
  #10  
Old October 31st 18, 05:51 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Diesel
external usenet poster
 
Posts: 937
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Arlen Holder
news alt.comp.freeware, wrote:

But, it took me a whole afternoon on a i5-2520M laptop with
8GB of ram, and during that time everything else on the machine
became almost totally unresponsive.


Truth be told, all DIYs are "idealized" in that they take longer
than the person said they did, where my initial efforts also took
longer.

I just said an hour as a guess, but I let it run and so the
elapsed time
was overnight but I didn't calculate exactly how much time was
idle so I "assumed" about an hour of actual actions (but it was
likely longer).

In reality, I agree with you that it takes longer, so double that,
or triple that or something, but Diesel's assessment of '20
minutes' is just dead wrong, and unachievable, I would think.
(Diesel is always trying to prove how smart he is so take anything
he says with a grain of salt.)


Incorrect. Are either of you familiar with 8th and now, 9th gen
unlocked Intel processors? You both might want to educate yourselfs a
bit. Lookup the specs to an i7-8700K and tell me I'm full of ****,
again. Not only that, but I've got full (as in, actually have it)
100mbit cable modem to house and office. I'm not ****ing in the wind
on DSL or wifi here, I've got real bandwidth and I'm about to have
1gbit capacity at both places very soon. Essentially as soon as the
new modems get here and I install them.

I have no desire to prove I'm smart, so I have no problems
admitting when I screw up, or when I'm wrong, or when I'm ignorant
of something, so you can trust me more than you can trust most
people who can't admit when they're stupid.


You might want to use a dictionary and lookup the word stupid. Then
lookup the word, Dumb. Everyone suffers from the latter in something,
but, if you suffer from the former, there's no fix for that. And I
can't very well do what I've done for a living (decades) if I were
stupid.

If I were to have a gun put to my head, I'd assess the time at,
oh, a "few" hours, so the "whole afternoon" seems reasonable to
me, as it does have to download and then unpack a _lot_ of stuff
the first time around (and the Google site is super
sloooooooooooooooooow where it gets stuff from).

The processor appears to support HAXM, but
I missed the place to check to install this.


I first had HAXM (whatever that is) turned on by Android Studio by
default, and then I had to turn it off so when I re-installed
Android Studio (which takes less time than the first install
because the SDK is already there by then), I turned off the HAXM
(whatever that is).


Your box can't support HAXM regardless of you having it turned on, or
off. And you call me stupid? Yea.. okay.

I have no idea what HAXM is, by the way, and I didn't google it
because HAXM isn't what I want to do right now. If you have a clue
what HAXM is, and how to tell if my machine has it, that would be
useful, but don't go to any trouble unless you already know
offhand as I could look it up.


You *can't* 'do HAXM'. it's NOT a feature of AMD, **** for brains.
It's an Intel thing.

The zip files from Google take a looooooooooong time to download.
I just walked away and came back later, so my _elapsed_ time was
likely as long as yours was (I didn't actually count the time).


Because of your particular connection to the internet, it took so
long. I'm using full on 100mbit here. My dl/ul speeds are nothing
like yours. I could easily (as in, seriously, easily) overload your
connection and saturate your happy ass with a simple ping flood and I
wouldn't even notice the loss of bandwidth. I wouldn't actually do
something as trivial and lame, but, I could. easily enough.

Can I ask the spec of your old desktop?


Sure. Ask anything. We can help each other.

My old desktop has 16GB of RAM, so that's the one good thing, and
it's Win10, so that's another good thing, but everything else is
just old. It's an HP Pavilion P6230, 2.6Hhz, AMD Phenom2 CPU, with
an Nvidia graphics card. Nothing fancy.


*puke* it's a pile of ****.


If we can work together on something like this, or if others have
a suggestion, it would be nice to get a handful of interested
folks to pick a SIMPLE action (like ring a bell) and then work
together toward that goal.


You might be able to do that, if you can keep your unprofessional
personal attacks at bay.



--
To prevent yourself from being a victim of cyber
stalking, it's highly recommended you visit he
https://tekrider.net/pages/david-brooks-stalker.php
================================================== =
The most beautiful adventures aren't those we go to seek-
R.L.Stevenson
  #11  
Old October 31st 18, 10:54 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , Arlen Holder
writes
On Tue, 30 Oct 2018 00:14:40 +0000, Bill wrote:

Thanks, Arlen, for posting this. I hadn't heard about it before, and it
looks as though it might be useful as a way to knock up one or two
specialist apps in the future.


Thank you Bill for posting that it helped you, as that's my goal, which is
to help everyone at the same time that I help myself. I've always been that
way, so I'm completely different than most people who are only about
themselves.

Maybe we can help each other.


That all sounds good, and I'm happy to give it a go, although I'm unsure
how much I can contribute.
Just so we understand each other, I am not young and in the '70'sgot in
to building hardware based devices using Z80 and earlier processors. I
bypassed cp/m and worked with MS based PC's for years, doing some C++
(related to broadcasting work) programming, then retired.
Since then, I have spent some time helping friends with their PC
problems and, more recently, reviving decrepit laptops to give to family
and friends when they had computing emergencies. Currently we have a
family crisis and are looking after an awkward elderly relative, so I'm
dividing my time between urgently trying to clear the house of years of
accumulated computer, boatbuilding and musical junk and trying to keep
vaguely up to date with things - hence my interest in trying to learn
about Android. I should have time to do and learn something, but there
are long periods when life gets in the way.


I am hoping to use Android Studio to write a "beep in ten minutes app".

Here's my current status of the "hello world" in Android Studio:
http://www.bild.me/bild.php?file=9210567androidstudio05.jpg
Where this is the result on the Android Nougat 7.0 LG Stylo 3 Plus:
http://www.bild.me/bild.php?file=2116419androidstudio06.jpg

I haven't spent a lot of time with Android Studio (just that first hello
world), but I'm willing to get the first app to work, which, I hope to be a
simple timer app that has the fewest buttons possible, and that goes away
and of course, no ads, no servers, no spyware, nothing but the basic app.
- Press here to beep in 5 minutes (and then go away until beep).
- Press here to beep in 10 minutes (and then go away until beep).
- Press here to beep in 30 minutes (and then go away until beep).
- Press here to beep in 1 hour (and then go away until beep).
- Enter the time to beep [___]minutes (and then go away until beep).
etc.


That all sounds like something I would be interested in "helping" with.

The _great_ news about Android Studio is that it literally _writes_ your
first app for you and puts it on your phone, and the app actually works!

From there, it's learning how to add bits and buttons.
Layout file:
Source file:


Yes. Latterly with C++, I used Borland C++ Builder, which helped with
the heavy lifting in a similar way.

I tried building the Hello World app and got it working without any
problems.


Good for you. I can't get the emulation to work on my old Win10 desktop.
http://www.bild.me/bild.php?file=5625744androidstudio01.jpg
But the app works perfectly on the phone (Nougat LG Stylo 3 Plus, 64GB).

Here's the error I get during emulation:
http://www.bild.me/bild.php?file=3629764androidstudio03.jpg
o Emulator: emulator: ERROR: x86 emulation currently requires hardware
acceleration!
o Emulator: Warning: Quick Boot / Snapshots not supported on this
machine. A CPU with EPT + UG features is currently needed. We will
address this in a future release.
o Emulator: Process finished with exit code 1
o Gradle build finished in 1 m 15 s 77 ms


I have it working both on the Android 6 phone ( cheap generic badged
THL) and the emulator. The current base machine is, indeed, an Intel
based Lenovo X220T (tablet) laptop, but see below. I suspect that the
hardware acceleration referred to is the HAXM feature of Intel.

Snip

I have no desire to prove I'm smart, so I have no problems admitting when I
screw up, or when I'm wrong, or when I'm ignorant of something, so you can
trust me more than you can trust most people who can't admit when they're
stupid.

I'm ignorant of most Android's workings, and also have always had a
terrible memory, so am very likely to appear slow most of the time.

I'm working on simply getting the "hello world" button to beep.
https://developer.android.com/training/basics/firstapp/building-ui
Here's the crappy look at the moment, but it's my first button.
http://www.bild.me/bild.php?file=3610557androidstudio04.jpg
The buttons don't do anything yet, but they'll eventually ring an alarm:
http://www.bild.me/bild.php?file=2116419androidstudio06.jpg

If we can work together on something like this, or if others have a
suggestion, it would be nice to get a handful of interested folks to pick a
SIMPLE action (like ring a bell) and then work together toward that goal.

That would make Usenet very useful, don't you think?


I have, in the past, worked with other people, but usually via email. It
would be interesting to see if this could work on usenet. If we did
this, I think the cross-posting might be a problem. I am only on
comp.mobile.android.

I haven't done anything more with Android Studio, but today's plan is to
install from scratch on a different machine (older generation Intel i3
processor) to free up the main machine again. This will take time!
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #12  
Old November 2nd 18, 03:33 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen_Holder
external usenet poster
 
Posts: 96
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 31 Oct 2018 10:54:30 +0000, Bill wrote:

hence my interest in trying to learn
about Android. I should have time to do and learn something, but there
are long periods when life gets in the way.


Hi Bill,
We're in the same boat, give or take, just on opposite sides of the pond.

Do you have a tablet?
o Is it Android (then it will be easy to use to get the tutorial videos)
o Or, is it iOS (like mine is, which means everything is a _lot_ harder)

Or, can you put two monitors side by side, from two different desktops?

If you have a tablet, you can download the 8 sets of tutorial videos onto
that tablet using the youtube-dl.exe Windows freeware (plus ffmpeg & C++
freeware).

For example, what I'm doing now, since my monitor is downright puny, is I
will download all those videos, en masse, and then boot momentarily to
Ubuntu 18.04, which allows me to slide the videos over to the iPad which
mounts read/write on Ubuntu essentially as a USB drive. (If your tablet is
Android, you won't have to deal with that issue of turning the iPad into a
read/write USB drive as Android already acts like a read/write USB drive
when connected to Windows).

The process for installing youtube-dl.exe is a bit complex, unfortunately:
1. Install Microsoft Visual C++ 2010 Redistributable Package (x86)
https://www.microsoft.com/en-US/download/details.aspx?id=5555
2. Upate Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update
https://www.microsoft.com/en-us/download/details.aspx?id=26999
3. Get ffmpeg
http://ffmpeg.zeranoe.com/builds/
Put the three executables in the same directory as the youtube-dl.exe
ffmpeg.exe
ffplay.exe
ffprobe.exe
4. Then get the right youtube-dl.exe that uses Visual C & not python!
https://youtube-dl.org/
http://rg3.github.io/youtube-dl/download.html
5. Then download a video as an OPUS file:
youtube-dl.exe http://any_url.com
6. Download a video as an MP4 file:
youtube-dl.exe -f 18 http://any_url.com
7. Download and extract just the audio as an M4A:
youtube-dl.exe -f 140 http://any_url.com
8. Download and extract just the audio as an MP3:
youtube-dl.exe -x --audio-format mp3 --audio-quality 0 http://any_ourl.com
9. Download the videos in a playlist text file:
youtube-dl.exe -ciwo "%(title)s.%(ext)s" -a playlist.txt
Where that playlist is a line-by-line set of URLs as shown below.
10. To download the 8 tutorials, you can run this freeware command:
C:\ mkdir c:\tmp\android\video
C:\ cd c:\tmp\android\video
C:\ youtube-dl.exe -ciwo "%(title)s.%(ext)s" -a download.txt
Where the "download.txt" file is the following set of 8 tutorials:
#
https://youtu.be/_418iSKJuOk
#
https://youtu.be/EOfCEhWq8sg
#
https://youtu.be/LN8fBh7LH9k
https://youtu.be/u5Gj-_ifxUo
https://youtu.be/axwFF4oSDi8
https://youtu.be/ASzpxZ504Es
https://youtu.be/GR_JtJWzh4Y
#
https://youtu.be/dFlPARW5IX8
https://youtu.be/6ow3L39Wxmg
https://youtu.be/rdGpT1pIJlw
https://youtu.be/bu5Y3uZ6LLM
#
https://youtu.be/agk01JKps8w
https://youtu.be/NSoFTHDHY40
https://youtu.be/fFzpWuHGyhc
https://youtu.be/gSRKhxuXTw4
https://youtu.be/g3jPYU9wCKg
https://youtu.be/G4SJFk8PdAc
https://youtu.be/e_Xe4sTWxTw
https://youtu.be/qS9rZV-Qbpk
https://youtu.be/8IZfYuTbCnY
https://youtu.be/A6YE5jadnGo
https://youtu.be/YeR2y3HdO1Q
https://youtu.be/z87fVhI4Yt0
https://youtu.be/xIwFd-u6yKw
https://youtu.be/wHA0AnURQ_M
https://youtu.be/nYqxyfKOXBw
#
https://youtu.be/oEgpGv2CF1U
#
https://youtu.be/mAJeK283j0I
#
https://youtu.be/-igAiudpBng
#

The reason for this effort is twofold:
o My monitor is too small to handle the videos & the IDE
o The videos show you what buttons to hit (the text tutorials don't)

If someone here has _experience_ in _learning_ Android, that would help,
where I've pretty much given up on the _text_ tutorials because I find I
spend ten seconds reading what to do, and then ten minutes searching for
the buttons they told us to hit.

The video tutorials at least show every button; but you have to be able to
start and stop them constantly, which is why it's handy to have them on the
iPad.

As you may be aware, everything sucks on iOS compared to Android, so if you
have an Android tablet, you can easily just download _any_ video you want
using NewPipe freeware on Android, which works _perfectly_.
https://f-droid.org/en/packages/org.schabi.newpipe/

If you're on iOS, like I am, then everything sucks compared to Android,
when it comes to flexibility, power, functionality, and usefulness. Sigh.
  #13  
Old November 2nd 18, 07:51 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware onWindows worked just fine (in about an hour)

On 02/11/2018 03:33, Arlen_Holder wrote:
On Wed, 31 Oct 2018 10:54:30 +0000, Bill wrote:

hence my interest in trying to learn
about Android. I should have time to do and learn something, but there
are long periods when life gets in the way.


Hi Bill,
We're in the same boat, give or take, just on opposite sides of the pond.

Do you have a tablet?
o Is it Android (then it will be easy to use to get the tutorial videos)
o Or, is it iOS (like mine is, which means everything is a _lot_ harder)

Or, can you put two monitors side by side, from two different desktops?

If you have a tablet, you can download the 8 sets of tutorial videos onto
that tablet using the youtube-dl.exe Windows freeware (plus ffmpeg & C++
freeware).

For example, what I'm doing now, since my monitor is downright puny, is I
will download all those videos, en masse, and then boot momentarily to
Ubuntu 18.04, which allows me to slide the videos over to the iPad which
mounts read/write on Ubuntu essentially as a USB drive. (If your tablet is
Android, you won't have to deal with that issue of turning the iPad into a
read/write USB drive as Android already acts like a read/write USB drive
when connected to Windows).

The process for installing youtube-dl.exe is a bit complex, unfortunately:
1. Install Microsoft Visual C++ 2010 Redistributable Package (x86)
https://www.microsoft.com/en-US/download/details.aspx?id=5555
2. Upate Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update
https://www.microsoft.com/en-us/download/details.aspx?id=26999
3. Get ffmpeg
http://ffmpeg.zeranoe.com/builds/
Put the three executables in the same directory as the youtube-dl.exe
ffmpeg.exe
ffplay.exe
ffprobe.exe
4. Then get the right youtube-dl.exe that uses Visual C & not python!
https://youtube-dl.org/
http://rg3.github.io/youtube-dl/download.html
5. Then download a video as an OPUS file:
youtube-dl.exe http://any_url.com
6. Download a video as an MP4 file:
youtube-dl.exe -f 18 http://any_url.com
7. Download and extract just the audio as an M4A:
youtube-dl.exe -f 140 http://any_url.com
8. Download and extract just the audio as an MP3:
youtube-dl.exe -x --audio-format mp3 --audio-quality 0 http://any_ourl.com
9. Download the videos in a playlist text file:
youtube-dl.exe -ciwo "%(title)s.%(ext)s" -a playlist.txt
Where that playlist is a line-by-line set of URLs as shown below.
10. To download the 8 tutorials, you can run this freeware command:
C:\ mkdir c:\tmp\android\video
C:\ cd c:\tmp\android\video
C:\ youtube-dl.exe -ciwo "%(title)s.%(ext)s" -a download.txt
Where the "download.txt" file is the following set of 8 tutorials:
#
https://youtu.be/_418iSKJuOk
#
https://youtu.be/EOfCEhWq8sg
#
https://youtu.be/LN8fBh7LH9k
https://youtu.be/u5Gj-_ifxUo
https://youtu.be/axwFF4oSDi8
https://youtu.be/ASzpxZ504Es
https://youtu.be/GR_JtJWzh4Y
#
https://youtu.be/dFlPARW5IX8
https://youtu.be/6ow3L39Wxmg
https://youtu.be/rdGpT1pIJlw
https://youtu.be/bu5Y3uZ6LLM
#
https://youtu.be/agk01JKps8w
https://youtu.be/NSoFTHDHY40
https://youtu.be/fFzpWuHGyhc
https://youtu.be/gSRKhxuXTw4
https://youtu.be/g3jPYU9wCKg
https://youtu.be/G4SJFk8PdAc
https://youtu.be/e_Xe4sTWxTw
https://youtu.be/qS9rZV-Qbpk
https://youtu.be/8IZfYuTbCnY
https://youtu.be/A6YE5jadnGo
https://youtu.be/YeR2y3HdO1Q
https://youtu.be/z87fVhI4Yt0
https://youtu.be/xIwFd-u6yKw
https://youtu.be/wHA0AnURQ_M
https://youtu.be/nYqxyfKOXBw
#
https://youtu.be/oEgpGv2CF1U
#
https://youtu.be/mAJeK283j0I
#
https://youtu.be/-igAiudpBng
#

The reason for this effort is twofold:
o My monitor is too small to handle the videos & the IDE
o The videos show you what buttons to hit (the text tutorials don't)

If someone here has _experience_ in _learning_ Android, that would help,
where I've pretty much given up on the _text_ tutorials because I find I
spend ten seconds reading what to do, and then ten minutes searching for
the buttons they told us to hit.

The video tutorials at least show every button; but you have to be able to
start and stop them constantly, which is why it's handy to have them on the
iPad.

As you may be aware, everything sucks on iOS compared to Android, so if you
have an Android tablet, you can easily just download _any_ video you want
using NewPipe freeware on Android, which works _perfectly_.
https://f-droid.org/en/packages/org.schabi.newpipe/

If you're on iOS, like I am, then everything sucks compared to Android,
when it comes to flexibility, power, functionality, and usefulness. Sigh.


Hi Arlen,

I'm replying without quoting for space reasons, so hope this makes sense.

I am using 2 Windows laptops, side by side. The X201 (W10) has the
development system running, the X220T (W7) is there to run text and/or
videos. The latter is a tablet-convertible laptop, so can be folded to
just take the space of the screen. Both have 12" screens, and this seems
to work OK.

I do have a 7" Android tablet and a 10" Windows 8 tablet, but they are
too small, so I think I'll stick with the Lenovo X-series.

I totally agree about the text guide and wasting time searching for
buttons. I had already been looking up and at some videos - specifically
the Bill Butterfield ones, but decided to plough on until I get the
first text based one working. Your list of videos will be a great help,
and I can download them. I am an Apple-free zone.

Now to the problem! I have now got the button and text box sitting
there. It worked on the second try. So it's on to Java, where I start
with a blank mind.


This is what I start with, which works:
--------------------------------------------------
package com.example.my1stapplication;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import static android.icu.lang.UCharacter.GraphemeClusterBreak.V ;

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
-------------------------------------------------

and this is what I am told to do:


-------------------------------------------------

In the file app java com.example.myfirstapp MainActivity, add the
sendMessage() method stub as shown below:


class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}

/** Called when the user taps the Send button */
fun sendMessage(view: View) {
// Do something in response to button
}
}

-----------------------------------------------

If I just append the second bunch of code to the bottom of the first
block, the whole of the second block is just underlined in red squiggle,
which I assume implies an error.

I tried commenting out the curly bracket at the end of the first code
block and adding one at the bottom of the second. This reduced the red
squiggle count, but hovering over almost every word shows an error.

I've dug out an old Java book and done a search for Java basics on the
'net, but without success so far. The Usenet Java group I've looked at
seemed to die in 2012.
It seems to me that I need to have a basic grasp of Java whatever
tutorial I follow, and this seems like a very basic stumbling block.






--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #14  
Old November 2nd 18, 08:03 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Diesel
external usenet poster
 
Posts: 937
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

Bill
Wed, 31 Oct 2018 10:54:30
GMT in alt.comp.freeware, wrote:

In message , Arlen Holder
writes
If we can work together on something like this, or if others have
a suggestion, it would be nice to get a handful of interested
folks to pick a SIMPLE action (like ring a bell) and then work
together toward that goal.

That would make Usenet very useful, don't you think?


I have, in the past, worked with other people, but usually via
email. It would be interesting to see if this could work on
usenet. If we did this, I think the cross-posting might be a
problem. I am only on comp.mobile.android.


I've recently subbed to that newsgroup myself, Bill. You may want to
take a lurking peek inside some of the other threads Arlen has taken
the time to create there and here (alt.comp.freeware) before
continuing with this too much further.

You too will be his best friend, (read:useful idiot), until you
invariably wind up writing something they don't like. Then, it's
moron, and stupid for you. As it was with several others, including
myself. No need to take my word for any of this mind you, browse the
comp.mobile.android newsgroup a bit and see for yourself.

Just passing along some friendly intended advice. Do with it what you
will.


--
To prevent yourself from being a victim of cyber
stalking, it's highly recommended you visit he
https://tekrider.net/pages/david-brooks-stalker.php
================================================== =
Anarchy: Such a good idea, it should be the law.
  #15  
Old November 6th 18, 09:26 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen_Holder
external usenet poster
 
Posts: 96
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Fri, 2 Nov 2018 08:03:32 -0000 (UTC), Diesel wrote:

Just passing along some friendly intended advice.


Woo hoo! *EVERYTHING WORKED PERFECTLY!*

Thank you Diesel for all your friendly helpful advice.
I deleted everything & started fresh with my 20:20 hindsight experience!

Only one Windows freeware package is needed on newer Intel & AMD CPUs:
a. Android Studio freware

Only two Windows freeware packages are needed on old AMD CPUs
a. Android Studio freware
b. Microsoft Emulator freeware

Once I figured out the tricks, everything worked flawlessly!
o The Microsoft Emulator freeware popped up without any errors:
http://www.bild.me/bild.php?file=9766951androidstudio33.jpg
o And the Android Studio IDE freeware ran on that emulator sans errors:
http://www.bild.me/bild.php?file=8780131androidstudio34.jpg

The result is that any apps we write using this Windows freeware...
o Can run in the Samsung Galaxy S5 emulation on Windows, or,
o They can run directly on my LG Stylo 3 Plus phone over USB.

Given my new 20:20 hindsight experience, the solution is this simple!
0. You enable Hyper-V & Hypervision in the BIOS & in Windows
1. You install the Android Studio IDE (which installs the SDK & the JDK)
2. You install the Microsoft Emulator (if you're on an old AMD CPU)
3. You configure the MS Emulator in the Android Studio IDE
(I configured it for Android 7.0, API 24, x86 Samsung Galaxy S5)
4. You start the MS Emulator from within the IDE & run the Hello World app!
Voila!

With experience of 20:20 hindsight, even on old AMD CPUs, it's that easy!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.