Browsing all articles by saurabh - Share Programming Tips
Feb
18

What’s new in Android 4.2.2

Author saurabh    Category Android, Tips     Tags

android-422_1

Android 4.2.2 isn’t quite official yet, but it’s slow roll out has been bolstered by manual download links and folks are finding a few new things in the latest firmware. Most of it is behind the scenes and will be covered by words like “stability enhancements” and bug fixes, and those are what’s really important. A specific that folks are reporting is a fix to the Bluetooth stack to fix audio stuttering, and that’s something folks have been waiting for. Equally important is that plenty of people are saying their Nexus devices are no longer randomly rebooting, so if you have an issue there hopefully Android 4.2.2 fixes it.

There are some other user-facing changes that probably won’t apply to anyone without a Nexus device. Once a manufacturer gets their hands into the code, they tend to change these types of “features” to something that fits in with their version of Android a it better. Often times their version works better than stock Android, so we’re not going to complain that they get changed. Here’s what folks using stock are seeing:

  • When connecting via adb to a computer for the first time, you’re prompted to allow the connection. This small security enhancement will help keep your bootloader locked device safe if you lose it.
  • App download notification have been changed. Now you’ll see a progress bar that tells you the time remaining in addition to a percentage downloaded.
  • Quick settings have been enhanced. Users can now long press on the Wifi and Bluetooth icons to toggle the setting.
  • New sounds for wireless charging initiation and low battery alert. Users will now hear a notification sound when the device is placed on a wireless charger. In addition the low battery sound has been changed.
  • Vibration for notifications is longer in duration
  • New Gallery app animation allows faster loading.

Really, nothing there anyone would miss if Samsung, HTC or any other manufacturer decided not to implement it. In short, 4.2.2 sounds like the bug fix update everyone has been waiting for. These kinds of updates are the ones we like seeing!

Feb
10

Multi-tasking on Android based devices

Author saurabh    Category Android, Tips     Tags

Cornerstone is an extension to the Android Framework, created by Onskreen, enabling true multi-tasking on Android based devices.

Story behind Cornerstone

As Android exploded and it grew to be used on tablets, the user experience did not evolve to support the richness of the larger screen devices. By default, the user experience designed for 3″ devices were simply blown up to fit on 7 and 10 inch screens. This didn’t take advantage of the larger screen size in any meaningful way, there was just so much more these devices could do.

We created Cornerstone so that Android would truly be optimized for these larger screens and users could multi-task the way they have become used to. Cornerstone was open sourced in Feb 2012.
read more

Feb
7
Comments Off

Implement Timeout for one function in C

Author saurabh    Category c, sample programme, Tips     Tags

Here i have one function which is listen mode. this function listing something which i got form some device.

Here when my function is in listen mode that time i want to create timeout. if i will not get any response from particular device than i want o exit from this function and have to notify.

if during this timeout period if i will get some date from something or some action would be performed than i have to continue with work and stop this timeout.
read more

Jan
4

Full Specifications of Leaked Samsung Galaxy S3

Author saurabh    Category Uncategorized     Tags

Samsung is planning to launch 3D Android smartphones next year. Company is actively working on the next generation of 3D technology to integrate in these smartphones, they won’t just provide 3D display, but will also help you play 3D games, record 3D movies and work with 3D TVs.

Apart from these new 3D devices, Samsung might also include the technology in Galaxy S III. According to ETnews, it is however not final till now whether Galaxy S3 will come with 3D or not, but in order to procure 3D components at a major level, Samsung would need six months and that would delay the S3 launch. Thus Galaxy S 3D (tentative name) might be company’s first 3D Android phone, which is expected to launch in Q2, 2012.

Korean publication further stated that Galaxy S III announcement is currently scheduled for Mobile World Congress with availability in April. S3 is expected to feature a quad core processor; but there is no word on other specifications, which we suspect would include Android 4.0 and at least 4.5 inch display.

 

Highlight Features of Samsung Galaxy S3:

  • NFC Chip,
  • 3rd generation Super AMOLED 3D Screen,
  • Ultra Low SAR Levels,
  • Blazing fast Speeds with Quad Core Processor,
  • Probable 4G Supported Phone,
  • Slimmest Smart Phone ever

 

Full Specifications of Samsung Galaxy S3:

read more

Dec
30

How to read system command output from Console In C

Author saurabh    Category Uncategorized     Tags

i want to run a command in linux, and get the text returned of what it outputs…but i DO NOT want this text printed to screen.

So this way you can use to do this.

Here we use popen in read mode

The popen() function shall execute the command specified by the string command. It shall create a pipe between the calling program and the executed command, and shall return a pointer to a stream that can be used to either read from or write to the pipe.

Code : -

read more

Nov
25

How To Root Your HTC Incredible S

Author saurabh    Category Uncategorized     Tags

 

The HTC Incredible S is a beast, but it’s more like one that’s chained and caged. To really feel its power, you need to root it. Surprisingly, it’s quite easy to do so. Here’s how.

First, before you can root your HTC Incredible S, you need to make your device “S-OFF” (this means SECURITY OFF). This allows you to overwrite system files, which is a requirement for rooting.

Requirements:

  • HTC Incredible S
  • Computer (Your OS must be Linux or Windows)
  • USB data cable

To check if your device is S-OFF or S-ON, follow these steps:

  1. First, click on Menu. Then tap on Settings > Applications > Turn off Fast Boot.
  2. Then, turn off the phone.
  3. Hold Volume Down key and Power button simultaneously for a few seconds.
  4. This will reboot the phone and show you a white screen with some text. Check the first line to see if the phone is S-OFF or S-ON.
  5. Also take note of the number next to HBoot on screen. You will need that information later
  6. read more

Nov
6

how to increase stack size in linux.

Author saurabh    Category linux, tips     Tags

Normally you would set the stack size early on, e,g, at the start of main(), before calling any other functions. Typically the logic would be:

  • call getrlimit to get current stack size
  • if current size < required stack size then
    • call setrlimit to increase stack size to required size

In C that might be coded something like this:
read more

Oct
31

Huffman Encoding Using Linked List with Source Code

Author saurabh    Category c, sample programme     Tags

After a long time, I am back. Months without programming and then finally I got some time on my hands. So I set out to code the Huffman’s Data Compression Algorithm. And the result is here!

The code is well-commented and I hav given some additional documentation. Also, I hav tested it extensively – right from small words to complete bollywood Songs..:P

Here i had did two types of Huffman Encoding

1 ) Simple User Input

2) Take Input from File

But if there are any probs,let me know.

read more

Oct
24

Oracle Buys Cloud-based Customer Service Company RightNow For $1.5 Billion

Author saurabh    Category Uncategorized     Tags

Oracle this morning announced that it has acquired RightNow – both companies are listed on NASDAQ – for $43 per share or roughly $1.5 billion net of RightNow’s cash and debt. With the acquisition, Oracle is adding a robust cloud-based customer service offering (see graph below) to its own Public Cloud solution – more info on that here. RightNow’s share price closed at $35.96 last week, so the deal represents a premium of roughly 20 percent on its closing price on Friday the 21st of October.

 
<>
RightNow’s solutions help companies handle customer interactions across a multitude of channels, including call and contact centers, the Web and social networks.

Its products are used by nearly 2,000 organizations across the globe, the company says.

Founded in 1997, RightNow went public in 2004. The company boasted a market cap of $1.2 billion at market close last week.

The acquisition by Oracle is expected to close later this year or in early 2012. As usual, the transaction is subject to a number of things, including RightNow stockholder approval, regulatory approvals and other customary closing conditions.

Oracle has closed 6 acquisitions this year. While its takeovers of RightNow and Endeca are pending, the company has completed the purchases of Datanomic, FatWire, Inquira, Ndevr, Ksplice and Pillar Data Systems in 2011 alone.

Oct
14

Samsung ‘ChatON’,Samsung’s Version Of iMessage now Available in Android Market.

Author saurabh    Category Android, Tips     Tags

 

Samsung’s cross-platform messaging application called ChatON has arrived in the Google Android Market this morning.

The service, announced on 29th August 2011, is similar to RIM’s BlackBerry BBM or Apple’s i Message in that it allows for an alternative to SMS or MMS messaging.

At present, ChatON supports Android, bada and Samsung feature phones, butthe company promises support for iOS and BlackBerry soon.

The Android version is available here in the Android Market. It works on Android 2.2 and 2.3. The Samsung (bada, feature phone) version is available in the Samsung App Store.
read more

Follow us on Twitter! Follow us on Twitter!

Search in this website

our sponsors

latest comments

Find us on Facebook

Top Authors

35 posts
saurabh
22 posts
10 posts

Find us on stackoverflow

Polls

Tell us who you are

View Results

Loading ... Loading ...

My Bookmarks

Sponsers Link