
Search In
In our application, we can add notification ringtone as we want. Here is the solution.
First of all we need to create a folder named raw in /res/ file. After creating the folder put your ringtone in raw folder.
Then put this code when you notify
In Swift if you want to check the Wifi connection in your device then use following code.
This is a function which returns Reachability instance (reachability class object) value as a returnvalue for wifi connection availability.
+ (instancetype)r
Hi,
Here is the steps to create cordova plugin directory structure : Install Yeoman by this command
$ npm install -g generator-cordova-plugin
then go to folder where you want that directory structure and run this command
$ yo cordova-plugin
F
Hi all,
To underline your button use this class :-
.h
@interface UnderLineButton : UIButton
@end
.m
@implementation UnderLineButton
- (void)drawRect:(CGRect)rect {
// Drawing code
CALayer *bottomBorder = [CALayer layer];
bottomBo
If you are looking to rotate an image that is selected image from device then please go through the following steps:-
Step 1:- select image from gallery to which requires rotation
Bitmap bitmapImage;
File fpath;
String root=Environment.get
class LoadImage extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... urls) {
Bitmap theBitmap = null;
If you want your html form to look more beautiful than just the simple check boxes then you can use the following advance css. This will give rich looks to your html form by styling checkbox
First on the html form create the checkboxes using the cod
Hi All,
To add image as background image in JPanel ,JLabel is used for example:-
setLayout(new BorderLayout());
try {
image = ImageIO.read(new File("D:\\New folder (2)\\fish.jpg"));
} catch (IO
isNaN() and isInfinite() methods in Java are the member functions of the java.lang.Double and java.lang.Float classes. Both the functions here are static member functions of the classes.
NaN here stands for the Not-a-Number, it specifies whether the
Image sprites is a collection of different images in a single image. image sprites can can be used in html page for showing different images seperately and help us to increase our image loading time. Any Web page with multiple images generates the mu
