Profile

Cover photo
Paresh Mayani
3,352 followers|1,017,718 views
AboutPostsPhotosYouTube

Stream

 
[New post] Part 4 - Online tools for Reverse Engineering and Malware Analysis by +Harsh Dattani.

Previous part was about other tools other like Smali and Simplify, continuing with the series, today in Part 4, we have talked about some of the online tools, can be used for performing malware analysis

● Anubis
● Mobile-Sandbox
● Sanddroid
● Dexter

We shall talk about Reverse Engineering using Virtual Machines in next part. Till than try these online tools and check out reports, See you in next part!

#AndroidDev   #ReverseEngineering  
A post on online tools for reverse engineering & malware analysis. There are some online tools available like Anubis, Mobile-Sandbox, Sanddroid and Dexter.
2
1
Vladimir Bjelakovic's profile photo
 
Aah....one more image library for #AndroidDev , but this Fresco library is having more features!

Check documentation: http://frescolib.org/docs/index.html

#NoteToSelf #ToCheck
 
Live at #f8 , +Ognjen Dragoljevic has just announced our new image library that helps you easily load and display images on your Android apps.

Read all about it here:
https://code.facebook.com/posts/366199913563917

If you want to go grab the source, check out:
https://github.com/facebook/fresco

#androiddev  
Today we're open-sourcing a library we're calling Fresco — it manages images and the memory they use.
1 comment on original post
26
12
Antonio Gutierrez's profile phototeo ramone's profile photoKaransingh Thakor's profile photoEson Jack's profile photo
 
Nice find. #bookmarkworthy
 
Last week +Alex Lockwood​​ shared a #Protip to create it using Canvas and this #ProTip is using animated vector drawables and state transitions, shared by +Moritz Post​.

As this is created with drawables and state transitions, its obvious using many drawables.

#AndroidDev
 
Inspired by the great Android app "Pocket Casts" +Alex Lockwood took it on him to recreate the animated pause/resume media playback button [1]. While his approach is based on a canvas, i was curious how such an effect could be achieved with pure Android drawables.

A few hours later i had the effect implemented with animated VectorDrawables and state transitions. The outcome is very nice and contains some interesting insides for other people trying to work with animated vector drawables. The code can be found at this [2] gist.

Some technical remarks... While the effect looks straight forward, it takes a ton of xml files to implement (15!). The entry point to the code is the file ic_pause_resume.xml [3] which branches out into the concrete animated-vector files.

One thing that is not shown in the gist is how the "selection" property of the ImageView is toggled in normal java code once the user taps on the drawable. Based on this selection property the transition to another drawable is triggered.

I hope you get something out of it. :)

[1] https://plus.google.com/+AlexLockwood/posts/ETPJCXjVUuw
[2] https://gist.github.com/mpost/180bf15676006a50c3f7
[3] https://gist.github.com/mpost/180bf15676006a50c3f7#file-ic_pause_resume-xml
21 comments on original post
18
6
Gabor Orosz's profile photoAndrew Orobator's profile photo
 
Awesome post by +Wiebe Elsinga.

Wiebe, Good to see you back on blogging :)
 
How we #androiddev  love #gradle .
Common practice is to save your #android  build archives. Besides your signed apk it might be wise to save some additional artifacts as well. Most common ones are Javadoc, your source files and perhaps your proguard generated files like the mapping file.

This post shows you how gradle can take care of this for you.

#gde   #blogpost   #android  
When building Android applications or libraries common practice is to save your artifacts to a local file storage or repo. Beside your APK there are some additional artifacts you want/need to save, and you want gradle to do this. Most common ones are Javadoc, your source files and perhaps your ...
1 comment on original post
10
5
Vladimir Bjelakovic's profile photoJhon Miller Barrera's profile photo

Paresh Mayani

Shared publicly  - 
 
Superb ProTip by +Xavier Hallade​ for #AndroidDev.
 
Accelerate your deployment time when working with an Android 5.1 device/emulator:

ART is awesome, but the AOT (ahead-of-time) compilation step can be quite long, taking 5, 10 or even more seconds. 
Which is usually a waste on time when you're developing.

The good news is now, with Android 5.1,
vmSafeMode which was used with Dalvik to deactive JIT compilation, now actually deactivates the AOT one with ART, so you can fallback to an interpreted mode. [0]

Set this property in your debug builds by adding <application android:vmSafeMode="true"/> inside src/debug/AndroidManifest.xml and the dex2oat step will suddenly be a lot faster. :)

[0] https://android.googlesource.com/platform/art/+/4489369

#gde #android #androidddev
4 comments on original post
17
2
Stephen Mullen's profile photoChintan Rathod's profile photo

Paresh Mayani

Shared publicly  - 
 
Someone asked me today how to add ink ripple¹ touch feedback to an image without having to add additional views to your hierarchy which would hurt performance or memory use.  Here's a couple of approaches: 

1. Wrap the drawable in a RippleDrawable² before setting it on the ImageView:

Drawable image = …
RippleDrawable rippledImage = new RippleDrawable(ColorStateList.valueOf(rippleColor), image, null);
imageView.setImageDrawable(rippledImage);

2. Extend ImageView and add a foreground attribute to it (like FrameLayout has³).  See this example⁴ from +Chris Banes of adding it to a LinearLayout.  If you do this then make sure you pass through the touch co-ordinates so that the ripple starts from the correct point:

   @Override
    public void drawableHotspotChanged(float x, float y) {
        super.drawableHotspotChanged(x, y);
        if (foreground != null) {
            foreground.setHotspot(x, y);
        }
    }

I prefer the second approach as you can declaratively set a ripple drawable as the foreground asset in your layout and not have to worry about adding it once the image loads, somewhat simplifying your code and playing nicely with image loading libs like Picasso.  The first approach can work well in combination with Palette to set a ripple color derived from the image.

#AndroidDev  

¹ http://www.google.com/design/spec/animation/responsive-interaction.html#responsive-interaction-surface-reaction
² https://developer.android.com/reference/android/graphics/drawable/RippleDrawable.html
³ https://developer.android.com/reference/android/widget/FrameLayout.html#attr_android:foreground
https://gist.github.com/chrisbanes/9091754
11 comments on original post
6
Have him in circles
3,352 people
Manish Parmar's profile photo
Akshay Zala's profile photo
Rafael Garcia's profile photo
BIJU c's profile photo
sharif rahman's profile photo
Akarsh Dang's profile photo
Jada Baby's profile photo
Afiya Shaikh's profile photo
saurin patel's profile photo

Paresh Mayani

Shared publicly  - 
 
These guys are seriously crazy about their sessions and event participations :D BTW, you can purchase this selfie in 2 Euros!

Check: https://www.youtube.com/watch?v=bRpQNnOUzHc
12
3
Jeroen Wiert Pluimers's profile photoQuang-Hai PHAN's profile photo

Paresh Mayani

Shared publicly  - 
 
[New build tool - Bazel]

Google releases bazel.io - the Build tool that they internally use. The "tentative" post-beta plans look interesting: http://bazel.io/docs/roadmap.html

Post courtesy: +Romin Irani & +Donn Felker.
13
6
Basil Alias's profile photoJohn Mark Vandenberg's profile photo
 
[Event announcement - Women Techmakers Ahmedabad]

We had an amazing Women Techmakers event last year. With the success of that I am more than happy to announce that Women Techmakers Ahmedabad is coming back on 28th March.

This year we have +Vaibhavi H Desai​​ leading Women initiatives for the GDG Ahmedabad. Pls stay in touch with her if you are women bloggers, entrepreneurs or developers.

Stay tuned for the further announcements!

Cc: +Dhrumil Shah​, +Pratik Patel​, +Amrit Sanjeev​, +Avik Debnath​, +Utpal betai​, +Ketan Raval​, +GDG India

#WTMAhmedabad #WomenTechmakers #GDGIndia





26
1
jignesh thanki's profile photo
 
Do you know?

obfuscation is done to secure and hide code from attackers, thus makes it hard to understand how code works. Sometimes, obfuscation can also be used to hide malicious code. In such case we need a deobfuscator to reverse engineer the file.

For me, this is what the learning was from this article! Here is an another interesting post by +Harsh Dattani on reverse engineering using some tools like:

● Smali/Baksmali (assembler/disassembler for the dex format)
● Simplify (code deobfuscator)
● Androwarn (a static analysis tool using Smali which scans Application’s bytecode and generates a report stating)
● APKAnalyser (GUI based static code analysis tool)

Looks like a busy week for the #AndroidDev  and so many things to digest :)
 
[Interesting post] Part 3 - Reverse engineering using other tools.

Previous part was about android guard tools but continuing with the series, today we will learn and perform reverse engineering using below tools:

● Smali/Baksmali (assembler/disassembler for the dex format)
● Simplify (code deobfuscator)
● Androwarn (a static analysis tool using Smali which scans Application’s bytecode and generates a report stating)
● APKAnalyser (GUI based static code analysis tool)

We shall talk about Online tools for Reverse Engineering and Malware Analysis in next part. Till than play with above tools and perform reverse engineering on some of the malicious APKs and check the malicious reports. See you in next part!

#AndroidDev #ReverseEngineering

Thanks to +Paresh Mayani
A post on reverse engineering android applications with the usage of different tools like Smali/Baksmali, Simplify, Androwarn and APKAnalyser.
View original post
11
7
Vladimir Bjelakovic's profile photoChintan Rathod's profile photo

Paresh Mayani

Shared publicly  - 
 
One more awesome protip by +Hoi Lam​ for the Android wear developers.

Awesome stuffs being released by Android team.
 
4-steps to getting a blank Android Wear watch face
As of Android Studio 1.1, we have added watch face template to Android Studio so a blank watch face you can customise is only a few clicks away! Here’re the steps:
1. Start a new project or open your existing project
2. If your project do not already have an Android Wear module, create one! Select File > New Module…. In the wizard, select Android Wear as the module type and no activity.
3. Right-click on the module name on the left hand side. Select New > Wear > Watch Face.
4. Select whether you want an analog or a digital watch face.
5. Done!
You will get a skeleton watch face which will take care of the basics for you like automatically adjust for time zones changes.

#AndroidWear #AndroidStudio #WatchFace  #protip  
View original post
11
4
Gabor Orosz's profile photoJomar Tigcal's profile photo

Paresh Mayani

Shared publicly  - 
 
Man is busy at work by marking issues as Obsolete. Hope it's not a script run!

Whereas We have observed this issue and have worked over it last month to find out a solution (work around), yes it just happened last month and we can also observe (reproduce) the same issue using the details mentioned by +kapil sukhyani​​​​​ in the issue.

Once again a request to +Elliott Hughes​​​​​ to understand the seriousness of the issue and if it has really been resolved by Google, then pls include comment or description regarding the resolution made.

#AndroidDev
6
People
Have him in circles
3,352 people
Manish Parmar's profile photo
Akshay Zala's profile photo
Rafael Garcia's profile photo
BIJU c's profile photo
sharif rahman's profile photo
Akarsh Dang's profile photo
Jada Baby's profile photo
Afiya Shaikh's profile photo
saurin patel's profile photo
Work
Occupation
Senior Software Engineer
Skills
Android, Java, WordPress
Story
Tagline
Software Engineer, Lazy Android developer, Founder/Organizer @ Google Developers Group Ahmedabad
Basic Information
Gender
Male