Re: [SailfishDevel] Wishes for further updates

2013-12-22 Thread W. Dobbe
I can agree on some of the mentioned items:

1) Landscape mode in web browser
2) Skype integration (maybe only chat at first)
3) Copy and paste in email app
4) Let usb connected phone show up in Mac finder

regards,

Winfried


On 22 Dec 2013, at 18:55, Superpelican superpeli...@zoho.com wrote:

 Hello,
 
 I would like to add some things too,
 My top 5 (the 5 first things to add ;) ) would be:
 1. A file dialog for the app developers
 2. Text wrapping in the Sailfish Browser
 3. Copy and Paste functionality in the Sailfish Browser and Jolla E-mail app
 4. Landscape mode in the Sailfish Browser
 5. A (Jolla) Files app with more features (and as most important feature the 
 ability to directly open files with an app from the file manager)
 
 Native integration of SIP in the phone app  +1
 Battery life improvement +1
 
 On 12/22/2013 05:23 PM, A. Wickert wrote:
 Hi everybody,
 
 after some days of usage I got some wishes for further updates of SailfishOS.
 - Native integration of SIP in the phone app
 - Native integration of IPSec (Cert, PSK, Xauth)
 - Taskswitcher support for Android Apps
 - Battery life improvement (Powertop: The battery reports a discharge rate 
 of 982 mW and this is idle with only wlan active)
 
 I know this is a beta OS thus I write my thoughts to this list to help 
 improve the OS.
 
 Best Regards,
 Annika
 
 
 
 
 ___
 SailfishOS.org Devel mailing list
 
 
 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] network statistics for sailfish

2013-12-16 Thread W. Dobbe

On 16 Dec 2013, at 21:09, AL13N al...@rmail.be wrote:

 I'm investigating to see if it is possible to create a network monitor for
 SailfishOs. Something like
 https://play.google.com/store/apps/details?id=com.mobidia.android.mdmfeature=search_result
 
 I can read simple received/sent statistics from /proc/net/dev , but it
 would be more interesting to see the amount of data used per application.
 This is possible with libpcap and maybe with iptables, but both require
 root privileges (or at least the CAP_NET_RAW capability).
 
 So hopefully someone can answer the following questions:
 - Is there any possibility for a Harbour app to acquire extra
 priviliges/capabilities ?
 
 - If not can you think of any other way to report per-application network
 statistics ?
 
 libpcap can't detect application level data transfer, and neither can
 iptables
 
Have a look at the source of for example Nethogs. Libpcap is used to detect 
packet transfer and then some clever things are done to deduct the application 
that initiated the transfer.
So it's definitely possible.

 plus you don't want to set your interface promiscuous, nor make a
 complicated iptables thing...
 
 afaik, there is no way in linux to filter out per application, because,
 you'd need to track which application bound what source port and track
 data that way...
 
 
 
 iow, give it up... :-) plus, when you get to the point of dozens of
 openvpn networks and bridging and vlans and voip QoS in a different vlan
 and such, things are gonna get complicated enough...

Probably that will be the end conclusion, but Android is also Linux, so how do 
the Android network monitor apps get their information? Does the android 
stack/Dalvik give extra hooks for network inspection ?

thanks anyway for your information,

Winfried
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] network statistics for sailfish

2013-12-16 Thread W. Dobbe

On 16 Dec 2013, at 23:40, Thomas Perl th.p...@gmail.com wrote:

 Hey,
 
 2013/12/16 Martin Grimme martin.gri...@gmail.com:
 2013/12/16, W. Dobbe winfried.do...@xmsnet.nl:
 Probably that will be the end conclusion, but Android is also Linux, so how
 do the Android network monitor apps get their information? Does the android
 stack/Dalvik give extra hooks for network inspection ?
 
 Android is not Linux. Android is as much Linux as iOS is BSD.
 Android runs on top of a Linux kernel, but that's all Android and
 GNU/Linux have in common.
 Network inspection is probably exposed by the Android Java API.
 
 In Android, every application has its own UID, so the bandwidth per
 app problem can be reduced to bandwidth per user in that case. If
 you look around the Android sources, there's a way to access these
 stats:
 
 https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/core/java/android/net/NetworkStats.java
 
 And this is how the stats are collected:
 
 https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/services/java/com/android/server/net/NetworkStatsCollection.java
 https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/services/java/com/android/server/net/NetworkStatsRecorder.java
 https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/services/java/com/android/server/net/NetworkStatsService.java
 

Hi Thomas, thanks a lot for the insight in Androids monitoring. I have 0 
experience with Android myself.


 With that said, it's definitely possible with some motivation to do
 per-process bandwidth tracking, we did something like this for a Uni
 course some years ago:
 
 http://thp.io/2010/bwmon/
 
 This uses the ip_conntrack kernel module or - with more recent
 kernels - conntrack-tools:
 
 http://conntrack-tools.netfilter.org/
 
 There's even some documentation on how to use the bwmon utility:
 
 http://thp.io/2010/bwmon/manual.html
 
 If you plan on using that for the mobile device use case, think about
 rewriting the thing in C/C++ instead of Python and make it less
 resource-hungry by reducing wake-ups. As Harbour apps are now prefixed
 with harbour- and have strict requirements for .desktop and icon
 file naming, it should be easy to make a system that calculates
 per-app bandwidth usage and shows the icon of the app and the name of
 the app without too much work.
 
Hmm, I didn't know conntrack. I'll have a look at that. At first sight it still 
looks like you need root privileges for conntrack though :-(
The problem is not to get the stats, if Nethog can do it, so can a Sailfish 
app. Problem is to do it in such a way that it will be accepted in Harbour.

Still, some more leads to investigate this week. Thanks.

 
 HTH :)
 Thomas

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] working on apps?

2013-12-14 Thread W. Dobbe
You'll be the man if you can make a native WhatsApp client that works well.

For the protocol are you using the source code of Yappari or Wazapp or are you 
starting from scratch ?

cheers,
Winfried

On 14 Dec 2013, at 11:44, Andrey Kozhevnikov coderusin...@gmail.com wrote:

 WhatsApp client.
 
 On 14.12.2013 16:41, AL13N wrote:
 if there are people who are working on apps, and want to let it know, so
 that no other devs will waste time making the same apps, you can add these
 here:
 
 http://elinux.org/Jolla
 
 in the appriopriate section.
 
 Thanks!
 

___
SailfishOS.org Devel mailing list


[SailfishDevel] alpha2 sdk: shared source directory not working ?

2013-08-14 Thread W. Dobbe
I just removed alpha1 and installed alpha2.

I noticed the new SDK installer now asks if you want to use a source directory 
outside your home directory. I entered the development directory of my data 
disk.

However when I try to build the example application generated by the Sailfish 
project wizard, I still get the old error: Project is outside of shared home 
'/Users/winfried' and shared src ''.

Did I miss something or is this feature not finished yet ?

I'm using OS X 10.8.4.

thanks in advance,

Winfried
___
SailfishOS.org Devel mailing list