yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 Themes and Apps] jjmmll:
It's like this on ebay

http://www.ebay.com/itm/E27-8W-RGB-...6477566?pt=US_Light_Bulbs&hash=item2569107a7e
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Ok, I have created a test app for you but I still have a few questions:

What happens excatly, when the "Red up/down" is pressed? The red LED turns off completly? Is there another color which turns on instead?

which buttons do you mean?

Does it mean, that the last colored row of my app correspond to the last colored row on your remote?

Could you please explain this a little more detail? ;)
[Galaxy Note 10.1 Themes and Apps] Tintinnuntius:
Here's an image that hopefully makes it a bit clearer. I've noted what button I need to press in your app to have the same effect as my remote. The colored array in your has 4 columns and 5 rows starting in the upper left corner with red = 1st col, 1st row.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Thanks, now it´s pretty clear ;)

I will change it when I´m at home later and upload the apk file. It would be cool if you could test it.
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Tried pressing buttons to see if remote is working using the camera, it is sending the commands but obviously not changing the colour.

I have upped a pic of the remote and it looks like we have similar remotes and the same control box as each other
[Galaxy Note 10.1 Themes and Apps] Galaxyer:
IRDA

Hi iRazoR112,

Thank you for posting this apk...

I tested it on several units but it matched in about 31 functions with a set-top

box [DSR StarCom HD] remote control with different key map

:

such app can be developed to adopt more patterns and devices ..learning mode

to copy handsets ....If you can share source ..it will be appreciated ...

Thanks again
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
@ Tintinnuntius & demon-knight

I have created and uploaded a new apk :victory: (see first post on first page file "IRLEDControlSmall.apk"). Could you please try whether its working and gimme a feedback?
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
It wasn´t my goal but it´s nice to know whether it works with other devices such as LEDs.

The main code snipet ist already published in another thread:

http://xdaforums.com/showthread.php?t=1958967&page=3

Post #24

posted by jaygib

Object irdaService = getApplicationContext().getSystemService("irda");

Class c = irdaService.getClass();

Class p[] = {String.class};

Method write = c.getMethod("write_irsend", p);

write.invoke(irdaService, "38400,30,30,10,10,30,30");

The most difficult thing is to find out, which protocol/code your device need. You should read mentioned thread because there are already discussions regarding universal remote controls
[Galaxy Note 10.1 Themes and Apps] Tintinnuntius:
Everything works on mine. Thanks :)
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
That´s great.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Video is now available on Youtube (see first post)
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Sorry still not working, tried every button.

Was getting paranoid that my tablet wasnt working properly, tried peel remote and it worked fine.

What rom are others using? Im on Omega 2.1.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Maybe your rom is the problem. I´m using default ROM and not a custom one. Have you checkt whether THe Tab is sending signals when you push the buttons by holding a camera infront of the IR interface? You should see, when the light turns on because a simple camera or Smartphone cam recognize the IR spektrum.
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Yeah its sending the signal no poblem, when I get chance I will do a backup and flash another rom to see if its that.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I think it isn´t neccesary to flash another ROM. I have found the problem. It looks like there a different types of same remote control which use different codes. A user in another forum has the same problem because he has the same remote control.

To check, which codes are used by your remote, I need to buy myself this remote control and measure the signal with an oscilloscope.

I have to look at whether it's worth because I don´t deserve anything with this App ;)

I will do my best...
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I think I found a relatively easy way to find out your IR Codes but I have to check it later when I´m back at home. I will update you as fast as possible
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Sweet news man, let me know and I will do any testing you need.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Yeah man, I think I´ve got it. The App isn´t finished yet but could you test the first row of the following one please? :highfive:

EDIT: Sorry, but Eclipse has destroyed the Layout :silly: I have to add this again but now I´m going to sleep =) I will upload it tomorrow

2nd EDIT: Man I hate this tool. I have saved the apk file before eclipse has deleted it. I´ve uploaded it again. Pleas try the first row (ON,OFF, BrightUp, BrightDown)
[Galaxy Note 10.1 Themes and Apps] the co0kie:
Very sadly doesnt work with mine
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Still no dice fella, no change from last version
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hm, that are bad news. Ich will finish this app in the next few says and test it on my brothers device because I dthnik he has the same as you. If it works, there must be a 3 version with same remote control...
[Galaxy Note 10.1 Themes and Apps] Khameleon05:
Works great for me, even has longer range than my actual controller (although my batteries are probably just dying)
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
That sounds great. I would be interesting, which one you are using. The small or the big one?
[Galaxy Note 10.1 Themes and Apps] PhinxApps:
Thx :D I'll try it!

How did you manage to take control of the IR Blaster oO. As far as I know, there is no documentation about the API. Anyway, do you speak german? Just aksing because of your "Ich will ...." typo ;) ?
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hi, Yeah I´m from germany and I´m sorry for my bad english knowledge =) Regarding your question about the blaster, I have postet a link to another treath on the first or second page. There are all Informations you need to use the IR interface
[Galaxy Note 10.1 Themes and Apps] Galaxyer:
Hi,

I tried to estimate the missing sets of CCF patterns by draw the wave form and extract the bit sequences and positions in the form... so 7 bits and their compliment bits in the form generates a 128 combinations

as shown in this :-

...I wrote this simple apk

you can test which button will generate the distinct code compatible with your device....

by this i extracted the whole required set for my set-top box DSR....

hope it can help

Good luck
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hey, the 2nd version of the 24 Key Remote Control is uploaded now. Maybe you can try,whether it works now :)
[Galaxy Note 10.1 Themes and Apps] DonieMendt:
Hey,

your app ist rly cool and i would like to use it for my led lights from osram (osram.de/osram_de/produkte/led-technologie/innenraum-led-leuchten/deco-%26-living/leds-deco-flex/index.jsp).

How i could find which IR frequencies my led Lights use? I dont find anything in the Data-sheet.

I think the easiest way is to test all frequencies in the IR spectrum, right?

Donie
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hi, glad to hear that you like my app. The problem ist, that there are different protocols for IR and there are to much frequencies to test all of them.

For the last 24 key App, I used "IR Protocol Analyzer" to find out, which adress and code is sent by the remote control. On the website of the analyzer, you will find a simple way to build a IR receiver for your PC (Microphone input). For me it works really great. Maybe you could find out in this way, which code you need to implement. If you need any help, you can send me a PM too.
[Galaxy Note 10.1 Themes and Apps] demon-knight:
Tried second version and no dice, also tried the app that Galaxyer posted and nothing.

The note is working for my tv and other things etc so am a bit lost now, am going to get a friend to swing by with his as its totally stock and give it a whirl.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hm I don´t think that the problem is caused by your ROM. In my opinion you have a remote with another code. The only thing you can do is to find out which codes are used by your remote. I have used "IR Protocol Analyzer" in combination with a self made IR receiver for this. Maybe you want to try it?
[Galaxy Note 10.1 Themes and Apps] Khameleon05:
The 44 key one and I have the exact controller pictured in the first post
[Galaxy Note 10.1 Themes and Apps] funb0b:
Looks like mines the same no go on any of them so far :(
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hi,

The problem is, that there are different codes for every controller. I cannot create an app for each controller because ich haven't all the codes.

If you want you can analyze your codes using "ir protocol analyzer" but you have to build or buy an ir receiver first.

For more informations chech this out:

http://www.ostan.cz/IR_protocol_analyzer/
[Galaxy Note 10.1 Themes and Apps] sokacvk:
Is there any known issues with Samsung S4 (except layout breaks)? I tested od 24 key and it doesn't work.
[Galaxy Note 10.1 Themes and Apps] blgblade:
small b working great 4 me :) thank you very much ;)

works also on S4 (but the layout is not usable ^^)

EDIT: i modded the small a and b version to have a working layout on the s4
[Galaxy Note 10.1 Themes and Apps] JuggZaPoppiN:
Will these work?

http://www.newegg.com/Product/Product.aspx?Item=9SIA2C00U57579
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
As I mentioned a few posts before, there are different codes for these remote controls, so the only thing you can do is: try
[Galaxy Note 10.1 Themes and Apps] hardcore90:
Modded a and b - i used in my phone (i9505) and i have mixed buttons. Only orginal note 10.1 apps works perfect, but i must change dpi for see all buttons. Have idea ?
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
IR LED CONTROL Version 2 is out now. For informations check first post. =)
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I uploaded the sourcecode to GITHUB because I have no time for further development.

Please check first Post for GITHUB Link.
[Galaxy Note 10.1 Themes and Apps] hardcore90:
New version not work..

Mixed buttons :(
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Which buttons are wrong?
[Galaxy Note 10.1 Themes and Apps] hardcore90:
All in all type.

Only first version work perfect but i must change dpi.

My device is i9505.
[Galaxy Note 10.1 Themes and Apps] Sascha0910:
i have I9505 and it works. but when i rotate crashed the app (IR LED Control 2.0)
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
What do you mean with first version? 44Keys or 24Keys?
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I have this problem too and I will fix it in the next days
[Galaxy Note 10.1 Themes and Apps] hardcore90:
Fist version of app, 0.1 or 1.0..

I mean app for g tab 10.1 - its work ok

Last version of app works but the keys are mixed.

I press blue and turns Fade7 and other combination.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Hm but the codes should be the same. It would help if you could send me the buttons which send wrong signals, so ich can change it for you.
[Galaxy Note 10.1 Themes and Apps] hardcore90:
All buttons send wrong signal.

This apk work ok

https://www.dropbox.com/s/j616nucp6tmbvbj/com.application.irledcontrol-1-v1.0.apk

EDIT//

24 Keys are mixed.

44 Keys work ok.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I thought to myself that you have used the wrong remote (24 Keys instead of 44 Keys). Now it should be ok.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
I added a hint to the first post that you have to swipe right or left to choose another remote control
[Galaxy Note 10.1 Themes and Apps] hardcore90:
Yes, i don't see this. My bad :(

Btw, thanks for help.
[Galaxy Note 10.1 Themes and Apps] aeros0ul:
I've bought to strips today. These two doesnt work with this app. My others do work great.

Is there a chance anyone could fix this if razor stopps development?

I dont mind to pay a few bucks
[Galaxy Note 10.1 Themes and Apps] aeros0ul:
this app does have the right codes if you search for "cyan".

Does this help?
[Galaxy Note 10.1 Themes and Apps] danjimenez:
Hi!

I already customize the code so it works with my APA 1616 remote control. But I still have one step to do... How can I create the .apk file from the source code?

Thanks a lot!
[Galaxy Note 10.1 Themes and Apps] SO333:
I have the same remote, it would be awesome if you manage to post the version here.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
If you haven't found it out by yourself, you can use eclipse or other environments who support u

android developing and import the projekt. After this you can finally compile it to apk file.
[Galaxy Note 10.1 Themes and Apps] danjimenez:
Hi SO333, I already did the application for my APA1616 remote control. Its attached :) I also attached all the IR codes working good on my RGB Led light.

I hope it works for you!

Thanks for your reply. I already built my application based on yours. Great work!
[Galaxy Note 10.1 Themes and Apps] Astrofreak85:
Hi,

App deos work on my GS4 but not on my new SGNote 3...

when I tap a button, app or android say "java.lang.NullPointerException" ?!
[Galaxy Note 10.1 Themes and Apps] SO333:
I also get the Null Pointer Exception on my Galaxy S4 (4.4.2, original Samsung ROM).
[Galaxy Note 10.1 Themes and Apps] Astrofreak85:
My Galaxy S4 doesn't have 4.4.2 yet, still 4.3.x...maybe thats the case here?
[Galaxy Note 10.1 Themes and Apps] bandita18:
Hello Guys,

I tried, some app from this topic and the colors are gone mixed in my led controller.

If I push the red color button i get green light, if I push the green I get blue and red for the blue button on the original ir controller.

Another functions are works properly.

Have you got any idea how to fix my led controller (44 button ver.)?
[Galaxy Note 10.1 Themes and Apps] itzikkal:
galaxy s5 update

Make update to galaxy s5

... dosnt working.

the app upload but when you try to tap on/off there popup : java.lang.nullPointerexpection

Hope you cam fix it .. thanks
[Galaxy Note 10.1 Themes and Apps] Smartalk:
Java error message

I think this is a brilliant app. I have been very pleased with it. Does everything that the actual remote control does. However since the lastest samsung update (Galaxy S4) I encounter a problem. The app opens no problem but when you press the on button I get the following error message. Java.lang.NullPointerException. I have reinstalled the old and the latest version of th app but the problem persists. What can I do to resolve this problem please.
[Galaxy Note 10.1 Themes and Apps] DIsenbart:
Note 3 N9005 Android 4.4.2

Leider Fehlermeldung bei jeder Aktion: java.lang.nullPointerexpection :(
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Could anybody with Android 4.4 please try the following version? I hope the Nullpointer Error is fixed:

Test IR LED Control 2.0

Please give me feedback
[Galaxy Note 10.1 Themes and Apps] itzikkal:
not working - s5

dosnt working on galaxy s5 4.4.2

same error : java.lang.nullPointerexpection
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
hm ok, I will try to solve it this weekend.

Could anybody extract the apk file of Smart remote app from S5 and post it here? Maybe the method to send IR codes has changed.
[Galaxy Note 10.1 Themes and Apps] itzikkal:
smart remote s5 folder

i sent the link in privat messege to you iRazoR112
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Since my server crashed, the main download Links are offline. Please use the alternative links at the bottom of the first post until the main links are back online.
[Galaxy Note 10.1 Themes and Apps] musicdjm:
working version yet?

Do you happen to have an ETA buddy on when the 4.4 bug might be fixed? When i found this app i was so excited, i have had these leds installed in my house for over a year now and cant wait to be able to control them over my Galaxy Note 10.1
[Galaxy Note 10.1 Themes and Apps] Masske:
Hi, has development of this app been discontinued? Seems not to work with the s5 right now :(
[Galaxy Note 10.1 Themes and Apps] magatsu82:
I was so excited about this app, too sad dev stopped working : ( does anyone have the 2.0 version? cause the link is down
[Galaxy Note 10.1 Themes and Apps] schnappie:
Mine is similar to deamons

Nothing happens.....

.

....Offensichtlich, wird/ist das hier 'n aussterbender fred.
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
Japp
[Galaxy Note 10.1 Themes and Apps] kevinlieb:
I attempted to convert the app to use Context.CONSUMER_IR_SERVICE instead of the previous way, which doesn't seem to be supported on my phone (Samsung Note 4 with 4.4.4 KitKat. So calls to transmit IR are like:

ConsumerIrManager irdaService = (ConsumerIrManager)getSystemService(Context.CONSUMER_IR_SERVICE);

then

irdaService.transmit(37500, theArray);

where theArray is an array of integers instead of a string.

That all being said: it doesn't actually work. I got this to work in another IR transmitting app I am using but not this one. I'm still not sure why.

transmit() requires length of pulses: alternating length of high and length of low. I am assuming that is what these are too but I'm not sure. If anyone else has made progress on this please let me know. In the meantime I will post if I make any progress getting this to work.
[Galaxy Note 10.1 Themes and Apps] kevinlieb:
Actually now when I press the button the lights turn off and on. This probably least means the controller "sees" my message but it isn't quite right. Anyone have any ideas?
[Galaxy Note 10.1 Themes and Apps] wesblack:
Source Code

Can you tell me what development platform your source code is compiled in.

Thanks!
[Galaxy Note 10.1 Themes and Apps] kevinlieb:
I am using Android Studio. Free from Google.

Is that what you mean?

Compiling for API level 19
[Galaxy Note 10.1 Themes and Apps] wesblack:
Source Code

Yes!, Thanks for your quick response.
[Galaxy Note 10.1 Themes and Apps] wesblack:
Current Source Code

I am getiing the following error:java.lang.Null Pointer Exception on my Samsung phone.

Any fix for this?

Thanks!
[Galaxy Note 10.1 Themes and Apps] iRazoR112:
What phone are you using? Usually that error occures when your phone doesn't have an IR interface?!
[Galaxy Note 10.1 Themes and Apps] kevinlieb:
I have a fix for the null pointer exception but I can't figure out how to contribute the code back. And: it doesn't actually work. I will try to contact the original author and see if I can contribute my fix.
[Galaxy Note 10.1 Themes and Apps] Paulmaters:
How to control settings

Hi, I think your control interface for the LED light patterns is great, is it possible to have a programmed light setting start when I walk into my Home theatre and touch the system on? and Please explain how.

Also, where did you buy the light kit from and how long can the LED stripe be?

thanks Paulmaters
[LG Optimus 4X HD] laufersteppenwolf:
Hey guys

after the flood of files i recieved after my request in the JB discussion thread, i'm gonna ask for them here again ;)

could anyone with a "real" euro-open phone (whichs BL is unlockable/unlocked) please upload his/her build.prop, default.prop and /data/property/persist.sys.country file

thanks in advance :)

PS: it doesn't matter if leaked or official, as long as it is unlocked/unlockable
[LG Optimus 4X HD] RuedasLocas:
I don't have "/data/property/persist.sys.country", property folder is empty...

Here the other two files:

View attachment 1861260

View attachment 1861261

My device is APOLBK, I'm on Official Euro_Open V20A, unlocked bootloader.
[LG Optimus 4X HD] laufersteppenwolf:
thanks :)

empty??? mine's full of files... @4non sent me the files too....
[LG Optimus 4X HD] RuedasLocas:
I don't have any, zero :angel:

Maybe the secret is to don't have them... :D
[LG Optimus 4X HD] laufersteppenwolf:
well, i've unlocked mine, but they are there before and after ;) :D
[Java for Android App Development] :
Here are few useful code snippets to help android app developers.

How to get CPU architecture:

This could be useful when you include native libraries or binaries with your app to determine what CPU architecture device is.

public static String getAbi(){
String abi = android.os.Build.CPU_ABI;
if(abi.contains("armeabi")){
return "arm";
}
else if(abi.contains("x86")){
return "x86";
}
else if(abi.contains("mips")){
return "mips";
}
else{
return "arm";
}
}

It returns arm if CPU its not any these three, which might be wrong, but it works for me so...

Convert size in byte to Human Readable String

public static String byteToHumanReadableSize(long size)
{
String hrSize = "";
long b = size;
double k = size / 1024.0;
double m = size / 1048576.0;
double g = size / 1073741824.0;
double t = size / 1099511627776.0;

DecimalFormat dec = new DecimalFormat("0.00");

if (t > 1)
{
hrSize = dec.format(t).concat("TB");
}
else if (g > 1)
{
hrSize = dec.format(g).concat("GB");
}
else if (m > 1)
{
hrSize = dec.format(m).concat("MB");
}
else if (k > 1)
{
hrSize = dec.format(k).concat("KB");
}
else if (b > 1)
{
hrSize = dec.format(b).concat("B");
}
return hrSize;

}

Get free/total/used memory on SD and internal storage.

public static long getAvailableSpaceInBytesOnInternalStorage()
{
long availableSpace = -1L;
StatFs stat = new StatFs(Environment.getDataDirectory().getPath());
availableSpace = (long) stat.getAvailableBlocks()
* (long) stat.getBlockSize();

return availableSpace;
}

public static long getUsedSpaceInBytesOnInternalStorage()
{
long usedSpace = -1L;
StatFs stat = new StatFs(Environment.getDataDirectory().getPath());
usedSpace = ((long) stat.getBlockCount() - stat.getAvailableBlocks())
* (long) stat.getBlockSize();

return usedSpace;
}

public static long getTotalSpaceInBytesOnInternalStorage()
{
long usedSpace = -1L;
StatFs stat = new StatFs(Environment.getDataDirectory().getPath());
usedSpace = ((long) stat.getBlockCount()) * (long) stat.getBlockSize();

return usedSpace;
}

public static long getAvailableSpaceInBytesOnExternalStorage()
{
long availableSpace = -1L;
StatFs stat = new StatFs(Environment.getExternalStorageDirectory()
.getPath());
availableSpace = (long) stat.getAvailableBlocks()
* (long) stat.getBlockSize();

return availableSpace;
}

public static long getUsedSpaceInBytesOnExternalStorage()
{
long usedSpace = -1L;
StatFs stat = new StatFs(Environment.getExternalStorageDirectory()
.getPath());
usedSpace = ((long) stat.getBlockCount() - stat.getAvailableBlocks())
* (long) stat.getBlockSize();

return usedSpace;
}

public static long getTotalSpaceInBytesOnExternalStorage()
{
long usedSpace = -1L;
StatFs stat = new StatFs(Environment.getExternalStorageDirectory()
.getPath());
usedSpace = ((long) stat.getBlockCount()) * (long) stat.getBlockSize();

return usedSpace;
}

Basic stuff really, but it could be useful to some.

Please share if you have anything good :)
[Java for Android App Development] psx2pal:
add Samsung MultiWindow support for your app

With this code snippet you can add multiwindow support for samsung devices.

open your AndroidManifest.xml.

Search for your main activity: (example)

<activity
android:name="com.myapp.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

and change it to:

<activity
android:name="com.myapp.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />

</intent-filter>
</activity>

<uses-library
name="com.sec.android.app.multiwindow"
required="false" >
</uses-library>

For more examples and options see http://developer.samsung.com/androi...-Desk-Chapter-7-Applying-Multi-Window-Feature

(You can set max and min windowsize and so on.)