I'm struggling to understand how am I meant to interact with the "graph" and "calculator" stuff from the mediapipe library. More specifically, I'd like to write some Android code that uses landmarks from the holistic (pose + hands in my case) solution, with the final goal of writing a flutter application that compiles both for Android and iOS.
I've managed to build a few of the sample apps (thanks to docker), and I think I roughly understand what the graphs do. However, I don't understand how to interact with them from within the code. The Hello World! for Android tutorial doesn't really explain this. There are examples that include this type of behaviour (e.g. here), but I don't really know where is all the required information coming from (e.g. how would I find out the right functions and string constants to get holistic landmarks?)
For example, in Python I could get data via something like holistic.process(image).pose_landmarks, and then compute e.g. position or angle of hips. And as far as I can see there are some similar Android API-s available, although not for all solutions - including holistic. So what if I don't want to wait for the API-s development, and want to use the graphs instead? That part is not so clear.
As a bonus, please do feel free to drop any links which further explain/document the "graph" and "calculator" stuff I've mentioned earlier, as I've not used anything like this before and find it a little difficult to google.
Thanks.
I've realised there are docs available: https://google.github.io/mediapipe/framework_concepts/framework_concepts.html
Not sure how I've missed this...
I designed the graphic interface of an app and now I want to bring it to live on Android. I have never programmed an app based on my design, just learnt de basics following material design styles.
Will it be possible for me to make it look 100% like my design that I created from scratch disregarding material design, or will it have to be a Frankenstein between my design and Android's material design? Also, can I achieve my goal by using Android Studio or should I try React Native or others?
Thanks in advance!
It can look however you want it to look.
If you are struggling to get it to look how you want with Android Studio, but have knowledge of html+css, then giving React Native a go might be easier for you to fully customize it.
Just be aware that it is recommended to follow the guidelines at least a bit, especially in regards to locations of common buttons etc as users can get used to how apps 'work', and going against the flow with a completely new user-flow can sometimes make it harder to use, as it doesn't follow their expectations.
I have a more general coding question.
The App shazam are using a very cool design where you could slide images. I wonder what type of technique they most likely used to create this? I am interested in developing something similar for both Android and iOS.
Could there possibly be a tutorial or example code for something like this on the web? As far from what I've seen there are no "native" support for a design like this in iOS/Android? All experience is very appreciated. / Regards
Here is a good staring point:
iOS
iCarousel
Android
SimpleInfiniteCarousel
CarouselViewProject
I'm a new Android developer and I need to create an Android application which looks like Apple's App store (on both phone and tablet).
I'm a bit familiar with Native layout designer in Eclipse (ADT) and I find it really hard to design such an amazing UI.
I've searched a lot and I've found some web-based UI frameworks such as Phonegap and Chocolatechip-UI. Are these frameworks capable of designing such apps or not? Or do you suggest something else?
Thnx in advance
This question does not have a right or wrong answer. It really depends on how complex your UI is. How sleek you want it to be.
If your UI is pretty but simple and does not require very complex animations you could go for PhoneGap. however, if you have got very complex UI and want very sleek animations I suggest you use the native APIs.
This however, may change in the near future as web technology is improving really fast :)
ladies and gentlemen!
Very often on my job I meet the following requirement from the client, when developing android applications: "make it look like and iPhone app".
Yes, I know, that the best way is to offer him canonical Android design with all these patterns like dashboard, using menu button etc... But sometimes this is not the case, as instead, I have to make it look and animate just the same. It's frustrating.
Can you guys, please advice me an android library (if there is one) with iOS-like UI elements? Many thanks in advance, I'm looking forward to hearing from you!
To expand on Martyn's comment, which I agree with.
Perhaps there is a great reason why a client would ask for this, but in many cases I bet they might benefit from being challenged on this requirement. If I was presented with this request, I would first ask "Why?". Perhaps they'd answer as follows:
we need a consistent experience across platforms, or
it will be more cost effective to design once and apply to each platform, or
it doesn't matter why, just do it!
Here are some responses for each:
each user will generally have one phone, and won't require the experience on Android to be identical to iPhone - they only care that it works and looks great on their phone. In fact, an Android user would prefer if you used the UI patterns that are more common to the platform, as opposed designing to match iOS. Likewise for an iPhone user.
we have found that having a designer create a set of creative for iOS allows us to pretty much use the creative as-is for Android. Even though Android might have Tabs on top, versus bottom, we are still able to take the backgrounds, button styles, fonts and color schemes from one platform to the next. There will be slight differences, but overall the brand and look should translate well. Here is an example of porting a single creative design across platforms: http://daleburgosdesign.com/
if they answer in this manner, you might want to consider passing on the job. Pixel perfect matching across platforms is tricky aside from the ideas offered in previous answers (OpenGL and the use of a WebView - via Macarse). If the client can't provide good reasoning for this tricky requirement, then it might be best to search for your next client.
Not a straight forward answer to your question, but I hope you find it helpful!
There is no iphone UI library for android that I know of. What you can do is, get the iphone GUI psd and redo it for 3 sizes of android (for the 3 size ranges) and use the elements of these psd's to theme your application.
I get these kind of similar requirements. Sometimes it wont be much about the looks but about the navigation flow of the application and how new views or activities are animated. From my experience, there is no easy way to do it. So I end up making a lot of adjustments and hacks to get the job done. And I over bill the client. :)
Btw you could also consider libraries such as Sencha Touch, it will look the same in all phones that use a webkit browser.
AFAIK there are no 'iOS-alike' widget libraries for Android.
Because of this, you could reasonably charge the client more for both development and support, thereby providing an incentive to stick with the standard Android UI design and principles.
There is no library to port iphone views to Android but if you are starting both applications from the scratch you have two possible approach to share views between both platforms.
First one is using WebViews and coding HTML, JS and CSS. This kind of app is called hybrid.
Second one is using openGL. You can do it directly or using a framework like cocos2d-x.
Depending on what you are willing to you should choose what to use.