Showing posts with label tetheringindicator. Show all posts
Showing posts with label tetheringindicator. Show all posts

Tuesday, 4 September 2012

Tethering indicator... on github!

Ok!
First Alpha of Tethering Indicator is out!

 The client application on mac... as you can see the connection of the phone was 2G :/


It is not perfect.. and a little buggy.. but it works... need improvements and the main ingredient of all good application... TIME!

So for now I will stop to develop it , but I have commited the code on github .. so anyone that wants to try it ... can test it, improve it and change it :)
I'm not so good with osx development (I'm a bit new) so I hope that someone will change and fix the code... so I can learn something too :)

I'm not leaving the project, I've just want to develop something different for the next month
I will publish update everytime I can!
GITHUB TETHERING INDICATOR

Other post about tetheringindicator here

Tuesday, 21 August 2012

Tethering Indicator: start simple grow complex

I'm back from holidays... but during it, I did something on my tethering indicator project.
It was thinked as a simple application.. and now it is no-more a pure simple activity that talks with bluetooth..but something more complex.

The apps on the phone, is composed by 2 part:
- a service that make available data through bluetooth and show a notification whenever it is started.
- an activity that talks to the previous service for control and send command like: start/stop service.
It was not easy to understand how to make the activity bind and unbind correctly from the service, also when the activity die,  but after some test and research I did it.

This is a simplified diagram of the actual architecture :
I didn't released the code now, but I will do very soon, at least for the android server, when it will be enough good.
For now the program on the phone works.

Monday, 30 July 2012

A new project: a Tethering Indicator

Scenario
I usually take a train in the weekend and travel for 150 km with my Macbook or Tablet connected to my Android phone in tethering mode by bluetooth or wifi.
While I travel by the train, my phone is usually inside my bag and I only have in front of me the Macbook...  I check only sometimes the phone but it is mainly inside my bag.
During my travel the phone connection change a lot and pass in one of this state: no connection, only phone network, 2G or 3G.
What I'm searching to create is an app on the phone that talk with my macbook and regularly send information of the network state of the phone.


How should it work?
These are the step that I have in mind:
  • I launch the apps on the phone and start the bluetooth server
  • I launch the application on the mac
  • I establish from the mac the connection with the phone
  • On the Mac menubar, an Icon display the state of the phone's connection.
This is the basic idea.. but I have some new improvements in mind.




What have I done till now?
The first version of the mac client is in "under construction" state..  The application is capable to connect to the phone but I don't know, for now, how to put and change an icon on the menu bar for the various phone connection state... Need to go deep about it.

Android side is in progres: it is capable to create a bluetooth server and send informations to the connected client back...
Something on the android client will be visible tomorrow soon.

Other platform?
Of Course!
stay tuned.