LukeWaggoner

1

votes
0

answer
227

views

Espresso Testing 'Process Crashed' immediately when using ProGuard

I've got a rather large project for which I've written a test suite. When running the tests on a build that is not minified, the tests run fine. Once I set minifyEnabled to true on the buildType I'm using, the tests immediately fail with the following message: Started running tests Test running fai...
LukeWaggoner
1

votes
0

answer
116

views

Android BLE Notification Device WakeUp

I'm using rxAndroidBLE to develop a companion app for a BLE peripheral that triggers alarms on the device. The problem I'm having is that the notifications for the alarm are not properly triggering the alarm on the device. I'm guessing that it's something with the notification not properly waking up...
LukeWaggoner
1

votes
3

answer
1.3k

views

Adding images to EditText from Custom IME

I'm working on a custom keyboard for Android, and I'm running into a problem. I need to either be able to output ASCII characters from the keyboard (i.e. ∅, ⌲, ⌓, etc), or be able to add images to the selected EditText from my keyboard. I know this is possible because Emoji does it with their...
LukeWaggoner
1

votes
1

answer
455

views

Simple two-way encryption that outputs a long alphanumeric string

Basically, I am writing e-mails that are sent when a person registers on my website, and it will have an activation link that needs to have a string assigned to a GET variable. When the person clicks the link, they will be taken to a page on the site where the string will then be decrypted and match...
LukeWaggoner
1

votes
1

answer
50

views

Varying enums in Java being accessed by common method

Essentially what I'm trying to do is create a generic method that can take many different kinds of enums. I'm looking for a way to do it how I'm going to describe, or any other way a person might think of. I've got a base class, and many other classes extend off that. In each of those classes, I wan...
LukeWaggoner
2

votes
1

answer
213

views

Android image upload not getting to PHP script

I'm trying to upload an image from Android to a PHP server. Here is my upload code: public static void uploadFile(final String imagePath){ HttpClient httpClient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(SERVER); try { File imageFile = new File(imagePath); httpClient.getParams().set...
LukeWaggoner
2

votes
1

answer
313

views

Bad lag in Android Studio Visual Layout Editor

In the latest version of Android Studio, I'm getting really bad lag when adding constraints in the Visual Layout editor when using a ConstraintLayout. It freezes for a second or two when I first click the handle to add a constraint. I've got 12GB of Memory (out of a total of 32GB) allocated to AS, A...
LukeWaggoner