Re: Android Native - How To Request Notification Permissions Programming Mobile Development by Inamullah_1 Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the … How to display chart with long X axis values without congestion Programming Software Development by PM312 … like data is displayed in DataGrid view without reducing column width. ![Chartcandlestick.png](https://static.daniweb.com/attachments/2/22662a22f31d649405949f9df4915ed6.png… Re: How to show visa info based on country selection in a travel form? Programming Web Development by Biiim …"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="… Re: How to display chart with long X axis values without congestion Programming Software Development by kinvieb Hi, My first and quick point of view is that if you have a chart with such a big amount of data points, there might not be a need to show all individual data points. For the axis values, you may just choose to show points at a given interval, to avoid the congestion. For the data labels, you can choose to show labels at particular points (like … Re: Android Native - How To Request Notification Permissions Programming Mobile Development by Erussuhsh Hi I'm new android app development can you teach me Re: width Programming Software Development by Racoon200 That's pithagoras i think. You need the width or square and height. Also the starting points (corner square drawed from) Then you do an equation: width**2 + height**2 = distanceBetweenPonts**2 width Programming Software Development by gusbear how after drawing a square with two points at opposite corner would i find the width of it?? thanks Re: width Programming Software Development by Ene Uran If you have upper left corner coordinates (x1, y1) and lower right corner coordinates (x2, y2), then your width would simply be x2 - x1. Width adjustment for a simple jquery slider Programming Web Development by phaedrusGhost …;}); var liSize = o.vertical ? height(li) : width(li); // Full li size(incl margin)-Used for animation…for just the visible items) li.css({width: li.width(), height: li.height()}); ul.css(sizeCss,…div.css(sizeCss, divSize+"px"); // Width of the DIV. length of visible images if(… width section Programming Software Development by jimJohnson … the height to exit! Enter the height: 7 Enter the width: 5 Enter the character to fill the rectangle with: + - - …again!!! Enter the height: 5 Enter the width: 1 Invalid: Width cannot be less than 3. Try Again… for the height to exit!"; double cha, height = 0, width = 0; cha = Get_Character(); while (cha != -1) { … Re: width section Programming Software Development by jimJohnson …{ do { cout << "Enter the width: "; width = Get_Number("width"); if ( width <=3 ) { cout << "… << endl; Draw_Rectangle(height, width, symbol); Draw_Top_Bottom(width); cout << endl; Draw_Middle(height, width, symbol); cout << endl… Re: width section Programming Software Development by jimJohnson … do { cout << "Enter the width: "; width = Get_Number("width"); if ( width <= 3 ) { cout << &… = Get_Character(); Draw_Rectangle(height, width, symbol); Draw_Top_Bottom(width); cout << endl; Draw_Middle(height, width, symbol); Draw_Top_Bottom(width); cout << endl… Re: width section Programming Software Development by jimJohnson … void Draw_Rectangle(int height, int width); void Draw_Top_Bottom(); void Draw_Middle(); int main() {… Get_Number(); cout << "Enter the width: "; width = Get_Number(); cout << "Enter …Draw_Rectangle(int height, int width) { int a = height; int b = width; } void Draw_Top_Bottom() { int width, count = 0; char… Re: width section Programming Software Development by jimJohnson …(int height, int width, char symbol); void Draw_Top_Bottom(int width); void Draw_Middle(); int main() { int height, width, i; char symbol…;< "Enter the width: "; width = Get_Number(); for (i = 0; width.length(); i++); { cout << width[i] << &… Re: width section Programming Software Development by jimJohnson …(); void Draw_Rectangle(int height, int width, char symbol); void Draw_Top_Bottom(int width); void Draw_Middle(); int main() { int height, width, i; char symbol; cout… << "Enter the width: "; width = Get_Number(); for (i = 0; width.length(); i++); { cout << width[i] << " "… Re: width section Programming Software Development by VernonDozier …quot;; height = Get_Number(); cout << "Enter the width: "; width = Get_Number(); cout << "Enter the character to fill… "; } else { inputInvalid = false; } } return x; } void Draw_Rectangle(int width, int height, char symbol) { using namespace std; } void Draw_Top_Bottom(int… Re: width section Programming Software Development by jimJohnson … int Get_Number(); void Draw_Rectangle(int height, int width, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); … else cout << "Enter the width: "; width = Get_Number(); cout << "Enter… with: "; symbol = Get_Character(); Draw_Rectangle(height, width, symbol); return 0; } int Get_Number() { int… Re: width section Programming Software Development by VernonDozier …) { exit(1); } else cout << "Enter the width: "; width = Get_Number(); cout << "Enter the character to fill…(char symbol) { } char Get_Character() { for(int col = 0; col < width; ++ col) { cout << symbol; } } [/code][/QUOTE] Your Draw_Middle function… Re: width section Programming Software Development by jimJohnson …) { exit(1); } else cout << "Enter the width: "; width = Get_Number(); cout << "Enter the character to fill… the rectangle with: "; symbol = Get_Character(); Draw_Rectangle(height, width, symbol); return 0; } int Get_Number() { int x; bool inputInvalid = true… Re: width section Programming Software Development by VernonDozier … cout << "Enter the width: "; width = Get_Number(); cout << "…with: "; symbol = Get_Character(); Draw_Rectangle(height, width, symbol); return 0; } int Get_Number() {…char Get_Character() { for(int col = 0; col < width; ++ col) { cout << symbol; } } … Re: width section Programming Software Development by jimJohnson …) { exit(1); } else cout << "Enter the width: "; width = Get_Number(); cout << "Enter the character to fill…(); cout << endl; Draw_Rectangle(height, width, symbol); Draw_Top_Bottom(width); cout << endl; Draw_Middle(height, width, symbol); cout << endl; Draw_Top_Bottom… Re: width section Programming Software Development by jimJohnson …height to exit!"; int height, width; char x; height = Get_Number(); width = Get_Number(); cin >> …; while (x = 1) { height = Get_Number(); } width = Get_Number(); return 0; } int Get_Number() { int height; int… width; cout << "\nEnter the height… Re: width section Programming Software Development by jimJohnson …for the height to exit!"; int height, width; char x; height = Get_Number(); width = Get_Number(); while (x = -1) … return 0; } int Get_Number() { int height; int width; cout << "\nEnter the height: "…; cout << "Enter the width: "; cin >> width; return (height); } [/code] Re: width section Programming Software Development by VernonDozier …height to exit!"; int height, width; char x; height = Get_Number(); width = Get_Number(); while (x = -1…0; } int Get_Number() { int height; int width; cout << "\nEnter the height:… cout << "Enter the width: "; cin >> width; return (height); } [/code][/QUOTE]… Re: width section Programming Software Development by jimJohnson …height: "; height = Get_Number(); cout << "Enter the width: "; width = Get_Number(); Draw_Top_Bottom(char ); Draw_Middle(); cout << "Enter… with: "; symbol = Get_Character(); return 0; } void Draw_Top_Bottom(int width) { } void Draw_Middle(char symbol) { } void Draw_Rectangle(int height, int… Re: width section Programming Software Development by VernonDozier …quot;; height = Get_Number(); cout << "Enter the width: "; width = Get_Number(); Draw_Top_Bottom(char ); Draw_Middle(); cout << "… "; symbol = Get_Character(); return 0; } void Draw_Top_Bottom(int width) { } void Draw_Middle(char symbol) { } void Draw_Rectangle(int height… Re: width section Programming Software Development by jimJohnson … std; char Get_Character(); int Get_Number(); void Draw_Rectangle(int height, int width, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); int main() { int height…: "; height = Get_Number(); cout << "Enter the width: "; width = Get_Number(); cout << "Enter the character to fill… Re: width section Programming Software Development by mitrmkar …using namespace std; int main() { int height = 3; int width = 3; unsigned char fillSymbol = 0xf0; // draw a 3x3 … while(height --) { for(int col = 0; col < width; ++ col) { // output the symbol one at a time cout… strange ways, i.e. // this seems like width is an instance of a class/struct having a member… Re: width section Programming Software Development by jimJohnson …int Get_Number(); void Draw_Rectangle(int height, int width, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); …(); cout << "Enter the width: "; width = Get_Number(); cout << "Enter…quot;; symbol = Get_Character(); Draw_Rectangle(int height, int width, char symbol); return 0; } int Get_Number() … Re: width section Programming Software Development by jimJohnson …(); cout << "Enter the width: "; width = Get_Number(); cout << "Enter…quot;; symbol = Get_Character(); Draw_Rectangle(int height, int width, char symbol); return 0; } int Get_Number() … = false; } } return x; } void Draw_Rectangle(int width, int height, char symbol) { using namespace std; } void…