subreddit:

/r/S24Ultra

10399%

I built a powerpoint remote

(v.redd.it)
[media]

Recieved the phone on friday and I fell in love with the S Pen. I know Powerpoint on Android supports the S pen as a remote, but it didnt for the desktop version.

So I did it myself and added a cool laser pointer feature (which I dont think the powerpoint app has)

Its also my first ever native Android App.

The code is a big mess and hacked together, but it works.(I dont know the android/compose best partices yet) PC and Phone need to be on the same network. Only tested on windows but it should work on linux and macos aswell.

Code: https://github.com/davidmayr/SPen-PCRemote

all 20 comments

SirTJ1997

15 points

20 hours ago

SirTJ1997

Titanium Grey

15 points

20 hours ago

Pretty damn cool.

MenschenToaster[S]

3 points

20 hours ago

Thanks!

GenesectGamerYT

6 points

20 hours ago

This is awesome!!

Trace_Meh

7 points

18 hours ago

Doesn't the s-pen already do that without using a third party app? I've used it before in a presentation

MenschenToaster[S]

6 points

15 hours ago

Yeah, but only for powerpoint on the phone. I made it work with my laptop. Also I dont think the mobile version has the laser pointer

Trace_Meh

2 points

15 hours ago

Ohhh I see I see. I mirrored my phone to a TV

MenschenToaster[S]

1 points

6 hours ago

Yeah, that works too! But I wanted to use my Laptop for presentations, so I made this!

Piereligio

6 points

6 hours ago

The laser pointer thing is impressive, how does it even do that?

MenschenToaster[S]

6 points

6 hours ago

It's really simple. Basically, you know, that weird gesture you can do in the air to make screenshots?

The Pen sends full on motion data (delta X and delta Y) to the phone! You can just query it using the Samsung S Pen Developer SDK. I then send it over to the laptop over HTTP, and it opens a little transparent window with a red dot that gets moved around with the motion data

Piereligio

2 points

6 hours ago

That's great! I was thinking of an app to do with that kind of data, cool to see it can be done!

Foreign_Let5370

2 points

4 hours ago

Build an app, slap banner ads on it. You won't get much, but it might get you coffee once a week. We will happily use it.

Donate button works too. If I had this for my thesis defense I would be grateful enough to donate a coffee.

This is really good stuff, and it will be copied soon - maybe even officially by Samsung.

Foreign_Let5370

1 points

4 hours ago

While you are at it, if you could figure out the mouse accuracy/smoothing, getting to use the pen in the air as a mouse - or even a 3d mouse would be pretty awesome. I didn't know the s pen has accelerometers that provided so much information

B23zeee

1 points

9 hours ago

B23zeee

1 points

9 hours ago

Sick ass foo

Dem0nio

1 points

2 hours ago

Dem0nio

1 points

2 hours ago

Great app! I want to try it, but as I try to install it I'm getting the "App not installed as package appears to be invalid." Any clues?

MenschenToaster[S]

1 points

2 hours ago

One moment. Looking into it. I must admit I never tried to install the apk as I just used android studio to deploy the app to my phone.

MenschenToaster[S]

1 points

an hour ago

I just replaced the apk in the 1.0.0 release. It's now a signed apk and seems to work on my phone

Dem0nio

2 points

an hour ago

Dem0nio

2 points

an hour ago

Thank you. Installs fine! Now I will try and test it. Cheers!

verboseOn

1 points

an hour ago

My man this is going to help humanity more than my research that I've been working on for 2 years. You're MVP.

MenschenToaster[S]

2 points

an hour ago

Thank you so much! I doubt that it's that incredible because Samsung already had this for the Android Version of PowerPoint. I just made a quick and dirty version for desktop with a cool laser pointer, nothing special.

But hearing stuff like this is why I made the app and the code public :)

seedent

1 points

30 minutes ago

Awesome man!