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.

143 questions
1
vote
1 answer

Add Extra Fee on Product Page Using Hook [Woocommerce]

add_filter( 'woocommerce_get_price_html','product_page_price_display', 9999, 2 ); function product_page_price_display( $price_html, $product ) { $orig_price = wc_get_price_to_display( $product ); $price_html = wc_price( $orig_price + 10 ); …
1
vote
1 answer

intent.getStringExtra is always "null"

This is how the string is added to intent.putExtra: final ListView listView = findViewById(R.id.userListView); final ArrayList usernames = new ArrayList<>(); listView.setOnItemClickListener(new AdapterView.OnItemClickListener()…
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
1 answer

How to pass data and open an Activity from Widget?

I have a widget with only one textview,that changes every 24 hours. What I want is when I click on widget top open an activity with text from textview. static void updateAppWidget(Context context, AppWidgetManager appWidgetManager, int appWidgetId)…
Web.11
  • 406
  • 2
  • 8
  • 23
1
vote
1 answer

Pass array in Intent using parcelable

I would like to send an array of objects between activities. I want to use the parcelable interface and send the data in an intent. However I keep getting errors. I have been stuck for 2 days. Here are some details about my problem. Class A private…
1
vote
3 answers

How do I duplicate rows based on cell contents (cell contains semi-colon seperated data)

How do I duplicate rows based on the content of Column B. I'd like a separate row for each "Person" in the cell? This is my starting table (I can't extract the data in any other way): This is my goal: Thanks for your help!
Shaun Wright
  • 115
  • 4
  • 13
1
vote
1 answer

Chrome -- CSS -- Extra spacing

Can anyone look at this template and explain why only in Chrome that it adds a whole lot of extra space at the top of the page? https://html5up.net/uploads/demos/verti Update: Actually, I just discovered that when I'm logged into my work Google…
Cooper
  • 11
  • 2
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,410
  • 3
  • 23
  • 47
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
  • 537
  • 1
  • 6
  • 17
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
  • 311
  • 1
  • 7
  • 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
  • 501
  • 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
  • 14
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
  • 105
  • 1
  • 1
  • 3