timnew / AndroidInfrared

MIT License
120 stars 41 forks source link

The app appears empty #3

Open asterismo opened 8 years ago

asterismo commented 8 years ago

It only has tge option add new panel, but nothinh happens

timnew commented 8 years ago

Ideally, there should be 3 panels: An LED color panel, a TV Box, and a test panel.

There are 2 projects in the repo:

HINT: This code is an experiment project, and haven't been updated for a while. The code is developed and tested on Samsung Galaxy Note 3 on Android 4.1 and Android 4.4. I'm not sure its compatibility with latest device and new Android roms.

asterismo commented 8 years ago

https://jabber.undernet.uy:5281/upload/993eb2b3-f68c-455d-906f-690d66604a6a/5e1d5538-4849-4867-854b-fcaf0f7cb1fd.jpg

asterismo commented 8 years ago

i'm using Samsung Galaxy s4 mini

timnew commented 8 years ago

Hmm, I think I know why.

It probably caused because the assets are not built with native code. I forgot whether I integrated it with gradle or not.

To built the asset, a gruntfile is provided, which helps to build the assets.

In case you are not familiar with node, there is a brief steps about how to do it:

  1. Install node.js if you haven't
  2. $ npm install to install all the node dependencies
  3. $ npm install coffee-script grunt-cli -g
  4. $ gurnt
timnew commented 8 years ago

Or you might be able to start a new web server that serves these asset files. Then you can add a remote panel from the app (Useful when developing panels)

Ke1i commented 8 years ago

Any progress? I'm also facing the same issue. Samsung galaxy S4 stock 4.4.2

mixaz commented 8 years ago

I think it was not a good idea to integrate into build script a workflow to create assets, via node.js or whatever. This should be a regular Android build script (simple as possible) with static assets folder, which could be replaced later with generated one in a derivative gradle project should any advanced developer (like you) need it. Now this complicated build setup makes it hard to work with your code, I doubt somebody was able to build it. Your current gradle script doesn't build at all, probably outdated. I found a forked project where a man fixed that and now it builds, but now there's this very issue with assets, node.js npm, grunt and other shit staff... not sure I'll go further after spending quite a bit of time on the issues with the build script, which should work out of the box, it's a mandatory thing for an open source project, sure.

nobodywasishere commented 4 years ago

App also appears empty for me. klte

fhunter commented 4 years ago

Installed from f-droid. App is empty too