Wednesday, October 26, 2016

Apk Share & Apk Backup

Apk Share & Apk Backup

or App  Share ,App Backup

Apk Share is possible by getting all the current launcher intentfilter\

this gives the Application info of all the application installed in the device.

appinfo->path points to the apk file.

Even all system apks can be read like normal flle

* NO root permission is requireded
* Most of the recent version apk name as base.apk
* So there is a need of renaming base.apk to the package name of that application.

Apk Share can be possible adding the application/zip MIME type to the send intent
Multiple apk alsoe can be sent by using the intent.

Apk Share & Apk Backup

Apk Share & Apk Backup

Tuesday, September 20, 2016

Resize virtual box parition without loosing the data


1) Execute below commands to get the resized SDK.

VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 20480
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk

In above :20480  is  20Gb =(20* 1024 Mb)

2) Still it will show the same size .Need to partition the newly
   extended space .
  Use Gparted tool to parition it.
 
3) Download gparted ISO file. from : http://gparted.org/download.php

4)  Change boot order in Virtual Box  to use CD first .

5)  Add downlaoded gpartede iso image in virtual box storage section.

6) From gparted tool :
   Now you can see the unallocated space at the end.
    like  |main |swap |unallocated| .
            a) delete swap (remember size of SWAP)
            b) extend/resize the main till end of unallocated.keep                  in mind leave space for swap at the end.
            c) create swap parition at the end for the same size.
    Press appy button & once processing finished .Exit & Shutdown.

7) Change the bootorder to harddisk first & restart the virtual machine again.
     
8) Now you can see the parition resized ($ df -h)


Friday, May 29, 2015

Android M - with Fingerprint Authentication ,Runtime Permission control ,App Links

Android Marshmallow'M'


Fingerprint Authentication 


  • Works with Near Field Communications (NFC) in Gingerbread and Host Card Emulation in Kitkat
  • Android Pay will enable Android users to simply and securely use their Android phone
  • native fingerprint support enhances Android Pay by allowing users to confirm a purchase with their fingerprint. 
  • can be used to unlock devices and make purchases on Google Play. 



Runtime Permission 


  • Users has the control of app permissions in the M release. 
  • Apps can trigger requests for permissions at runtime, users can choose whether to grant the permission.  
  • users have easy access to manage all their app permissions in settings. 


Applinks


  •     Control to developer for launching the deafult app ,
  •     No prompt to user's for selecting the app.

     



Tuesday, April 14, 2015

Start any android application from adb shell with Action

am start -n com.package.name/com.package.name.Activityname

start with action
==============
Find the actions name from the  AndroidManifestFIle.xml

am start -a com.palm.apackage.action_name  -n com.package.name/com.package.name.Activityname



Friday, February 8, 2013

Simple Hidden trick : What's your device Android version ?Android ,Logo ,Name

Simple Hidden trick : What's your device Android version ?Android Logo ,?Name ?

Is it Jelly Bean ,ICS ...mmm ,

Ok, lets see the settings menu

Settings -> About Phone ->Android Version. 
It may be 4.0 ,4,0.2 ....,is  it ICS ,JB ...??



Still not clear ...ICS ,JB........??.

Just touch the Settings -> About Phone ->Android Version.   4 times..,

Wednesday, December 29, 2010

NFC in Android Ginger Bread



NFC - Near Field Communication

A powerful technology for the Mobile Payment , Smart Poster ,Ticketing service .

Current Version of Android 2.3 only supports the NDEF messges(data exchange format defined by the NFC forum ) .

Using NDEF : can read the Web Url ,Contact information , SMS from smart posters.

Features not included in GinerBread (2.3 Android)

1) Two way communication with Externel Cards (Mifare & Felica).

2) Inbuilt Secure Chip (Can be used as Smart Card for Payment purpose & storing keys securely communication protocol ISO 1443/APDU's)

3) Mifare Card Emulation in Secure Chip ,It can be accessible from secure chip applications(Cardlet/Applet) & from Android framework.The data can be also read from the external card readers.

4) Peer to peer NFC communication .


Sunday, September 12, 2010

regional language keyboards by Google IME :Now start typing in your regional language :)

Google Input Method: Now chat in your local language easily;


Google Transliteration IME is an input method editor which allows users to enter text in one of the supported languages using a roman keyboard. Users can type a word the way it sounds using Latin characters and Google Transliteration IME will convert the word to its native script. Note that this is not the same as translation -- it is the sound of the words that is converted from one alphabet to the other, not their meaning. Converted content will always be in Unicode.

Google Transliteration IME is currently available for 19 different languages - Amharic, Arabic, Bengali, Farsi (Persian), Greek, Gujarati, Hindi, Kannada, Malayalam, Marathi, Nepali, Punjabi, Russian, Sanskrit, Serbian, Tamil, Telugu, Tigrinya and Urdu.

String.format() error in Froyo

http://code.google.com/p/android/issues/detail?can=2&q=11065&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&id=11065

Saturday, November 21, 2009

How to install android NDK on Windows

Downlaods

NDK : http://dl.google.com/android/ndk/android-ndk-1.6_r1-windows.zip

CygWin :http://cygwin.com/setup.exe

GNU Make 3.81 : http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2

Startup cygwin and navigate to NDK_HOME
enter the command "export ANDROID_NDK_ROOT=NDK_HOME"
run the script "bash build/host-setup.sh"

U will get a "Host Setup Complete" message .

Done......

Monday, June 1, 2009

Creating an AVD in Android


--> android list targets

Available Android targets:
id:1
Name: Android 1.1
Type: platform
API level: 2
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id:2
Name: Android 1.5
Type: platform
API level: 3
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id:3
Name: Google APIs
Type: add-on
Vendor: Google Inc.
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: HVGA (default), HVGA-L, QVGA-P, HVGA-P, QVGA-L

---> android create avd -n AVDNAME -t 2 (AVD with Target Android 1.5)

Tuesday, May 12, 2009

Samsung i7500

Android Icons

Android: Getting currenet APN proxy Settings

Cursor cursor= getContentResolver()
.query(Uri.parse("content://telephony/carriers"), new String[] {"name"}, "current=1", null, null);//Current=1 current APN

if (cursor!=null) {
try {
if (cursor.moveToFirst()) {
String name = cursor.getString(0);
}
} finally {
cursor.close();
}

Constant Fields avaiolable in "com.android.providers.telephony.TelephonyProvider"

Tuesday, April 28, 2009

Android SDCard Simulation

1) Create a new SDCard

mksdcard [-l label] [K|M]

eg: mksdcard -label 128M c:\sdcard.img


2) Add files in SDcard

adb push filePath /sdcard

eg: adb push img.jpg /sdacrd

3) Integrate with emulator

From eclipse do to project->Run>Target>Addtion Commal line options

give "-sdcard c:\sdcard.img" and run it.

Wednesday, April 15, 2009

Future of Mobile Phones

Its one thing to write about events on hindsight and a completly different thing to predict the future. This article tries to do the latter powered by the knowledge of the former. The key question before I start is "Why is it even worth predicting future of mobile phones?" or put it differently "Why is this article worth 10 minutes of your time when you have hundreds of worthy alternatives to spend your time?".

The answer to both of the above questions can be found in the happenings of recent past when a non-mobile company launched a device which is better and smarter than all other phones in the market. Never has such an event happened before in such a fiercely competitive market. Yes, I am talking about the now familiar iPhone from Apple. The launch of iPhone has changed the mobile phone world completly - it has redefined the idea of a mobile phone. What do we normally do with a mobile phone? Call right... iPhone has just changed the definition and other smart phones are catching up. The mobile phone is not just a device used for calling but is a gaming device for some, a productivity improvement tool for others, a music player for a different segment and a internet gateway for many many more. So why is a it worth predicting the future of mobile phones - because this affects over 70% of the population is one way or the other, because there are opportunities, lessons for too many players who are involved in this revolution - public , Mobile service providers, mobile manufacturers and businesses in general. This is one all encompassing silent revolution that has started and only kept quite by the surrounding economic environment of the times but its not going to be silent for too long - the world will change for ever. Thats why its important to understand whats coming so that we plan for the future today

Let me make my predictions

1) The name "Smart Phone" will lose its relevance. Tomorrow's Smart Phone is a music player, gaming device, internet gateway, Social networking tool, business & personal productivity tool. I am suggesting a segment called "Smart Mobiles" and I am going to use this term from now on in the rest of the article.

2) Business disruption: "Smart Mobiles" are going to disrupt many a business model - couple of examples are Gaming , these devices are going to give a serious fight to Nintendo DS and other portable gaming players. Another industry that will spring up is the infrastructure that will need to support these billions of devices downloading zillions of bytes lefte right and center. 3G is already 19th century. so 4G is definitely the next short term solution but it should not be a surprise if we see an 8G service within the next decade. BIG thing is people will pay for this power.

3) Social networking on the go - I really dont know how to even describe the next gen kid. Gone are the days of generation gap between parents and kids. The future is a generation gap between brothers and sisters.

4) Newspaper & publishing industry - I think, the industry is wasting time complaining about google instead they should start redefining their business models to suit this new wave and irrespective of how small or how big they are, a "Smart mobile" strategy can mark the difference between success and failure. The key to this argument is the prediction that things wont be free on the mobile unlike the Internet. Guys - find your sweet spot NOW.

5) Financial: Yup this industry has been a key contributor to the economic mess we are in but dont forget one thing - a thriving financial industry is the key to economic growth and thats why we need to bail them out inspite of their greed and excesses. In the future, we will see a lot of internet banking move to the smart mobiles. In fact "Smart Mobile" payments will become common place shaling up the credit card industry and much more cheaper too.

6) Mobile commerce: This will take off especially for low priced high volume items like music, movie tickets and hundreds of other products. The movie and music industry's boom time has arrived. All the billions of devices are going to download so much music that the traditional CD sales might look like change. Yes I am predicting that this industr is going to benefit a lot from this revolution and then TV - this is the world of truly charging the customer for what they are viewing, eliminate the cable guy ( though not completly) but the capability is there.....

7) Businesses in general: each business shall use "Smart Mobiles" in some capacity or the other as a productivity improvement tool for their sales folks or as a business enhancement tool for their customers ( eg: Newspapers - news on the go)

8) Consumers in general: the "Smart Mobile" has given the power to perform things on the go. You can do your banking, read your newspaper / magazine , shop, Watch videos, book movie tickets, play games , listen to your music, reply to email, network , Keep an eye on your home, control devices at home and much more - all this on the go.. wow- wish I was a gen x kid.. We bought our first TV when I was 10 years old

There are hundreds and hundreds of ways mobiles are going to redefine our lives.. Some of them I have captured above. a lot is still unanswered. I will keep this blog alive with new things