Powered by Blogger.

The Programming Blog

Its 4.30 in the night (or just call it morning) and here I am discussing interesting issue I came across in PowerUp Game a couple of days back.

It happened to me for the second time that app crashed with a message "Power Up has stopped working". I didn't had my phone connected when the crash happened. So Bad. Or maybe not. I learned a couple of new things because of this. That's what I love about Open Source.

So,  I thought of applying a trick I found sometime back while going through StackOverflow questions. Here it goes,

1. Open your terminal or Command Prompt and connect your device on which crash happened.

2. Now we need to go to the location of adb. How to find it ?

Go to your Android Studio -> File -> Other Settings ->  Default Project Structure

You can find the location of sdk there.

3. Now we will recover the log cat. Come back to terminal.

cd sdk_location_you_copied
cd platform-tools                            
adb logcat AndroidRuntime:E  *:S 

You will see all the log cats. In case its running infinitely, just press Ctrl + C.

4. Now that you have your logcat, search for your package name in it. I searched "power" and was able to find all the crash that happened in Power Up recently on my device. 

I will be telling about how I handled the issue I found #234 in my next post.
Share
Tweet
Pin
Share
No comments
Winning the 4th Edition of Discover Thinking Contest by CSI

"Best Things Happens Unexpectedly"

- Secured a rank in National 50 in DTC CSI and got invite to 51st Annual Convention of CSI, 2016 , Coimbatore with full cost coverage.

From last few months, most of my days are being spent contributing to Open Source Projects. One such day, I came across Discover Thinking Contest by CSI. It was a while since I did competitive programming and had no mood to participate in this contest.

The contest participation was open for a whole day of 11th Jan, 2017. It was in the night, when I was getting really bored, I decided to give this contest a try. (Better than sitting idle huh !!)

It was a 3 hour contest with 5 questions. The contest was do or die contest. You can't go to next question until you answer the current question. The judge supported most of the programming languages out there, so it was not a problem for anyone.

 The questions were the tricky one with each question a blend of Data Structures, File Handling, and Algorithms. None of the question could have been done if you don't have strong understanding of  File Handling in your respective language.

 The question demanded to read a input.txt file that could be anywhere in the target directory , execute your code on that input in given time complexity and save your output in specified format (was different for every question) in output.txt which should be saved in the same directory as target directory.

To further add to this, the question needed a good understanding of Data Structures. I remember a question in which I had to make my own Data Structure using Java Class, use HashMap, use Queue and a Linked List. The solution got so big that I was sometimes lost in my own code.

Well, I ended up answering all five of them in just time. Given my previous failures in competitive programming I had no hope whatsoever that I will win this out of 11000 participants from all over the country.

But I did !! Coming back from college, I got a mail which congratulated me. I was dumbstruck for few minutes. I convinced myself that it must be a prank but it wasn't. I won it.

The prize was a full cost coverage to attend the 51st Annual Convention of CSI at Coimbatore, Tamil Nadu. 

My First Flight !!
  
Le Meridien Hotel, Coimbatore !!

Awarded by CSI Head !!




It was a 3 day convention with eminent speakers from all over the world. I got to meet several professors from IIT's, Researchers, professionals from top notch industries like Adobe, Microsoft, KPMG, etc. There was so much to learn in just 3 days.

What I loved the most was the cultural diversity. People from different parts of country, from girls to boys,  students to professionals, startups to big IT players, all of them a part of technology. 


Share
Tweet
Pin
Share
No comments
Newer Posts
Older Posts

About me

I am Sachin Aggarwal, Android Developer and Designer pursuing my B.Tech at MAIT, Delhi. I love to explore new things and spend time contributing to Open Source.

Categories

  • Android
  • Competitive Programming
  • Experiences
  • Extras

Blog Archive

  • ▼  2017 (6)
    • ►  October (1)
    • ►  April (1)
    • ►  March (2)
    • ▼  February (2)
      • Recover Crash Logs
      • Winning the 4th Edition of Discover Thinking Conte...
  • ►  2016 (4)
    • ►  September (1)
    • ►  July (1)
    • ►  February (1)
    • ►  January (1)

Created with by ThemeXpose | Distributed By Gooyaabi Templates