Today I got next e-mail from Zoho saying that they stopped supporting of HTTP connections, but users of my app are still using HTTP, so Zoho will extend time for moving to HTTPS for me, but I should change my code.
I like it :-)
So I'm doing it ;-)
As a result of this we have today new version 2.4.0 of OOo2GD ;-)
New:
- near name of document/spreadsheet/presentation in Google Docs you can see folder/collection name for this item,
- under items list in Google Docs you may see row of "buttons" named as folders/collections in your Google Docs, clicking on it will filter list of items only to those with this "label".
Changes:
- from now all communication with Zoho will be done over HTTPS (Google Docs communication should work on HTTPS from some time)
As for now OOo2GD doesn't support uploading of files without conversion, I cannot possibility to test it yet. But when Google will add this feature to any of my accounts I will start on adding this to OOo2GD.
As always, you can download new version of OOo2GD from OOo2GD page in extensions repository, or from project page :-)
Similar postsbeta
OOo2GD - surveys results
OOo2GD 2.1.0 - filtering, sorting and more *nix friendly config file names
OOo2GD 2.1.1 is ready :-)
OOo2GD 1.5.0 - we can download spreadsheets :-)
OOo2GD 1.5.1 Birthday Edition ;-)
Thursday, May 12, 2011
Saturday, April 16, 2011
CallLoger ;-) Invigilate yourself ;-)
I like Android, it is a dream for programmer :-)
Some time ago I saw presentation prepared by some EU Parliament member who wanted to show how many cell operators know about you.
It was "movie" showing location of this person with information about calls and network usage.
I always knew that cell operators had such data, it is part of technology. Your internet provider also know Mac address of your computer or router. Cell operators know always where is your phone because in case of call they need to route transmission to proper BTS. So your phone login into BTS, or many BTSes (it depends from this which standard it is and so on)... So I wasn't shocked but I wonder "how difficult" will be to do something similar using only phone? ;-)
It looks that it isn't too difficult ;-)
First we need to handle incoming and outcoming calls. To do this we need to register ourselves for receiving some broadcasts: android.intent.action.PHONE_STATE and android.intent.action.NEW_OUTGOING_CALL.
How to do it I found here.
Next we need to create service which will obtain localisation, and will store into file info about time of call, direction (so incoming or outcoming), phone number, localisation (so latitude and longitude), accuracy of location, provider name (so GPS or Network, where Network describes both cell network and WiFi network), and if we will be able also "address". This is easy part, and most tricky thing for me was to wrote it in this way that we first will try to use GPS, and if we will not have location from GPS in 5 seconds we will try to use Network.
Last part is code for displaying results of our autoinvigilation ;-)
Here results on my Nexus S :-)
Here sample with result from Network (WiFi):

How you can see we have here rather good accuracy, about 60 meters (radius of circle shows accuracy). Btw. it is near KRK Google office ;-)
Here you can see more "global" ;-) view. Little circle near upper left corner is this what you saw on picture above:

Here how looks my all connections to now, from the right you can see Kraków and my connections in Kraków (those you can see on pictures above):

And now how it looks when almost only GSM network is used ;-)


If you are interesting in seeing the code, you can find it here.
If you want APK file, you may find it here.
Isn't it cool that you can write something like this in less than 300-400 lines? :-)
Similar postsbeta
Know country behind apps on your phone....
Calculation of SSD life time in EEE PC
Chrome2Chrome - lets move browser tabs between computers ;-)
OOo2GD - surveys results
Programmers love to over complicate...
Some time ago I saw presentation prepared by some EU Parliament member who wanted to show how many cell operators know about you.
It was "movie" showing location of this person with information about calls and network usage.
I always knew that cell operators had such data, it is part of technology. Your internet provider also know Mac address of your computer or router. Cell operators know always where is your phone because in case of call they need to route transmission to proper BTS. So your phone login into BTS, or many BTSes (it depends from this which standard it is and so on)... So I wasn't shocked but I wonder "how difficult" will be to do something similar using only phone? ;-)
It looks that it isn't too difficult ;-)
First we need to handle incoming and outcoming calls. To do this we need to register ourselves for receiving some broadcasts: android.intent.action.PHONE_STATE and android.intent.action.NEW_OUTGOING_CALL.
How to do it I found here.
Next we need to create service which will obtain localisation, and will store into file info about time of call, direction (so incoming or outcoming), phone number, localisation (so latitude and longitude), accuracy of location, provider name (so GPS or Network, where Network describes both cell network and WiFi network), and if we will be able also "address". This is easy part, and most tricky thing for me was to wrote it in this way that we first will try to use GPS, and if we will not have location from GPS in 5 seconds we will try to use Network.
Last part is code for displaying results of our autoinvigilation ;-)
Here results on my Nexus S :-)
Here sample with result from Network (WiFi):

How you can see we have here rather good accuracy, about 60 meters (radius of circle shows accuracy). Btw. it is near KRK Google office ;-)
Here you can see more "global" ;-) view. Little circle near upper left corner is this what you saw on picture above:

Here how looks my all connections to now, from the right you can see Kraków and my connections in Kraków (those you can see on pictures above):

And now how it looks when almost only GSM network is used ;-)


If you are interesting in seeing the code, you can find it here.
If you want APK file, you may find it here.
Isn't it cool that you can write something like this in less than 300-400 lines? :-)
Similar postsbeta
Know country behind apps on your phone....
Calculation of SSD life time in EEE PC
Chrome2Chrome - lets move browser tabs between computers ;-)
OOo2GD - surveys results
Programmers love to over complicate...
Tuesday, February 15, 2011
Watcher ;-)
I already flooded my Polish blog with pictures of one of my Android figures ;-) exactly this one which stays in my office, and watch for my company laptop ;-)
Here another one, this was watching my telescope ;-) (Dobson 8 inches, and it isn't exactly mine, it belongs to my mother, but because I "trade" it with her for Galileoscope I call it mine ;-))

Btw. I'm trying to attach to this post my localization (but I'm not sure if this blog will able to show it) as a part of testing for something what I want to add to Bloggeroid :-)
Here another one, this was watching my telescope ;-) (Dobson 8 inches, and it isn't exactly mine, it belongs to my mother, but because I "trade" it with her for Galileoscope I call it mine ;-))

Btw. I'm trying to attach to this post my localization (but I'm not sure if this blog will able to show it) as a part of testing for something what I want to add to Bloggeroid :-)
posted from Bloggeroid
Similar postsbeta
Just testing my new Android app for blogging on Blogger :-)
Amazon Prime Video suxx
Alexa... What to do with her?
CallLoger ;-) Invigilate yourself ;-)
From Nexus 6 to Pixel XL :-)
Thursday, January 6, 2011
Chrome2Chrome - lets move browser tabs between computers ;-)
Some time ago I created new plugin for Google Chrome.
It is called Chrome2Chrome and works similar to Chrome2Phone. But instead of sending pages to your Android phone it is able to send page to another computer with Chrome :-)
Here video showing how it works :-)
Now some details ;-)
If you are using 2 or more computers, sometimes you are reading something on one computer and want to change computer and you may like open on second computer those tabs which you have on first machine.
Normally you may copy addresses of pages and send it to yourselves by e-mail, you may try to type addresses again by hand, you may add page to bookmarks, etc.
With Chrome2Chrome you simply need to click on Chrome2Chrome icon, choose computer where you want to send this tab and this is everything what you need to do :-)
Chrome2Chrome will "move" your tab to selected Chrome installation.
It's not a magic ;-) it's crafty usage of Google Docs ;-).
When you sends your page to another computer Chrome2Chrome creates special file in Google Docs in folder Chrome2Chrome, and second computer reads this file and opens new tab with address from this file :-)
Warnings:
Chrome2Chrome generate rather big traffic, it may be about 10 MB per day (count as 24 hours) per one browser. So if you want to use it on Cr48 you should know that it may simply eat your whole 3G transfer.
Chrome2Chrome creates some files in your Google Docs, all those files are placed in folder Chrome2Chrome, but are also visible in "All items" in Google Docs.
Chrome2Chrome stores your Google Account credentials in your Chrome, so NEVER use it on machine where somebody may have access to it.
It's beta, so it may have some problems :-) After installation you need to go to Chrome2Chrome icon and provide your Google Account credentials, and name of computer. This name will identify browser.
After setting Google Account credentials and computer name you should wait about 15 seconds and go again to Chrome2Chrome icon and to check if you can see this newly "crated" computer in "Send To", if not, please repeat setting name and credentials.
I never had problems here, but I heard about people who had problems...
You may download Chrome2Chrome from Chrome Web Store:-)
Hope you like it :-)
Similar postsbeta
My road to automation ;-)
How to get negative number from size() in LinkedList in Java? ;-)
CallLoger ;-) Invigilate yourself ;-)
OOo2GD - surveys results
ePubGenerator v0.0.3 - from OpenOffice.org to EPUB :-)
It is called Chrome2Chrome and works similar to Chrome2Phone. But instead of sending pages to your Android phone it is able to send page to another computer with Chrome :-)
Here video showing how it works :-)
Now some details ;-)
If you are using 2 or more computers, sometimes you are reading something on one computer and want to change computer and you may like open on second computer those tabs which you have on first machine.
Normally you may copy addresses of pages and send it to yourselves by e-mail, you may try to type addresses again by hand, you may add page to bookmarks, etc.
With Chrome2Chrome you simply need to click on Chrome2Chrome icon, choose computer where you want to send this tab and this is everything what you need to do :-)
Chrome2Chrome will "move" your tab to selected Chrome installation.
It's not a magic ;-) it's crafty usage of Google Docs ;-).
When you sends your page to another computer Chrome2Chrome creates special file in Google Docs in folder Chrome2Chrome, and second computer reads this file and opens new tab with address from this file :-)
Warnings:
Chrome2Chrome generate rather big traffic, it may be about 10 MB per day (count as 24 hours) per one browser. So if you want to use it on Cr48 you should know that it may simply eat your whole 3G transfer.
Chrome2Chrome creates some files in your Google Docs, all those files are placed in folder Chrome2Chrome, but are also visible in "All items" in Google Docs.
Chrome2Chrome stores your Google Account credentials in your Chrome, so NEVER use it on machine where somebody may have access to it.
It's beta, so it may have some problems :-) After installation you need to go to Chrome2Chrome icon and provide your Google Account credentials, and name of computer. This name will identify browser.
After setting Google Account credentials and computer name you should wait about 15 seconds and go again to Chrome2Chrome icon and to check if you can see this newly "crated" computer in "Send To", if not, please repeat setting name and credentials.
I never had problems here, but I heard about people who had problems...
You may download Chrome2Chrome from Chrome Web Store:-)
Hope you like it :-)
Similar postsbeta
My road to automation ;-)
How to get negative number from size() in LinkedList in Java? ;-)
CallLoger ;-) Invigilate yourself ;-)
OOo2GD - surveys results
ePubGenerator v0.0.3 - from OpenOffice.org to EPUB :-)
Wednesday, January 5, 2011
Google Buzz - let's mark some comments as not spam ;-) or how to unhide "hidden" comments ;-)
[this is translation from my blog post in Polish, so sorry for strange language ;-)]
I think Google Buzz is the best social network/system. FB is way too boring, Twitter with 140 characters is too cryptic for me, but Google Buzz is perfect.
But Google Buzz has some problems ;-) It can hide some comments......
After my investigation I think I found solution for this problem ;-) It will require some effort, but if you like your followers you may do some work for them ;-)
Lets start from some observation. All comments to your Buzz posts are visible in your stream when you are using API, but in web interface some comments disappear. You cannot see some comments on your profile (here is my profile ;-)).
But if you will go to your stream in GMAIL (by click on your profile in Buzz in GMAIL), what looks like this:

and will inspect comments with DOM Inspector or something similar (I was using Chrome developers tools) you will see that in DOM you have those invisible comments....
Here such post, on the first sight it looks that it has only 2 comments (sorry, it is in Polish, but we are interested only in this that here we can see only 2 comments):

But when we will inspect this with DOM inspector, we will see that one comment is hidden:

This hidden comment is differ from the rest of comments, it has additional class "zl", deleting of this class will cause that we will see this "invisible" comment:

How you can see this comment is crossed out, but visible.
But it isn't end yet.
If you will look into DOM, you will see that one of child nodes of node with this comment is:

So it has some "buttons", but those "buttons" aren't visible.
Inspecting other nodes we will find that one of those "buttons", exactly "Not Spam" is visible when we will add to this node class "xq":

When we will add this class, comment will look like this:

Now you may click Not Spam, and if you will do it, GMAIL will send request to URL
https://mail.google.com/mail/?ui=2&ik=<user_ID?>&rid=mail%3Ara.14bf.5.0&at=<some other user_ID?>&view=up&act=ra&rai=<post_ID>&raat=NOT_SPAM&_reqid=1783035&pcd=1&mb=0&rt=j
After click, this comment will change to:

And now the best part ;-) It will be visible for everyone who is able to see this buzz.
Now some code ;-)
If you have problems with Google Buzz and you want to be able to "restore" comments in way as I shown, here you will find some code.
You need to put it in address bar, or add it as bookmark and use this bookmark, when you will be on your stream view in GMAIL (my stream is visible on first image, to see your stream go to Buzz in GMAIL and click on your name :-)):
This is "delicate" or "subtle" version, which may don't work sometimes. In this case here you have more brutal way:
Because GMAIL is dynamic, you should run this code several times, till you will not see 0 in each alert message :-)
Now you may click on Not Spam and mark comments as not spam :-)
Hope it will help somebody ;-)
Similar postsbeta
Buzz Troll Remover v0.3.2
How to get negative number from size() in LinkedList in Java? ;-)
OOo2GD - surveys results
I want my Android back!!!!
Programmers love to over complicate...
I think Google Buzz is the best social network/system. FB is way too boring, Twitter with 140 characters is too cryptic for me, but Google Buzz is perfect.
But Google Buzz has some problems ;-) It can hide some comments......
After my investigation I think I found solution for this problem ;-) It will require some effort, but if you like your followers you may do some work for them ;-)
Lets start from some observation. All comments to your Buzz posts are visible in your stream when you are using API, but in web interface some comments disappear. You cannot see some comments on your profile (here is my profile ;-)).
But if you will go to your stream in GMAIL (by click on your profile in Buzz in GMAIL), what looks like this:

and will inspect comments with DOM Inspector or something similar (I was using Chrome developers tools) you will see that in DOM you have those invisible comments....
Here such post, on the first sight it looks that it has only 2 comments (sorry, it is in Polish, but we are interested only in this that here we can see only 2 comments):

But when we will inspect this with DOM inspector, we will see that one comment is hidden:

This hidden comment is differ from the rest of comments, it has additional class "zl", deleting of this class will cause that we will see this "invisible" comment:

How you can see this comment is crossed out, but visible.
But it isn't end yet.
If you will look into DOM, you will see that one of child nodes of node with this comment is:

So it has some "buttons", but those "buttons" aren't visible.
Inspecting other nodes we will find that one of those "buttons", exactly "Not Spam" is visible when we will add to this node class "xq":

When we will add this class, comment will look like this:

Now you may click Not Spam, and if you will do it, GMAIL will send request to URL
https://mail.google.com/mail/?ui=2&ik=<user_ID?>&rid=mail%3Ara.14bf.5.0&at=<some other user_ID?>&view=up&act=ra&rai=<post_ID>&raat=NOT_SPAM&_reqid=1783035&pcd=1&mb=0&rt=j
After click, this comment will change to:

And now the best part ;-) It will be visible for everyone who is able to see this buzz.
Now some code ;-)
If you have problems with Google Buzz and you want to be able to "restore" comments in way as I shown, here you will find some code.
You need to put it in address bar, or add it as bookmark and use this bookmark, when you will be on your stream view in GMAIL (my stream is visible on first image, to see your stream go to Buzz in GMAIL and click on your name :-)):
javascript:{var z=document.getElementById("canvas_frame").contentDocument.getElementsByClassName("zl"); for (var i=0; i<z.length; i++) z[i].className=z[i].className.replace("zl",""); alert("unhide "+z.length+" items."); var z2=document.getElementById("canvas_frame").contentDocument.getElementsByClassName("I0 Yc"); for (var i=0; i<z2.length; i++) z2[i].className=z2[i].className+" xq"; alert("added Not Spam to "+z.length+" items.");}
This is "delicate" or "subtle" version, which may don't work sometimes. In this case here you have more brutal way:
javascript:{var z=document.getElementById("canvas_frame").contentDocument.getElementsByClassName("zl"); for (var i=0; i<z.length; i++) z[i].className=z[i].className.replace("zl",""); alert("unhide "+z.length+" items."); var z2=document.getElementById("canvas_frame").contentDocument.getElementsByClassName("I0 Yc"); for (var i=0; i<z2.length; i++) z2[i].className=z2[i].className+" xq"; var z3=document.getElementById("canvas_frame").contentDocument.getElementsByClassName("nH Yi"); for (var i=0; i<z3.length; i++) z3[i].className=z3[i].className.replace("Yi","Yf"); alert("unhide "+z3.length+" items."); alert("added Not Spam to "+z.length+" items.");}
Because GMAIL is dynamic, you should run this code several times, till you will not see 0 in each alert message :-)
Now you may click on Not Spam and mark comments as not spam :-)
Hope it will help somebody ;-)
Similar postsbeta
Buzz Troll Remover v0.3.2
How to get negative number from size() in LinkedList in Java? ;-)
OOo2GD - surveys results
I want my Android back!!!!
Programmers love to over complicate...
Wednesday, December 15, 2010
OOo2GD - surveys results
Let's start from old one ;-)
By last 2 years 1238 people used survey to say for what they are using OpenOffice.org2GoogleDocs, and share with some ideas.
92% of all users uses OOo2GD mostly to work with Google Docs, next 4% for Zoho, and another 4% for WebDAV.
Here short list of those things which users wants and my comments :-)
Possibility to work with non converted documents - I like idea, but Google Docs API allows only to work with such documents when you are Google Apps user, so it will not be a feature for all users, and I'm not able to test it.
Support folders - I'm near of it, I think I will use "gmail approach", so instead showing standard folders [which may complicate UI] I think about using folders as labels in GMAIL, and about adding at the bottom or top of files list buttons with folders names to filter only given folder.
Mac OS support - yeah, I know it is broken now, and I have not idea how to fix it. If you know Java and have a Mac, I want to ask you for your help :-) If you have Mac, and you aren't Java programmer, but you are super calm, I want to ask you for make some tests (for example, you may test older versions of OOo2GD to check if any of them looks good, you may also test other Java/Swing extensions on Mac to check if this problem is OOo2GD specific)
Official Google support - lets say it in this way, my favorite comment is: "Would like official support from Google.
I think this is the missing link in bridging the Cloud OS Google Docs to Local computing.
Google should buy this from Mr. Przemyslaw and ask him to integrate it with Google Chrome OS." ;-) So I would like to make it more official, but here is move on Google side, not mine :-( But I doubt, I suppose that OOo2GD is too small to be even visible in Google logs :-)
Next survey, this time it was survey if you as users will consider donating OOo2GD with 5 USD to collect list fee for adding OOo2GD to Google Marketplace.
We have 50% votes for Nope, and 50% for Yes.
So I would rather not work on it :-)
As I wrote earlier, if nobody will want to participate, but a lot of people will want adding of OOo2GD to Google Marketplace I will pay those 100 USD it will not kill me ;-) but I don't want to spend money when nobody needs it :-)
Similar postsbeta
It's alive... still ;-)
OOo2GD 2.4.0 - folders and HTTPS ;-)
OOo2GD 1.5.1 Birthday Edition ;-)
OOo2GD help site
OOo2GD 1.5.0 - we can download spreadsheets :-)
By last 2 years 1238 people used survey to say for what they are using OpenOffice.org2GoogleDocs, and share with some ideas.
92% of all users uses OOo2GD mostly to work with Google Docs, next 4% for Zoho, and another 4% for WebDAV.
Here short list of those things which users wants and my comments :-)
Possibility to work with non converted documents - I like idea, but Google Docs API allows only to work with such documents when you are Google Apps user, so it will not be a feature for all users, and I'm not able to test it.
Support folders - I'm near of it, I think I will use "gmail approach", so instead showing standard folders [which may complicate UI] I think about using folders as labels in GMAIL, and about adding at the bottom or top of files list buttons with folders names to filter only given folder.
Mac OS support - yeah, I know it is broken now, and I have not idea how to fix it. If you know Java and have a Mac, I want to ask you for your help :-) If you have Mac, and you aren't Java programmer, but you are super calm, I want to ask you for make some tests (for example, you may test older versions of OOo2GD to check if any of them looks good, you may also test other Java/Swing extensions on Mac to check if this problem is OOo2GD specific)
Official Google support - lets say it in this way, my favorite comment is: "Would like official support from Google.
I think this is the missing link in bridging the Cloud OS Google Docs to Local computing.
Google should buy this from Mr. Przemyslaw and ask him to integrate it with Google Chrome OS." ;-) So I would like to make it more official, but here is move on Google side, not mine :-( But I doubt, I suppose that OOo2GD is too small to be even visible in Google logs :-)
Next survey, this time it was survey if you as users will consider donating OOo2GD with 5 USD to collect list fee for adding OOo2GD to Google Marketplace.
We have 50% votes for Nope, and 50% for Yes.
So I would rather not work on it :-)
As I wrote earlier, if nobody will want to participate, but a lot of people will want adding of OOo2GD to Google Marketplace I will pay those 100 USD it will not kill me ;-) but I don't want to spend money when nobody needs it :-)
Similar postsbeta
It's alive... still ;-)
OOo2GD 2.4.0 - folders and HTTPS ;-)
OOo2GD 1.5.1 Birthday Edition ;-)
OOo2GD help site
OOo2GD 1.5.0 - we can download spreadsheets :-)
Monday, November 29, 2010
OOo2GD help site
I started to create page with some kind of help for OpenOffice.org2GoogleDocs users.
Currently it describes all OOo2GD windows and gives short description of autoupdate aka synchronization feature.
I'm open for any suggestion according to this site, and OOo2GD :-)
So go and see help for OOo2GD :-)
I also started to collect users feedback in one area.
I was asked by some users to add OOo2GD to Google Apps Marketplace. I would like to do it, but Google wants 100 USD for it. It isn't much but it is still 100 USD which I may spent on something else ;-)
So I created form where OOo2GD users may "vote" for this if I should start to collect donations for adding OOo2GD to Google Apps Marketplace.
You may vote here:
Voting for Yes you don't declare that you will donate anything, so don't afraid :-)
If you think that this whole voting, or considering donation isn't good idea, or you want say anything about adding OOo2GD to Google Apps Marketplace, please put your comments in this form.
Similar postsbeta
OOo2GD - surveys results
New issue to Google Docs API to vote for :-)
Lemon battery...
OOo2GD 1.5.1 Birthday Edition ;-)
Vacation in progress ;-)
Currently it describes all OOo2GD windows and gives short description of autoupdate aka synchronization feature.
I'm open for any suggestion according to this site, and OOo2GD :-)
So go and see help for OOo2GD :-)
I also started to collect users feedback in one area.
I was asked by some users to add OOo2GD to Google Apps Marketplace. I would like to do it, but Google wants 100 USD for it. It isn't much but it is still 100 USD which I may spent on something else ;-)
So I created form where OOo2GD users may "vote" for this if I should start to collect donations for adding OOo2GD to Google Apps Marketplace.
You may vote here:
Voting for Yes you don't declare that you will donate anything, so don't afraid :-)
If you think that this whole voting, or considering donation isn't good idea, or you want say anything about adding OOo2GD to Google Apps Marketplace, please put your comments in this form.
Similar postsbeta
OOo2GD - surveys results
New issue to Google Docs API to vote for :-)
Lemon battery...
OOo2GD 1.5.1 Birthday Edition ;-)
Vacation in progress ;-)
Subscribe to:
Posts (Atom)