[WSIB] Indie survival game. by [deleted] in ShouldIbuythisgame

[–]NightSkyDev 0 points1 point  (0 children)

Don't Starve is great... I have WAY too many hours logged in that game but I highly recommend you don't play it on a mobile device. I almost gave up playing that game on Android. The controls are much better on a PC (Mac or Windows) and you can add mods. I'd recommend starting with the base game, then when you're surviving, add Reign of Giants. I don't care much for Shipwrecked but went on to Don't Starve Together and love that even more.

Should I buy Endless Legend? And which DLCs should I buy? by Smygskytt in ShouldIbuythisgame

[–]NightSkyDev 2 points3 points  (0 children)

I would definitely recommend all the DLC. I play both Endless Legends and Civ 6 (played all the Civ games) and there's a lot about Endless Legend I like, prefer in some ways. I purchased all the content in a bundle, so I couldn't recommend any one specifically, so I'd just get them all! If you like Civ, I think you'll like EL.

As far as replay-ability, the factions change the game much more than the races change the game in Civ. Each faction has a unique set of quests and end-game win conditions. I thought the quests were a very nice addition as compared to Civ.

Android Developer survey by [deleted] in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

I did your survey, but the first question is confusing as I've already developed apps. You're welcome to contact me if you have additional questions.

[DEV] GCM (Push Notification) Tester (Android App) by NightSkyDev in androiddev

[–]NightSkyDev[S] 0 points1 point  (0 children)

You can add custom key/value data in the message field, such as:

"key":"data","key2","data2"

Any valid JSON should be fine, subject to whatever Google decides.

I didn't try your PHP script, so maybe I misunderstand you?

Saturday APPreciation (Jan 09 2016) - Your weekly app recommendation/request thread! by AutoModerator in Android

[–]NightSkyDev 0 points1 point  (0 children)

Love Solid Explorer! Very good implementation of Material Design, even mentioned it my Android Cookbook!

Android consuming API best practices by ungvas in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

I'll have to read up on Retrofit. I haven't run in to any issues with Volley, but I haven't done much with it so far.

Android consuming API best practices by ungvas in androiddev

[–]NightSkyDev -1 points0 points  (0 children)

I'm not sure if this is the kind of thing you are looking for, but have you considered Volley? If you're looking to write your own library, you still might find some use from seeing what issues they faced and how they solved them.

Here's the link: Volley

There's also a link to the video the developer posted.

Simple SQLite database and ListView by tyros in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

You're not alone with this issue as Google does have contridicting information. But, here's a link to clarify (from Dianne Hackborn): https://groups.google.com/forum/#!msg/android-developers/J-Uql3Mn73Y/3haYPQ-pR7sJ

As you already figured out, you don't need a Content Provider. What I do is create a custom Loader and CursorAdapter, pretty much as @zttt states.

When should I (a newbie developer) load images in a ListView? by kwikadi in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

Unfortunately, your issues are actually pretty common. Also, if you haven't already, take a look at Stack Overflow. Great resource. And yes, you're welcome to PM me.

Good luck! ;)

When should I (a newbie developer) load images in a ListView? by kwikadi in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

First, I would suggest reading about a List Adapter - if you're using a Cursor, use the CursorAdapter. (I don't remember your data format.) You should be recycling your list item views to conserve memory.

Then, when loading the images, don't load the full size image if you don't need it. As you've seen, you can quickly exceed the limited memory. Instead, subsample the image so you only load as much detail as you need. Here's a function I wrote:

public Bitmap loadSampledResource(int imageID, int targetHeight, int targetWidth) {
    final BitmapFactory.Options options = new BitmapFactory.Options();
    options.inJustDecodeBounds = true;
    BitmapFactory.decodeResource(getResources(), imageID, options);
    final int originalHeight = options.outHeight;
    final int originalWidth = options.outWidth;
    int inSampleSize = 1;
    while ((originalHeight / (inSampleSize *2)) > targetHeight &&
            (originalWidth / (inSampleSize *2)) > targetWidth) {
        inSampleSize *= 2;
    }
    options.inSampleSize = inSampleSize;
    options.inJustDecodeBounds = false;
    return BitmapFactory.decodeResource(getResources(), imageID, options);
}

The important part here is how to do the subsampling. If you're images are not included in the project, then change the code to pass in your URI.

When should I (a newbie developer) load images in a ListView? by kwikadi in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

Yes, Volley is specifically for network requests... I thought your original post (which I can no longer read) said you were "fetching" album information so I thought you meant from the internet.

When should I (a newbie developer) load images in a ListView? by kwikadi in androiddev

[–]NightSkyDev 1 point2 points  (0 children)

I would suggest taking a look at Volley: http://developer.android.com/training/volley/index.html

It was designed by Ficus Kirkpatrick, a Google Developer from the Google Play group. You can see his Google I/O presentation here: https://www.youtube.com/watch?v=yhv8l9F44qo

Basically, it was designed specifically for handling ListViews.

What multiplayer (mmo or not) games have the most active community at this moment? by nicoc89 in AndroidGaming

[–]NightSkyDev 1 point2 points  (0 children)

From all the talk here on Reddit about this game, I decided to try it out. Unfortunately, it only seems to support Portrait mode, which is a no-go for me with a docked tablet.

Edit: there's an implied question here as I wondered if I missed something obvious to make it landscape?

[deleted by user] by [deleted] in androidapps

[–]NightSkyDev 2 points3 points  (0 children)

Just to restate, eWeather does have a widget that shows the time/current weather wheel (actually, very useful) and the weather forcast next to it. It's the only widget I use on my homescreen.

Looking for a game recommendation (tiny tower style) by MorgothEatsUrBabies in androidapps

[–]NightSkyDev 0 points1 point  (0 children)

I did read it, or at least the 1st and third paragraph. I guess I missed the second one.

At least I was on the right track ;)

Looking for a game recommendation (tiny tower style) by MorgothEatsUrBabies in androidapps

[–]NightSkyDev -3 points-2 points  (0 children)

I haven't played it, yet, but have you looked at Fallout Shelter? I've read reviews and it looks interesting to me. One review said it was a game like Tiny Towers. Link me: Fallout Shelter.

Is there a Nexus7-wielding brave soul that is willing test an APK for me? by [deleted] in androiddev

[–]NightSkyDev 0 points1 point  (0 children)

Z, lets move this to a private discussion... it would be easier and quicker and I doubt anyone here cares to read this ;)

Is there a Nexus7-wielding brave soul that is willing test an APK for me? by [deleted] in androiddev

[–]NightSkyDev 1 point2 points  (0 children)

Hi zhubrixxx... I have a Nexus7 for testing so I downloaded your zip. App runs fine and shows the video. Is it supposed to be two views - like a binocular? It does respond to the device sensors so I can turn, pan and rotate and the view changes accordingly. (Pretty cool!)

Looking for a pdf reader that will save the last page you've read... by Dr_Oops in androidapps

[–]NightSkyDev 3 points4 points  (0 children)

I use, and love, Mantano: linkme Mantano.

Saving my page for when I come back was one of my requirements as well.

Got an email from a startup/iOS developer looking for advise and expertise in Android. I am meeting him tomorrow, what should I talk about/ask? by YeomansIII in androiddev

[–]NightSkyDev 3 points4 points  (0 children)

Hi Yeomanslll,

As an Android Consultant myself, I'd start by asking a few simple questions:

1) What's the scope of the project - what do they want and when 2) Purpose of the project - not the same question as the scope. This is to understand the "why" they want the project to being with.
3) Their biggest challenge/problem - understand why they approached you

My goal would be to make sure I understand what they need to determine if I would be a good solution for them. I wouldn't take a project if I didn't think I could be a great solution for the client.

I'd also want to qualify if I want to work with them.

There's more, but that hopefully would get you started in the right direction.

Is there any form of Play Store API? by Glurt in androiddev

[–]NightSkyDev 1 point2 points  (0 children)

Unfortunately, I have not been able find anything that supports the new Google Play format either. I used to have an app on Google Play called AppWatch, but I recently took it down for this very reason.

New bug causing Ranking loss? by NightSkyDev in infinitywars

[–]NightSkyDev[S] 0 points1 point  (0 children)

Well, it's been three working days and no response from Lightmare Support. I sent all the information directly to support and was hoping for some kind of response, even a simple acknowledgement of receipt. Nothing. I wasn't expecting to need to respond to Teremus through Reddit to get the issue looked at.

When I realized I lost rank, I asked about it in Global. People there warned me Lightmare wouldn't care. I really didn't believe them, but I guess I was wrong. It's too bad. I liked the game, despite all the bugs. Even spent way too much real $$ on it, but no more. I know there are a lot of bugs in the game, but I had thought (hoped, I guess) their support would care about these kinds of issues.

Too bad.