Following credit card advice can help you unlock your cards full benefits, such as the cash back you’ll earn on your purchases, the interest you’ll earn on those purchases and the fees you’ll pay with it, If you are planning to get a credit card then please keep on reading.

A few quick points:

  • Be realistic with yourself.
  • Do not spend more than you earn on the card.
  • Pay all your bills on time.

If your credit report shows any late payments or other negative information, you could experience significant restrictions to your credit and interest rates.

Get started now by calling our 24/7 Financial Services team at 888-334-3664.

What is the Discover it Cash Back Card?

Discover it Cash Back is a rewards card available in the United States. Discover offers a flexible cash-back rewards program that is available for new and existing customers. You may receive 1% cash back on up to $1,500 in combined purchases each quarter (quarter 1 for 2018), 1% back on up to $6,000 in combined purchases per quarter (quarter 2 for 2018), 1% back on up to $12,500 in combined purchases per quarter (quarter 3 for 2018), and 2% back on up to $18,000 in combined purchases per quarter (quarter 4 for 2018). The cash-back reward on Discover cards is also subject to the terms and conditions of the issuer. You can view a list of all Discover cards here.

If you make a purchase, statement credit or other cash advance, you’ll get the rewards immediately. You’ll receive a statement credit or cash advance (up to $2,500) after you make your first purchase of $35 or more on the same day. If your first purchase is less than $35, you’ll be eligible to receive up to $20 statement credit. For all other purchases, you’ll receive statement credit (up to $2,500) if you make at least $15 in purchases within 3 months from your statement date.

Posted in Uncategorized | 2 Comments

Keywords in JAVA

Java Language Keywords

Below are all the keywords that are used in JAVA. Although const and goto are not used they are reserved.

abstract continue for new switch
assert*** default goto* package synchronized
boolean do if private this
break double implements protected throw
byte else import public throws
case enum**** instanceof return transient
catch extends int short try
char final interface static void
class finally long strictfp** volatile
const* float native super while

Java TV technology for digital television receivers is based on the Java™ platform,
which consists of the Java virtual machine (JVM™) and several reusable libraries of code in the Java programming language. The Java TV API is a standard extension to the Java platform and provides reusable, television-specific libraries.

Now java has become an indispensable program in our lives, since it is used to program a great variety of home appliances
The JVM resides on the digital television receiver and executes Java code there. It has been designed to ensure secure execution of code. Byte-code verification guarantees the validity of instructions executed by the JVM. Class loading mechanisms enforce how code is loaded into the machine, and can provide assurance about the code’s source.
The PersonalJava™ application environment has been optimized to work on resource-constrained consumer electronics devices, such as digital television receivers. Features not required in the Java platform for these devices have been
removed in the PersonalJava application environment.
This environment provides much of the functionality needed by Java applications and applets, such as a user interface toolkit, input and output, networking, internationalization, security, and class loading. However, the PersonalJava environment does not include television-specific functionality — that is provided by the Java TV API.
The Java libraries resident on a digital television receiver consist of a set of core class libraries from the Java platform, optional libraries that may be included based on a specific implementation’s requirements, and the Java TV API. The class libraries contain functionality that can be used by all Java applications and applets, so they can remain smaller and easier for software developers to write.

 

* not used

** added in 1.2
*** added in 1.4
****added in 5.0
For further reading follow the link below….
Posted in JAVA | Tagged , , , | 5 Comments

How to turn on camera flash light programmatically in Android?

For this you should do like :

  1. Check whether flash light is available or not ?
  2. If yes then Turn Off/On
  3. If no then you can do whatever according to your app. needs

For Checking availability of flash in device:

You can use the following

 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH);

which will return true if a flash is available, false if not. If you work with vinyl, is very important that you have the best vinyl cutter machine to make your work more efficient.

See http://developer.android.com/reference/android/content/pm/PackageManager.html for more information.

For turning on/off flashlight :

I googled out and got this about android.permission.FLASHLIGHT. Android manifests’ permission looks promising:

 <!-- Allows access to the flashlight -->
 <permission android:name="android.permission.FLASHLIGHT"
             android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
             android:protectionLevel="normal"
             android:label="@string/permlab_flashlight"
             android:description="@string/permdesc_flashlight" />

Then make use of Camera and set Camera.Parameters. The main parameter used here isFLASH_MODE_TORCH.

eg.

Code Snippet to turn on camera flash light.

Camera cam = Camera.open();     
Parameters p = cam.getParameters();
p.setFlashMode(Parameters.FLASH_MODE_TORCH);
cam.setParameters(p);
cam.startPreview();

Code snippet to turn off camera led light.

  cam.stopPreview();
  cam.release();

I just found a project that uses this permission. Check quick-settings’ src code. herehttp://code.google.com/p/quick-settings/ (Note: This link is now broken)

For Flashlight directly look http://code.google.com/p/quick-settings/source/browse/trunk/quick-settings/#quick-settings/src/com/bwx/bequick/flashlight (Note: This link is now broken)

Update6 You could also try to add a SurfaceView as described in this answer LED flashlight on Galaxy Nexus controllable by what API? This seems to be solution that works on many phones.

Update 5 Major Update

I have found alternate Link(for above broken links): http://www.java2s.com/Open-Source/Android/Tools/quick-settings/com.bwx.bequick.flashlight.htm You can now use this link. [Update : 14/9/2012 This link is now broken]

Update 1

Another OpenSource Code : http://code.google.com/p/torch/source/browse/

Update 2

Example showing how to enable the LED on a Motorola Droid : http://code.google.com/p/droidled/

Another Open Source Code :

http://code.google.com/p/covedesigndev/
http://code.google.com/p/search-light/

Update 3 (Widget for turning on/off camera led)

If you want to develop a widget that turns on/off your camera led, then you must refer my answer Widget for turning on/off camera flashlight in android..

Update 4

If you want to set intensity of light emerging from camera LED you can refer Can I change the LED intensity of an Android device? full post.. Note that only rooted HTC devices support this feature. Also do you want to know how to get more views on Instagram? check socialmediadaily.com for more info.

Issues :

There are also some problems while turning On/Off flashlight. eg. for the devices not having FLASH_MODE_TORCH or even if it has, then flashlight doesnot turn ON etc.

Typically Samsung creates alot of problems.

You can refer about problems in the given below list:

Use camera flashlight in Android

Turn ON/OFF Camera LED/flash light in Samsung Galaxy Ace 2.2.1 & Galaxy Tab

I’m happy to let you know that I was recently able to buy a vacationing house at Outer Banks real estate sales, so for the next two weeks I will be taking a small vacation, this may lowered the amount of post I’ll be doing in the next days.

Posted in Android | Tagged , , , | Leave a comment