I'm very new to Android programming and working on Android Studio. I want to go to a second menu by clicking on a button and I will need these kind of stuff during my development. Is there any good tutorial that you know for Java for Android? Android's own tutorial is not very sufficient and there are lots of tutorials about android but all of them are very complex. I'm looking for something like android for dummies or something :)
Thank you very much.
Android has the concept of Fragments and Activites for different views.
The Android training guide by google is really superb for the basics and have the sample code too, you should start from there
For the different views, here is a guide for that using fragments
http://developer.android.com/training/basics/fragments/index.html
Related
Hi I am new to Android development and I want to add a specific looking view in the my main app window, which I have seen in many apps but dont actually know the name of it :) So its hard for me to check the android developers websites for details.
Below is a good example of an app using this widget or whatever is check the link:
https://lh3.googleusercontent.com/K7HJq6Be9AVf6EiDc0pviGLNyMJ4CL1f5Bw6HmxDUaQc7vpu18KAxrF6VlG5fJciFF59=h900-rw
Look at the ones that have Squat etc in thats Im referring to. Im not wanting to build a workout app, but I want to use a similar floating area like this, as I like the look. So the question is what is this called in android, its not a listview or textview I believe.
Sorry for the noob question but as I said Im very VERY green at Android dev.
Thanks
The view used here are
CardView - Check
Recyclerview -Check
Viewpager with fragments -Check
Toolbar- Check
I'm wanting to build an Android widget for my phone that streams a video from a link on button click. I've searched tutorials on Google but I'm still having difficulty understanding how I'd achieve this.
Does anybody have an example of something similar to this or know of any good tutorials to get me started?
Cheers
You can use android native VideoView. It can even play online streaming videos.
Android developer newbie here....
In iOS, you can choose from two main styles (before customization) of a UITableView... normal and grouped. I really like the grouped look on some of my views for my apps in iOS.
Is there any similar built-in view styles for Android ListViews? Obviously I don't want it to look like iOS on Android, but if Android has their own "grouped" style I'd love to take a look.
Is there anything like that? Or do I just have to customize the basic ListView how it is?
BTW, I'm using a Base SDK of API 14 (ICS 4.0) so I can use the latest and greatest.
After some researched I've learned that the answer to this is no.
I'm just trying to make an android app design similar to the one in the link below.
http://itunes.apple.com/gb/app/id406490694?mt=8
how would I go about making a multiple page application like this? I've only ever worked on single page applications so any advice you have would be great.
How would I make the buttons at the bottom change the page etc?
Thanks,
David
This app was designed for ios. You should make your app native to the android platform. Otherwise you will be spending a lot of time performing hacks to get the UI to look the same. You may keep some of the design but focus more on how to make this app look great for android.
In terms of switching "screens" you will need to declare each activity in the manifest like so...
<activity android:name=".YourClass"
android:label="#string/app_or_class_name" />
Then when a button or event is triggered you can use the following to load up that screen or activity.
Intent nextIntent = new Intent(v.getContext(), YourClass.class);
startActivity(nextIntent);
you should use tabActivity for this purpose with tabs at the bottom.
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
I have very little android programming experience, But I think I can point you in the right direction.
http://developer.android.com/guide/topics/fundamentals/activities.html
specifically look down the page a little at "starting an activity"
It appears that tabActivity is deprecated, so.... I wouldn't use it. The dev guide points to Fragments as an alternative:
http://developer.android.com/guide/topics/fundamentals/fragments.html
good luck, and I hope someone else answers that knows a little more about it...
I'm a new user to this interesting forum!
I want start developing an application for android and before starting i want learn about some android features...
The first android feature is how to correlate finger motion on the screen with java...
Are there any source code examples that show how to draw with your finger on an android screen?
Can you suggest a good place for me to download an example?
thanks
The ApiDemos that come with the SDK have an example called TouchPaint that does exactly this... it's a simple little finger drawing app. The source is actually very easy to read and it shows all of the basics.
Check out this tutorial on drawing with a canvas in Android. There are some source code examples there for you as well.
Also, the Android developer's guide and tutorials on the Google site are great. That's what I started with.