Oscar Blank

Greenhorn
+ Follow
since Jul 29, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Oscar Blank

And more changes to the broadcast receiver once I realized that there needed to be two different ways of completing the task based on the version of Android:

7 years ago
So, I may have found the solution, and it has to to with Android N changing what's allowed to be done with files:

In AndroidManifest.xml



Create file in res/xml/provider_paths.xml



And the contents of the BroadcastReceiver changes



Thing is, I don't really know what I'm doing here, and being that I have a lot of non-Android experience, I'm wondering there are some problems with this.
7 years ago
I made an Activity that first checks the installed version of the app, checks what the newest version of the app is by doing an HTTP request to a webserver, and offers an upgrade if a newer version is available. When the "upgrade" button is clicked, it used to download the file, then initiate the installation process, but it's not initiating the installation of the apk anymore.

Another thing is that I used to have an older Android phone, and recently got a new phone. The new phone has Android 7.0 on it. That could be the reason, but I don't know.

If anyone can help I'd appreciate it.

7 years ago
Android Studio version is 2.1.2.

I don't want to ignore stuff and find out the hard way that I'm breaking my repo, but sometimes all I do is open up my project and a "git status" shows changed /.idea files. Very annoying.

I just use command line git, because it's better for me. I change working locations a lot, so important to maintain working repo.

What's your .gitignore look like?
7 years ago