Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Vijfhoek on November 18, 2012, 10:00:55 am

Title: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 10:00:55 am
Because I was bored, I decided to start on an Android app, to allow people to connect their TI calculators to their Android devices using a USB On-The-Go cable.
Currently I am working on support for the TI-84+. Whenever that's finished, I'll get to work on other calculators, like the Nspires and the TI-89Ti.

I just finished writing the calculator recognition code, and the File Manager will launch whenever users plug their TI into their device.


Please ignore the weird static in the last part of the video.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: ruler501 on November 18, 2012, 10:01:49 am
Nice this could be really useful for school where they dont let us plug anything into computers.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 10:02:25 am
Exactly, that's one of the reasons why I'm doing this :D
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Keoni29 on November 18, 2012, 10:02:47 am
I hope android TI emulators like wabbitemu or andiegraph will be able to link to real TI calcs in the future using this technique!
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 10:03:23 am
It's really not hard to implement, I have no idea why those emulators haven't done that yet..
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Keoni29 on November 18, 2012, 10:03:51 am
The people who wrote them have full time jobs :P
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Streetwalrus on November 18, 2012, 10:44:30 am
Nice ! I should port TiLP to iOS sometime.
Nice this could be really useful for school where they dont let us plug anything into computers.
Really ? In my school's library, they don't care about what you do on the computers. I installed Ubuntu on one of them and hid the GrUB menu. The librarian didn't pay any attention when I put the CD in the drive right under her eyes. :P Plus this gives me a root access and TiLP.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 10:45:30 am
We have thin clients on which the USB ports are disabled
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Streetwalrus on November 18, 2012, 10:56:09 am
Thin clients ? ???
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Lionel Debroux on November 18, 2012, 11:04:21 am
Quote
I should port TiLP to iOS sometime.
Rewrite entirely, maybe.
Port, well... GPL'ed C (native) code isn't exactly the kind of things that Apple wants ;)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Streetwalrus on November 18, 2012, 11:11:22 am
I don't plan to put it on the AppStore ($ 100 a year is way too expensive), but on a Cydia/APT repository (for jailbroken devices). :P I was thinking about porting libti* and rewriting my own GUI. ;)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 11:23:26 am
Thin clients ? ???
A very low-end computer which is meant to connect to a server over RDP/VNC/whatever
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Lionel Debroux on November 18, 2012, 11:24:18 am
For instance, the Sun Ray crap.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Streetwalrus on November 18, 2012, 11:29:30 am
I see. That's kinda like when computers were huge and enterprises only had one with a bunch of terminals.
My school has dedicated comps with a file server to store stuff (but no one uses this).
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Adriweb on November 18, 2012, 12:33:44 pm
I don't plan to put it on the AppStore ($ 100 a year is way too expensive), but on a Cydia/APT repository (for jailbroken devices). :P I was thinking about porting libti* and rewriting my own GUI. ;)
I have a paid Developer subscription, if you want it hosted ;)
But I'm afraid it's not gonna be possible on non-jailbroken devices anyway :( (hw access etc.)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: ExtendeD on November 18, 2012, 12:38:42 pm
Nice project :)

It's really not hard to implement, I have no idea why those emulators haven't done that yet..

I am not sure it's that easy.
I your case I suppose that the Android phone acts as a USB host and implements TI's protocol.
In the case of an emulator it would have to interface with TI's specific USB controller I/O ports, then forward this to the computer USB port as a host. And maybe this wouldn't be possible if TI's protocol requires the emulated calculator to act as a USB device.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: _Nicco_ on November 18, 2012, 01:22:02 pm
This sounds great!

When you are done are you going to put it on the Play Store?
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 01:42:48 pm
I have no idea when I'm going to finish, and I'll have it on the Play Store when I at least finished support for the 84+ (the 84+(C)(SE), 89(Ti) and the Nspires are the only calcs with USB right?).

Also, registering an developer account on the Play Store costs 25 dollars, I don't know if I'll have that available by the time I finish.

I think it's best for everyone If I make it ad-supported until I break even with the development costs.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: _Nicco_ on November 18, 2012, 01:53:06 pm
I have no idea when I'm going to finish, and I'll have it on the Play Store when I at least finished support for the 84+ (the 84+(C)(SE), 89(Ti) and the Nspires are the only calcs with USB right?).

Also, registering an developer account on the Play Store costs 25 dollars, I don't know if I'll have that available by the time I finish.

I think it's best for everyone If I make it ad-supported until I break even with the development costs.

You can have a version with ads and then a donate version that would cost $1.00 or so and it would be ad free.  I'm sure that people wont mind the ads since you do have fees and you spend time working on the app.  If you want you could probably even remove the ads on the free version once you break even with an update.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: DJ Omnimaga on November 18, 2012, 02:20:22 pm
This is very nice, but I wonder if Android browsers lets you download non-music/image files? I remember trying to download Omnimaga attachments before and would get errors about invalid file types. ???
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 02:33:44 pm
Pretty sure it does let you download, and it does store the file, but it just gives an error for whatever reason.

Anyway, this has nothing to do with browsers, this is an app that'll store the variables in its own files, allowing you to use Android's share function to mail/upload/send over skype/send over whatsapp/whatever, or edit the 8xp files in a editor I might make later on.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: DJ Omnimaga on November 18, 2012, 02:36:43 pm
Yeah I was asking because we need browsers to get files on our android device if we happen to have no computer access and download a calc game from your mobile phone to send to your calc. :P

Also an editor would be nice, especially if it has support for the sliding keyboard on some phones as well.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on November 18, 2012, 02:43:40 pm
I guess I could make a token-based keyboard for tablets, which probably can show all the tokens at the same time because of screen size. That would make for some really efficient Axe/BASIC coding..

Also, that Swype stuff won't really work, seeing that it uses a dictionary to see which keys to use, and then the user would have to add all tokens to the dictionary, messing up their normal predictions.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: DJ Omnimaga on November 18, 2012, 11:09:05 pm
Yeah, easy access to tokens would definitively help (especially if it has a similar layout as the PRGM token menu. And I see about the swype keyboard. I thought it would work since every application I have for Android supports it (although some do not support its enter key)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: aeTIos on November 22, 2012, 05:32:03 am
Looks cool! Though I don't have an android device (I do own an Ndroid though. :P)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Vijfhoek on March 04, 2013, 06:19:03 pm
Just a keepalive, this project isn't dead yet. A Cyanogenmod update for my phone broke the USB OTG feature and I'm waiting for it to be fixed... although it has been taking way too long, might want to look around on XDA someday.

Until that, I'm putting this project on hold.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: DJ Omnimaga on March 04, 2013, 08:13:35 pm
I would recommend staying away from Cyanogen. Juju installed it on his phone months ago and it has been crashing every 2 minute ever since (making it very hard for me to stay in touch with him outside the Internet). Cyanogen is just the cancer of phones.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Juju on March 04, 2013, 08:15:01 pm
I would recommend staying away from Cyanogen. Juju installed it on his phone months ago and it has been crashing every 2 minute ever since (making it very hard for me to stay in touch with him outside the Internet). Cyanogen is just the cancer of phones.
Well, that depends. I installed an unofficial version on my phone, that might be why.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: DJ Omnimaga on March 04, 2013, 08:23:19 pm
I think it only runs decently if your phone has over 16 GB of RAM and runs the latest generation Intel Core i7 processors.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Juju on March 04, 2013, 08:31:44 pm
Yeah, my phone is a crap-end phone I bought because my other one was broken and barely runs Android 4. It's not even supported lol. I believe mid-to-high-end phones have no problem with Cyanogenmod since it's supported for them.

I should fix my other phone. If there's a way that isn't expensive as fuck.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: FloppusMaximus on March 04, 2013, 09:22:46 pm
To (belatedly) answer the questions about emulators, ExtendeD hit the nail on the head.  Implementing all of the hardware ports on the calc side is rather complicated; I'm planning to do it eventually (in fact, I did some experiments in that direction a couple of years ago), but I haven't found the time to polish it up and make it work properly.  It's also true that for calc-to-calc transfers, the sending OS must be the USB host, which would be a bit of a problem for the typical case of running an emulator on your PC and connecting it to a real 84+.

(It should be possible to make bidirectional transfers work on a device that has an OTG port and runs Linux, although I haven't really investigated how hard that would be - and I doubt any current Android devices ship with kernels that support gadgetfs.)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Juju on March 04, 2013, 09:32:35 pm
Well, you can easily change the kernel of your Android device, but I doubt anyone would do it only so an app that connects with a 84+ works.
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: FloppusMaximus on March 04, 2013, 09:35:53 pm
Well, I would, but that's why I have an OpenPhoenux. :P
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: Matrefeytontias on March 05, 2013, 01:39:28 am
Will a day 83+ support be possible ? D:
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: CompSystems on March 05, 2013, 06:44:00 am
The idea is to send files between two devices (android devices [ emulators graph89 and andieGraph]  with real calculator or computer)

Emulators: graph89 and andieGraph (ti89, tiv200, ti84, etc) on Android devices at  (play.google.com)

PD
The Emu48-PPC (emulator HP48, HP49) on my Pocket PC is connected to a real calculator or PC, I'll upload a video soon ...

(http://img.photobucket.com/albums/v203/Akrae/HELLOWORLD-1.jpg?t=1352830765)

(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTyV12pdiWOqCYiUKgWw17WEEjkvgQsGpkQwRysRc7IR0AAF75gg)
Title: Re: [WIP] TILinkDroid - A link program for Android devices
Post by: scienceaddict on May 01, 2013, 10:49:09 pm
do you think that you could post the source somewhere (in the google development area, maby), so other people can compile and/or possibly work out bugfixes when you are indisposed, so development can continue. i hate it when development slows or stops on projects that i want to see completed, such as msd8x/usb8x, and i dont want that to happen to this project.