Questions tagged [extra]

Terminal emulation for mainframes. IBM System z (Mainframe), IBM System i (AS/400), UNIX/Linux/OpenVMS (VT), and HP NonStop/Tandem systems.

138 questions
1
vote
1 answer

Extra space in LinearLayout widget

I'm not able to figure out why my widget has an extra space on my phone desktop. It has extra space on top and on bottom. It would be graceful if somebody could help me, I've been struggling with this problem for 2 days now. Here is my layout…
Raivis
  • 11
  • 1
1
vote
0 answers

ACF for woocommerce - add shipping method rules

on ACF (with ACF for Woocommerce installed) when you add a custom field group you have the option to show the fields based on conditions. There is a Woocomerce section which only contains the "checkout" page My goal is to add a "shipping method"…
1
vote
1 answer

eloquent: check for existing data in pivot table (primary key + extra column)

I have a pivot table with an extra column. I need to check if pair of data exists in this table prior to updating the extra column. There are two orders of problems here, first how can I do this check? I tried something like If…
Chriz74
  • 1,250
  • 2
  • 19
  • 35
1
vote
0 answers

c fprintf adds extra string

I'm trying to make a program that adds the string I want in the position I want in a file. When running the program it must be called like this: ./addString file_name position text for example if I have a file that contains 123456789 and I add…
AwesomeGuy
  • 477
  • 3
  • 13
1
vote
2 answers

Android - notification putExtra issue

I've searched for about hour to find some solution how to send extras to activity when user clicks in notification box but everything I've found didn't work for me. I need to pass event ID to activity where I show user info about this event. I've…
1
vote
1 answer

IE 7 - getting extra padding on bottom of footer, any fixes?

Here is my css for my footer. It is supposed to be at the very bottom of the page, but for some reason in IE 7 .. i am getting about 10px of extra margin. Any fixes? /* FOOTER…
Jon
  • 11
  • 2
1
vote
1 answer

System.NullReferenceException: Object variable or With block variable not set. VB.net

I've been tasked with converting an Excel VBA script into a VB.net standalone Windows application. I've never used VB.net before and find myself struggling with fixing this particular crash. I apologize in advance if my code is a disaster as I'm…
Eli Greenberg
  • 165
  • 1
  • 6
  • 16
1
vote
2 answers

Android. Can't clear or replace extras

I lunch activity from notification. Intent notificationIntent = new Intent(context, MainActivity.class); notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP ); notificationIntent.putExtra(GCM_EXTRA_ID,…
Marriage
  • 408
  • 3
  • 15
1
vote
1 answer

Camera Intent ACTION_IMAGE_CAPTURE and put extra data

I want to put extra data to an Intent Camera, that seems simple... It WAS working some days ago, but I made a lot of changes on code, avd and target version and now it is not working. The project is now on target version 11. In fact my goal is to…
neuronsoverflow
  • 133
  • 4
  • 13
1
vote
2 answers

Dropping extra decimal places in c

I've run into a small problem. I'm trying to remove extra decimal places in c, that will be used in calculations. For example 67.98345, I want it to be 67.98 But not just for a printf statement. I need the double to actually be 67.98 not 67.98345
Guardian
  • 85
  • 1
  • 1
  • 3
1
vote
1 answer

Setting a spinner item selected depending on an Intent Extras value

I have a spinner in my activity, populated from a DB, and if the activity gets an Intent with Extras, I want to set an Item from the spinner selected according to the extra. For example - if I have an Extra "CURR_NOTE_CATEGORY" and its value is 2, I…
Igal
  • 4,662
  • 15
  • 57
  • 108
1
vote
3 answers

HTML form with only hidden inputs create extra white space in FireFox

I have a simple form with two hidden inputs that is causing extra white space in Firefox. I've been in trouble with this for few days.
gotqn
  • 36,464
  • 39
  • 145
  • 218
1
vote
1 answer

Passing the same Intent extra multiple times, and somehow the extras don't match

I have an app that is set up to display an entry from a database as a notification when it receives a broadcast. The _id for that database entry is passed as an extra for the broadcast's intent. When the notification is clicked, the app is supposed…
MowDownJoe
  • 658
  • 1
  • 11
  • 28
1
vote
2 answers

Arduino: UDP sending yields extra characters

At the moment I have an Arduino board with an Ethernet Shield connected to a router. My computer connects to this router via Wi-Fi. My board and my computer send UDP messages back and forth to each other. My computer is a client, and the board is a…
Nick Williams
  • 233
  • 2
  • 11
1
vote
2 answers

Android intent extras values casting error: double casted to integer

I have such a problem while sending intent with extras: values put as double are converted to integer, and cannot be read as double when receiving the intent. The code is below. creation of the Intent in onUpdate method of WidgetProvider: Intent…
k4b
  • 185
  • 1
  • 2
  • 12