tag:blogger.com,1999:blog-15677170908554519972024-03-14T19:35:54.096+00:00Dan Dar3Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.comBlogger257125tag:blogger.com,1999:blog-1567717090855451997.post-17545578824860055312022-06-08T21:14:00.006+01:002022-06-08T22:21:10.738+01:00Updating `dx.jar` library to fix `Dx unsupported class file version 52.0`If you're still developing with Eclipse & Google ADT plugin you may encountered this error when trying to use Java libraries compiled with JDK 1.8:
[2022-05-11 08:55:53 - demo] Using default Build Tools revision 25.0.3[2022-05-11 08:55:53 - demo] Starting full Post Compiler.[2022-05-11 08:55:53 - demo] Dx Using Pre-Dexed androidx-versionedparcelable-2b1eb8b8b275a1d7c02af96379c6a5af.jar <-Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-75385877275403333472020-06-07T20:45:00.004+01:002020-06-07T20:51:36.076+01:00Android 8.1 Oreo on Nexus 7 2012 WiFi Thanks to ud4, LineageOS team, TeamWin and everyone else that made this build possible.Backup / transfer personal data (texts, photos, videos, apps, etc)
Read [ROM][grouper] [8.1.0] [UNOFFICIAL] LineageOS 15.1 [2020/05/22]
download lineage-15.1-20200522-UNOFFICIAL-grouper.zip (270 MB)download MindTheGapps-8.1.0-arm-20180808-grouper.zip (53 MB)
Download Android SDK / platform-tools
Install TWRP Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-83892356946103245462020-04-03T18:12:00.001+01:002020-04-16T09:34:48.075+01:00Android emulator with Windows Hypervisor Platform (WHPX)You can run the Android emulator with Windows Hypervisory Platform (WHPX) starting with Windows 10 April 2018 Update (build 1803).
Check whether you have support for Windows WHPX by going to Control Panel > Programs and Features (appwiz.cpl) > Turn Windows features on and off (left):
If so, you have to uninstall Intel HAXM that you must likely used before for hardware acceleration and Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-3738858653285086242019-12-27T11:46:00.001+00:002019-12-27T11:48:24.556+00:00Eclipse Subversive (SVN) plugin installationA tutorial on how to install Subversive SVN plugin + connectors for those who still use SVN as a source repository for their projects or used to easily pull into your project the Google AAR libraries from GitHub.
Use your exiting Eclipse installation or download and extract the latest version available.
Eclipse IDE for Java Developers 2019-12
https://www.eclipse.org/downloads/packages/
Go to Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-70159535064938586932019-12-08T19:29:00.000+00:002019-12-27T09:33:10.649+00:00Eclipse Android Manifest mergerThe Android manifest merger is available starting with SDK Tools, Revision 20 (June 2012) and it merges your application AndroidManifest.xml with the AndroidManifest.xml's defined in the libraries added to your application.
General notes:
Build system
Added automatic merging of library project manifest files into the including project's manifest. Enable this feature with the Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-63668920385454705512019-09-17T09:56:00.003+01:002019-09-17T09:58:47.847+01:00ADB.exe crashing 0xc000005 on winusb.dllAn issue I've had on my work laptop with adb.exe crashing with 0xc000005 for last couple of months, I finally managed to fix it today after several attempts in various ways.
Monitoring the process with Process Monitor would reveal that is crashes after working with WINUSB.dll (ignore the highlight in blue, that was on the first attempt checking, the file should not be there)
SFC scan Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-60668300934282599282018-05-18T20:05:00.002+01:002020-04-16T12:05:55.687+01:00Mounting OSFMount RAM drive on bootUpdated: 16 Apr 2020
I have used a number of RAM drives over time and more in the recent years with the increase in amount of RAM available to store user temporary files (autoclean on power down) and even projects build output directories (try and reduce some build times).
PassMark OSFMount might still be missing some features compared to other available RAM drive software out there, but Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com14tag:blogger.com,1999:blog-1567717090855451997.post-42465455607320556952018-04-17T22:46:00.001+01:002018-06-12T09:41:45.887+01:00Android SDK for development with Eclipse ADTIf you are still using Eclipse ADT for Android development, this is a tutorial to help you with installing the latest possible Android SDK / Tools that would work with last Eclipse ADT plugin.
Eclipse IDE for Java Developers 4.7.3a
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/oxygen3a
Eclipse ADT plugin - 23.0.7.2120684 (Aug 2015)
https://dl-ssl.google.com/android/Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com2tag:blogger.com,1999:blog-1567717090855451997.post-46969701170043471562018-01-02T20:57:00.001+00:002018-01-02T20:58:24.037+00:00AppCompat runtime error: "android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052"Developing an Android app with the latest Support Library versions you may encounter this crash at startup on devices running Android < 5.0 (API 21):
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.googleplayservicesdemo/com.example.googleplayservicesdemo.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com2tag:blogger.com,1999:blog-1567717090855451997.post-66629677404829442162017-12-30T12:09:00.001+00:002017-12-30T12:09:30.369+00:00How to update ProGuard for Android SDK
If still using Eclipse for Android app development and targeting newer Android SDK versions you may find ProGuard failing with this error message:
Can't process class [junit/runner/Version.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7))
Proguard returned with error code 1. See console
Proguard Error 1
Output:
java.io.IOException: Can't read [U:\Android\android-sdk\Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com2tag:blogger.com,1999:blog-1567717090855451997.post-64735701161568162082017-12-11T11:40:00.005+00:002017-12-11T11:45:50.178+00:00Fix: Wireless Display "Your display couldn't connect" You may find when trying to project to an wireless display Windows will fail with the following error message, even though other similar computers on your network can project just fine:
Something went wrong.
Your display couldn't connect.
Windows 10 version 1709
Intel HD Graphics 520 (22.20.16.4785, Oct 2017, supports Wireless Display)
Intel Dual Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com17tag:blogger.com,1999:blog-1567717090855451997.post-36534154630584013612017-11-19T12:50:00.001+00:002017-11-21T20:55:08.148+00:00Inateck FE2010 USB 3.0 Portable 2.5" HDD Enclosure
Inatek FE2010 HDD Enclosure (11.99 GBP on Amazon.co.uk):
USB 3.0
UASP transfer protocol
JMS578 chipset
supports 2.5" SATA-I, II, III HDDs and SSDs.
Tested with:
Seagate ST500LM000 Laptop Thin SSHD 500 GB5400 rpmSATA III 6.0Gb/sS.M.A.R.T., APM, NCQ
Dell Latitude E5440Intel Core i5 4210U16 GB RAMWindows 10 version 1709 (build 17025.1000)
1. Internal SATA III
Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-3059677316319125232017-10-16T09:31:00.001+01:002017-10-16T09:31:29.092+01:00Enabling HTTP Compression in GlassFish / Payara
Enable HTTP compression on GlassFish / Payara servers to reduce response time and make web applications faster.
Edit GLASSFISH_HOME//glassfish/domains/domain1/config/domain.xml
<network-config>
<protocols>
<protocol name="http-listener-1">
<http max-connections="250" default-virtual-server="server"
compression="on"
Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-50763808004217449662017-01-15T14:32:00.002+00:002017-01-15T18:07:04.000+00:00Eclipse: Integrating Firebase Cloud Messaging into your Android app
Following requests from some of you on the previous article on Firebase Analytics, today we're going to cover Firebase Cloud Messaging integration in your application developed with Eclipse. It is not much different from the Firebase Analytics integration, so here we go.
Firebase Analytics libraries
dandar3/android-google-firebase-README
gives you an overview of the Firebase libraries Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com44tag:blogger.com,1999:blog-1567717090855451997.post-81158799794030751212016-12-06T16:14:00.002+00:002016-12-06T17:51:29.377+00:00Android 7.1 Nougat on Nexus 7 2012 WiFi
Backup / transfer personal data (texts, photos, videos, apps, etc)
Read [ROM][7.1.0_r5][NDE63U][Grouper|Tilapia][F2FS/EXT4]Android 7.x AOSP by AndDiSa
download aosp_grouper-7.1-ota-eng-20161127.ds.zip (219 MB)
check MD5 signature (FCIV or a similar tool):
fciv -add aosp_grouper-7.1-ota-eng-20161127.ds.zip -md5
Install Android SDK / platform-tools
Install TWRP (Team Win Recovery Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com2tag:blogger.com,1999:blog-1567717090855451997.post-6797052622217298632016-11-16T18:30:00.000+00:002016-11-26T13:51:48.431+00:00Windows 10 Anniversary Update on ASUS R2H - "End of the Road"
I remember I started this blog almost exactly 10 years ago all excited by the advent of mini-tablets in the form or UMPCs, with a first post from the actual device.
My ASUS R2H came with Windows XP Tablet Edition, qualifying for a free upgrade to Windows Vista, followed by quite a number of pre-release, preview, trial and final versions of Windows 7, Windows 8 and 8.1, and finally Windows 10.Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com4tag:blogger.com,1999:blog-1567717090855451997.post-52475025745249525112016-11-05T19:28:00.001+00:002022-12-18T11:47:00.702+00:00Eclipse: Integrate Firebase Analytics into your Android app
With official support moving away from Eclipse towards Android Studio and Gradle, new things like Firebase Analytics have become unavailable to developers wanting to continue using Eclipse for their app development. In this post, I will go through the libraries and the configuration required so you can integrate it in your Eclipse project.
Firebase Analytics libraries
dandar3/Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com68tag:blogger.com,1999:blog-1567717090855451997.post-41522722632251492102016-09-30T19:40:00.001+01:002018-02-19T07:40:31.919+00:00How to import Android libraries from GitHub/dandar3 into Eclipse workspace
Showing you today an easier way of importing Android Support and Google Play Services libraries for Android from github.com/dandar3 repositories into your Eclipse workspace.
Prerequisites:
Install Eclipse Subversive SVN plugin firsthttps://www.youtube.com/watch?v=04L4rkykWZw
Navigate to:
Android Support Library (overview project)
http://github.com/dandar3/android-support-library-READMEDan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com14tag:blogger.com,1999:blog-1567717090855451997.post-42698637199598941692016-09-06T16:18:00.002+01:002016-09-16T17:05:25.653+01:00Eclipse: Setting "derived" folders - AutoDeriv plugin
Using Eclipse with Java or Android projects you may notice that "Open Resource" (CTRL+SHIFT+R on Windows) is showing files from bin (or gen or other) folders, that were copied or generated by the build process, that you really
don't want to edit as they will get overwritten on next build, resulting only in frustration and wasted time if you do.
Eclipse documentation for Derived resources:
Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-43781579604631435332014-10-13T15:16:00.001+01:002014-10-14T13:38:14.308+01:00Seagate GoFlex Home NAS - Git server installation While quite comfortable with SVN and happy with the previous SVN server installation on the Seagate GoFlex Home NAS, I'd like to take things a bit further and try out a Git server. Some of the things looking forward to are local commits while away or when the NAS is sleeping, and pushing those changes at a later stage when connected. So, here we go.
Prerequisites
See previous post where we Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com1tag:blogger.com,1999:blog-1567717090855451997.post-66314764938748671042014-10-04T00:35:00.001+01:002014-10-04T00:44:11.414+01:00Windows 10 Technical Preview on ASUS R2H
8 years later is still going: Windows 10 Technical Preview on ASUS R2H.
Installation steps:
download Windows 10 Technical Preview x86 ISO (2.93 GB)
prepare bootable USB stick with Windows 7 USB/DVD download tool
enable BIOS boot from USB stick (F2 > Boot > Hard Disk Drives > 1st Drive)
install updates from Windows Update through a wired connection.
ASUS R2H-BG059T
7" screen (Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com5tag:blogger.com,1999:blog-1567717090855451997.post-33776017791561311932014-07-25T23:55:00.002+01:002014-07-25T23:57:47.287+01:00Maven - Checking for dependency updates
If you're using Maven with your Java or Android projects you can leverage its ability to check for new library versions using versions:display-dependency-updates goal, instead of doing that manually through search.maven.org or using services like changedetection.com.
Withing Eclipse, you can create an internal Run Configuration (Run > Run Configurations... > Maven Build):
[INFO] Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-26626522874430922002014-07-20T01:37:00.001+01:002014-07-20T01:38:43.782+01:00Windows 8.1 Enterprise Evaluation on ASUS R2H
Windows 8.1 Enterprise Evaluation (90 days) running on the old ASUS R2H boy!
Installation steps:
download Windows 8.1 Enterprise Evaluation x32 ISO (~2.7 GB)
prepare bootable USB stick using Windows 7 USB/DVD download tool
enable BIOS boot from USB stick (Boot > Hard Disk Drives > 1st Drive)
install updates from Windows Update through a wired connection
install Windows 8.1 Update Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-4462942306712484002014-06-30T02:55:00.001+01:002014-06-30T03:02:43.505+01:00Kingston SSDNow V300 120GB - Desktop/Notebook Upgrade kit (SV300S3B7A/120G)
This is practically the same drive I got back in February, which ended up in my Shuttle SG33G5 deskop and my missus really appreciated the improved loading times, so now I decided to buy this again in the upgrade kit package, which comes with a 3.5" mounting plate and screws (plus SATA power and data cable) to finish the job on the desktop while this new SSD drive will end up in my Dell LatitudeDan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0tag:blogger.com,1999:blog-1567717090855451997.post-85669409859920274812014-06-09T14:18:00.004+01:002014-06-09T14:32:35.395+01:00Eclipse: Setting "derived" folders (Groovy Monkey script)
Using Eclipse with Java or Android projects you may have noticed "Open Resource" (CTRL+SHIFT+R) showing files from "bin" folder(s) that you don't want to edit as Eclipse will overwrite them on next build.
Per Eclipse documentation for Derived resources:
A derived resource is a regular file or folder that is created in the course of translating, compiling, copying, or otherwise processing Dan Draguthttp://www.blogger.com/profile/09000904627186150798noreply@blogger.com0