Questions tagged [receiver]

An object that receives some messages.

An object that receives some messages.

389 questions
0
votes
2 answers

How to implicitly refer to a variable

My code has a lot of this: driver.blahblahblah. Consider the following code sample, taken from http://www.browserstack.com/automate/ruby. require 'rubygems' require 'selenium-webdriver' driver = Selenium::WebDriver.for(:remote, :url =>…
user3740959
  • 455
  • 1
  • 4
  • 6
0
votes
0 answers

Broadcast Receiver firing too often

I am having an issue where my application is constantly entering the onReceive method and I am not sure why. I entered some log statements but I still do not understand why the onReceive is being called. I did some research looking around, just…
Android
  • 1,230
  • 12
  • 20
0
votes
1 answer

BroadCast CONNECTIVITY_CHANGE Triggered Many Times

In a BroadcastReceiever I am using this code to detect when the device is connected to the internet (when a connection is available - WiFi/data): if(arg1.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) { ConnectivityManager…
user2531436
0
votes
1 answer

Unable to display activity(alarm) when phone is asleep

I have read through a lot of answers regarding this and still cannot figure out a way to do it. I have an app which sets a reminder for a meeting and shows a pop up activity 15 minutes before the appointment and getting an input from the user about…
0
votes
2 answers

Uart Vhdl, simulation is ok but in fpga not work

I write simple vhdl code for Uart receiver. Simulation (iSIM) is fine but when implemented I have wrong reading behavior. When synthetized ISE tell me there are latches on state machine end on data_fill(x). have you any suggestion. thanks in…
Gian
  • 41
  • 1
  • 6
0
votes
2 answers

A single BroadcastReceiver in an Android APK file.

Suppose we have an Android APK file which contains only a single BroadcastReceiver. Will this form of the APK file be installed on Android devices be installed successfully and can the BR receive intended intents? I thought it will, but my…
user3509406
  • 389
  • 1
  • 10
0
votes
2 answers

How to unregister incoming call and outgoing call receivers?

I'm developing an application for Android. I use Samsung Galaxy S3 with original ROM Jelly Bean 4.3. I have a problem with the receivers of incoming call and outgoing call. Here is the code of IncomingCallReceiver: public void onReceive(Context…
andrea92
  • 1
  • 1
0
votes
0 answers

Android: AlarmManager "Missing a call to unregisterReceiver()?" when back button is pressed

I am trying to schedule an alarm to run even when the app is in the background. The code below runs fine if the app is in the foreground. However, as soon as I press the back button I get a "leaked Intent Receiver error" suggesting that I am missing…
0
votes
3 answers

Where put the intent?Java or Manifest?

Something is still not clear for me; I have to monitoring the battery level and i wrote inside my service in th onCreate this lines: public void onCreate(){ super.onCreate(); mNotificationManager = (NotificationManager)…
David_D
  • 1,404
  • 4
  • 31
  • 65
0
votes
1 answer

How To Set Min API To Certain Receiver/Activity

I've created a widget for my application and I am using TextClock to display the time. Problem is, it isn't supported by android API versions lower than Jellybean. My question is, how can I set a receiver to minimum API 17 in the manifest or…
0
votes
2 answers

broadcast receiver as inner class

this is with reference to this link i am getting illegal access exception when i run the code. i have tried all the possibilities for the manifest as given in the above link. my logcat error is as follows: 03-04 16:42:48.105:…
newbee
  • 409
  • 2
  • 12
  • 34
0
votes
1 answer

Pass result from DeviceAdminReceiver back to calling activity

My activity (MyActivity.class) executes the method to set the screen lock as follow: startActivityForResult(Security.setLockscreen(getBaseContext()), 1001); Then my receiver class logs the change to the screen lock as follow: public class…
ChuongPham
  • 4,761
  • 8
  • 43
  • 53
0
votes
1 answer

Sending/Receiving an HMODULE with Winsock

I'm working with a C++ project where two processes (running on the same machine) are communicating with each other via TCP, using WinSock. The process 'A' loads several Dll's which must be used by process 'B'. However, I'm having trouble…
-1
votes
0 answers

View linux in skywalking

https://github.com/apache/skywalking/discussions/11259 I want to check out linux inside skywalking. I refer to https://skywalking.apache.org/docs/main/next/en/setup/backend/backend-vm-monitoring/ Steps 1 and 2 have been completed. What should I do…
-1
votes
1 answer

Arduino Mhz 433 send a long

I am working on a project where I am sending data via the Arduino Mhz 433 transmitter and receiver. The data code is coming from a FSR. How ever the code for the data I am receiving is in a Long and the code for the MHZ 433 is in a char. This is my…