Tagged: Android Toggle Comment Threads | Keyboard Shortcuts

  • steve918 1:02 am on September 17, 2010 Permalink | Reply
    Tags: Android, dalvik, dex, disassembler, disassembly, java, smali   

    Decompiling Android Apps 

    Once you have an APK you want to take a look at you need to extract the contents of it. An APK is really just a jar/zip file. To extract it’s contents just


    unzip YourApp.apk

    This will give you a directory with all the resources in it along with a classes.dex file. This file is the compiled Dalvik code. There are a couple of good tools for decompiling the dex. Below is a link to each of them along with instructions on how to run it.

    Dedexer: http://dedexer.sourceforge.net/

    The following will decompile classes.dex into the out_dir of your choice. Just download the Dedexer jar from the link above and rename the jar to ddx.jar or change the command below to reflect the new filename.


    java -jar ddx.jar -d out_dir classes.dex

    I also recommend taking a look at this presentation on Dedexer on slideshare.

    Smali/Baksmali: http://code.google.com/p/smali/

    Smali is ‘assembler’ in Icelandic and Baksmali is ‘disassembler’. All we care about right this second is disassembly so you want to download the baksmali jar. I also recommend downloading the wrapper script and the example below assumes you are running baksmali via that wrapper. This will place the decompiled results into a directory called ‘out’.


    baksmali classes.dex

    Doing this is almost a violation of the terms of service for any application you look at so be-careful and use these tools for good.

    Update: I created a Textmate bundle for syntax highlighting smali, check it out: http://github.com/steve918/smali-textmate-bundle

    Advertisements
     
  • steve918 6:16 am on May 22, 2010 Permalink | Reply
    Tags: Android   

    Android 2.2 isUserAMonkey() check 

    Per the documentation: Returns “true” if the user interface is currently being messed with by a monkey.

    There is another gem in the Log class, they’ve added a new log level ‘wtf‘ which in this case means “What a Terrible Failure”

     
  • steve918 3:47 am on May 5, 2010 Permalink | Reply
    Tags: Android   

    DropBox on Android 

    I’m a huge fan of Dropbox so android support is a welcome addition.

    http://bit.ly/9tDeXd

     
  • steve918 5:15 pm on April 22, 2010 Permalink | Reply
    Tags: Android,   

    iPhone Dual boots Android 

    And it has Multitasking! :-p

    http://www.pcworld.com/article/194748/hack_iphone_now_runs_android.html

     
  • steve918 11:38 pm on April 19, 2010 Permalink | Reply
    Tags: Android   

    Free Course: Developing Android Apps with Java — A Twitter Client. 

    Pretty sure the world doesn’t need another dozen terrible twitter clients, but looks like this should be an interesting course.

    http://bit.ly/abwkBY

     
  • steve918 10:01 pm on April 19, 2010 Permalink | Reply
    Tags: Android   

    Android Priorities 

    How can Apple ever contend with the feature set of Android. I mean they have ‘Live’ wallpaper!

     
  • steve918 5:09 am on February 17, 2010 Permalink | Reply
    Tags: Android   

    Free online Android programming course presented by CreativeTechs in partnership with O’Reilly
    http://training.oreilly.com/androidapps-java/

     
    • Darrell 11:55 pm on October 10, 2010 Permalink | Reply

      I am interested in learning Adroid programming. What pre-requisites are there. I was looking for a course that would take me from user to programmer.

      • steve918 4:05 am on October 12, 2010 Permalink | Reply

        I’m not sure there are any pre-requisites besides installing Eclipse and the Android SDK. Some Java background will definitely help out, but if you have used pretty much any other curly brace language you’ll feel comfortable enough to make some reasonable progress quickly. I can’t really recommend any books since I started programming for Android in 2007 before any were released. Generally the documentation is adequate and there are lots of open source resources out there now.

    • jose rodriguez 3:28 am on April 18, 2012 Permalink | Reply

      The link is broken, where is the course? email me please, thanks in advanced

      • steve918 4:13 am on April 18, 2012 Permalink | Reply

        Updated the link. I guess that’s what I get for using an obscure url shortener.

  • steve918 12:15 pm on November 14, 2008 Permalink | Reply
    Tags: Android,   

    Android Market Success/Blunders 

    Android Password Safe has surpassed 10,000 downloads, it’s really exciting when a weekend project turns into something people actually use!

    Having an app on Android Market has been quite an adventure. The download counter will reset every time I upload a new version of my application, then suddenly correct itself several days later. There is no upgrade notification for users who have already downloaded my app. The only way they’ll know is if they manually check for updates (lame). In addition to Android’s brokenness I created quite a bit of heartache for myself. After uploading the first version of the Password Safe I managed to loose the key used to sign the application. This caused considerable pain to the end users who had to export all of their passwords, uninstall APWS and then re-install and import their passwords.

    Even though Android market place has some serious issues, it’s getting the word out about all of the great applications out there and overall I’m pretty excited about the future of the platform

     
    • tokuda 4:43 pm on November 14, 2008 Permalink | Reply

      I wonder why bother using password safe if you have the free Mashedlife.com?
      —————-
      KeePass and Passwordsafe are safe and handy! But when I need to sync
      across multiple PCs, log on to my site from my iPhone, or share accounts
      with others, etc.

      I combine the best of 2 worlds by using MashedLife.com’s open source
      integration with Keepass and Password Safe!

      http://mashedlife.com/tools.php

      Stay productive!

    • ken.manheimer.myopenid.com/ 2:10 pm on December 20, 2008 Permalink | Reply

      first, thanks, steve, for the android password safe! i normally use the gpg-topic-encryption feature of my emacs outliner (allout) for my passwords, and considering it’ll be a while before emacs is available for the G1 (though ConnectBot lets me use emacs on remote hosts, amazingly), some kind of local storage is great!

      i’m writing to note that there is an application (in the market) that tracks application updates, “OI Update”. not sure how well it works, but it’s notified me about a few updates, and at least is encouraging that much of the ecosystem can emerge in an open way. we’ll see – android together with google personal apps gets me so much further than anything else towards unified, portable organization that i’m happy with the baseline, will enjoy seeing where/how it goes from here…

  • steve918 8:21 pm on October 28, 2008 Permalink | Reply
    Tags: Android, , , Software   

    Android Password-Safe makes it to Market 

    Android Password-Safe is finally live on Android Market place.

    Password-Safe is a secure password storage application for Google’s Android mobile platform. It uses AES 128bit encryption to keep passwords secure. Includes support for passwords groups and CSV import/export.

    Some features planed for the near future:

    • Search
    • Random Password Generation

    If you have any questions or feedback send your emails to:
    android-pws@googlegroups.com

    Any feature request/bug reports to:
    http://code.google.com/p/android-passwordsafe/issues/list

    Big thanks to Randy for all his hard work.

     
  • steve918 12:14 am on September 9, 2008 Permalink | Reply
    Tags: Android, , ,   

    Android PasswordSafe Update 

    Android PasswordSafe now works with Android .9_r1 thanks to Randy McEoin.

    Login - Screen Shot

    Go Open-Source!

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel