Sunday, August 2, 2015

Thanks

Thanks to everyone who've visited my blog and even with small number of major posts has helped it cross the 25k mark. Which is an achievement for me in spite of my idle period. I hope to restart where I left off earlier even though android has gone many miles further more.

Thanks again.

Monday, July 13, 2015

An inspiring site for mobile development

Hi all. Just came across this site for mobile development. Please feel free to visit it for your app development needs. Here is the bio and link given by Mr. John Read.

"I am a research writer. My main interest is in mobile phone app development, but I also love to read & write about other technologies too. I like to share my knowledge, expertise, and experiences with different tech-communities on the web via social media platforms and tech blogs."

Wednesday, April 1, 2015

Free recharge

We all use data for our internet needs. There are few apps which you can use to earn Talktime as we'll.

I just discovered an app called mCent that gives free mobile airtime for trying apps on your phone. Give it a try. This app is on top for giving most rewards. Here is the link.

Https://MCent.com:443/app/?mcode=4AOGNI&tcx=OTHR

There is another app which is quite good in giving recharge.

Found an amazing app called Earn Talktime on Google Play with nearly 65 lakh users and 4.3 rating.
Earn unlimited free Talktime by simply downloading the app.
Click on http://8465982.earntalktime.com


Finally one more app which gives good compensation.

Http://ladooo.com/1472540066

Thanks
Ashish 

Thursday, September 11, 2014

Creating a new site on Java

This would have the text on Java language SE unto EE.

Please wish me luck.

ashishkyadav.freehosts.club/JavaFriends

Sunday, August 24, 2014

Nice blog on Android development

Found this nice blog in Android weekly newsletter

ptrprograms.blogspot.com.es

Friday, August 22, 2014

Android runtime aka ART

Recentaly Android L had been in news a lot. There are many posts on net which describes the features coming in. The one which I like the most is android runtime or ART. Originally android uses dalvik runtime which converts the instructions at the time of running the app which had been a major reason of android being slow. In ART app code gets converted into executable ones and for ever. After that there is no conversion of code while running the app. This results in approximately 30% faster execution, hence a fast device and memory saving too. What few people know is that this feature is present in current kitkat version also. Only that its not the default setting. Goto settings, developer options, default runtime; and select ART and reboot the device.

It will take a while in upgrading apps. After that you will notice a faster device. Please keep in mind that at present some apps might not work properly. If that's a major issue you will need to revert back to dalvik runtime. At present I only had issue with one app which I can live with. Please also note that if you are not running kitkat you may have more issues or won't have the option of ART which depends on the version of Android you are running.

PS:
a nice intro of ART

http://www.anandtech.com/show/8231/a-closer-look-at-android-runtime-art-in-android-l

Wednesday, August 20, 2014

Best e-reader on Android

Look no further, moon+ reader pro is the best. What's more is that currently you can get it for 50 percent off. So if you are looking for reader for your pdf and epub files grab it from Google play store.

Sunday, August 17, 2014

Android development with Java

Here is a nice introduction of how to develop android apps using Java

Please copy paste the link given below.

www.linuxuser.co.uk/tutorials/android-development-with-java

Saturday, August 16, 2014

Keyboards on Android

Hi All

I am currently being able to write this post using keyboard that comes with Keepass2Android, which is smallest still typable keyboard on android. Other keyboards take up too much space.


Friday, August 15, 2014

C, C++, Java programming on Android

Hello folks, recently I've been trying to do some programming on my tablet galaxy tab 2. For that I installed couple of apps whose list I am presenting here for those who are looking to learn programming on tablet.

1. AIDE
For android and Java programming look no further. You can also pay to get guided tutorials. Excellent app, free for expert coding.

2. CPPDROID
For C, C++ programming on your tablet. Excellent source editor; write, save, compile. Its as easy as one two three. Unfortunately it's better to pay and get rid of ads to reclaim screen estate. Along with that I use terminalide keyboard which itself is great app for programming but lacks smoothness of CPPDROID. This app also has nice tutorials and examples.

Other app worth mentioning are SAND ide, DroidEdit and SourceReader. Please look for them on Google play. Hope this helps. Thanks for stopping by n reading.

Tuesday, August 5, 2014

Legendary Indian cartoonist Pran passes away

His greatness was in his simplicity not sophistication or elaboration. May his soul rest in peace.

http://m.jagran.com/news/Homevishesh-11535638.html

http://www.ndtv.com/article/india/cartoonist-pran-creator-of-chacha-chaudhary-dies-571434?site=classic

Wednesday, October 30, 2013

Build essential package on Ubuntu

There had been lots of time during installation of packages on Ubuntu or other derivatives of it, when I used to install development packages separately. Like gcc g++ etc individually. However the is a easier way to do it. Just install "build-essential" package and this meta package will install those quintessential packages for you. No need to separately select and install those packages anymore.

Thanks.

Clear data in your Android device before going for reinstall

Hi,

I used to have this phenomenon that I reinstall line after I take a backup change ROM and restore. Line always used to misbehave after restore and I used to reinstall it. Later I learned that a cleanup of data in settings is almost as good as reinstall and it saves time if app is a huge one.

Try it out next time if any of your app misbehave.

Thanks

Monday, May 6, 2013

Appeal : Help Required for Anvi's Bone Marrow Transplant

Dear All,

Today I receive this mail from Anvi's mom , she needs approximately INR. 21, 30,000.

Please spread the word.

Here is the original mail.

Tuesday, April 2, 2013

KDE 4.10 Applications Get Major Overhaul

KDE 4.10 delivers a long list of application upgrades for this release which cannot be overlooked. There are some new applications available and loads of fun features, meaning more fun for KDE lovers everywhere. Here is a closer look at all the latest excitement that you have all been waiting for.

http://linuxlibrary.org/kde-4-10-applications-major-overhaul/

Monday, March 4, 2013

What's new in Intelij IDEA 12

Recently when I checked update for Intellij IDEA I found that new version of ide has been released. Check the link below to see new features:

http://www.jetbrains.com/idea/whatsnew/

What I noticed is that Android support has been improved. With update to Android 4.2, IDEA 11 was no longer working with SDK, which is working now.

Wednesday, February 27, 2013

Connecting internet with tata docomo on Ubuntu

Here is a small post for those who still likes or are bound to use wvdial to connect to Internet.

I have a Tata Docomo sim with huawei e173 usb modem.Following is my /etc/wvdial.conf on Ubuntu 10.4.


[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Password = internet
Phone = *99#
Modem Type = Analog Modem
Stupid Mode = 1
Init3 = AT+CGDCONT=1, "IP", "TATA.DOCOMO.INTERNETHVC"
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB_utps_modem
ISDN = 0
Username = internet
Auto Reconnect = yes

Though officially (at the time of writing this) only Tata Docomo dongles are supported, and most probably you will get this reply from CC. Still a helpful soul at CC sms'd me this line

AT+CGDCONT=1, "IP", "TATA.DOCOMO.INTERNETHVC

rest is from other sources from Internet and auto generated. A good way is to run wvdialconf and then try to add the missing lines from above, rather than copy pasting whole file.

Hope that helps.

Monday, December 3, 2012

Please help Anvi fifteen months old

Hi All,

This post is to support the cause of  treatment of Anvi. She is fifteen months old from Mumbai and she needs a life saving bone marrow transplant operation. Please read more about her here:

Please spread the word more and more to support her treatment. You could be a part of saving the life of this fifteen month child.

http://www.ndtv.com/article/cities/mumbai-couple-struggle-to-save-their-daughter-here-s-how-you-can-help-300360?fb

Saturday, November 24, 2012

Calling system applications in Android

In my previous posts I have used reading contacts through API calls, however there is an easy method for doing standard tasks by calling system's pre installed apps. In this post I am going to cover the details of how we can call the system apps through intents.


We are going to create a spinner control for providing the user some options and hit a submit button.

Here's main.xml which defines the UI.

 <?xml version="1.0" encoding="utf-8"?>  
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"  
        android:orientation="vertical"  
        android:layout_width="fill_parent"  
        android:layout_height="fill_parent"  
     >  
   <Spinner  
       android:id="@+id/spinner1"  
       android:layout_width="match_parent"  
       android:layout_height="wrap_content"  
       android:entries="@array/application_array"  
       android:prompt="@string/app_prompt" />  
   <Button  
       android:id="@+id/btnSubmit"  
       android:layout_width="wrap_content"  
       android:layout_height="wrap_content"  
       android:text="Submit"  
       android:onClick="btnSubmitOnClick"/>  
 </LinearLayout>  


Spinner control requires a string array (application_array) for it's entries which is defined in strings.xml.

 <?xml version="1.0" encoding="utf-8"?>  
 <resources>  
   <string name="app_name">callingsystemapps</string>  
   <string name="app_prompt">Choose a application</string>  
   <string-array name="application_array">  
     <item>Browser</item>  
     <item>Dialler</item>  
     <item>Map</item>  
     <item>Contacts</item>  
   </string-array>  
 </resources>  


In main.xml we have also have defined onClick method btnSubmitOnClick which is defined in MyActivity.java

   public void btnSubmitOnClick (View v)  
   {  
     Spinner spinner1 = (Spinner) findViewById(R.id.spinner1);  
     if (spinner1.getSelectedItem().toString().equals("Browser")){  
       Intent i = new  
           Intent(android.content.Intent.ACTION_VIEW,  
           Uri.parse("http://www.google.com"));  
       startActivity(i);  
     }  
     else if (spinner1.getSelectedItem().toString().equals("Dialler")){  
       Intent i = new  
           Intent(android.content.Intent.ACTION_DIAL);  
       startActivity(i);  
     }  
     else if (spinner1.getSelectedItem().toString().equals("Map")) {  
         Intent i = new  
             Intent(android.content.Intent.ACTION_VIEW,  
             Uri.parse("geo:37.827500,-122.481670"));  
         startActivity(i);  
     }  
     else if (spinner1.getSelectedItem().toString().equals("Contacts")) {  
       Intent i = new  
           Intent(android.content.Intent.ACTION_PICK);  
       i.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE);  
       startActivity(i);  
     }  


Only difference between the four is the passing intent which is as below:

ACTION_VIEW
ACTION_DIAL
ACTION_PICK


Along with that we are passing parameters depending upon intent type. After that it's just calling startActivity on the intent.

Try running the example and you shall get like this.




Thanks for reading, don't forget to check links page for resources.