I have some code
Code:
[COLOR="Black"]$#C5CAL#=Work?#C5SHH:mm#$[/COLOR]
I want the output to be "08:00" if my 6th event is from work calendar.
I just do not know, what i am doing wrong
Related
Hello,
I'm using EVC++ to create an application and I would like to be informed when a new mail is arrived in the Message Store.
There are some MAPI function to do that (Advise, OnNotify, AdviseSink etc...) but I need some explanations. For example NEWMAIL_NOTIFICATION is not sent by CEMAPI, so how can I know when a new mail is arrived?!!!
Thank you for your help or even a sample code for my inspiration!!
Gizmo
I faced with the problem, that the built-in HTC e-mail client is not handling the ACTION_SEND Intent correctly. The "To" field cannot be populated using the standard API.
I used the following (obviously with different values) code:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "email text");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] {"[email protected]"});
sendIntent.setType("message/rfc822");
startActivity(Intent.createChooser(sendIntent, "Title:"));
I selected the HTC e-mail client (with Exchange account). All fields were correct, but the "To" was empty.
Do you have any idea on that? (I tried to check whether the code is available in the kernel, but as I see the applications are not in that... )
Today I realized that the same problem doesn't occure when I'm trying to the send an e-mail to the developer of an application on the Android Market. I mean the Market application is able to prefill correctly the form on the built in e-mail application of the HTC Hero.
Is it possible to look into the source of the Androind Market application? Is there any other application that works well, and the source may be accessible? (I would dig into to get the solution out of it...)
I found a workaround that is not perfect but a bit better on HTC. You can create a “mailto:” uri from the to, subject, and body of the email (see RFC 2368), and open it with ACTION_VIEW intent. First of all the phone will offer only e-mail client, you can select default client (to avoid selector next time), and the to field is working in GMail and HTC mail client too. The only issue is that the HTC Mail client is not able to handle end-of-line characters in this case. So you have to send one line text in body.
Here you can find example code: (see method “sendEmail()) http://code.google.com/p/bankdroid/source/browse/trunk/bankdroid.soda/src/bankdroid/soda/SMSListActivity.java?spec=svn77&r=77
There is an other known issue that the K-9 e-mail client is not able to handle this type of Intent at all. I’ve already opened a ticket for them.
I have believed Froyo will have integrated Exchange peak sync support. But looks like have not.
Does exist some enhancement working with Exhange or ROM based on JPM supporting that functionality????
Sorry to hijack the thread. I would also like to find if the froyo exchange
1. Allow you to respond to meeting invites?
2. Allow you to sync your calendar entries?
Seifer1975 said:
Sorry to hijack the thread. I would also like to find if the froyo exchange
1. Allow you to respond to meeting invites?
2. Allow you to sync your calendar entries?
Click to expand...
Click to collapse
no meeting invites appear to be automatically added to your calendar - but it doesn't appear to come up with accept, decline, tentative options
yes calendar entries are sync'ed
I stumbled over this topic when my sister asked me if her cousin was younger or older than her... My contact list couldn't tell me.
I have no clue why the on-board facebook app doesn't sync birthdays of contacts as well.
After some research I found EboBirthday, which does exactly what I want - however, even though it imports all of the birthdays, the export function only exports about 10% of them to my contacts.
I couldn't find any other app for that purpose, all of them just export to calender.
Anyone got an idea? Is this fixed in Froyo or Gingerbread so I just have to wait for a new ROM?
I changed from HTC original ROM and Leedroid (at least HTC build) to cyanogenmod.
If I use the native MS Exchange support I got two issues:
1. I can't edit Birthdays of my contacts
2. Birthdays in contacts view are one day to early. They are also displayed in format like
yyyy-mm-ddTHH:MM:SS.000Z (actually the time seems to be fix: so yyyy-mm-ddT22:00:00.000Z)
In Systems settings I have set up the date format as dd.mm.yyyy as it is common here in germany.
What about users in other languages? Do you have the same issue if you work with original android code base? I had the same by using enhanced email which is build from the android source.
I can deal with number 1. Number 2 is annoying. I also use TouchDown, but it doesn't integrate with native calendar or publishes an API to access the calendar data. So that's why I would also use a native solution.
Had someone here to deal with the problem above and found a solution?
edit:
I also changed my timezone to see if it has an effect, but it changes nothing. Maybe the date just can't be processed.
Mac.uni said:
I changed from HTC original ROM and Leedroid (at least HTC build) to cyanogenmod.
If I use the native MS Exchange support I got two issues:
1. I can't edit Birthdays of my contacts
2. Birthdays in contacts view are one day to early. They are also displayed in format like
yyyy-mm-ddTHH:MM:SS.000Z (actually the time seems to be fix: so yyyy-mm-ddT22:00:00.000Z)
In Systems settings I have set up the date format as dd.mm.yyyy as it is common here in germany.
What about users in other languages? Do you have the same issue if you work with original android code base? I had the same by using enhanced email which is build from the android source.
I can deal with number 1. Number 2 is annoying. I also use TouchDown, but it doesn't integrate with native calendar or publishes an API to access the calendar data. So that's why I would also use a native solution.
Had someone here to deal with the problem above and found a solution?
edit:
I also changed my timezone to see if it has an effect, but it changes nothing. Maybe the date just can't be processed.
Click to expand...
Click to collapse
I have got exactly the same problem and am trying to find a resolution for it.
However, so far, no luck.
I have the same problem with all my HTC devices (Desire, Wildfire, Sensation). I also sent e-mail to HTC support and got this answer:
As far as I can see this is happening on the android devices.
I would say that the only solution to this would be using third party application for the exchange mail.
News?
Any news regarding this issue? I am suffering also (Motorola Defy).
Same problem
I have the same problem (SONY ERICSSON XPERIA PRO).
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A