Showing posts with label Andorid. Show all posts
Showing posts with label Andorid. Show all posts

Friday, November 8, 2013

Install Hangouts 2.0.122

Google has released Hangouts 2 which gives you additional benefits of sending and receiving SMS right from your hangout application.

Hence, the over all experience of application is much more smoother and definitely richer.

You can download the file from here

Features:



The new Hangout first got released as Version 2.0.12 which was having some issues with Video chats but the current version i.e Version 2.0.122 is expected to resolve that.
Currently the APK is only for Nexus 5 in the Android Market but it ain't gonna stop you from getting it ;)

Lemme know about your experience with this version.

Saturday, May 25, 2013

Transition View Pager

Its been sometime when we talked anything core technical and made our hands dirty :)

Well happy to announce of releasing a new open source project named TransitionViewPager.

The credit goes to JazzyViewPager i have only extended the functionality to Fragments.

What's This Now !!!

Its a ViewPager that allows you to do more than just showing your content.. it allows you to animate during transition.
You can relate it to something like your application screen ( Android original Flavour )


Ok!!!
 


Kool! But how long will it take to implement?

May be 2~10 mins (depends on your typing speed :D)

Enough talk lets fight !! fafamuii!

Step 1:
layout.xml

<com.abhi.animated.TransitionViewPager xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/pager"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

<android.support.v4.view.PagerTitleStrip
        android:id="@+id/pager_title_strip"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="top"
        android:background="#33b5e5"
        android:paddingBottom="4dp"
        android:paddingTop="4dp"
        android:textColor="#fff" />

</com.abhi.animated.TransitionViewPager>


Step 2:
Activity.java
just append this

mViewPager = (TransitionViewPager) findViewById(R.id.pager);
mViewPager.setAdapter(mSectionsPagerAdapter);

mViewPager.setTransitionEffect(TransitionEffect.CubeOut);


Yepp!! you are all done!!! there are wide variety of stuffs that you can do with this... keep playing with TransitionEffect and see effects in application :)

WAIT WAIT WAIT!! where to get it from?

Monday, March 14, 2011

Samsung Galaxy Tab 10.1



Samsung is out with its new Galaxy Tab 10.1.
With 8MP rear camera , 2MP front facing camera , and Running Honeycomb as its OS Galaxy Tab 10.1 has entered the race of Tablets running Honeycomb.

Features:
- Galaxy Tab 10.1 is having 10.1" Display (1280 x 800)
- 1 GHz Dual -Core processor
- Dual surround sound speaker
- HD playback!

A WiFi only tablet has been launched.
With Galaxy Tab 10.1 Samsung is all set to enter the race of Tablets.




Thursday, March 10, 2011

OpenFeint & The9 throw $100 million on table to lure iOS developers to Android





Over the past couple of months Android has certainly seen an increase in quality games coming to the platform, but OpenFeint is just not 100 percent satisfied with the comparison of iOS games to Android games. Taking matters into their own hands, OpenFeint has partnered with The9 in order to build up a $100 million fund that will help developers make the transition from iOS to Android.

We launched on Android to bring gamers great content. We’ve already helped launch 250 great games, but there’s still work to do,” said Eros Resmini, VP of Marketing at OpenFeint. “There’s a treasure trove of great games on iOS waiting for the rest of the world to discover. This fund will help make that possible for indie game developers.

We can sure hope that developers will begin to take advantage of these funds, and bring their favorite games to the Android platform. For more information about the partnership and the funding, check out the full presser after the break.


OpenFeint Partners with The9 To Select Game Developers to Move to Android, Backed by $100 Million Fund9
Burlingame, Calif. – March 09, 2011 – OpenFeint, the leading cross platform social gaming network, and The9, an online game operator and developer in China, today announced a new way for top game developers to help fund their move to Android. The initiative is backed by the $100 million Fund9, a Chinese-based mobile internet development fund. OpenFeint and The9 will review and select top games and will fund their port to Android and OpenFeint integration. The companies will also pick select games to expand to China and willfacilitate their localization.

Games will be chosen based on the quality of the game, past download performance in other app stores, and the strength of the game developer. Interested developers should email androidfund@openfeint.com to express interest and learn more about the opportunity.

“We launched on Android to bring gamers great content. We’ve already helped launch 250 great games, but there’s still work to do,” said Eros Resmini, VP of Marketing at OpenFeint. “There’s a treasure trove of great games on iOS waiting for the rest of the world to discover. This fund will help make that possible for indie game developers.”

The $100 million Fund9 is a Chinese-based development fund that invests in mobile app, game engine, and platform technology developers around the world. Announced last December, the fund is a collaboration amongThe9, China Rock Capital Management, Chengwei Ventures, and China Renaissance K2 Ventures.

“Fund9 is focused on bringing the best mobile apps and platform technologies to China. Our partnership with OpenFeint is a great first step. We are excited to see some great games on Android devices in China soon,” said Chris Shen, Vice President at The9.

OpenFeint is the largest cross platform social gaming network with over 68 million players in 4,800 games. Launched just last September on Android, OpenFeint already has spawned several top 10 Android hits, including Fruit Ninja, Super KO Boxing 2, and Flick Kick Field Goal Kickoff.

The9, established in 1999 as one of the leading game developers and operators in China, has stepped into the mobile internet field and now working with major telecom carriers and application distribution channels in China with high speed growth.

Thursday, January 27, 2011

Android 3.0 Preview SDK Launched



What is Honneycomb :
It's a completely new interface for tablets that borrows a lot of ideas from BumpTop, the 3D desktop software acquired by Google last year.
As you can see.. it looks nothing like our Android what we had seen till date. Its a complete re-invention for tablets.

Google has finally launched the preview of Android 3.0 SDK code name Honneycomb to allow developers to start testing apps on tablet form factor. It includes 'holographic' or should i say almost final user interface (UI) theme and many more new features.

The best part of new updates is that you can create a same app for both Tablet and Mobile device, the system will automatically be configuring the look and feel of your application.

The new SDK will be launched with some non final API's said that it makes it very clear that you gonna see lots of changes by the time Google provides a final SDK to market.

Many vendors such as Acer, Motorola, LG and many other have already pipelined their products based on Android Honneycomb. Thus, it promises to be a big hit in the market.


More details can be found on : Android Developers Blog


Tuesday, January 11, 2011

Using Database SQLite : Andorid

Hi There...

Hope the last post of mine was quite useful for anyone who wanna go ahead and implement his/ her Notification..

Today we'll discuss about saving and retrieving data in and from database.
As Android has provided us with SQLite database. In this section of post we will understand the usage of the same.

WHAT IS SQLITE (QUOTE FROM WIKIPEDIA)
SQLite uses a dynamically- and weakly-typed SQL syntax that does not guarantee the domain integrity, which gives rise to criticism. SQLite is a multitasking database concerning reads. Writes can be done only one-at-a-time. It is a popular choice for local/client storage on Web browsers. It has many bindings to programming languages. Before a new version is released, extensive regression tests are performed, in an attempt to increase the quality of the product. It is arguably the most widely used database engine, as it is used today by several widespread browsers, operating systems, embedded systems among others

WHEN TO USE
This defines your understanding on the architecture of Android, also it showcases your expertise and understanding of tools that you use in different cases.
SQLite database is used in typical scenarios when you need to save multiple data in tabular format. Please note it is not a good practice to save Images in SQLite database.
Just for info we have multiple saving options when we tak about Andorid
1. Shared Preferences
2. Local Storage
3. External Storage
4. SQLite Database

Hence, you should identify your target well before going ahead and saving your data.

IMPLEMENTATION:
/**
* Copyright [2011] [Abhinava Srivastava]
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package abhi.blog.database;

import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

public class SQlConnector {

/**
* NAME of database
*/
private static final String NAME = "abhinavasblog";

/**
* TABLE NAME
*/
private static final String TABLE_NAME = "blog";

// To hold Context reference
private Context mContext = null;

/**
* To hold SQliteDatabase handler reference All operations of SQL will be
* performed over this
*/
private SQLiteDatabase databaseHandler = null;

/**
* Private Constructor to create only single instance of the class
*
* @param cntx
*/
private SQlConnector() {
}

private void openDB(Context cntx) {
// make check for no null value
if (cntx != null && mContext == null) {
mContext = cntx;
}

/**
* openOrCreateDatabase method has been provided by Context class.
* Taking 3 Params 1. Name of database you wanna create 2. Mode in which
* you want to open the database 3. Cursor factory is is Used to allow
* returning sub-classes of Cursor when calling query. for now we pass
* null as we are going to handle it here itself.
*/
databaseHandler = mContext.openOrCreateDatabase(NAME,
SQLiteDatabase.OPEN_READWRITE, null);

/**
* SQLiteDatabase has multiple options by which you can perform various
* operations in Android.
*/
databaseHandler.execSQL("create if not exists " + TABLE_NAME
+ " (names text);");
}

/**
* @param dataToInsert
* @return index of inserted data
*/
public long insertData(String dataToInsert, Context cntx) {
// open DB
openDB(cntx);

/**
* Creating data pair which need sto be inserted in the table
*/
ContentValues values = new ContentValues();
values.put("names", dataToInsert);

/**
* Insert function is provided by SQLiteDatabase with following
* parameter 1. Table Name 2. Calumn Hack - SQLiteDatabase do not allow
* null values but incase you want to fit in null 3. ContentValues - Key
* value pair which needs to be inserted in the DB
*/
long rowId = databaseHandler.insert(TABLE_NAME, null, values);

// close DB
closeDB();
return rowId;
}

/**
* @param id
*/
public void readAllFromDatabase(Context cntx) {
// open DB
openDB(cntx);

/**
* Query database for all values Cursor is responsible for traversing
* the view which is returned
*/
Cursor cursor = databaseHandler.query(TABLE_NAME, null, null, null,
null, null, null);

if (cursor != null) {
// reset cursor to top position of the obtained view of result set
cursor.moveToFirst();

while (!cursor.isAfterLast()) {
Log.i("Saved Data", cursor.getString(cursor
.getColumnIndex("names")));
}
}

// Close the cursor
cursor.close();
// close DB
closeDB();
}

/**
* Closing Database
*/
private void closeDB() {
if (databaseHandler != null) {
databaseHandler.close();
databaseHandler = null;
}
}

}