AndroidInfrared icon indicating copy to clipboard operation
AndroidInfrared copied to clipboard

The app appears empty

Open asterismo opened this issue 9 years ago • 9 comments

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

asterismo avatar Apr 13 '16 23:04 asterismo

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

There are 2 projects in the repo:

  • Android Infrared: This is the driver and adapter for Android to use different IR, it provides some common seen IR protocols.
  • SmartRemoteControl: This project provides the interface, native code is a UI container for the hybrid content, the panels are built with Web technology. The code for panels are actually located in the SmartRemoteControl/src/main/assets folder.

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.

timnew avatar Apr 14 '16 01:04 timnew

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

asterismo avatar Apr 14 '16 01:04 asterismo

i'm using Samsung Galaxy s4 mini

asterismo avatar Apr 14 '16 01:04 asterismo

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 avatar Apr 14 '16 02:04 timnew

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)

timnew avatar Apr 14 '16 02:04 timnew

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

Ke1i avatar Jul 23 '16 09:07 Ke1i

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.

mixaz avatar Sep 11 '16 15:09 mixaz

App also appears empty for me. klte

nobodywasishere avatar Nov 26 '19 02:11 nobodywasishere

Installed from f-droid. App is empty too

fhunter avatar Aug 10 '20 14:08 fhunter