Saturday, December 3, 2016

How to Unlock Forgotten PIN / Pattern Lock on Android rooted Device


If you forgot your pattern/PIN/ No email setting for an android device in that situation following steps will help.

[1] You must be rooted and TWRP 3.x installed. If you don't have TWRP then use ADB from PC (connect phone to pc and follow step 4)

[2] Reboot and enter into TWRP (press power + vol up keep + home button) recovery mode.

[3] Click "Advance" button and "Terminal" in the next screen.

[4] If you have Marshmallow then goto "cd /data/system" directory. Now type "rm generate.pattern.key" If you are on different version of android in that case name of file might be different but look out for file "pattern.key"

Now reboot the phone and pattern is gone. You can set it again from settings without doing factory reset.

Friday, October 21, 2016

Election 2016 - Most corrupted candidate going to win - politicians are same


In nutshell - I haven't seen such a corrupted politician in American politics and still going to be the next president of United States "lock her up"

Tuesday, June 14, 2016

Marshmallow for sprint samsung note 2 SPH L900

Instructions to install marshmallow on sprint note 2

Make sure backup your phone internal storage and external SD card before proceeding to install custom ROM.

You must have rooted phone. If you don't know how to root your note 2 please refer following link.

how to root sprint note 2 SPH-L900

You need latest version of TWRP to install marshmallow Click to Download latest TWRP

Download cyanogenmod build 13 (nightly build as of now)

cyanogenmod custom rom build 13

Also download open gaapp micro version for ARM processor and latest open gaapp version from following link

open google apps for play store

You can ask questions about the procedure but newbies should find ton of basic info in google search.

Note 2 is working without any issues at this point (2 days of usage with above build)

Hope this help saving note 2 from going out of use with great looking marshmallow.

Monday, August 13, 2012

Guide to Junior tennis (10&Under tennis)

I have experience how difficult to gather right information for 10&under tennis rules and play day information. I am trying to outline as much as possible in this blog and keep updating as I find new info.

[1] 10 & under balls rules impose by ITF
ITF balls rules detail PDF

[2] Checkout informative video from famous US coach for 10 and under tennis
10 and under introduction video

[3] USTA Norcal website for 10 and under play days, player camps and year around calender
Tennis Camp list
Norcal Calendar Of events (list of events per month.. very handy)
Register for Tennis play days

[4] Useful website for parents to find more information about 10 and under tennis
Informative website to buy equipment and find 10&under tennis facility

[5] Contact information of NorCal USTA Certified High Performance Coaches
Master list of events and contact information of USTA coaches


Monday, July 16, 2012

Renew US passport

You can go to following site for US passport renewal.
US Passport renewal for adults

Renewal for Minor (under 16 years)
Minor passport renewal details

US Passport fees:
US Passport fees

Locations to process the application:
[1] If you are applying first time go to nearest post office (check out which one process passport application.. mostly main post office in your area)

Checkout Passport following link for other locations
Passport Acceptance Facility Search Page

[2] If you are in hurry go to nearest passport agencies (take appointment)
Passport Agencies in US cities


Monday, January 30, 2012

2012 Election year one liner

Romney is a basically a salesman. Gingrich is basically a sold man. ONLY Ron Paul can save US but he won't be selected because he is not SOLD or SALESMAN.

Friday, October 14, 2011

Flash Builder 4 – Java Heap Space Issues

You have to increase Java Heap memory in install-dir/flashbuilder.ini install-dir/sdks//bin/jvm.config "java.args= -Xms512mm -Xmx896m -Dsun.io.useCanonCaches=false" http://forums.adobe.com/thread/629986

Thursday, September 1, 2011

Rotate Button in Flex 4.5.1 by 90 degree

Now you can simply rotate to "Back" button in mobile apps too... flex 4.5.1 mobile makes it pretty easy but z=1 was trick otherwise lable vanish after rotating to 90 degree.

<s:layout><br />

<s:horizontallayout><br />

</s:horizontallayout></s:layout><br />

<s:videoplayer autoplay="true" height="100%" id="sampleVld" muted="true" rotation="90" scalemode="zoom" source="http://www.helpexamples.com/flash/video/caption_video.flv" width="100%">

</s:videoplayer>

<s:button click="backBtn_clickHandler(event)" label="Back" rotationz="90" skinclass="spark.skins.mobile.BeveledBackButtonSkin" x="0" y="0" z="1">

</s:button>


Now you can have videoplayer in landscape mode, while you application in portrait mode.

Enjoy.

Wednesday, May 4, 2011

Tuesday, March 29, 2011

How to enable Flash trace on Windows 7 Pro

First create mm.cfg file under

C:\Users\\mm.cfg and add following lines
--------------------
TraceOutPutFileName=C:\Users\\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
-----------------------

Now create flashlog.txt file in this directory.

C:\Users\\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

Also make sure you have Flash Debugger version i.e. Right click on flash base app in browser to see "Debugger" option enable. Otherwise simple "Flash Debugger version" in google will provide valid link to Adobe download page.


Enjoy

Tuesday, January 4, 2011

Android and google voice perfect combo for communcation.

Most of the time you love what Android offers and all the smart phones features. But something always bug when you receive unwanted calls from telemarketers at odd hours (for that matter known people you want to avoid)

Here is the step to block them or send them to voicemail etc...

You must have following to do it (everything is FREE)

1. You must have Gmail account.

2. Enter contact number you want to block in gmail "contact"

3. Now go to www.google.com/voice - Click on Contacts --> select number you want to block on right hand side.

4. Now click on "Edit Google Voice Settings" --> Now in new page you will have options under
"When this contact calls you" with combobox with "Send to voicemail", "Treat as spam", "block caller". Once you set this you don't have to worry about any idiots calling you number of times a day.

Also you want to register you phone in no call registry but sometime that doesn't work but above will work for specific numbers for sure.

Nehul

Sunday, October 3, 2010

How to create Flex button with pulsing effects?

You can create simple Flex button using MXML tag or actionscript but many times you need more on real world project. You can assign some kind of animation or pulsing background to normal Flex button. But to do that you have to create the effects in Flash. Now you have to import that into Flex but do that you need to do the following

1. First create Animation.swf Flash file. It has effects you want to assign to Flex button.

2. Animation.swf contains symbol name. Now you create simple actionscript class call Assets.as


public class Assets{

[Embed(source='assets/animations/Animation.swf#square')]
public static var animation_icon:Class;

}

3. Make sure you have "square" symbol or any other name symbol in Flash file. That symbol will have animation or effects you want to assign to flex button.

4. Now in your Flex or actionscript code where you have created button assign the effects like this

button.setStyle("icon",Assets.animation_icon);

5. You can remove the effects using following
button.styleName = (any normal button style you want to see);


Now you can see the animation or effects in Flex button.

Enjoy.

Monday, August 30, 2010

Do you need additional framework for Flex 3 or 4 development?

I am of strong opinion that you don't need any additional framework for Flex 3 or 4 development. If you follow codebehind in Flex development with custom event handling solve lot problems you try to handle with additional framework (e.g. famous PureMVC & Cairngorm)

more later..

Friday, July 16, 2010

Flex Builder internal error - Right click to find more information

If your project compile perfectly fine one day and next day you get "Flex builder internal error: Right click to find more information" check out following link from Adobe.

Adobe Link for error


Basically chances are very high you might have added new file or changes where you have blank switch statement.

switch(case){

}


You can remove it or add default and project will compile again. Small things but makes life tougher sometime.

Enjoy.

Friday, July 9, 2010

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found

If you see the above error don't waste much time but debug your application from start point i.e. s:Application (flex 4) or mx:Application (flex 3) and see if you have any custom preloader. If you have provided wrong url it will fail.

Otherwise make sure your images are in right path basically it is URLRequest (url--> problem)..

Enjoy