Square APIs - How to order on the go Android app - java

I know this is really vague but I'm looking for any sort of assistance you can offer. Basically, the vendor I am working with currently has a Point of Sale app on their iPad tablet, customers already go there and order goods on a daily basis. I am currently developing an Android app for the customers so that they can order their goods on the go, and have it ready for pick up when they arrive. Some of the documentation is a little confusing to follow, and the answer that Square customer support gave us wasn't very clear either, so I am calling on the help of fellow developers who perhaps have experience working with Square. Right now I'm having a lot of trouble understanding how users of our app would even see the menu through Square API calls, which APIs to start out with. They have lots of different ones and I'm not sure which ones are actually relevant to my task.
Here are some links I tried to look at for your reference, maybe it can help you as well:
https://docs.connect.squareup.com/
https://github.com/square/connect-java-sdk
https://github.com/square/connect-api-examples
https://github.com/square/point-of-sale-android-sdk
https://github.com/square/active_merchant_square

Related

How to add a google business search to android app. New programmer

Hi there I have managed to make a basic android app with all sort of puppy information for new owners. It has all the categories you expect like training etc. However I want to add a more advanced feature that as a new programmer I have no idea how to do!
I want to make an activity in the app so when they click it, or maybe just enter their postcode it shows up the local dog groomers within 10 miles, or maybe the local vet practices within 10 miles etc.
I have no idea where to start with this. I am not looking for it to be handed to me on a plate but does anyone have any basic guidance as to where to start etc.
If you are looking to use Google search, you can use the Google Places Android SDK. You will need to set up an API key. It's free for non-enterprise usage.
Other companies also offer similar services, such asMapbox, though from personal experience, the search results are not nearly as accurate as the Google ones.

Linking two phones/users together in Android app

Hi I am designing an Android App using Android Studio for my class and one of the requirement is that the app should link two users together as "partners" so that they can receive notifications or messages from each other. I already have google sign in available but I don't know how to link two users together. Can someone point me in the right direction to get started? Thank you.
You're looking to create an app that can connect users wirelessly and then do whatever tasks you wish to do. Now I'm not going to give you the code or anything like that, but I'm going to point you in the right direction as you asked.
The Android Developers site is a good place to start: Building Apps with Connectivity
The first two categories are closely related to your type of question, and will give you the stepping stone you need to start developing an app that fits your purpose.
Anytime you have an actual issue with coding it, StackOverflow will have countless solutions I'm sure.

How to give your app to certain users free of charge?

I just added an in-app purchase to my app which unlocks extra features and I have a few questions.
I have a friend who helped me a lot in the development process, I want to give him the extra features for free, how would I go about doing that?
I use my own app and since I can not purchase my own IAP, how would I go about unlocking said features without making a custom build for myself?
Thanks everyone!
In the past I have seen developers implement a Coupon Code feature, which allows the user to enter a code within the app that, when gotten correct, will unlock certain features. Implementation of a like feature will allow you to distribute a code to yourself and others to be used to unlock features without payment.
One simple solution to the first problem: send your friend money (cash) equivalent to what they would pay to get your app from the appstore.
Apparently there is no solution to the second problem ... apart from using two distinct Google identities.

Possibly non-intrusive method to change complete android application code with a library

I'm having quite tough problem while developing a testing framework for android apps. The text got a bit long so the actual question is in bold for those that don't want to read the context.
Basically, what I'd like to achieve right now is to trace user activity while he's using the application as one of the features. There's my app that manages context data all the time and developer's app - the one being tested. My idea to do this was to get coordinates where user touched the screen along with taking a screenshot simultaneously. Then I'd use the coordinates to mark the spot on the screenshot to get the idea of what user was doing the whole time with the app. Take hints on user experience and trace crashes.
Non-system apps cannot take a screenshot for security reasons, but application itself can take a screenshot of its Activities without much trouble for non-rooted users, e.g. like here. My only hope here is to interfere with developers' code to implement the functionality of doing so while my testing app is running. Each Activity then would have to extend my overridden Activity instead of regular one, implement an interface, implement broadcast receiver etc.
I am going to write a library for developer who would like his app to be tested with my framework. I'd like it to do the job for me and be as non-intrusive as it's possible for him to use. How to achieve that the best way?
Ideal case would assume linking the library to project with maybe a small addition in manifest that'd get the job done and after just unlinking, removing that bit of xml in manifest for production.
That's an open question. I don't expect any bits of code, but some nifty Java trick, Android OS functionality or even completely other approach that'd solve my problem
I tried to be as clear as possible with the question, but that's a quite tough matter for me to describe so that could have turned out contrary. Don't hesitate to ask me for more details, to speak my mind more clearly or even rewrite the question. Thank you all very much for help!

Whats the best way to start programming for my non-smartphone?

I have a general old-fashioned phone that has no special app system and uses Java (I assume ME) for the few applications you can use on it.
This is still a decent userbase and I'd like to start programming for this type of phone. I already know basic Java theory and syntax, so.. where do I get started for programming for non-smartphones?
Best programming environment for Java ME IMO is Eclipse with EclipseME. Includes lots of built-in stuff about packaging your midlets etc. The SonyEricsson wireless toolkit is great for PC-based testing and debugging, but don't forget on-device testing!
If you don't know much about Java ME's lifecycle, then get reading as widely as you can, and try lots and lots of examples. Start with the JSR-118 (MIDP2) javadocs; you'll want these open on your desktop at all times while coding.
Don't waste too much time with the form-based user-interface; I recommend either rolling your own using Canvas, or read about LWUIT.
You can do all sorts in Java ME and target a very broad range of handsets. HTTP capability is guaranteed, so you can hook up to a public web service, or create your own using something like Google Appengine.
Finally, you can release your app very easily on somewhere like Get Jar. Don't be put off by those who say "no owners of Java ME handsets want apps", you'll find the most popular user bases on this site will be users in countries such as India and Indonesia.
Good luck!
I would start with a book on J2ME and work from there.
Try Beginning J2ME: From Novice to Professional.
You could also download the J2ME SDK and play around with the example they give.
For tutorials have a look at the stackoverflow question https://stackoverflow.com/questions/584923/do-you-know-a-good-j2me-tutorial as mention in my comment.
I started with writing simple Flashlight application (choose how much seconds screen will remain lit) in NetBeans ME. And other app which I mange was Countdown with some graphics and sound. After that I found limitations too much annoying and now I'm waiting for my Android phone.
in short:
If you want to try it out - you don't need to buy books. There are plenty of tutorials around.
But, if you want to start deep development - don't waste time.

Categories

Resources