Building decompiled APK in Android Studio - android

I purchased a smart medical device by a company called Contec to help monitor my grandfather's health (specifically, a urinalysis tester - he has kidney failure). The device is great, but the Android app itself (com.contec.phms) is abysmal - it will collect readings from the devices via Bluetooth, but there is no way to export the data to take to the doctor. I have tried contacting the app developers, but they have not responded.
I am pretty handy with Linux, but I can't figure out how to interface with these products without the app. I'm not much of an Android developer, but I know enough to hack small changes to existing apps. If I could decompile this app, I'm sure I could trace the data and at least figure out a way to export to CSV. I have tried a few common decompilers, but I can't get the app to cleanly build in Android Studio. I don't know if this is against forum rules since this is for personal use, but could someone help?

Related

running android studio on a server/cloud platform?

I am currently a Computer Science student and have a group project that needs to create an app in android studio. However, over the course of years working on group projects I know many issues can occur from having user based error like it will run for one person but not for the other.
I'm trying to find a free and easy way of creating a remote server either on my computer or on a cloud platform that will host android studio where my group members and I are able to remote in to work on the projects without any hassle. so my question is are there any 3rd party software that does this kind of work? if not, most likely we would have to just deal with it and use github.
Update -
About two years ago, I started building a project with my twin brother that could help us code over the cloud. We began researching for ways to achieve this and began noticing projects like Google’s Stadia that were streaming GPU-intensive games over the internet.
After stumbling upon multiple technologies we began exploring and experimenting with the WebRTC project while scouring through proposals submitted on the IETF regularly.
We eventually zeroed in on streaming our dev tools to our browsers and began developing Neverinstall to help users conserve system resources.
We ran dev tools in a cloud-native environment for a better experience that did not hinder the local machine.We knew we immediately had to validate our project and the need for such a tool.
So, we shared it about 2 years ago to get some quick feedback from devs.
https://www.reddit.com/r/androiddev/comments/j0o51v/introducing_android_studio_on_the_cloud_request/
Beyond our wildest expectations, we received immense support from the developer community along with amazing suggestions and feedback that ultimately helped us evolve the platform into a full-fledged personal cloud computer. So as we grow, we look back at how the community helped us get where we are today, and we do not want to stop delivering.
One of the first dev tools that we started supporting when we built NI was Android Studio. It is a popular dev tool with a large user base and problems alike. We began by addressing one of the most common grievances with Android Studio – slowing computers – and moved to take the experience closer to native.
From launching Beta to releasing full-fledged support for AS, the developer community helped us understand what they need and how we can make NI conducive for Android development.
So, today we are excited to announce that Neverinstall now supports emulators on the platform out-of-the-box. Developers can now build, test, and deploy Android apps in record time, eliminating several hindrances such as slower Gradle build times, sluggish emulator performance, and incompatibility issues.
Try Android Studio on the browser
We would love to see you build your Android projects on our platform and give us suggestions on how we can make it better.

Android-to-web app-to-iPhone, without Xcode

I have released a native Android application, which I built in Android Studio. After a rocky start, it is now doing alright in the PlayStore.
I hope to release an iPhone version soon, and I am considering my options.
My general approach will be redeveloping the project as a web application using Ruby on Rails, then converting that to an iPhone app somehow.
I am writing to ask more about this final step. What cost-effective ways are there to convert a web application to iPhone format?
I am aware I will need $99 for the Apple developer programme, and I would like to keep my overall costs close to that amount. I had thought of using PhoneGap. Are there any extra steps between PhoneGap and publishing on the App store?
Extra information, which might help contextualise my situation:
I do not have an Apple devices or software for development or testing. I’m not the Prince of Monaco, so I do not intend to spend on these things anytime soon. My app is called Victoriana, and it is a Choose-Your-Own-Adventure/ text adventure game. Pretty basic, really.
This is my first real project, and I first came into developing through tutorials and Android Studio.
It would also be my first time coding a web application or using Ruby, but for converting this non-complex project I am happy to learn something new.
Unless your app requires a lot of database interaction, Rails is probably too heavy-weight for what you need. If you're set on building a web app in Ruby then Sinatra is much simpler and a better option for beginners, but again depending on the complexity of the game, how you persist state etc, you might actually be better off with Javascript and a single-page app framework.
There really is no developing for Apple products without running macOS, but it is possible to do this within a virtual machine on a Windows PC.

How to run my iOS app on iOS emulator (like emu/cider app) in Android?

This is my first question on Stack Overflow, so sorry in advance if I asked the question in the wrong place or messed up.
I have this project where I am repurposing an old android tablet for the project. I need to make an app which will always be open on the tablet. The problem is, I am not proficient in making apps for Android. So, I thought let me run an iOS emulator (like iemu or Cider APK). Then, I realized I don't know how to put my app on the emulator.
I was thinking of ad hoc, but I am not sure if it will work. Then I though about stuff like Snapchat ++ or Instagram ++. How do they distribute it? For those who are unfamiliar with it watch this video starting at 1:55.
So in short, can I put my iOS app on the emulator or is it just better to get better at making android apps?
Thanks in advance
Based on my quick research I checked just briefly bunch of articles about Cider APK or iEMU APK and also comments and I downloaded one app but didn't run it because its basically distributed from some google drive account and looks quite dangerous to run on my phone.
But based on my understanding how this is actually doable https://appetize.io looks like only way, as this is merely some remote virtualization solution and they have business model instead of ad scam business model as those others. appetize.io runs in browser and has a free plan with limitations but usable , also they allow to upload your apk to their server to run it on their iOS devices that is basically visible in web browser, while quite slow but working and its real thing and useful.
I am guessing you would get Cider APK or iEMU APK.
I have never done it myself but I know it's doable. Read their documentation.
Install the emulator in your IDE and run by choosing the desired destination.
Hope this helps.
http://www.androidcrush.com/run-ios-apps-on-android/

Using Game Console Emulators in Android Application

I've asked this question before but it was seen as a broad question. So I'm asking a more specific question about that topic now.
I want to build an Android app with ability to play Sega Genesis ROMs. Obviously it needs a Sega Genesis Emulator. Based on what I've seen in other android apps with Game Console Emulators, I've figured there's no need to write an emulator from scratch. For example this app has emulators for more than 10 Game Consoles and obviously they haven't spend years to write +10 emulators from scratch and put them in an app just to distribute it for free.
So I'm guessing there's a way to use (include) an already written Game Console Emulator in an Android application. Is that right? And if it is, how can one do that?
I've search A LOT and found nothing about it. Maybe this process has a special name that I don't know and I should search with that name.
This is too broad a question, but I can point you in the right direction:
Android allows for native C++ development using the NDK. Get it, learn it, love it.
Then you can either use a C++ emulator Core that is open source and include it in your app, or you can just build your own version of an existing emulator and fork it to your liking.
For your example (Sega Genesis), you could use SDL and DGEN: combining the two will yield an android-compatible Genesis emulator.

Showcasing Android app on a website

I have an app in Android Market which is a standalone app that's essentially a full conduit to an SQLite Database(add, change, delete, inquiry). Some of my potential clients have asked to see a sample of my work, but they don't have an Android device.
Other than just showing them screenshots etc., is there a way I could have them go to a website where they can actually run it & check it out.
I'm thinking there would be a programming element involved (convert app to a mobile website essentially?), hence posted this question here.
Not quite sure where to get started. Any help would be appreciated.
You can use one of the patterns like MVC/MVP/MVVM to create your core library and then develop additional UI variants for different clients: Android, java applet etc.
Alternatively you can develop a mobile web site as you suggested and use simple android app to navigate built-in browser to it. This might be somewhat transparent to most users. I think Android MSN client uses such an approach.
I see 2 relatively easy options.
Give them an .apk designed to only
run on the emulator (you can check
the ID, the emulator ID is 00000...)
and they can boot up an emulator and
run it. If you're worried about them
reverse engineering your .apk you
probably shouldn't go down this
route. Or if you don't want them to
have to install the emulator
Set up a virtual machine and let
your clients remote desktop into it.
Give them permissions to only run
the emulator or however you want to
set it up

Categories

Resources