Android : Using Direct Call From A Widget In Version 2.1 And 2.2
Jul 4, 2010
I wrote a widget that can call numbers directly with one click. It works on the emulator, and it used to work on my nexus one when it had Android 2.1. Now I got the update, and the widget stopped working. I am using Intent.ACTION_CALL, and android.permission.CALL_PHONE. If I change to Intent.ACTION_DIAL it works, and the same code works from an activity. It is the combination of an app widget and the call action. I don't see any error. Does anyone know if it is not possible, and if so, how? Are there many cases the emulator is different than the cell phones, concerning the permission aspects?
The numbers are all regular, not 911 or something.
View 1 Replies
Oct 6, 2010
I have few questions:
1. If I need to upgrade the OS, which will be the next version I can use? (2.0 or 2.1)
2. Can this phone be upgraded directly to 2.2 ?
3. When I bought this phone the dealer said that it can be upgraded to next 6 versions of OS. Is that true?
View 13 Replies
View Related
Sep 26, 2010
I've been looking for a widget that will allow me to direct dial (direct text a bonus!) from home screen. I've looked around online and there doesn't seem to be anything that suits me well. I tried making the "direct dial" shortcuts by long-pressing, but those icons are small and have a little "M" and image of Android which obscures the photo icon. I found the perfect app while searching for other stuff. I've attached the image to this post. Does anyone know what the app is that allows me to place those 2x1 icons onto the screen?
View 6 Replies
View Related
Aug 28, 2012
I'm looking for the source code of the Direct Dial Widget (preferred from 4.1.1), I've looked and found the icon of the direct dial, in the contact.apk, it is - ic_launcher_shortcut_directdial.png, then I've looked in the manifest, and saw that it is used:
<activity-alias android:name="alias.DialShortcut"
android:targetActivity=".activities.ContactSelecti onActivity"
android:label="@string/shortcutDialContact"
android:icon="@mipmap/ic_launcher_shortcut_directdial"
android:enabled="@*android:bool/config_voice_capable">
But I can't find the source code, I think this is only the shortcut for creating the widget, but not the widget....
View 1 Replies
View Related
Oct 13, 2013
I wonder how do I put direct call in my rom, i follow tutorial Tasker but without success on my mobile phone (x8): S
But what was wanted in settings where it appears eg GSM ROM settings are used and there appear and I click call comes in and then pop up the option or direct call pick up the call type to a checkbox understand?
I'm still newbie to and created a rom for my android and divulged here; D
Some Rom for x8 This capability has tried to talk to the developers but none of them gave me reset and will have some time
View 1 Replies
View Related
Dec 12, 2009
Anyone had any luck making a shortcut for a direct call or direct txt? The shortcut apps I've tried (anycut included) crash when I try.
View 2 Replies
View Related
Jul 5, 2010
I am looking to customize my icons for direct message direct dial, to the best of my knowledge better cut can do this, however i have heard it is not compatible with launcher pro beta that i use, so does anyone know what it is compatible with? also what size do i need to make my icons and what format do i save them in?
View 1 Replies
View Related
Jul 3, 2010
I've been trying to download some different weather and clock apps and they all say to have the Weather widget donate version first. I can't seem to find that though.
View 2 Replies
View Related
Jul 12, 2010
I'm looking for a stock app or widget that handles contact communication similar to HTC Sense. merging facebook, sms, email, etc. Does anyone know of anything in the app store?
View 3 Replies
View Related
Mar 31, 2009
Accroding to GregS's "Announcing OpenCORE 2.0 release" mention, video telephony (a.k.a. 2way) engine is supported by OpenCORE 2.0. but he(?) was not sure that is included at Cupcake version.
So, can I get information about any progress for supporting video telephony service? like, whether video telehpony service is supported at Cupcake or any other version.
And where can I get any document about OpenCORE 2.XXX release?
View 4 Replies
View Related
Jun 29, 2010
I'm looking for a call log widget and a voicemail widget which look like the default mail app widget.That is, a simple small widget which show me the number of missed calls (if it's the call log widget) or the number of voicemails received (if it's the voicemail widget), just like the mail widget shows the number of emails received.
View 2 Replies
View Related
Jan 15, 2012
Any tool to get wifi password call Penetrate version 2.11 Full (I think this is the latest version) for Android ?
View 2 Replies
View Related
Jul 5, 2010
1. I just got an exchange evo this morning and the hardware version is three. Does any one know if this is the latest?
2. I had a widget to toggle me mobile network on the phone I just exchanged. I can't find out how get it back. I tried going to widgets-settings-etc., but it wasn't there. I don't remember if I got it from the market or what.
View 8 Replies
View Related
Nov 14, 2009
I just want a shortcut icon or a small widget where i can click on it and it goes straight to your call log, its a pain clicking on contacts or phone and than having to click on call log everytime. I never use the dial pad only contact,favs, and the call log pretty much.
View 22 Replies
View Related
Oct 29, 2009
Call DOCK BAR ALBRAndroid Blog Up to 4 contacts will be shown on the dock bar with photo and first-name. You can choose between one click call or a popup window to choose one of the functions like CALL, SMS or EMAIL.The ONE-CLICK-CALL option will call the contactperson after the click on the image icon. The PopUp-Window option will show an activity to choose between CALL, SMS or EMAIL. You can choose between different themes (13) (Blue, Green, Orange,.) Call Dock Bar2 Use it together to manage 8 contacts. http://www.cyrket.com/package/albr.android.quickcall
View 1 Replies
View Related
May 30, 2009
I've read through the Application Fundamentals three times today (and I had done so before), but I still can't quite wrap my ahead around the task concept. Or I guess I thought I understood it, but usually, the results I am seeing don't match up to what I would expect to happen (maybe a tool to see the current tasks/activities etc. for debugging purposes would be a nice addition).
I have multiple widgets from my provider in the Launcher desktop, and each is using a PendingIntent with a different URI as data (so they should be separate intents) to open an Activity.
I want there to be only once concurrent instance of this Activity that the user can access. So clicking the widget (1) , pressing HOME (2), clicking a different widget (3), pressing BACK (4) should bring the user back to the Desktop.
Now I did manage to do this using launchMode="singleTask" - the existing instance is brought to the top, onNewIntent() is called and I am pretty satisfied with it.
However, supposedly there are other ways to achieve an equivalent effect (say with having the activity restarted), and I'd like to understand why I don't seem to be able to get them to work: In every case, instead of seeing the home screen after step (4) (after pressing BACK), I see the *previous* instance of the Activity.
For example, if I read this correctly:
"There's another way to force activities to be removed from the stack. If an Intent object includes the FLAG_ACTIVITY_CLEAR_TOP flag, and the target task already has an instance of the type of activity that should handle the intent in its stack, all activities above that instance are cleared away so that it stands at the top of the stack and can respond to the intent. If the launch mode of the designated activity is "standard", it too will be removed from the stack, and a new instance will be launched to handle the incoming intent." http://developer.android.com/guide/topics/fundamentals.html
Then simply using using the following code to start my Activity from my widget should do what I want, no?
CODE:............
So in (3) My activity should be launched using FLAG_ACTIVITY_NEW_TASK by the launcher, which due to process affinity would find the existing task (which would consist of a single instance of my Activity), and launch the new instance on top of it. This explains what I am seeing. Why doesn't FLAG_ACTIVITY_CLEAR_TOP cause the existing instance in the task to be replaced?
Even setting android:launchMode explicitely to "standard", as mentioned in the doc quote above, this doesn't seem to change things.
I also tried android:finishOnTaskLaunch="true", but the behaviour is the exact same was just described with FLAG_ACTIVITY_CLEAR_TOP (which seems to be the exact same as when doing neither and really starting an activity without any special attributes).
I should mention that If I click the same widget in (3) as I clicked in (1), i.e. using the same PendingIntent twice, I do get the previous instance brought to the front (not restarted), but again, regardless of whether FLAG_ACTIVITY_CLEAR_TOP or finishOnTaskLaunch are being used.
I find this especially strange since the docs about tasks don't seem to mention the intent itself being relevant at all. Application Fundamentals does at one point say "For the default "standard" mode, a new instance is created to respond to every new intent", but it's not clear what "new intent" means then. Is triggering a PendingIntent multiple times through a widget not multiple "new" intents then?
I also tried various combinations of the other related options, but pretty much got nowhere.
View 2 Replies
View Related
Dec 29, 2009
I currently have widget for my app Hire*A*Droid bundled with the main application. I would like to unbundle the widget and release it as a separate offering. However - the widget is relying on Activities from the main app so I need to navigate between these two mainly calling particular Activity of the main app from the widget. So the basic idea - app can work without widget and the widget becomes the "add-on" option.
What is the "right" way to call app activities from the stand-alone widget? Do I convert the main app into a content provider? Can you point me to any code samples perhaps?
P.S. I'm not asking how to call Activities from the widget that is bundled in the same APK. The question specifically states that widget is distributed separately from the app it's calling
View 1 Replies
View Related
Nov 28, 2010
Can anyone recommend a widget that shows the number of missed calls / text messages / emails? I would prefer something that is text only.If not, does anyone know a widget that can display text from a file on the SD card? I could probably figure out how to use Tasker to generate the text file if needed.
View 1 Replies
View Related
Nov 15, 2010
I have a widget and I want it to make a phonecall to a particular number when the user clicks on the widget. How do i do this?
View 2 Replies
View Related
Nov 15, 2010
I have a widget, and I want it to make a phone call to a preset number when the user clicks on it. How do I do this? I havn't yet understood how widgets work, so it would be really helpful if you could provide a sample code.
View 4 Replies
View Related
Jan 19, 2009
Is it possible to use linux version flash player plug-in on x86 for android x86 version?
View 3 Replies
View Related
Jun 29, 2010
Is there an app/widget that will show me Call mintues used, Texts Sent, Data Used all on the same screen?
View 4 Replies
View Related
Apr 5, 2010
I used to be a C/C++ programmer before getting in to android. I am not sure how people maintain 2 versions of a program without using #ifdef preprocessor macros. Right now I am changing the package name in eclipse and changing the code manually, but this seems really inefficient. Can anybody suggest a good way of having 2 or more projects that share most of the code?
View 3 Replies
View Related
May 25, 2010
I'm planning on getting LockBot when I get my EVO and I was wondering, what's the difference between the free version and paid version. I basically want the Moto Droid lock screen on my EVO for the slide to toggle sound on/off feature due to the lack of an external switch on the EVO. Would I be best to get the paid version or will the free version do that?
View 1 Replies
View Related
Jan 1, 2010
How can you make it so when you tap on a favorite person in the widget it gives you the choice to call or or sms?
View 3 Replies
View Related
May 26, 2010
How to get the MIDlet and CLDC version programmatically in android? Regards, Sudeep Warm Regards, Sudeep
View 5 Replies
View Related
Nov 24, 2010
Perhaps stupid but in android 1.6 together with the wifi and gps there was a icon to select the sound on/off/vibration know after update to 2.1 i can't find a fast way to change de sound to off or vibration except via the setting menu.
Is there a widget or perhaps a link so you can put it on one of the screens.
View 4 Replies
View Related
Dec 1, 2010
is the 2.1 firmware version dj07 baseband version the latest update available for the samsung moment?
View 1 Replies
View Related
Feb 11, 2010
I use Google Voice (love it) primarily because of it's visual voicemail on my Droid. I do have a Google Voice number, and I'm trying to decide whether to set the Droid app to "make calls using Google Voice" or not.
I have no problem with giving out a different number, and my placed calls seeing the GV number in caller ID.
My question is, does this affect how the call is actually connected, from a quality standpoint? I tired a call both ways, and the sound quality seemed a little bit different. But then, I am an obsessive compulsive weirdo.
Is there any difference in call quality or routing between making a native Verizon call and a Google Voice call on Droid? (Like, does Google voice actual use 3G to connect to Google server over the internetz, then place the phone call?)
View 3 Replies
View Related
Aug 20, 2010
Possible? ON some sites, the mobile version is horrible...
View 7 Replies
View Related