Syncing contacts, calendar without Google's involvement - Android Software/Hacking General [Developers Only]

Hey all. First time posting here. To get the technical data out of the way, I'm currently running an AT&T-flavored Samsung Galaxy S2 SGH-i777 (not sky) with the Cyanogenmod root @ ICS ver 4.0.4. The Cy mod is 9.1.0-i777.
Before I dive into the deep-end of developing a solution, I wanted to ensure a project doesn't already exist to address what I (IMHO) consider to be an issue - privacy and general Google distrust. Please don't take offense if you're a Google fanboy and please don't tell me Google is my only option.
While I realize I can choose to merge [or not] contacts and other data with Google, has someone GA'ed an open source (or otherwise) method to use one's own server or personally-controlled cloud-based option for synchronizing personal information? Perhaps somehow tying in an existing IMAP account (like a Horde API for lack of a better similarity explanation) with an rsync engine at the server for push/pull abilities?
I researched SyncML, but it seems that I would only be able to incorporate its code into a more top-level coded solution for alternative syncing methods.
Thanks for any/all feedback.
Regards.

No one?
So I'm guessing either no one else has thought about a third-party handling your information and doing something about it or just plain apathy?

Related

[APP] **Updated 12/27/2010** Email.apk - Gingerbread src code w/o Exchange security

I took the latest source code for Email.apk from CM7 and modified it to remove any Exchange Security policy enforcement. Benefits of doing it this way rather than using an older version of Email.apk is you get the new code updates.
Anyways enjoy and if you want to include this or redistribute please just give me credit for the modification.
Please note that this modified Email application is available for educational purposes only.
The following is a brief summary of what the modifications made to this application do:
NOTE: Security Policy is abbreviated as SP
Disable requirement for a local Device Admin which disables the ability to Remote Wipe and to require a pinlock to use the device
Acknowledge to the remote Exchange server that the SP's which this device supports are currently active. We do not fabricate the list of SP's that are supported. So if the current Android 2.3 src code does not support a specific SP then we do not lie and state it does. This means you could still be rejected by the remote Exchange server and not be able to sync with it. Stating what we support and actually supporting them are two different things.
If you want access to the modified source code you can grab it from HERE
give you credit as well as cyanogenmod crew and mtwebster
disgustip8ted said:
give you credit as well as cyanogenmod crew and mtwebster
Click to expand...
Click to collapse
Well, credit for the mod not any prior changes to this application's src code from the CM fork. As always I respect all developer's contributions no matter how small.
Also since this is a mod and not enhancement I'll never push these changes to the CM git repo to be added. I think Email has not had any individual contributions and is stock android 2.2.
shafty023 said:
I think Email has not had any individual contributions and is stock android 2.2.
Click to expand...
Click to collapse
http://github.com/CyanogenMod/android_packages_apps_Email/commits/froyo
Ahhhh nice. I only checked the src out but hadn't checked history on it. I'm an SVN person and not familiar with git. Thanks man I'll hit up mtwebster as Email was an app I wanted to contribute to.
Sent from my Nexus One using XDA App
Thank you everyone that worked on this apk. I have been wanting this sense cm 6 came out. Cause back on cm rc1 it didn't have the security settings, which I loved very much. There is only one thing I keep having is it keeps asking for me to set the security up. Idk if that's suppose to happen or not but I just wanted to let everyone know that it works but every hour or so it asks for security to be setup. Again thank you all.
Im cookin up an update.zip for this, testing right now and i will upload when its done
Edit:: link for update zip
http://dl.dropbox.com/u/458252/kanged_email-signed.zip
works for me, thanks to shafty023 for modding the apk!
krypticos said:
There is only one thing I keep having is it keeps asking for me to set the security up. Idk if that's suppose to happen or not but I just wanted to let everyone know that it works but every hour or so it asks for security to be setup. Again thank you all.
Click to expand...
Click to collapse
No it should not be asking you every hour for security. Make sure you removed the device admin (Android Settings -> Security) and removed the pin lock after you copied over the modded Email.apk. You do not need to reboot. I modded the src code to not check for security requirements on every ping to the Exchange server which is what you are experiencing. That would lead me to believe you're in a semi-modded state. Make sure you clear the notifications before you setup your Exchange account again or that notification "could" trigger the security requirement again. Remember, all this has to be done before you set up your Exchange account again.
According to the commits at the github, there should be an option to change the account color somewhere, but I don't see anything like that under account settings. Am I missing something?
Also, is it so hard to make html emails render properly? This is a must in my opinion and should be stock, but I wonder why our kind devs don't do something in that direction...
According to the commits at the github, there should be an option to change the account color somewhere, but I don't see anything like that under account settings. Am I missing something?
Also, is it so hard to make html emails render properly? This is a must in my opinion and should be stock, but I wonder why our kind devs don't do something in that direction...
Click to expand...
Click to collapse
I'll check on the account color issue. As far as html email rendering, the email app will need an html renderer rather than a text renderer.
Sent from my Nexus One using XDA App
I don't think your exchange administrators will appreciate you running without security.
Just saying.
JCopernicus said:
I don't think your exchange administrators will appreciate you running without security.
Just saying.
Click to expand...
Click to collapse
I am my exchange admin, and just for the most part, the mods are making the 2.2 email apk run like it has for the past two versions of android.
fallingup said:
I am my exchange admin, and just for the most part, the mods are making the 2.2 email apk run like it has for the past two versions of android.
Click to expand...
Click to collapse
The past two versions of android were lacking in proper exchange support.
I'm just putting it out there as a warning for people who are using exchange for the companies they work for.
**** could hit the fan if your phone is improperly secured by using this apk.
JCopernicus said:
I don't think your exchange administrators will appreciate you running without security.
Just saying.
Click to expand...
Click to collapse
This mod is for those who require Exchange support but their company is too cheap to pay for a decent corporate phone with Exchange support.
I'm a software developer for instance and my company only provides phones to people with C-level titles (CEO, CIO, CTO, etc). So I use my personal phone to connect via ActiveSync but do NOT want our Exchange environment having the ability to remote-wipe my phone.
To add more humor to the issue, those in our company who get phones are getting ones still on Android 1.6 which doesn't include proper Exchange security support so it's a null/void issue here.
shafty023 said:
The source code and enhancements to Email.apk over stock Android 2.2 release are all thanks to Cyanogenmod crew & mtwebster.
Click to expand...
Click to collapse
So how do I install this one? When I'm trying to install it Astro it only gives me the option to uninstall or launch
go here
http://forum.cyanogenmod.com/topic/3570-email-app-modification/page__pid__31972#entry31972
However it will not include the modification to ignore the security' enhancements' that are added in this thread.
Uninstall the current email app with titanium then flash the one mentioned in this thread or the one in urge link above.
Thanks disgustip8ted ,
But the one from the link is an rar this one is a apk.
How do I install the apk one? app installer no longer works with Froyo.
If your exchange admins are cool with this you can install the apk with astro, or email it to your self,g mail will give you the option to install. Imo just un rar the file from mtwebster and install and keep a good back up in case the exchange admins get overzealous and wipe your phone.
Lets not overlook individual folder sync too. This is great!
Now my question... Can us special children running blur on devices like... Oh say a droid2 use this at all? I'm guessing no because of the blur mail app, but I hope I'm wrong.
Our organization recently disabled Exchange Activesync because of things like this...
I'm not trying to piss on this thread, but this is a serious problem for adoption of Android in the Enterprise.
All of our Android users hate us now. They just bought the phone that "Does" except it doesn't. ;/
I work in a industry with regulation that has certain standards for how e-mail is stored on portable devices, and when I got wind of this we had no choice but to ban android devices from synchronizing with exchange.
(and that stinks, but there's no way around it)
I know that with such a open platform this was inevitable, but by supplying this to the masses you have given a "proof of concept" to the paranoid.
This will without doubt result in businesses not adopting android in the enterprises that are regulated. (Or turning to 3rd party solutions, offhand I think of Good for Enterprise.......whom we pay dearly for closed source secure E-Mail on Android).
That said, I can't help but wonder if there is any way for an exchange administrator to detect something like this. (I doubt it) Because if so I'd make sure that the end users disregarding policy (which is regulatory driven) were fired.
Also, if this is meant for small businesses, can't the exchange admin just disable the security in the policy on the exchange side. I don't buy that this is for small companies.

[Q] Multi-user login on Android

Have anybody but me thought about having muliple user logons on an Android device?
I'm thinking with the Galaxy Tab and many similar devices to come it would be natural to share the device within the household. Naturally you wouldn't want others to log on to your facebook/msn/email etc.
Are there any projects aiming to do this? Would it be possible?
hey, I'm loosing it trying to find out the same for weeks now. Been trying to start a little project that would involve multiple users on a same device, somethink like the xp's guest user would be awesome...
can sameone at least tell me it's absolutely not possible, couse then I'd finish my search and try for something different, thx!
We just got a transformer tablet at work and we had to tie it to a public gmail account dedicated to this device but multiple users will need to use it and have it tied to their google apps account. This is a problem for us and the apps that 'divide' the tablet just cost too much for what they do. We have at least 4-5 people who would use it. This isn't a situation where we should just have a tablet for each employee. The scientific work we do requires so much equipment that it has to be shared and scheduled. The tablet is just another thing we have to pack up in the morning when we have field work on our project. Multi user android support is needed!

[Q] Noob needs help to create event calendar app

Hi all,
I'm a noob app developer trying to do it for the first time. I'm trying to create an event calendar app for company's internal purposes. So that everyone in the company (which uses a lot of android phones) can be updated on company events that are coming up.
My approach is to create a database with MySQL for events input, and to use PHP to connect the database which is in a server and to push it to the android devices that are used in the office as that's how I found it in a tutorial from HelloAndroid.
My questions are:
1. is this the best approach to create such app?
2. Can I use Android's default calendar to input these events? if not is there some kind of calendar template that I can use to display the information to the users.
Probably will have more questions as I progress, but please help if anyone is more experienced in these matters than I am.
Thank you very much, and really appreciate the inputs that I'm gonna get
A simple solution would be to use Google Calendar.
By using GC you can add/edit events either from a PC (work or home) or your Mobile anywhere in the World.
All that is required is for someone to first set up the calendar on Google and push it out to all those who you want to see it.
This way you are not isolating anyone who does not have an Android Phone.
that's a really good point. Especially in a closed environment like an office. I didn't think of that before. THank you very much.
However, if let's say I want to try to build an app for that for public use, not just confined to limited numbers of people in a company.
Would that be the best approach or if there's any better way to approach it. I may decide to build the app after all just to learn and gain experience in app development.
thanks again for the feedback, really appreciate it.
I can't really give you advice on developing an App sorry.
All I can say is the method I mention is the one which I use to keep all my Operational Team (Surgeons/Doctors/Nurses/Admin/etc) updated and advised.
There's nothing short in you developing your own Calendar App but you would have to ensure it would be available to all and that includes anyone anywhere regardless of the fact they are at work, home, holiday, with Android or not, have a Phone, PC, Mac, etc... etc...
For that there's already a stable tool by the name of Google Calendar.
If you do develop one I'd still be interested in seeing what ideas you could bring into practice that would have a benefit over GC.
I understand your point of view, and actually you got me thinking, maybe if I really want to do the apps, I can create an app that calls the Gcalendar events, and display it from the app. I can find out the API to do that, and that would be much simpler.
Thank you again for your input, really appreciate i
racdyn said:
I understand your point of view, and actually you got me thinking, maybe if I really want to do the apps, I can create an app that calls the Gcalendar events, and display it from the app. I can find out the API to do that, and that would be much simpler.
Thank you again for your input, really appreciate i
Click to expand...
Click to collapse
No problem.... I wish you well on your venture.
Do please let us all know how you get on.. You never know, if it becomes that good I may even use it myself over the stock calendar App or any of the other's that already link to GC.

[Q] Total NOOB needs some help :)

Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
fabiansc said:
Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
Click to expand...
Click to collapse
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
thanks little question regrading databases
shimp208 said:
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
Click to expand...
Click to collapse
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
And one more question
Is there any way to do a phone number authentication (like Whatsapp) instead of user name and password which I think is a little to tedious for my planned app ?
Thanks in advance
Hola, for the task sending. Would you like to make all task public? Or should you send it like a message?
But when i need access to a server, i use php scripts. But we can take that later, when you have answered my last question
For the phone number authentication, you have to have a online database, with all phone numbers. User inserts their phone number, the first time they starts the app. Then you can retrieve it from the database. But we can also take that later.
I´m glad if i helped.
(Sorry for my bad english.. )
Hola
Well I want it to be like a manager that gives a task to his employee. I want the task to be between them and only they can close it.
Likewise, it would be a problem if I make a simple phone number insertion if there's no validation. I was thinking about a number verification (like whatsapp) to prevent other people from accessing the tasks.
Do you think it's possible or should I go with username and password?
Thanks
fabiansc said:
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
Click to expand...
Click to collapse
I am using OpenShift - https://www.openshift.com/developers - which is a open source cloud architecture in that they offer packages like NodeJS and DB's. They allow you to have 'gears' which I guess is their name for services running on their cloud. The free account has 3 gears.
I currently only have a NodeJS server running to deliver files however (as far as I understand it) you can have MySQL and others as a backend. I would think that whatever devices you develop on would simply log into the DB and look up messages/tasks etc. I would also think that your app could insert those things. The best part is it is free until you reach Enterprise level or so. I would check it out since free is good. Offhand, I do not know what DB's Android supports via java but MySQL is probably one of them.
Just some info for you to examine.
Good luck
Hola, of course its possible! But maybe Username and Password is easiest.
You can use e-mail validation.
I actually worked on a application, there store products in databases. So i have tried it before. Ask if you are confused
And Sum1nil, sqlite is implemented in android, so for local database, use sqlite.
But for online database access, i use php

[Q] How do you guys manage your apps?

Hey guys.. I have a number of apps on the app store and have worked for a number of startups on their Android applications and something I find a huge pain is managing user submitted bugs, feature request, ideas, feedback etc.. Currently I get all of those via email, facebook, twitter, google plus and they all go into a text file (I know..) which is a pain to manage..
Obviously there are tools like Jira and the like but I was wondering if there are any other tools you guys use for this kind of thing, preferably something I could direct users to so they can see what's in the pipeline, what's being fixed etc.. but if not anything to manage it would be great.
Btw for complete transparency I'm currently looking at building a platform to solve this problem for myself so I'm just looking for feedback from the community if this is actually an issue or if there's some well known tool I've somehow missed which would save me the time.

Categories

Resources