I am building an app for Android where I have a navigation drawer with 3 buttons, each leading to a separate screen. On one screen is another button that, when clicked, will start a wizard like "control" that has 4 screens, and you need to move to the next and previous in each one. The last screen has a submit button where I process input from the other screens in the wizard. What is the best way to do this in android? I am coming from the .NET world and I looked around for a wizard control of some sort, but to no avail. Any ideas are helpful!
You can use the open source android lib WizarDroid
Related
All coding was done in android studio.
I created multiple standalone calculator apk's, but I want to combine them all into one single apk. (Just seems more efficient.)
I want to have a home screen and then 4 sub tabs which can each run individual calculations based on their respective inputs.
I have been watching tons of videos and read through multiple threads on how to create a navigation drawer activity.
Some of the videos and threads brought me to the point where I have interactive drawers. That is as far as I can go.
Where exactly must I write the code to read the user input values as well as perform the required calculation.
So to summarize I want to put each app I created thus far into one application but access each different calculator via a navigation drawer tab.
I have an Android app and it has three options. What I want is when I click the first button it should open a Android VR app made in Unity which has a 360 degree video. When I click the second button it should open a Android 3D unity game. So that I can see this in carboard. For the third option there is just a survey, which is simple. But my question is how to do the first two button part .
If I understand correctly your question, what you want to do is just to open another app (actually 2) from buttons 1 and 2?
There is a related question here
where it explains how to open another app from an activity (in android). You should be able to adapt the code there to the click event on your buttons.
If what you want is to open "different" instances of your app, or just different screens, I would strongly recommend to build everything in Unity, so you have everything in 1 place (assuming that they are your apps as well). Otherwise the solution of just launching a new app should do the trick.
I'm creating my first app in iOS and I'm very accustomed to developing in eclipse for Android. My first step is that I need to create a dashboard as the homescreen. I'm a little "confused" as of which layout I should choose in xcode. In android I always select the most basic of settups, and I end up with a blank activity and a blank layout. That's where I would like to start, since that's what I'm used to. I'm wondering if any experienced iOS dev can point me in the right direction into which template to start with.
It seems really easy to just say to use an empty application, but If I'm going to have to do a lot more settup that is not worth my time, then please enlighten me.
You' probably want to go with a single view application. This will give you a template with a view controller and a blank interface file (your choice of xib or storyboard) that you can build from. From there you can add what ever you want.
Using this template you will immediately be able to build your app to the simulator or to your device. However, if you already have an idea of how you would like your app to work, you could choose tab based if your app should have multiple tabs and most of the work will be done for you, or a utility based app will give you two view controllers, one of which will be presented modally. Etc, etc...
I'm about to start porting an existing iPhone app to Android. The iPhone app's navigation is based on a UITabBarController, with a separate view controller for each of the 5 functions of the app.
I've never programmed an Android before, never owned an Android before, heck, never even used an Android before for more than a minute at a time.
So what's the most intuitive way to redesign the UI? How would the majority of Android users expect the application to work?
Is there some equivalent of a UITabBarController that's widely used on Android? If not, how intuitive would it be to present a simple list of app functions in a "master" activity, then open up a new activity for each function when the user clicks on it, and rely on them hitting the "back" button to go back to the master activity?
Thanks,
-Numegil
Use a TabHost
And buy an Android / borrow one from a friend.
Also consider using a TabBar in iOS and using the options menu in Android. So in Android the user pushes/taps the menu button and can navigate from the pop up options menu. In iOS, I have a tab bar for the same navigation choices at the bottom of the screen.
So when the use hits the back button you return from the selected options screen to the Main screen in Android.
TabHost is the tab equivalent. If you have some dough, buy a cheap Android tablet (I have a Cruz Velocity T301 from Radio Shack - $150) to use for dev work.
Otherwise use the built in emulator. It's slow, but you can use it to develop for multiple screen sizes.
If you dev in Eclipse, get used to setting up different Debug configs or the Run configs for the different screen sizes. Best book I've found for getting you up to speed quick is this:
http://www.amazon.com/Android-Application-Development-Dummies-Felker/dp/047077018X
According to iOS guidelines the tab bar controller should be used for navigating between separate sections of your app (flat navigation structure). The Android equivalent for this is the navigation drawer. For an example, compare the Apple Music app on iOS with Apple Music for Android. Do not use tabs for navigation between sections of your app. Use tabs only for switching views on the same screen.
I need a way to show off concept designs of an android application on an android phone to simulate that it is running. Basically just being able to tap to advance to the next photo/screen would be sufficient with a tap ANYWHERE on the screen. Any tools you know that would be helpful?
Eclipse with Android toolkit.
Write a small program. wont take up much time.
[update]
No coding is required. Create an android project Using Eclipse android project, you can visually create UI prototype (i.e. drag and drop .. no coding). Use main.xml after developing each screen run the project in emulator, you can take screenshot of the same (either using eclipse DDMS plugin's snapshot capability or using Alt+Print screen in windows or something similar in other OS). Use this screenshot in a powerpoint presetation . Repeat the same process for a second screen (overwrite the same main.xml so that you dont have to write code). take screenshot again. Add the required animations in powerpoint.
Is there any other option that does not involve any code?
The easiest way I can think of is:
1. Take screen shots(wireframes, screen prototypes) for every screen flow you wish to demonstrate.
2. add them in proper sequence(regulated by sequence number) to your sdcard.
3. Open Picture gallery and use swipe gesture to transition and cycle between screen, walk through all the screen flows.
Do it photoshop, create images, add it to an activity. Create a layout that fills the parent, add it as a background. Then implement a ontouch method to finish the activity and load the next. Quite simple.