[Q] Guide to make digital clock widget? - Android Software Development

Can someone point me in the right direction for making a simple digital clock widget? i know only some basic java but i think i could do something like this i just need to know a good way change the image based on the time. I think i could do it now but the way i am thinking of doing it is doing- if minutes = 1 display 1.png but i don't want to have to write that out for every number and make a image for every number 0-59.
If this could be done in app inventor or started in app inventor and then brought into eclipse it would make it easier on us beginners but even just giving me an idea on how to write this where it would be somewhat more efficient.
If someone would would be willing to help or write a guide it would be really helpful for beginners looking to learn java and customize their phones at the same time.

Related

The Communicator app: Where to start with Android app development

Hey guys
Aight so the idea is to create an app that lets the user speak to someone in a different language. You make a recording and using the same function that the voice search feature has that recording gets translated to typed words on the phone. The app then uses some translating service like google translate to convert that writing to a language of your choice. That writing will then get read* by the phone and can be heard through the speakers. So essentially you can talk to someone even if you dont speak the same language.
*I know this is possible because I used to have an app that did just this: it read out loud what you wrote down
I have no experience with android development, and not very much with programming either for that matter (ive done some python stuff). However, I thought of this, which dosen't seem too hard to create, and I thought this would be a great way for me to start off and learn about app development.
Ok so because most of the features already exist it should just be a matter of patching them all together (right?). This is where I need you guys' help. Any suggestions on where I could start?
I appreciate any help, no matter how big or small!
MODERATORS: I wasn't really sure if this was the right place to post this, so feel free to move it to where ever you find suiting if this isn't right.
I would love it if someone wanted to work on this together with me, but
PLEASE DONT BE A D*CK AND JUST STEAL THIS IDEA!
Hi,
I'm relatively new to Android myself. But in my understanding, I would suggest the best method to start coding this app is, to build a Service which is intended to do the network polling, and the translation for the App in Background. So I think you need a server which tracks your Messages, and serves the data for the app. U have to look at IPC (Inter Process Communication) to communicate with you service.
If you finished all these, then you can start to build an Android Activity to communicate with your user.

[Q] writing code

Hi i need help!!!! lol i am new to develepment and i believe i have a great idea for an app, but i dont have any expirence writing code. if anyone knows of a great preferably free tutorial on how to write code i will be using eclipse im all ready to write. but i dont know where to start. my app will be changing something in the internal workings of android.....therefore probably will require superuser permissions......im so lost i dont even have a clue.....lol
if you have NO programming experience what so ever than you should start by learning Java first (get an ebook or find an online webiste that teaches it to beginners or get a physical book on it, I got one last year called "Java: in easy steps" and it really helped me). Once you know enough about java, you should get a book on programming android (I got the "for dummies" one) ... make sure its a new edition (i.e., covers upto android 2.1/2.2 at least). the developers.android site that google set up is confusing and not overly helpful I found, but the books written by other people provide good insight into the theory as well as provide many examples on almost every kind of program.
Good luck!
ok thanks for the input.....i would like to learn for free as much as possible if anyone else has any input it would be greatly appreaciated.

[Q] How to develop an Android Math Game (New to Android)

Hi,
I am new to the Android development scene and I need to pull off a math game project in less then a week. I am using Eclipse to do this, but is there any other easier way such as Visual basic GUI way that you can pull off 100% raw code from it?
Can someone help me through this? . I need basic knowledge on text label, input box, button, perform math operation , if statement, loops, and method. If anyone can quickly guide me through this would be great.
Basically I am programming a math game with subtraction and division. I need to have difficulty mode easy medium hard which is basically randomized numbers in bigger range. Then there is level from 1-4 which is increasement of number of questions. And there are lives also.
Thanks In advance if someone can help me
This sounds like a class
Have you tried to even do the layout in eclipse yet? That is a pretty simple step that shouldn't take longer than 15 minutes.
joshtrader said:
Hi,
I am new to the Android development scene and I need to pull off a math game project in less then a week. I am using Eclipse to do this, but is there any other easier way such as Visual basic GUI way that you can pull off 100% raw code from it?
Can someone help me through this? . I need basic knowledge on text label, input box, button, perform math operation , if statement, loops, and method. If anyone can quickly guide me through this would be great.
Basically I am programming a math game with subtraction and division. I need to have difficulty mode easy medium hard which is basically randomized numbers in bigger range. Then there is level from 1-4 which is increasement of number of questions. And there are lives also.
Thanks In advance if someone can help me
Click to expand...
Click to collapse
It will be really simple to make.. I can code it if you want.. but I am really bad in making the GUI.
zalez said:
This sounds like a class
Have you tried to even do the layout in eclipse yet? That is a pretty simple step that shouldn't take longer than 15 minutes.
Click to expand...
Click to collapse
yes i did try to fiddle with the gui layout in eclipse, i was able to make a text box, input box and button that display a message.
prototype-U said:
It will be really simple to make.. I can code it if you want.. but I am really bad in making the GUI.
Click to expand...
Click to collapse
Thanks for offering to help but i would like to understand the fundemental of coding in this android field. I have indeed done Java before, and i made the exact math game that i am attempting to do on this project, my java game was consisting with loops/if/while statements (for # of questions), randomizing numbers, menu options. I do know that android uses java language but when i went through the official guide on the developer website, it seems a bit too challenging to follow.
it would be great if someone could guide me with an example statements of using methods, loops such as if and while/for how to interpret info from input box and or interpret from user click button and such.
If it would be any help, i can post my original java math game

Need help in making multiple choice question apps

Guys, I need help in making apps for multiple choice questions (mcq). Basically I want the apps to show the questions and we can answers by touching the correct answer. I have around 100 questions.
This gonna be my first app and I need someone to guide me or pinpoint me to the correct threads? I already have the android sdk btw. And whats the different between java and c++? Which one should I use in this kind of app?
Sent from my GT-N7100
Use Java. C++ is much more complicated and there wouldn't be any advantages if you used it in this case.
You need an Activity with one Textview for the question and one Button for each answer.
Then in Java get them using
Code:
findViewById(R.id.myid)
There you can dynamically set their texts:
Code:
myTextView.setText("This is the question");
myButton.setText("Answer 1");
But if you really want to make this app, learn Java first and then have a look at the Android things.

[Q] Question regarding watch face creation (dynamic watch face background)

Hey, <insert request that you ignore the fact that I have no clue what I'm doing/am a noob here> I was wondering if it's possible to create a watch face background that changes based on the card being previewed, similarly to the "simple" watch face that came as a watch face for the moto 360. If it is possible, are there any guides, resources, etc. that you guys could point me towards, or if someone has recreated that face or a similar one and the code is available that would be fantastic.
Thank you all very much!
Note: while I really appreciate any and all help, I'm relatively inexperienced with programming, and entirely new to programming for android, so explanations will likely confuse me; developer resources or tutorials, or even better, sample code, would probably be a lot more helpful, so I can jump in and start changing things, or dig through the syntax and stuff as some sort of context for the code I'm looking at (I'm more experienced with graphic design and have just started to get into programming outside of basic stuff with C#, VB.net, and python).
BioToxic737 said:
Hey, <insert request that you ignore the fact that I have no clue what I'm doing/am a noob here> I was wondering if it's possible to create a watch face background that changes based on the card being previewed, similarly to the "simple" watch face that came as a watch face for the moto 360. If it is possible, are there any guides, resources, etc. that you guys could point me towards, or if someone has recreated that face or a similar one and the code is available that would be fantastic.
Thank you all very much!
Note: while I really appreciate any and all help, I'm relatively inexperienced with programming, and entirely new to programming for android, so explanations will likely confuse me; developer resources or tutorials, or even better, sample code, would probably be a lot more helpful, so I can jump in and start changing things, or dig through the syntax and stuff as some sort of context for the code I'm looking at (I'm more experienced with graphic design and have just started to get into programming outside of basic stuff with C#, VB.net, and python).
Click to expand...
Click to collapse
Hey BioToxic! Nice to meet you.
I am porting a friends Watch Face to Android. I can tell you that it is entirely possible, you can pretty much modify and manipulate the background to anything of like. I've been working in the Watch Face environment for a few weeks now and have a good solid understanding of how it works (previous knowledge helped, of course)
There is a lot of Java coding involved, if you are not familiar with that or familiar with how Android works it might be tough, you'll be writing code and not understand how it works.
A good starting point would be looking at the classes available in the WatchFace API.
[developer.android.com/reference/android/support/wearable/watchface/package-summary.html
Another good starting point would be getting your feet wet with the emulator, or better yet an actual device. Play around with the sample modules available.

Categories

Resources