Help decompiling an app - Android Q&A, Help & Troubleshooting

I purchased some smart medical devices by a company called Contec to help monitor my grandfather's health. The devices are great, but the 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 I have yet to hear back.
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, but could someone help?

Related

[Q] Never lose my stuff - backing up app data

Hello,
According to the Android Design Principles
Never lose my stuff
Save what people took time to create and let them access it from anywhere. Remember settings, personal touches, and creations across phones, tablets, and computers. It makes upgrading the easiest thing in the world.
Click to expand...
Click to collapse
which I think is great. The app I'm designing involves storing photos and data about them. Is there a good way to back this up? I could sync with a webservice I could write/host, but then I'm opening myself up to potentially large bandwidth/storage charges.
I considered using drop box or something, but that would require my non tech savvy users to sign up. Is there any easy way to integrate the google cloud service (as my users will of course have a google account)? What do people normally do when they want to meet this design principle?
Many thanks
Russ_T said:
Hello,
According to the Android Design Principles
which I think is great. The app I'm designing involves storing photos and data about them. Is there a good way to back this up? I could sync with a webservice I could write/host, but then I'm opening myself up to potentially large bandwidth/storage charges.
I considered using drop box or something, but that would require my non tech savvy users to sign up. Is there any easy way to integrate the google cloud service (as my users will of course have a google account)? What do people normally do when they want to meet this design principle?
Many thanks
Click to expand...
Click to collapse
I believe there is an api for backing up user data to Google drive and since users will have a Google account they automatically have Google drive (Your app will have to request permissions to access users Google account I believe). This would be the easiest way to implement things as the drive api is a native part of Android, and you don't have to worry about bandwidth and hosting storage. In the past people have hosted there own storage for users to used and then usually tie this to an account users have to create. Overall, like I said I'd look into using the Google drive api.
Sent from my SCH-I535 using xda premium
shimp208 said:
I believe there is an api for backing up user data to Google drive and since users will have a Google account they automatically have Google drive (Your app will have to request permissions to access users Google account I believe). This would be the easiest way to implement things as the drive api is a native part of Android, and you don't have to worry about bandwidth and hosting storage. In the past people have hosted there own storage for users to used and then usually tie this to an account users have to create. Overall, like I said I'd look into using the Google drive api.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Thanks very much. A bit of an oversight on my part so I'll have a look through the API and see what it offers.
I do intend to charge a subscription for my app/service ultimately, but I think I need to make storage space the users problem to save myself sleepless nights.
I'll investigate and post back here what I find. If anyone can give me a link to an article on this I'd appreciate it.
Thanks
Russ_T said:
Thanks very much. A bit of an oversight on my part so I'll have a look through the API and see what it offers.
I do intend to charge a subscription for my app/service ultimately, but I think I need to make storage space the users problem to save myself sleepless nights.
I'll investigate and post back here what I find. If anyone can give me a link to an article on this I'd appreciate it.
Thanks
Click to expand...
Click to collapse
Here is the official Google documentation on using the Google Drive Api:
https://developers.google.com/drive/
Check out this article on network storage and android:
http://developer.android.com/guide/topics/data/data-storage.html#netw
As well as this article on using the backup api and cloud sync:
http://developer.android.com/training/cloudsync/index.html
Also since you talked about eventually charging a subscription fee here is the official android developer documentation on that as well:
http://developer.android.com/guide/google/play/billing/billing_subscriptions.html
Wonderful, thank you very much indeed! I will give those a good read over when I get chance and let you know how I get on. It seems this could definitely be the answer, saving me money concerns and allowing my app to be multi user and backed up.
What I need to do is get my head around how I will use the cloud storage to allow my app to be multi user. Potentially I can make my database file based, and sync between two devices that way. My only trouble is when both devices are editing the same file / working on the same thing. I want the app to work offline, as I don't want connection issues to affect its usage.
Hmmm, I'll give it some thought.
Thanks again!

[Q] Application Development Help

Hi
I'm new to android dev and I'm trying to make an application for internal use among people in the company and partners. Its a very simple app, and I think I can cover most of the coding, but what I can't is connection to a remote mysql database. Its used to verify login credentials and edit certain columns (without it, app is useless).
From what I understand, its suppose to work like this: SQL > PHP > APP where the app pulls info from a php script located on the remote server. My issue with this is Java, which I'm very new to. I'm looking for someone to guide me through making that first bridge (I tend to make more, where I can pull sql data from app to show some stats or whatever)
Thank you
Loldawg said:
Hi
I'm new to android dev and I'm trying to make an application for internal use among people in the company and partners. Its a very simple app, and I think I can cover most of the coding, but what I can't is connection to a remote mysql database. Its used to verify login credentials and edit certain columns (without it, app is useless).
From what I understand, its suppose to work like this: SQL > PHP > APP where the app pulls info from a php script located on the remote server. My issue with this is Java, which I'm very new to. I'm looking for someone to guide me through making that first bridge (I tend to make more, where I can pull sql data from app to show some stats or whatever)
Thank you
Click to expand...
Click to collapse
If you're into web development and performance is not an issue, then you can try the webview instead of coding natively. At that time, you'll be using more html, javascript, jquery in which you may be more familiar with.
wcypierre said:
If you're into web development and performance is not an issue, then you can try the webview instead of coding natively. At that time, you'll be using more html, javascript, jquery in which you may be more familiar with.
Click to expand...
Click to collapse
Hi, thank for the swift reply =) I thought about it, but I'd like to make it right the first time. It would be nice to make the data available so I can do whatever with it. I did find a tutorial including examples and code on how to connect to sql and pull information, I'm just having a hard time actually implementing it into eclipse.. No idea where to type it in and stuff lol

[Q] Is android right for my project?

Hi folks,
I have had this idea in my mind for a couple of years now and would like to get on with it and stop dreaming about it and just jump in and do it already!
My experience during the past 20 years has been working as a programmer on MSSQL and VB and VB.net with good working knowledge of C, HTML5, Javascript, VB, VC, Access, MSSQL, MySQL, PHP, CSS, some Java, etc...
I don't mind learning new skills and actually looking forward to getting started, but I need to know that I am not barking up the wrong tree.
I intend to make this an open source project and not as a commercial product.
My dream is to make my phone, my voice-driven computer. Where the phone might not have enough resources, I need to use my main computer as top tier and act as server.
I know ubuntu touch might be a contender but it lacks many drivers for GPS, Propriety drivers, etc...
Let me tell you about my idea first as a high level plan due to my ignorance of the details of this implementation.
I want to make my phone (Nexus 4) be able to listen to my commands via a Bluetooth headset (Through a speech recognition engine), and tell me in in natural speech, things that I need to know or care about. For example: "You have a new email from David. Do you want me to read it or display it?" Sort of like what is now a movie called "Her" without the science fiction and the lovey dovey story part .
I want to write an internet agent that would search the net (from a list of sites) for what I am interested (through an AI program like freehal.net), and keep them for display in the order of relevance when I query it.
I also need to take over the telephony hardware when needed. For example: A call comes in, I want to be able to look-up their number in my database of contacts, if an entry is found, to tell me "Sam is calling. Do you want to answer it?"
I also want to keep a black list table where I know they are trying to sell me something and answer the phone (without me pushing any buttons) and tell them that I am not interested in answering their calls and that they are on my black list. Then hangup. Without sending them to voice mail.
I tried asking the android community on Google 2 years ago to ask why the SDK doesn't provide telephony API front end to answer the call without user interaction, but got no replies.
I've installed ubuntu on my laptop to learn Linux and got it working properly after a couple of days and have downloaded and installed all the programs and sdks I think I'd need. There are a lot of interesting projects in AI and user agents going on and I like to participate in them once I am up to par with the linux environment.
Can anyone give me some guidance, pointers or what to look for. If there are any project in development that I could join, would be much appreciated.
I tried to explain my interest as best as I could. If you need more info, please let me know.
Thanks for all your help guys.

Need help with updating an apk

Hey all,
There's an app I need help updating to either api 24/26 . The app which is meant to interface with the Joyetech Ocular/Ocular C, which is on Google Play,
https://play.google.com/store/apps/details?id=com.zijing.joyetech
The problem is, the devs of the app hasn't updated it since api 22, and after sending emails to the devs on multiple channels, there's no response.
Looking at the logcat of an app's activity, the Android app derives keys using the SHA1PRNG algorithm from the Crypto provider, and as of Android N, apps must start using a real key derivation function.
My issue is that:
1: I'm very mediocre at things like this. (Decompile, import into Eclipse, edit as needed, then recompile.)
2: My laptop doesn't have enough space to install Eclipse.
Would anyone with more knowledge on this subject be willing to update this apk for me?

I need help to publish PutMask and PutEmoji on Google Play

Hello, I am the developer of PutMask and PutEmoji apps. Unfortunately, due to a problem I had, I could not publish the apps with my own identity, so I used the identities of my friends. The problem still persists, but the added problem is that my connection with my contact, whose identity the app was released with, is also being disconnected. This problem has caused even me not to put time for development app because I am not sure what is going to happen to it. I talked to many people and tried every way I could think of, but I got nowhere. That's why I said to raise it here, maybe I could get help. The PutMask app is designed to blur the faces in the video and the PutEmoji app does almost the same thing, but you can put your desired images on the faces. If there are special conditions for your help, I will be happy to discuss them with me. I would also like to point out that because the core of these apps uses cross-platform libraries, designing these apps for other operating systems such as Windows and iOS will not be difficult. As one of the next steps, I considered that maybe you can help me in this matter as well.
XDA for PutMask.

Categories

Resources