Live data from Hacker News

Hacker News Web App for Mobile

hn.premii.com

151–160 of 171 posts

Re: Hacker News Web App for Mobile

#151
You should add a target="_blank" to your article and HN links so they get opened in safari instead of the app context.

It would also be nice if you would store the current app state in localStorage, because the app is reset when you switch to another app and you have to navigate/ scroll back to the article/comment where you left. (Damn you apple for your broken html5 app approach! shakes fist)

Re: Hacker News Web App for Mobile

#152
post #128

hitting the system back button on android should go back in the web app. currently it just closes the page. I recommend you look at how angular handles this.

As far as I know, web apps don't have direct access to or control over the Android back button. I think the solution is to add history events, because in browsers the Android back button defaults to navigating back in history, but this web app already seems to be doing that.

it's actually not on my nexus 4 and 7. which is why I made the comment. the web apps I make with angularjs do.

also this isn't about direct access to hardware buttons. hitting the system back button on android devices while a web view is in focus is the same as : window.location.back()

Re: Hacker News Web App for Mobile

#153

I take no credit for this. I found the link for this in another Hacker News thread [1] and thought that more people should know about it, so I submitted it. [1] https://news.ycombinator.com/item?id=6177361

Ah nice, another one :-) See also http://ihackernews.com/ or http://cheeaun.github.io/hackerweb/ or (broken ssl cert) https://msean5423.news.ycombinator.com.moovapp.com/ , and now http://hn.premii.com/ . I was looking into writing one myself. Personally I won't be very excited before I see an app that's open source. I don't understand why somebody wouldn't share the code for such a simple thing.

HN for Android is FOSS and it's awesome.

As for iOS, it doesn't matter whether you get the source code because you have no way to make sure that what you see is what you get (from the App store).

Re: Hacker News Web App for Mobile

#154

I wrote this client. Never submitted to HN, because I wasn't sure if anyone will like it. After it reached to the FP, my vps server stop responding. So I moved it to S3. S3 doesn't gzip content. Now it takes twice the time to load the app. Thanks EtienneK for submitting to HN. Also forgot to mention that you can download an android app from play store. https://play.google.com/store/apps/details?id=com.premii.hn

Any plans to release the source code?

Re: Hacker News Web App for Mobile

#155
post #153

Earlier quoted context omitted.

Ah nice, another one :-) See also http://ihackernews.com/ or http://cheeaun.github.io/hackerweb/ or (broken ssl cert) https://msean5423.news.ycombinator.com.moovapp.com/ , and now http://hn.premii.com/ . I was looking into writing one myself. Personally I won't be very excited before I see an app that's open source. I don't understand why somebody wouldn't share the code for such a simple thing.

HN for Android is FOSS and it's awesome. As for iOS, it doesn't matter whether you get the source code because you have no way to make sure that what you see is what you get (from the App store).

Yeah, I forgot to write that I was looking for something web-based. I'm not really into apps that could just be a website.

Re: Hacker News Web App for Mobile

#157

You should add a target="_blank" to your article and HN links so they get opened in safari instead of the app context. It would also be nice if you would store the current app state in localStorage, because the app is reset when you switch to another app and you have to navigate/ scroll back to the article/comment where you left. (Damn you apple for your broken html5 app approach! shakes fist )

I do add target="_blank" to links when you click on it. Not sure why its not opening in Safari. It used to open in safari, but not sure what happened.

Re: Hacker News Web App for Mobile

#159
post #37

Great work! Could you give some tech details about which framework/tools have you used?

I wonder why the creator hasn't answered this question?

I did few places, or other replied to this questions in the thread.

I am not using any framework, but I am using zepto and fastclick library.

Re: Hacker News Web App for Mobile

#160

Earlier quoted context omitted.

No, there is no way to see more articles. I never clicked on the next button on HN so i didn't bother to implement that. It should be easy to add it. I am using icomoon.io for icon font.

What is the font used for the webapp icon here? http://hn.premii.com/a/icon/ios/Icon-72@2x.png

Sorry, i had to find original PSD to find the font name. Its called Ribbon. I doesn't render like this. I modified in PSD to make it look like this.
Post reply on HN