General :: Broadcast Actions On ICS?

Apr 12, 2012

As my application is running as a service, it uses the BOOT_COMPLETED and USER_PRESENT events to start.

I tested it on different devices running Android 2.x but today I realised it doesn't work on a Google Nexus 3 which runs Icecream Sandwich.

Both booting and unlocking events does not start the application.

I use the following code :

Code:

<receiver
android:enabled="true"
android:name="myapp.StartReceiver">
<intent-filter>
<actionandroid:name = "android.intent.action.BOOT_COMPLETED"/>
<actionandroid:name = "android.intent.action.USER_PRESENT"/>

[Code]...

So I wonder if it is related to the Android version. Why it does not work on this specific phone ?

General :: Broadcast Actions on ICS?


Android :: Spinner - How To Do Distinguish User's Actions From Computer's Actions In OnItemSelectedListener

Nov 17, 2010

I'm in a trouble managing a spinner. I have a spinner with its adapter. I initialize the spinner with a list of values when starting my activity. Then I force the selected value to be the one used in the object that I manage.

Once the screen is initialized :
When the user selects a value in the spinner, according to the selected value, I may continue (or not) to another activity for let the user choose a complementary and necessary value.

If the user "cancels" this second activity, I want to rollback the spinner to its previous selected value, and cancel some actions made in the meantime.

If the user goes to the end of the second activity, everything is fine and I want juste to refresh the spinner display with the datas selected in the second activity (I overload the getView method in the adapter to do this).

Overall, I can easily do all of this, however, when I force the selected value in the spinner at the begining of my activity, or whene returning back from the second activity by "Cancel", the change value event is catched and the second activity is triggered (the user did not click anything at all).

How would you allow the second activity to be lauched only if the change of the selected value in the spinner is due to a manual action from the user, and prevent that same second activity to be launched when the value of spinner is changed "in the code "?

I tried many solutions, as setting a boolean into the adapter that tells if the next event will be raised because of an "in the code" action.

Or also putting a boolean in the adapter that tells if the adapter has initialised itself, and I force that boolean to true on the forst change catched event.

View 1 Replies View Related

Android :: Is This Systems Broadcast Ordered Or Normal Broadcast?

Aug 13, 2010

I'm trying to figure out if a system event broadcast is broadcasted using ordered broadcast or normal.The event is EVENT_REMINDER and in the source for the calendarprovider i noticed it sets up a alarmmanager to sent the broadcast. I can't find how the alarmmanager sends it. My guess would be as a normal broadcast , But while i was trying some things i noticed i could delay the system's notification (tried up to 10 sec) by building a sleep in my broadcastreceiver. This would indicate that they are handled ordered , and the systems receiver is only called when mine has finished. But can i be sure of this behavour?? (in all 1.5> sdk versions) the docs state that in some cases normal broadcasts are also handled ordered..due to spare of resources.

View 1 Replies View Related

General :: Hacking Voice Actions

Mar 1, 2012

I remember sometime in 2009, when google navigation was restrict to US, some people used to Hack it to make it work outside the US..Voice Action is restrict in english. The app is there.. if I change my locale settings to English US, it works... But when I set it back to portuguese, it only works in search mode...I was then wondering if it was possible to hack it to make it work in other languages, since it can already recognize speech pretty well in portuguese...

View 1 Replies View Related

General :: Add Some Custom Actions To ICS Softkey Bar

Mar 18, 2012

I'm wondering if it's possible to add some custom actions to ICS softkey bar... On my tablet would be nice to have next/prev/pause music always visible even in navigation mode with sigic or igo at full screen.

View 2 Replies View Related

General :: Different Default Actions For A Contact?

Jan 30, 2012

Is it possible to set for a contact with 2 number 2 different default action? A i have a contact with 2 numbers and when I call him I want use a number while I want to text to the other number. Is there any app I could use? I have the stock rom on my S2.

View 1 Replies View Related

General :: Email Conversation View And Actions?

Dec 2, 2011

So I just got my first Android device today (switched from a BlackBerry Bold 9700). I love everything about this device so far and I hoping to keep that streak going.

I get a LOT of emails and most are simply replies to the same thread. I love the conversation view (same as I had on my BB), but unlike the BB, I can take actions on the thread as a whole (e.g. Mark as Read and Move to Folder).

How do I do this on the Android?

View 1 Replies View Related

General :: Adding Task With Voice Actions?

Jun 1, 2012

I would like to use Google voice actions to add a task to my Google tasks list. And no, using voice actions to text twitter to direct message Remember the Milk is not good enough. That's just silly. I want to hit the microphone button, say, "new task buy more bacon" and have it show up in my pure calendar widget.

View 3 Replies View Related

General :: Changing Soft Key Actions In DEFY

Apr 23, 2012

Is there any way to change soft key actions like MENU key to open app drawer.No launcher provide the feature to change menu key action. Is there any way to do it?

View 5 Replies View Related

General :: Any App For Logging All Macro Actions Done By System?

Feb 6, 2012

My question is this: is there any app that can log all the (macro) actions that have been done by the system? I'm referring to something which can produce logs for "<time> <app> started", "<time> <app> closed", "<time> <alert> presented", "<time> call from <contact> received/ended", "<time> data packet sent/received <size>", and other similar system related messages, the more, the better.

View 1 Replies View Related

General :: Writing Tags That Would Have Menu And Perform Several Different Actions?

Jan 19, 2013

Any good source for writing NFC Tags. I am looking for information on writing tags that would have a menu and preform several different actions.

View 2 Replies View Related

General :: Custom Bluetooth Headset Button Actions?

Jan 10, 2012

Is there any application or way to customize the actions performed when the headset button is pressed?

I use Tasker for various automated things, but looks like there's nothing there (did I miss something?).

Specifically, this is the button on a bluetooth headset that would normally start the voice dialer -- I'd like it to do something different, perhaps. I know that the button's "command" can be intercepted by some applications, because I know that Vlingo, when installed, becomes an option of an application that would "handle" the bluetooth button press (i.e. when I press it, it pops up a window for "which application do you want to use for this").

Unfortunately, Vlingo just uses this to launch its own voice dialer... If it matters, I'm using the Galaxy Nexus on ICS.

View 4 Replies View Related

General :: Voice Actions On Jelly Bean Not Functioning Properly

Jul 9, 2012

I flashed jelly bean onto my galaxy nexus over the past weekend.Playing around with it, I've noticed that voice actions just don't work.Every time I say 'Call Contact', it searches for the phrase instead of performing the action. I've tried other voice actions too like setting alarms, writing emails but nothing works. My phone just performs a web query each time.

View 3 Replies View Related

General :: Do Custom Actions When Too Many Pattern Incorrect Unlocking Attempts

May 1, 2011

I'm searching for an app (or hack, or whatever) which allows me to do custom actions when there are too many incorrect unlocking attempts. For example, when 5 incorrect patterns are entered, get the location and send it to a remote web server. In my case, I would like to start Cerberus tracking, but that's not the main point.

Is there an app, or custom lock screen, or any security app that allows me to do this?

View 1 Replies View Related

General :: Google Music API - Voice Actions To Launch Songs?

Jul 1, 2012

I was looking at all the nice music apps available with nice UIs and noticed that however good they may be, none allow connectivity to Google Music to access songs from the cloud.

I had read that someone released an unofficial Google Music API, however I haven't seen any apps take advantage of this. Also, not many apps seem to take advantage of Google Voice Actions to launch songs.

Any apps that have taken advantage of the API? What happened to the project?

View 2 Replies View Related

General :: Some Click Actions Disappeared After Changed Global Density Value

Jan 21, 2014

I made a home screen just with Zooper and Tasker. Yesterday I changed the density to get everything smaller. Afterwards I changed the density back to original for my Launcher and for Zooper (With AppSettings).

Original Density: 320
Changed to: 270

Now I have the Problem that I can't click many of the created Widgets. I have multiple Text Elemts and Icons which dosnt react when i click them.

Now I tested a bit and found out that if the Text/Icons are much bigger I can click them (i.e. Textsize 40).

So i think i have to change the density for something else, but what? GT-N7100

View 2 Replies View Related

General :: Bytecode - Running Script From Global Actions Menu

Mar 3, 2013

This is the code I am using with reboot mod, replacing hotboot "pkill" command.

:try_start_27
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

move-result-object v0
const/4 v3, 0x2
new-array v4, v3, [Ljava/lang/String;
const/4 v5, 0x0

[Code] .....

It seems to be fine, as it doesn't break anything, but the script won't start.

View 1 Replies View Related

General :: Android Devices - Getting Message That Says Unauthorized Actions Have Been Detected?

Apr 13, 2014

ok so me and my mom traded phones i had a iphone 5 and her the samsung galaxy s4 active so when i got the phone it worked great had it for about 2-3 weeks then all of a sudden when i try to enable wifi it wont let me it stays green and i keep getting a message that says Unauthorized actions have been detected. Restart your phone to undo any unauthorized changes my device is active 1537 version 4.3 ML2 build

View 1 Replies View Related

Android :: Broadcast Receiver - Create A Broadcast Receiver Which Responds To System Events

Sep 28, 2009

trying to create a broadcast receiver which responds to system events and change system settings. I don't need any interaction from the user so I don't need an activity and have been trying to do everything through the manifest file. I've put a log event into my onReceive method but it never logs anything so I'm presuming my method is never called. I've tried this with both the 1.5 and 1.6 SDKs. I was hoping somebody could have a look at my code please and let me know if there are any problems.

View 2 Replies View Related

General :: Adding Voice Actions Via Lock Screen To Galaxy Nexus

Jan 23, 2012

Either by ROM, App, or Rooting/Otherwise, is there a way to make the lock button have multiple functions on my Galaxy Nexus? My goal is to be able to use Voice Actions from a locked phone (like in the car, for example).I noticed some posts on editing hardware buttons, but that was neither for the Galaxy Nexus nor for a lock button.

Ideally, 2 quick clicks would pull up Voice Actions from a locked phone.I guess if I could permanently have Voice Actions in the notifications section, I could drag down from a locked phone and accomplish the same thing. I use slide to unlock, so dragging down on notifications bar is still available.

I have not rooted yet but would do so just for this functionality (I'm now a corporate tool so I try to hack as little as possible these days)...

View 6 Replies View Related

General :: Possible To Broadcast Music To LAN Without DLNA?

Mar 30, 2012

I have a Pioneer AVreceiver which does not support DLNA but can be connected to a router to play music from the internet, i.e. shoutcast radios. To let it play I need to enter stream IP in AVreceiver interface. I can do the same using my PC, playing mp3s with winamp chained with a shoutcast server which broadcasts to my LAN, inputing in AVreceiver the LAN IP of my PC (192.168.0.25:8000).

I have just bought a SamsungNote and I have put my mp3 collection on it and I was wondering in there's an app that can broadcast music from phone to LAN in order to be played on my AVreceiver using the phone LAN IP.

View 2 Replies View Related

General :: Tethering Does Not Broadcast SSID

Sep 28, 2012

I recently installed a new Custom Rom "TheBrainsRom" on the SSpeed Kernel v3 on my Xperia U. All was fine until i tried to turn on the Tethering. It shows that it is tethering but then it doesnt broadcast. At times, the Status Bar also gives a force close issue.

Is this usually to do with the Kernel or ROM handles such functions independently. What could i do in order to avoid having to reflash the device.

View 1 Replies View Related

General :: Receiving Broadcast Event Without Activating App

Sep 6, 2013

I want to create an app in which I need to send SMS to a predefined number after first boot up of Phone. I want to do this without user intervention. i.e I don't want to create launcher icon.For that i am using a Broadcast receiver which will receive "android.intent.action.BOOT_COMPLETED" event and I can send SMS from this receiver after some duration. This mechanism works fine till Android Version 3.1. I came to know that in later versions A broadcast receiver will not receive an event if Application is not activated at least once. Due to this security measure adopted in Android 3.1+ This mechanism is not working. Any alternate way to meet my requirement.

View 1 Replies View Related

General :: Create Broadcast Receiver To Detect When Screen Was Locked

Jul 12, 2013

I am trying to create a broadcast receiver to detect when the screen was locked. I have it already working to detect when the the tablet was booted, but it won't work for the SCREEN_OFF action. Right now I just have it log any intents that where triggered and so far its only working for when the boot was completed.

Code:
package com.atlantis;
import android.content.BroadcastReceiver;
import android.content.Context;
[code]...

View 1 Replies View Related

Android :: Multiple Broadcast Messages With Less Data Or Less Broadcast Messages With More Data

Oct 5, 2009

I am developing an application which is communicating with the server. Tha application can perform log-in and get different parameters from server.

The application consists of a RESTful client (custom class for making requests), Communication Service (the service which runs in the background) and the main activity.

For now I created multiple broadcast messages and multiple broadcast receivers in the main activity so when the application performs login operation a receiver (loginBroadcastReceiver) in the main activity receives a message and when another parameter is received from the server different message is broadcasted and another receiver handles the message.

This way however the application performance is poor but I am not sure whether it is due to multiple broadcast receivers.

Does anyone know what is the best way to exchange data between service and main activity - is it better to create a single broadcast receiver and retrieve all parameters from message or is it better to initialize multiple broadcast receivers for multiple parameters?

View 1 Replies View Related

HTC EVO 4G :: Voice Actions

Aug 21, 2010

I was having a problem getting VA to call anyone in my contacts. It would want to call some random business and offer to Google the person I actually wanted to call. After searching for a while I came upon the solution of clearing out the contacts data - Menu, Settings, Applications, Manage Applications (select "All"), Contacts Storage -- the select Clear Data. Then re-sync your contacts with your Google contacts. You may want to backup your contacts before you do this. I didn't lose any, but YMMV. Note that this also cleared up a sync issue I was having with my Google contacts. May the force be with you and live long and prosper.

View 3 Replies View Related

HTC Desire :: Voice Actions

Aug 30, 2010

I know there was a thread about it on here before, but I cant seem to find it. I'm just wondering how to get it working properly on my 2.2 Desire. I'm in the UK. I know there was mention of changing the language or something?? And I remember someone gave a list of all the actions they had gotten it to do so that would be useful as well as what to say to get those actions.

View 3 Replies View Related

HTC Hero :: Voice Actions In 2.1

Aug 24, 2010

I've noticed 2.1 voice input will recognise the 'call' and 'navigate' commands but I am trying to find out which other actions work on 2.1. Is there a list anywhere?

View 5 Replies View Related

How To Assign Two Actions To One Button

Mar 9, 2012

how can i assign two actions to one button

i've tried this

Code:

bHat_cl.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_DOWN) {

[Code]...

View 5 Replies View Related

Android :: Quick Actions UI Pattern ?

Jun 17, 2010

I'm interesting in incorporating the Android UI pattern called "Quick Action". Basically, it's a context menu that doesn't cover up the data that is being acted on. I'd like to implement this but I cannot find an API to help me out or some sample code.

Note this UI pattern is discussed in the YouTube video, http://www.youtube.com/watch?v=M1ZBjlCRfz0#t=15m20s.

Does anyone have an implementation of this or know what google's standard for adding this to an application?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved