Pages

Saturday, April 2, 2016

Android NFC read MifareClassic RFID tag with android nfc action TECH DISCOVERED

This example show using intent-filter of "android.nfc.action.TECH_DISCOVERED", specify target tech of android.nfc.tech.MifareClassic, and read basic info my MifareClassic RFID tag.


Edit AndroidManifest.xml, to specify <uses-permission> of "android.permission.NFC", and <uses-feature> of "android.hardware.nfc".
Add <intent-filter>> of "android.nfc.action.TECH_DISCOVERED", and <meta-data> for "@xml/nfc_tech_filter".
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.blogspot.android_er.androidnfctechdiscovered" >

<uses-permission android_name="android.permission.NFC"/>
<uses-feature android_name="android.hardware.nfc"
android_required="true"/>

<application
android_allowBackup="true"
android_icon="@mipmap/ic_launcher"
android_label="@string/app_name"
android_supportsRtl="true"
android_theme="@style/AppTheme" >
<activity android_name=".MainActivity" >
<intent-filter>
<action android_name="android.intent.action.MAIN" />
<category android_name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android_name="android.nfc.action.TECH_DISCOVERED"/>
<category android_name="android.intent.category.DEFAULT"/>
</intent-filter>
<meta-data android_name="android.nfc.action.TECH_DISCOVERED"
android_resource="@xml/nfc_tech_filter" />
</activity>
</application>

</manifest>


Create xml/nfc_tech_filter.xml. In order to make it simple, we specify one tech only, android.nfc.tech.MifareClassic.
<resources >
<tech-list>
<tech>android.nfc.tech.MifareClassic</tech>
</tech-list>
</resources>

MainActivity.java
package com.blogspot.android_er.androidnfctechdiscovered;

import android.content.Intent;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.nfc.tech.MifareClassic;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

private NfcAdapter nfcAdapter;
TextView textViewInfo, textViewTagInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
textViewInfo = (TextView)findViewById(R.id.info);
textViewTagInfo = (TextView)findViewById(R.id.taginfo);

nfcAdapter = NfcAdapter.getDefaultAdapter(this);
if(nfcAdapter == null){
Toast.makeText(this,
"NFC NOT supported on this devices!",
Toast.LENGTH_LONG).show();
finish();
}else if(!nfcAdapter.isEnabled()){
Toast.makeText(this,
"NFC NOT Enabled!",
Toast.LENGTH_LONG).show();
finish();
}
}

@Override
protected void onResume() {
super.onResume();

Intent intent = getIntent();
String action = intent.getAction();

if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
Toast.makeText(this,
"onResume() - ACTION_TECH_DISCOVERED",
Toast.LENGTH_SHORT).show();

Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
if(tag == null){
textViewInfo.setText("tag == null");
}else{
String tagInfo = tag.toString() + " ";

tagInfo += " Tag Id: ";
byte[] tagId = tag.getId();
tagInfo += "length = " + tagId.length +" ";
for(int i=0; i<tagId.length; i++){
tagInfo += Integer.toHexString(tagId[i] & 0xFF) + " ";
}
tagInfo += " ";

String[] techList = tag.getTechList();
tagInfo += " Tech List ";
tagInfo += "length = " + techList.length +" ";
for(int i=0; i<techList.length; i++){
tagInfo += techList[i] + " ";
}

textViewInfo.setText(tagInfo);

//Only android.nfc.tech.MifareClassic specified in nfc_tech_filter.xml,
//so must be MifareClassic
readMifareClassic(tag);
}
}else{
Toast.makeText(this,
"onResume() : " + action,
Toast.LENGTH_SHORT).show();
}
}

public void readMifareClassic(Tag tag){
MifareClassic mifareClassicTag = MifareClassic.get(tag);

String typeInfoString = "--- MifareClassic tag --- ";
int type = mifareClassicTag.getType();
switch(type){
case MifareClassic.TYPE_PLUS:
typeInfoString += "MifareClassic.TYPE_PLUS ";
break;
case MifareClassic.TYPE_PRO:
typeInfoString += "MifareClassic.TYPE_PRO ";
break;
case MifareClassic.TYPE_CLASSIC:
typeInfoString += "MifareClassic.TYPE_CLASSIC ";
break;
case MifareClassic.TYPE_UNKNOWN:
typeInfoString += "MifareClassic.TYPE_UNKNOWN ";
break;
default:
typeInfoString += "unknown...! ";
}

int size = mifareClassicTag.getSize();
switch(size){
case MifareClassic.SIZE_1K:
typeInfoString += "MifareClassic.SIZE_1K ";
break;
case MifareClassic.SIZE_2K:
typeInfoString += "MifareClassic.SIZE_2K ";
break;
case MifareClassic.SIZE_4K:
typeInfoString += "MifareClassic.SIZE_4K ";
break;
case MifareClassic.SIZE_MINI:
typeInfoString += "MifareClassic.SIZE_MINI ";
break;
default:
typeInfoString += "unknown size...! ";
}

int blockCount = mifareClassicTag.getBlockCount();
typeInfoString += "BlockCount = " + blockCount + " ";
int sectorCount = mifareClassicTag.getSectorCount();
typeInfoString += "SectorCount = " + sectorCount + " ";

textViewTagInfo.setText(typeInfoString);
}
}


layout/activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout


android_layout_width="match_parent"
android_layout_height="match_parent"
android_padding="16dp"
android_orientation="vertical"
tools_context=".MainActivity">

<TextView
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_layout_margin="10dp"
android_layout_gravity="center_horizontal"
android_autoLink="web"
android_text="http://android-er.blogspot.com/"
android_textStyle="bold"/>

<TextView
android_id="@+id/info"
android_layout_width="match_parent"
android_layout_height="wrap_content"
android_textStyle="italic"/>

<TextView
android_id="@+id/taginfo"
android_layout_width="match_parent"
android_layout_height="wrap_content"
android_textStyle="bold"/>

</LinearLayout>


Reference:
- http://developer.android.com/guide/topics/connectivity/nfc/nfc.html
- http://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html
- http://developer.android.com/reference/android/nfc/tech/MifareClassic.html

Next:
- Android NFC: readBlock() for MifareClassic, to dump data in RFID tag

Read More..

Friday, April 1, 2016

Gun Strike 2 Mega MOD Android Game Moded


Salam Blogger :) 
Huft ga tau bingung mo ngapain, jadi update blog aja lah haha. Gun Strike 2 game tembak2an dengan banyak character dengan skill yg berbeda2. dan ini yg versi ke-2 nya. lebih bagus grafiknya, lebih panjang ceritanya. ya intro nya itu aja deh ya, langsung aja ke gamenya oke. Cek it : 

Details Game: 
Name      : Gun Strike 2
Genre      : Action,Adventure
Platform  : Android 
Requires  : Android 2.3  and up

Modification on Game: 
- Unlimited Money & Diamonds
- No Ads
- All Unlocked (Character & Weapon)




Review Modif:

Screenshoot:


Tutorial Instal : 
1. Download game. 
2. Pindahkan Game ke Androidmu.
3. Uniinstal Version originalnya, jika ada.
4. Instal MOD apk & Play
5. Enjoyyy 

|DOWNLOAD|
Gun Strike 2- Mega MOD[Android Game : Moded]

|Download Original game|
On Playstore



#Salam Blogger
#Semoga bermanfaat :)
#Ask? comment :) 
Read More..

CoPilot Premium Europe v9 4 0 144 Full


*Navigate Europe without data roaming! High-quality Sat Nav for Android with European offline maps, safety cameras, 12 months free traffic information and much more!*
+"CoPilot proves you dont need to spend a lot to get a good sat-nav." - Auto Express Best Buy 2013+
Designed for drivers. CoPilot Premium is the essential voice-guided GPS navigation app for Android. Its compatible with over 280 droids including the Samsung Galaxy S4, Note 1 & 2, HTC One, Google Nexus 7 and Xperia Z!

With quality offline maps and clear turn by turn directions in your own language you can navigate safely and easily without data roaming throughout Europe. Your Droid IS your CoPilot.
"A real threat to stand-alone devices" Which? Best Buy
"The best blend of features, performance and cost" – Engadget
"CoPilot is the best all-rounder, with a winning combination of excellent navigation and innovative features. It beats Google Maps into second place" Android Magazine Test Winner 2013

REASONS WHY YOU NEED A COPILOT 
? Offline navigation: Maps of over 40 European countries stored onboard your smartphone or tablet so you can navigate abroad without data roaming (select and download maps via WiFi after purchase)
? #1 paid GPS navigation app in over 25 countries 
? Navigate to a full UK post code, house number or address book contact 
? High quality NAVTEQ maps as used by the best in-dash systems 
? Turn-by-turn voice guidance with text-to-speech technology 
? Lifetime use: pay once, get CoPilot navigation for life 
? Includes 12 months free ActiveTraffic™*
YOUR DRIVER-FRIENDLY COPILOT 
? Complex junctions made easy with lane arrows, signpost info and 3D ClearTurn™ view 
? Alternate routes: a choice of 3 ways to go 
? Tap and drag to edit the route 
? Powerful multi-stop trip planning and optimisation 
? My Places: easy access to home, work and favorite places 
? Tap on the map to navigate there
SAFETY-FIRST COPILOT 
? Speed camera alerts with FREE updates (not available in France or Switzerland) 
? Speed limit indicator and warnings 
? Unique directions-only driver safety view 
? Automatic day-night modes 
? RV routes for caravans and larger vehicles
12 MONTHS ACTIVETRAFFIC™ INCLUDED* 
? Find the fastest route based on live traffic flow 
? Automatically finds a new route if there’s a delay 
? Colour-coded live traffic map and status bar
OPTIMISED FOR ANDROID
? Runs on over 250 Android devices
? Supports all popular smartphone and tablet screens
? Navigate to a destination from an email
? Minimize using back button
? Background navigation^
YOUR LOCAL COPILOT 
? Offline points of interest: car parks, petrol stations, car hire and more 
? Online search with Google™ and Wikipedia* 
? 5 day local weather forecast* 
? Parking wizard: never lose your car again!

MAPS INCLUDED: 
? Western and Eastern Europe (including UK): AD, AT, BY, BE, BA, BG, HR, CH, CZ, DK, EE, ES, FI, FR, DE, GI, GB, GR, HU, IE, IS, IT, LV, LI, LT, LU, MK, MD, MC, ME, NL, NO, PL, PT, RO, RU, SM, RS, SK, SI, SE, TR, UA, VA
PLUS ALL THE FEATURES YOUD EXPECT FROM A SATNAV 
3D and 2D maps – fastest/shortest routes - ETA and distance - instant detour - personal routing options - avoid ferries and tolls – congestion charge alerts - Twitter and Facebook status updates and more!
Full details at www.copilotlive.com
Twitter: @copilotlive 
Facebook: facebook.com/copilotlive 
Google+: search +copilot live

NOTES: 
* Requires a mobile internet connection 
^ Continued use of GPS running in the background can dramatically decrease battery life

Whats New
• Completely refreshed and restyled user interface
• New motion lock safety feature to disable map interaction at a specified speed for improved hands free driving
• Two striking new map styles you just can’t miss
• Improved POI search to find places near your destination more easily
• Motorway exit numbers are now shown on the map to make it even easier to get your bearings
• Pioneer NavGate HUD Connector (in-app purchase)


Read Here: How to Install APK

Requirements: Varies with Device
File Size: 22.11 MB
Download Link: Mediafire.com
Read More..

HDR Camera v2 38 Full

HDR Camera+ grew up into A Better Camera - all-purpose, full featured camera for Android! 11 shooting modes, full camera control. HDR mode is free for HDR Camera+ users!
Get Open Camera NOW!

Full featured and fast HDR camera for Android. Take pictures with vivid colors and rich detail:
- Simple: take an HDR image in one tap
- Full resolution
- Real HDR: exposure bracketing and tone mapping
- Zoom
- HDR images fused and tone mapped on device within seconds
- Hand shake compensation, no need to be rock-solid while shooting
- Correct handling of moving objects, de-ghosting
- You can control tone-mapping parameters: contrast, micro-contrast, color vividness, exposure
- Save original exposure bracketed images
- Location tagging
- Shutter sound can be muted (not on all models)
- Support for Flash on/off/auto

Why HDR
------------
Real life scenes often have a wide range of light intensity, which cannot be captured by a camera. In a photo of such a scene the bright areas look washed out and everything in shadows is pictured as a black spot with no details. The HDR technique allows you to capture details in bright and dark areas and have them merged in a single photo.
HDR photography is widely adopted by professional photographers. Wouldnt it be nice to have an HDR in mobile phones?
The problem is that HDR requires taking several differently exposed images in series, which must be precisely aligned and then fused. In order to be usable for real life scenes, the HDR feature should include moving object detection and hand shake compensation to avoid or minimize the ghosting in the final image. That requires a lot of computational resources and makes a challenge even for professional desktop HDR software.
Almalence has brought its expertise in professional HDR software to mobile phones. Our HDR fusion algorithms compensate hand shaking and detect moving objects in the scene, suppressing ghosting artifacts. At the same time, the algorithms are quick enough to provide comfortable processing time on mobile devices.

Whats New
- stability fixes

Read Here: How to Install APK

Requirements: Android 2.2+
File Size: 2.95 MB
Download Link: Mediafire.com
Read More..

Android for Work welcomes new friends



Editors note: To gain access to the latest Android for Work news and updates, join our mailing list. 

Android for Work launched earlier this year to help companies put the world’s most popular mobile OS to work for them. The response has been overwhelmingly positive: today, more than 10,000 businesses, including the World Bank, the U.S. Army and Guardian Life Insurance Company are testing, deploying or using Android for Work.

The Android for Work program took off with the help of our partners across the Android ecosystem, and today we’re expanding the family to 40 companies to continue the momentum, including new device manufacturers, application makers and management providers.
And for the first time, mobile carriers are joining the Android for Work program. AT&T, Verizon, T-Mobile, Sprint, Rogers, Bell Canada, Telus Mobility and KT are now offering broad support for Android for Work, so people can soon turn to their mobile operators to take advantage of Android for Work’s integrated security, management and productivity solutions.

The Android for Work program is also showcasing devices built for regulated industries, like government and healthcare, which have strict security and compliance requirements. Samsung, for example, offers some of the highest levels of government certification with its KNOX devices, while Blackphone by Silent Circle has built enhanced privacy and security features on top of the Android platform. You can check out our regulated devices page here to learn more about Samsung KNOX devices and Blackphone.

All of this investment is designed to help businesses extend the power of mobility in more ways across more teams. And companies are indeed turning to Android for Work to drive that change: SAP uses Android for Work to streamline app distribution and expand support to many more Android devices, Woolworths is looking to standardize on Android for corporate devices, and Guardian Life Insurance Company deployed Android for Work to enable its employees and field agents to work from anywhere on their personal devices. "Choice is important,” says Daniel Johnson, Chief Technology Officer at Guardian Life. “With Android for Work were able to offer Android as a BYOD option in a more secure and manageable way."

With its choice, flexibility and security, we believe Android is uniquely equipped to help businesses tap the full power of mobility. Together with our partners, we’re gearing up to make this a reality.

Learn more by visiting google.com/work/android.
Read More..

Android Developers Backstage Episode 5 RenderScript

Chet Haase and Tor Norbye are joined by Tim Murray from the RenderScript team.

In this episode, we dive into RenderScript and talk about compute, parallel processing, GPUs, and architecture-independent, high-performance pixel processing. Its intrinsically interesting.

To download the podcast click here.
Read More..

Angry Birds Stella Mod Money Android Game Moded


Salam Blogger :) 
Sibuk dan sibuk itulah judul harian ku. huftt... mumpung lagi suntuk dan ga mau ngapain. lahir lah sebuah postingan ini hehe. udah lama juga ga update. game ini game android yg sudah di mod. nama game nya Angry birds Stella . Permainannya sama seperti angry bird seperti biasa cmn karakternya saja yg berbeda. oke langsung aja cek it. 


Details Game: 
Name      : Angry Birds Stella
Genre      : Action
Platform  : Android 
Requires  : Android 2.3.3  and up

Modification on Game: 
- MOD Money 9999999

Review Modif:


Screenshoot:


Tutorial Instal : 
1. Download game. 
2. Pindahkan Game ke Androidmu.
3. Uniinstal Version originalnya, jika ada.
4. Instal MOD apk & Play
5. Enjoyyy 


|DOWNLOAD|
Angry Birds Stella - Mod Money[Android Game : Moded]

|Download Original game|
On playstore



#Salam Blogger
#Semoga bermanfaat :)
#Ask? comment :) 
Read More..