Xamarin Forms define application workflow with configuration (like json etc) - android

I am new to stack overflow. So sorry, if the question is already answered, but i didn't find a suitable answer.
Is it possible to define process steps using a config file like this in Xamarin Forms:
{
"step" : "acceptOrder", 
"nextStep" : "DestinationScan"
}
The goal is to configure which Views (with appropriate ViewModels) should be used. So to predefine a workflow.
Open View1
wait for result
Open View2
...
Hope this is clear =)
Thank you for any advices!
Regards,
Dennis
I search the internet for some days, but could not find a suitable answer. Maybe I am note sure what I am searching for. So I hope to get some hints here to clearify my goals =)

Related

Graphs/Charts in Android

I'm a beginner in android application development. I got a requirement where I have to show some statistics in the form of graphs/charts. I would like to if there is any API as such which would suffice this requirement in android. Else, I would like to the means the other best means that would make this easy. I referred other questions regarding this, but I'm unable to decide basing on them. Help needed as soon as possible.
This is good , easy to use and if You have problem PhilJay or someone else will help you on stack:
https://github.com/PhilJay/MPAndroidChart

How to make a generic AsyncTask?

I am new to Android and I am currently working on a project that requires a lot of Http requests on a web API.
I have been searching for good practices about refactoring AsyncTask subclasses, so I don't have to write a lot of similar code into each Activity class.
Do you have any tips/advices or even an example of how you proceed ?
Thank you.
I think what you are talking about is already answered here In this answer it has a same topic's discussion, Although i also know some blogs that can help you to make it more conceptually clear read them,
Links:
https://trinitytuts.com/reusable-asynctasks-class-in-android/
http://cyriltata.blogspot.in/2013/10/android-re-using-asynctask-class-across.html

APKinspector - Find String from Strings in SideView - Shortcut?

Searching for this has become exasperating - failing after three weeks of searching! So I hope one of you can tell me how I can kind of open a string that is shown in the APKInspector's SideView Strings list. Or rather opening the Method/Class it can be found in.
I tried everything that came to mind before starting to search.
If the solution is easy&&I'm too stupid to feel free to punish me.
Otherwise: Thank you so very much in Advance!
Currently there is no link between the strings listed and their source (class, method, etc.), so unfortunately there is no easy solution.
For what it's worth, JEB (https://www.pnfsoftware.com/index.php) does provide this capability. It's a commercial tool, but it's currently maintained much better than the open source alternatives.

Where to find Android Development Homework Problems

Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html

Any AppWidgetHost-tutorials out there?

I'm writing an application that should both have the ability to place widgets on the home screen, and to show these widgets in the application itself. I figure that the best way to do this is through the use of an AppWidgetHost for the application part.
I've been looking around, but I cannot find any good examples on how to write AppWidgetHosts. Have any of you done this, and are willing to share? Or do you know of any tutorials that I've missed?
Not exactly a tutorial but here is an older forum post.
The code is part of the mylock project, which you also might find useful if you dig.

Categories

Resources