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...
This is part of a series of articles to introduce Generative AI and step-by-step process with code sample to build GenAI Application; Part-1 ( GenAI Introduction ), Part-2 ( Building GenAI App using Spring Boot and Amazon Bedrock ) and Part-3 ( Building GenAI App with Proprietary data ). In previous article , we have built GenAI Application (simple ChatBot) using Amazon Bedrock Model ( Claude 3 Haiku ) and Spring Boot . This App generates answers based on training dataset (public information) of the Model. What about if we could restrict or refine this Model with proprietary data (like Company details, Sales, Customer records) as add-on Knowledge Base instead of retraining the Model . This would allow to serve personalized and contextual response, e.g. generating response with Customer's last order details. In this article we are going to enhance our GenAI application to accept proprietary data. Prerequisites Spring Boot v3, JDK 17 AWS SDK v2.x AWS IAM account with API credentials ...