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/ |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
Arlen Holder
Fri, 26 Oct 2018 22:45:55 GMT in 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. |
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 |
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 |
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? |
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 |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
Arlen Holder
Tue, 30 Oct 2018 19:51:20 GMT in 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 |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
Arlen Holder
Tue, 30 Oct 2018 20:13:41 GMT in 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 |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
Arlen Holder
Sat, 27 Oct 2018 08:38:52 GMT in 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. |
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.) |
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 |
Report: My first "hello world" using Android Studio freeware onWindows worked just fine (in about an hour)
On 31/10/2018 07:26, Arlen Holder wrote:
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." Here is where I'm up to. I moved from the Lenovo X220T machine to an older X201 - Intel i3 (1st generation) and have started again. Setting up Android studio seemed much quicker this time - somewhere around 1.5 hours. No obvious reason why. The Hello World app was set up quickly onto an emulated phone. All fine except for a warning that there had been reports of instability of the drivers for my Intel GPU when displaying the emulator. It looked OK and I'm using the latest drivers. Started the button and text box next stage of the app and all went well until I reached the end of the "Make the text box size flexible" section, where suddenly both the text box and button vanished from the blueprint display. Edit-Undo didn't bring them back. I don't think this is a graphics problem. I have now started again, but with, hopefully, all the files in a real directory rather than the stupid Windows Users directories. This might make it simpler to poke around and understand where some of the files are and what they do. I'm in the UK. back in the mists of time I took a Java course at Liverpool University. It is now clear that I have forgotten all of it! -- Bill --- This email has been checked for viruses by AVG. https://www.avg.com |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
"BurfordTJustice"
Wed, 31 Oct 2018 11:12:40 GMT in alt.comp.freeware, wrote: Still only 2 bit "brag" and name calling...LOL Burford, we already know technical subjects aren't your forte. Why the need to embarrass yourself (further) and put on another demonstration? -- 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 ================================================== = System error 4C: kernel panic |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
Arlen Holder
Wed, 31 Oct 2018 07:26:01 GMT in alt.comp.freeware, wrote: 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 So you responded to me specifically (and snipped a considerable amount of my post, clearly showing your ignorance concerning the machine Bill already told you he had as well as HAXM, etc. [g]) for what reason, then? Here's what you snipped for reasons not known to me...: 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. One could say you practically edited my post prior to responding to it, intending the reply to be for another person? You know what that smells like, right, Arlen? , where it is apparently considered normal for it to take a long time for Android Studio to initially set itself up for you. It depends on several variables, as I already wrote above... Now, for the purposes of downloading, just to show you how wrong and off base you actually are... The main .zip file, downloaded from the 3rd url you provided (on linux of course) was 1004 or so megabytes in size. Average dl speed was just under 23megabytes (yea, megabytes) a second. The oracle SDK linuxx64 bit rpm package was 168megs and took roughly 35 seconds or so to leech. The megabytes bounced from just below 12 to averaging out at around 4.5 for the remainder. grabbed the largest sdk from your older versions url. 248megs, got in less than 25 seconds. rofl. The remainder of the 20 minutes, give or take a few; I was doing several things at once at the time on various machines here was spent doing the actual 'installation' phases. So yea, within 20 minutes or so, I was up and running, IDE open on the primary desktop screen, ready for use. That's a properly cooled and configured, I7-8700K for you. Installation times (not dl times) would vary if I were to install it on various other machines here, due to hardware specification differences and only that. Bandwidth isn't the issue. [g] http://www.ntu.edu.sg/home/ehchua/pr...id/Android_How To.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." The site doesn't disagree with me, either, Arlen. The entire time table is an estimate. It depends on several variables which most likely, would exceed your level of expertise to delve into. Suffice to say, While the Android Studio IDE takes care of everything, here are the parts: 1. Java JDK (includes JRE) https://www.oracle.com/technetwork/j...wnloads/jdk8-d ownloads-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.) Yep. It doesn't take very long for me to download or install it on the machine I provided some specs on previously, Arlen. What you wrote below is entirely, false. Further, you yourself provided time table estimates which DIRECTLY CONTRADICT what you wrote and yet, support what I told you, the first time. What you specifically attacked me for in this snippit of one of your posts, below: MID: 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.) ** end snippit You have an older machine which has an older cpu that you prior to a few days ago, knew next to nothing about. You didn't even know that it couldn't possibly support HAXM regardless of your desire to enable/disable it. MID: 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. *** end snippit When do you plan to admit you were wrong and screwed up quite badly here? You went out of your way to attack me in a reply supposedly written for Bill. Are you going to own up to your mistake, Arlen? As i've suggested before, You should watch whom you refer to as stupid in the future. As, sadly, you've actually demonstrated you suffer from it on multiple levels, yourself. -- 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 ================================================== = System error 4C: kernel panic |
Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)
On Thu, 1 Nov 2018 12:21:22 +0000, Bill wrote:
Here is where I'm up to. Hi Bill, I'm like you, in a way, in that I only put a few minutes per day to this and that I'm on an older machine (very old) and that I don't know java. I moved from the Lenovo X220T machine to an older X201 - Intel i3 (1st generation) and have started again. I started again also, this time on app02 ... which is pictured below. http://www.bild.me/bild.php?file=9813868app02.gif Setting up Android studio seemed much quicker this time - somewhere around 1.5 hours. No obvious reason why. Good for you. I've had "issues" getting back to the main GUI where I had to delete and re-install Android Studio a few times myself, just to get back to the point that matched the documentation I was following. :) o activity_main.xml == this is what your design looks like o MainActivity.java == this is your java code BTW, I made _one_ change to the default settings: File Settings Editor General Auto Import Change from: [_]Add unambiguous imports on the fly [_]Optimize imports on the fly (for current project) Change to: [x]Add unambiguous imports on the fly [x]Optimize imports on the fly (for current project) I'm told that will make things easier if/when problems occur. The Hello World app was set up quickly onto an emulated phone. All fine except for a warning that there had been reports of instability of the drivers for my Intel GPU when displaying the emulator. It looked OK and I'm using the latest drivers. Good for you that it works with emulation. I found lots of people on the net asking about AMD emulation, which, if I get around to it, I'll explore. For now, I'm running on the actual phone, which seems to work fine for me. Started the button and text box next stage of the app and all went well until I reached the end of the "Make the text box size flexible" section, where suddenly both the text box and button vanished from the blueprint display. Edit-Undo didn't bring them back. I don't think this is a graphics problem. I feel for you, in that I too have had "issues" with putting buttons and text boxes where I want them to go. Luckily, the graphical editor is amenable to experimentation, where those 'constraints' don't seem to take every time (for some odd reason). http://www.bild.me/bild.php?file=1608334app02a.gif I have now started again, but with, hopefully, all the files in a real directory rather than the stupid Windows Users directories. Yup. I always put absolutely nothing in "Users" although there are two "dot" directories that go in Users by default by the Android Studio IDE: 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) Here's where I put the stuff that Android Studio downloaded: o Android Studio IDE: c:\app\hardware\android\studio\ o Java SDK: c:\app\hardware\android\sdk\ o Projects: c:\tmp\android\{app01,app02,app03,etc.} In the Android Studio IDE, these seem to be the most important files: Android app manifests = (which activity is the starter activity) java folder (where all java code goes) o package1 = official package * MainActivity = *** important *** resources o drawable package = application icon, pictures included o layout package = what the app looks like * activity_main.xml = *** important *** o values package = holds string names such as app name * strings.xml = *** important *** This might make it simpler to poke around and understand where some of the files are and what they do. I agree completely that there is a _steep_ learning curve. Here are the critical files, as I see them, so far: Android app manifests = (which activity is the starter activity) java folder (where all java code goes) o package1 = official package * MainActivity = o package2 = testing package o package3 = testing package resources o drawable package = application icon, pictures included o layout package = what the app looks like * activity_main.xml = o mipmap package = o values package = holds string names such as app name * strings.xml = where your strings are defined I'm in the UK. back in the mists of time I took a Java course at Liverpool University. It is now clear that I have forgotten all of it! I am old. My last class was COBOL and Fortran _before_ 77 existed. I took IBM assembly language and PL/1 before C existed (AFAIK). But those were many decades ago. Obviously. I haven't coded since. Coding isn't an issue though, as I can learn what I need to learn. Luckily, so far, everything has been cut and paste and graphical: http://www.bild.me/bild.php?file=1608334app02a.gif I've almost given up on that original text tutorial, simply because I was spending ten seconds reading a sentence and then ten minutes trying to find the button the tutorial said to press. https://developer.android.com/training/basics/firstapp/ Instead, I looked for *better* tutorials, specifically in YouTube o EVERY step now has a graphical point-and-click direction, and, o My rather smallish desktop monitor is freed up for the Android Studio IDE Here are 8 Android Studio beginner tutorials I think "might" be good, bearing in mind I sorted them by year, and I removed any that didn't sound intelligible or useful in the first 30 seconds, so I've only skimmed this bunch - hence consider it only the first cut of the tutorials on the net that _may_ be useful. ---------------------------------------------------------------------------- a) 3. Introduction to Android Studio (AS 3.1.3) by Johan Jurrius, Published on Jul 16, 2018 (mp4) https://youtu.be/_418iSKJuOk ---------------------------------------------------------------------------- b) How to Make an Android App for Beginners by Treehouse, Published on Apr 20, 2018 (mkv) https://youtu.be/EOfCEhWq8sg ---------------------------------------------------------------------------- c) Android App Development for Beginners (2018 Edition): by Daniel Malone, Published on Dec 31, 2017 (webm, mkv, mp4) (Uses Kotlin) https://youtu.be/LN8fBh7LH9k (part 1) https://youtu.be/u5Gj-_ifxUo (part 2) https://youtu.be/axwFF4oSDi8 (part 3) https://youtu.be/ASzpxZ504Es (part 4) https://youtu.be/GR_JtJWzh4Y (part 5) ---------------------------------------------------------------------------- d) Android Studio For Beginners Part 1, 2, 3, 4 by Bill Butterfield, Published on Jun 13, 2017 (mp4) (It's a slightly older version of Android Studio.) (You build a basic calculator adding app.) https://youtu.be/dFlPARW5IX8 (part 1) https://youtu.be/6ow3L39Wxmg (part 2) https://youtu.be/rdGpT1pIJlw (part 3) https://youtu.be/bu5Y3uZ6LLM (part 4) ---------------------------------------------------------------------------- e) How to Make Android Apps with Android Studio and Java - Ep 1 - Start Here by London App Brewery, Published on Apr 20, 2017 (webm, mkv) https://youtu.be/agk01JKps8w (part 1) https://youtu.be/NSoFTHDHY40 (part 2) https://youtu.be/fFzpWuHGyhc (part 3) https://youtu.be/gSRKhxuXTw4 (part 4) https://youtu.be/g3jPYU9wCKg (part 5) https://youtu.be/G4SJFk8PdAc (part 6) https://youtu.be/e_Xe4sTWxTw (part 7) https://youtu.be/qS9rZV-Qbpk (part 8) https://youtu.be/8IZfYuTbCnY (part 9) https://youtu.be/A6YE5jadnGo (part 10) https://youtu.be/YeR2y3HdO1Q (part 11) https://youtu.be/z87fVhI4Yt0 (part 12) https://youtu.be/xIwFd-u6yKw (part 13) https://youtu.be/wHA0AnURQ_M (part 14) https://youtu.be/nYqxyfKOXBw (part 15) ---------------------------------------------------------------------------- f) Android Studio Tutorial - Streaming Video by EDMT Dev, Published on Mar 12, 2017 (webm) https://youtu.be/oEgpGv2CF1U ---------------------------------------------------------------------------- g) Writing your first Android app - everything you need to know by Android Authority (Gary Sims), Published on Jun 30, 2015 (webm) https://youtu.be/mAJeK283j0I ---------------------------------------------------------------------------- h) Tutorial: Android Studio, from zero knowledge to something basic by Jonathan Warner, Published on Feb 2, 2015 (mkv) https://youtu.be/-igAiudpBng ---------------------------------------------------------------------------- Bill, This tutorial from the list above seems pretty good, which makes a simple addition calculator app, which I've been following for about an hour o d) Android Studio For Beginners Part 1, 2, 3, 4 o by Bill Butterfield, Published on Jun 13, 2017 After about an hour of that tutorial stop and go, stop and go, stop and go, I have this: http://www.bild.me/bild.php?file=9813868app02.gif http://www.bild.me/bild.php?file=1608334app02a.gif |
All times are GMT +1. The time now is 04:02 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters