Android :: Separate Intents For Email & SMS
Jun 28, 2010
I have an app that has two buttons one for email & one for SMS. Depending on the button pressed I want to email or else SMS a certain text. I have coded the email button and it is working fine. The problem is that the dialog box that pops-up gives an option of e-mail or Messaging the text. I want to separate out the two, so that when the user presses email, only the options of email is there, and when the user presses SMS, only the option of Messaging is there.
View 1 Replies
Aug 10, 2010
Found similar examples--not exactly what I need. I simply need to start messaging (SMS) and email intents from my app with their "to" fields already populated. So I need to send a number with the sms intent and an email address with the email intent.
View 1 Replies
View Related
Jul 22, 2010
I want to setup a part of my application that allows users to send a quick email to another user. It's not very hard to set this up:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, subject);
intent.putExtra(Intent.EXTRA_TEXT, message);
Intent mailer = Intent.createChooser(intent, null);
startActivity(mailer);
However, the problem is that the ACTION_SEND is accepted by more than just email programs - for example, on my phone the Facebook app, Twitter, reddit is fun, and even Bluetooth come up as viable alternatives for sending this message. The message is entirely too long for some of these (especially Twitter). Is there a way to limit the chooser to just applications that support long messages (such as email)?
View 3 Replies
View Related
Jul 28, 2009
could i get email recieve notification from the Intent. how can i get the email recieve notification.
View 4 Replies
View Related
Dec 19, 2009
Is there a way to have separate ringtones for my voicemail, email and text? I was able to choose my ringtone for my text messages but I was not able to customize for voicemail and email ringtones. Those are defaulted to the general notifications ringtone.
View 1 Replies
View Related
Sep 29, 2010
I have added my work email to my Evo. Is there a way to add a separate ringtone for my email notifications.
View 1 Replies
View Related
May 11, 2010
Is it possible to have separate email notifications sounds for my Exchange & Yahoo email accounts?
View 4 Replies
View Related
May 25, 2010
Thinking of getting the Legend. how would I separate my email contacts from my phone contacts? I don't want to have to sift thru all of my email contacts when calling someone? thoughts?
View 6 Replies
View Related
Nov 11, 2009
Is there an app that would let me have one sound for SMS and another for email? I don't want them to have the same sound.
View 2 Replies
View Related
Nov 15, 2009
I am currently using the default 'Droid' sound for my incoming emails and SMS messages. I would prefer to have a different sound for my emails than my SMS messages, but I cannot find anywhere to do this. Under 'settings', 'notification ringtone', Droid is set as the sound.
Is this where the email and SMS incoming notifications are set? And can you use different ringtones for these?
View 9 Replies
View Related
Sep 2, 2009
Making separate service app and separate activity app. swapnil kamble
- Hide quoted text -
View 2 Replies
View Related
Sep 14, 2010
Just curious, it's taking some serious getting used to this phone but I have a question about the messages box. Why is it that I have an separate icon for GMAIL, EMAIL , and MESSAGES? Why is Gmail separate from the "email" icon? and why can't I have my email and gmail as an icon in my messages box which currently houses the universal inbox, facebook, and twitter, and text messaging?
View 13 Replies
View Related
Jan 26, 2010
is there a way to have a seperate notification sound for my email (not gmail), & voicemail, if so how?
View 13 Replies
View Related
Nov 6, 2010
I want to find an easy way to just have the phone silent except SMS messages while I'm sleeping. I have tried different profile applications but it looks like they just generically turn off "notifications" which looks like both email and SMS notifications. I know I can go in and manually silence the email and the other notifications each time but I wanted to find an easier way. I get important SMS messages from work at all hours but thats all I want to hear.
View 2 Replies
View Related
Jul 23, 2010
Is it possible to have different notification sounds for different email accounts with the native email client not the Google one, but the other.I can't find it anywhere.
View 3 Replies
View Related
Nov 13, 2009
Is there any way to separate alerts for text messages and email? I've called Verizon Support and looked for apps without success. I don't care when I get an email but I have missed several texts because the alert tone is the same and I just ignored it thinking it was more unimportant email.
View 5 Replies
View Related
Jan 4, 2010
Like most ppl on here, I previously owned a Blackberry and am accustom to having separate icons for each email account. So far I have three email accounts including my gmail account on my eris. When I first setup my msn, and school email I was able to separate the accounts into two separate icons. Now that I have figured out how to add my yahoo account I would like to have a separate icon for this also but can't figure out how I did this the first time.
View 15 Replies
View Related
Aug 10, 2010
I am new to android (never owned one before), and will be getting my first android device soon. I have one gmail account, another mail account with google apps and a yahoo mail account, so my contacts are spread around. So I made a separate gmail account just so that I could fetch all contacts at one place and delete the ones I dont need, and then do selective contact sync with android device. I will also use this account to back up my SMS's and any other kind of data that can be backed up in cloud.
I wanted to ask you guys when setting up the device, should I use my newly created gmail account as primary account or the one that I am using on daily basis?? My main concern is that once I bought apps with one account, I wont be able to use another account again later, so I want to get it right from the start. Also, can android still use calender and email from my other gmail accounts as primary calender/email??
View 3 Replies
View Related
Nov 22, 2010
I am trying to figure out a way to be able to have a separate notification tone for email, text and calendar alerts on my Epic. Can anyone help? On my Moment I was able to create folders (ringtones, alerts, notifications, etc) on my SD card, but I was not sure if this will work on the Epic as well.
View 1 Replies
View Related
Mar 24, 2010
Can you create a separate email icon for each mail account and if so how do you do this? I searched forums to no avail. I have 2 gmail accounts and one Exchange using default mail client.
View 4 Replies
View Related
Oct 18, 2010
Samsung Epic 4G under Sprint. I'm trying to add another Google account to my phone and it does not let me. Your phone needs to communicate with Google servers to setup you account. This may take up to five minutes. Then, Can't establish a reliable data connection to the Server. Is this still possible now that google sync is in effect? We are using this second account as a shared location for picasa pictures and google Videos.
But I'd also like to be able to check emails in the account, but not under my native email client on the samsung or even the gmail client - I want no notifications for these emails. Is there an Android market email client (pop or imap) with a separate icon that I could install on the phone for ondemand email? I've looked in the market and their ain't much out there.
View 1 Replies
View Related
Nov 7, 2009
I have some code that is creating and removing alarms, and which works great in Android 1.5 and 1.6 but breaks on the Android 2.0 AVD.The code that's giving this exception is: Code...
View 3 Replies
View Related
Jan 3, 2013
I have just bought a Samsung Galaxy S3 - very nice looking device - to replace my old and clunky Sony Ericsson Xperia X10. And I want to transfer all my phone contacts across. On my Xperia, I've got "Phone contacts", and gmail contacts. I tried to import all my phone contacts by first exporting them to a simgle file, and transferring that file to the Samsung. And now I've got this vast list containing, it seems, everybody who I've ever called or emailed, including various names who I don't recognize at all. Is there any way (maybe a specialized app) of keeping my phone contacts and gmail contacts separate? And how do I manage my vast list of contacts?
View 1 Replies
View Related
Oct 30, 2010
I have an IntentService that broadcasts an Intent each time if finishes some work. Each broadcast Intent is identical except that it contains a Bundle with some result information from the IntentService. Evidently, having different data in the Bundle is not enough for Android to think it's a different Intent. If the IntentService broadcasts two of these Intents back-to-back, the second one is dropped as a duplicate.
I know I've read about this behavior in this forum in the past but I can't find in the documentation where this duplicate elimination logic is described in detail. Mostly, I just want to differentiate the Intents enough that they are not considered duplicates. Any pointers would be appreciated.
View 13 Replies
View Related
Mar 9, 2010
I've a succession of 2 Intent: Intent intent = new Intent(); intent.setClass(EntryPoint.this, MainClass.class); startActivity(intent);
And I'd like an animation (which is present in res/anim) occurs during the transition between these 2 Intents...
View 2 Replies
View Related
Aug 15, 2010
I have a auto-complete textbox in which the user makes a selection. From here I want to load a tabbed layout which is based on the user selection. The problem is I cant figure out a clean way to pass that selection to each of the tabs. At the moment I can pass an intent to the 'tabhost' activity and then pass to each child activity explicitly, however this just seems like messy iterative code to me! So basically how can I pass my intent data bundles to the tabs activities cleanly & efficiently! Psuedo code is also very welcome.
View 2 Replies
View Related
Aug 7, 2010
I am trying to create intents that will be set using alarmmanager. Currently, I can do this with one intent, add extra data to it (strings, but i send them as one string with a seperator), and everything works fine and goes off at the correct time. However, when I try to send multiple intents like this, they are overwritten and only one goes off at the correct time. How can i structure my intents so that they appear different to the alarmmanager (i think they are getting deleted when filterIntent() is run).
long story short- putExtra() makes all the intents look the same still... how can i make them look different so they wont get deleted (and keep track of them in case i want to delete a specific one)
View 2 Replies
View Related
Oct 27, 2010
I want to received the Android broadcast, is there a list of all intents?
View 2 Replies
View Related
Nov 17, 2010
I have searched and searched and I just can't get this code to work. I have a main.xml layout and a setting.xml. I have some values I would like the Settings.class to change in my main apps class.Three string to be exact. I have tried this simple test code in my main app class.
settings.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
Intent intent = new Intent(v.getContext(), Settings.class);
startActivityForResult(intent, 0);}});
//Then a function
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent intent){
super.onActivityResult(requestCode, resultCode, intent);
Bundle extras = intent.getExtras();
String value = extras.getString("myKey");
if(value!=null){
Log.d("hmmm",value);}}}
In my settings.class I have the following
returnHome.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
Intent intent = new Intent();
intent.putExtra("myKey", "YEAH");
setResult(RESULT_OK, intent);
finish();}});
Back in main app class it is not getting logged. Like I said I have three string in the main class that I want settings class to change and send back.
View 2 Replies
View Related
Apr 6, 2010
On the market, there's an application called App Protector, which seems to effectively block the launching of configured activities until a password is correctly provided. By default, it blocks access to itself (not very interesting), Settings, and a few others. I wrote my own app to launch settings (rather than doing so through the home screen) and App Protector continued to do the job it claims to do.
When an activity that is protected is started, App Protector's password input activity is shown instead. Once the correct password is provided, the activity that was started comes to the front.
First -- does anyone know how this app is able to get between the rest of the system and the activities it protects? I would like to do something along these lines in my own application as well. Perhaps this app is receiving a broadcast about other activities coming to the foreground, and when the foreground activity is protected, it forces itself to the foreground?
Second -- does anyone know how well this technique will stand up to attack? Are there other ways to circumvent, where start Activity(...) fails to? It seems that one could use adb to un install it, thus removing its protection easily, but if I pursue my plans here, the app will be a part of a device's firmware (which, I assume, offers some protection against its apps being installed?)
View 2 Replies
View Related