Skip to main content

Posts

Showing posts with the label Library

Java Reflection as Android API

Have you ever tried or wished to re-use or access source code which is part of a different Android APK ? If "Yes", then this article is for you. Well, I must agree its not a very common use case and when it comes to API in Android, we rather prefer JAR or Remote Service to expose functionalists. Java Reflection can be an alternate and useful API approach to expose functionalists from an APK or Application. Here I'm going to explain a design approach where we can define API for Android using Java Reflection. For this example, Host.apk is an Application which hosts one API method which we are going to access from another application Client.apk . Host.apk includes- HostApi.java which defines API method getMeta() . This method returns some pre-defined Text appended to calling Application's Package name. package com.pras.host; import android.content.Context; public class HostApi {      Context mContext;      public HostApi(Context context) {  ...

InDroid- Access to Android's Hidden API

I have started one project " InDroid " to expose and share Hidden and Internal methods and variables of Android platform which are not part of Android's Standard/Public API .  These are very powerful methods and information which would help Android Application developers to make Solutions/Apps with the power of Android's native functionalists. Try the 1st version of this Library (this includes API for few important hidden methods of Telephony, Graphics and View System) and share your feedback- http://code.google.com/p/indroid/downloads/list

Bulk Email Sender

Few months back I had a requirement to have some kind of Tool which would help me to send emails to list of hundreds of recipients for Online or Email based product promotion. So, developed a small Auto-Mail sender tool which helps to send bulk emails with custom Subject line and HTML enabled message. This helped me a lot to do Email based product promotion. This would help people who are doing Online or Email marketing to promote their product/service. Please download the tool- Auto-Mail and share your experience.

Android APK Extractor

I have been working on Android since last couple of years and its really amazing to watch how SDK takes care of few brilliant stuff, like XML based resource mapping, Delvik class generator (.dex or .odex file). So, thought lets explore internals of APK file structured and create a APK parser . Somehow any Hex Dump fascinates me enough to explore its real meaning, crazy? this is how it is :-) I did google and found few solutions which require Android SDK AAPT (Android Asset Packaging Tool) to decode APK resource. So, I thought to create an alternate parser (independent of Android SDK) which developer community can use to extract content of APK. Android APK is a zip file, any ZIP parser/program can parse and extract its content. But this is the easy part, the tricky part is to convert resource files stored inside the APK (i.e. Manifest, Layouts, String.xml etc.) to plain text and convert Dex/ODex file to readable JAR. To speedup the run time processing of these resource files, AAPT e...

Blackberry backup Parser

I have published this extractor to help people to develop both open source and commercial solution which involves reading Blackberry backup extraction. This extractor retrieves BB phone backups (Contacts and SMS) into CSV file. Share your comments, feedback and Questions, I'm listening :-) To download the binary and source, please access- http://code.google.com/p/ipd-extractor/

Google SpreadSheet Library for Android

You might have already tried using Google's GData Lib to access SpreadSheet from Android, and after few hours of try, you start Google for any alternate solution. I have also spent number of hours without any solution. So, I have developed SpreadSheet client Lib [ works on Android :-) ] and ideally work on any Java platform- http://code.google.com/p/google-spreadsheet-lib-android/ Latest version: 2.1 (Added support for List Feed. Please visit above link to get more info.) Supported Features: 1. Create/Delete Spreadsheet 2. List all stored Spreadsheets 3. Add/Delete WorkSheet into/from a given SpreadSheet 4. List all Worksheets of a given Spreadsheet 5. Add Records into WorkSheet/SpreadSheet (It supports Table based record handling) 6. Retrieve Record from WorkSheet/SpreadSheet ( Structured Query support) 7. Retrieve Record as List Feed from Worksheet 8. Update/Delete Records 9. Share ShreadSheet with user/group/domain. 10. Conditional data retrieval- ...

Phone Away Widget

This Android widget will allow users to set their status and auto-response of phone calls. So, next time you are having dinner or doing anything much more interesting than attaining a call :-), you can use this widget to auto reply with an SMS message without disappointing or keep your caller guessing for your unanswered call. Supported Platform Android 2.1 and above. How to use ? 1. Download PhoneAwayWidget.apk and add the widget on your Home screen. By default it will set you status "Available", which means your phone will behave as it is. 2. When you don't want to attain call and set status message, click on the widget, which in turn will launch the preference screen. 3. So if you set your status, next time call comes, it will auto-response with SMS message. You can define the mximum number of SMS auto-response, e.g. Max SMS Count = 10 means, for first 10 calls it will send SMS and rest of the calls it will just disconnect. Please update me with your co...