[HELP] Android unlock mechanism - Java for Android App Development

Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black

chris_black said:
Hi,
I'm new in Android environment, but I have some experience with Java programming. I want to try some mobile apps, so i started to writing my first game. Everything is ok, but I don't know how to create mechanism like in "maze" Android unlock screen (can't put any link with photo ). I have list of points on screen and I want to give user ability to draw a path between these points. I've heard that there is special listener for this, but I can't find that.
Thanks for your help and sorry for my English
chris_black
Click to expand...
Click to collapse
Don't know it at the top of my head either, but checkout the source of this lockpattern library, I'm sure you can find out how they did it

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] tips about develop an application ?

Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
gkilah said:
Hello, i`m newbie to android programming ( java ) i want to make an aplication for an auction website.
With what i can start to learn to can build this application ?
I was thinking to build application for auction website over RSS feed its a good choice or bad ?
Any other suggestion from where to start or what type of application to go are welcome ( if rss feed type its bad )
Thanks.
Click to expand...
Click to collapse
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
nikwen said:
First you will need to learn Java. This is a great book for that purpose: http://www.headfirstlabs.com/books/hfjava/
I learned Java with it myself. It is good for beginners and in no way reading it is boring!
Click to expand...
Click to collapse
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
Ok. This is a tutorial for that: http://developer.android.com/training/index.html
Check the first lesson.
gkilah said:
i need some tips or reference from where to start building the application or in what way, a start point to application i will learn java and develop my skill when i have a target what to do.
i know basics of java allready used on other things but until now i never made an android application.
Click to expand...
Click to collapse
There's a good series of 200 video tutorials for beginners made by thenewboston, it's quite good and it will show you how to build a dozen different applications with different purposes (i.e a stopwatch, an internet browser etc...). It will give you the basics of the Android APIs & the xml part of the job along the way.
Plus they're short videos so you can watch one when you have a few minutes anytime.
Here's the playlist with the 200 videos : http://www.youtube.com/watch?v=1j4prh3NAZE&playnext=1&list=PL33384E9848C4F55E&feature=results_main
I've looked through several books for beginners, and I think "Hello, Android" by Ed Burnette is the easiest to start with.

Advice on what to research and study to make app that connects to web services

Hello! overflowers? I'm a beginner android developer and I have developed several apps that use the "basics" of android and java (for college requirements)
Now, I need to develop a new project that consists of making a web app which stores the records of all students from my college and the students will be able to check their records and other information from the college from their android phones.
I have done a lot of stuff with Android but I haven't done anything incluiding web queries, pulling info from a website to display into the device, etc etc.
So I want some advice here and/or tutorials that focus on this.
also, I have some important questions: 1. Can I pull information from the actual website from my college? If so, do I need to recieve some sort of permissions?
2. In case of not being able to pull information from the actual website from my college (for any reason whatsoever, like them not giving me permissions to do this), I could create a website that imitates its behavior, I would appreciate some tutorial or guide which could help me to achieve this.
Your help is very appreciated.
Btw, excuse if I'm breaking a rule here but something is not making sense to me.. the forum title says Q&A but when I mark this as a question it says this is not Q&A. I am aware this might be moved somewhere else but I dont know where.
Granolaa said:
Hello! overflowers? I'm a beginner android developer and I have developed several apps that use the "basics" of android and java (for college requirements)
Now, I need to develop a new project that consists of making a web app which stores the records of all students from my college and the students will be able to check their records and other information from the college from their android phones.
I have done a lot of stuff with Android but I haven't done anything incluiding web queries, pulling info from a website to display into the device, etc etc.
So I want some advice here and/or tutorials that focus on this.
also, I have some important questions: 1. Can I pull information from the actual website from my college? If so, do I need to recieve some sort of permissions?
2. In case of not being able to pull information from the actual website from my college (for any reason whatsoever, like them not giving me permissions to do this), I could create a website that imitates its behavior, I would appreciate some tutorial or guide which could help me to achieve this.
Your help is very appreciated.
Btw, excuse if I'm breaking a rule here but something is not making sense to me.. the forum title says Q&A but when I mark this as a question it says this is not Q&A. I am aware this might be moved somewhere else but I dont know where.
Click to expand...
Click to collapse
I would look into hosting an sqlite3 database on a server, and access it to retrieve the data from within your app.
But the problem is, by default you cannot access an online database on Android, so you'll need to add some kind of RESTful interface, the easiest way probably being a php script which will retrieve the data from the database and return it into a JSON object for example, that you can then pull from within your app.
You'll need to expose some kind of syntax from your php script so that your app can request the data for a specific user (ie row X / column Y).
There's probably a better approach, but this is what comes to my mind.

Help Developing An App

Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Thanks,
I'll have to try that once I get home as the IT Administrator at work has to vet everything that gets installed.
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
Hi sir! Is Android Studio is better than Eclipse?
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Yes.
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Jonny said:
Yes.
Click to expand...
Click to collapse
^^^
The only way to say it
Jonny said:
Yes.
Click to expand...
Click to collapse
Thanks sir but do we have a highly compressed Android Studio? 800mb+ is such a big file to download.
Like minooch said, install an IDE, understand how it works and then try some tuts on Internet to learn how Android works. What you want to do isn't really hard, you'll manage quickly to do it but you will be prouder if you do all by yourself.
Some hints : Don't go coding directly, try to organize your project (data structure, classes, methods) before starting to code. On a small project, it's not as important but if you start doing things well now, you'll thank yourself in the future
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Randomly Set said:
Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Click to expand...
Click to collapse
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Shreyseviltwin said:
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Click to expand...
Click to collapse
Hi,
What would be involved in creating an app?
pranavraut033 said:
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Click to expand...
Click to collapse
You need the JDK. Please read the instructions on the download page. Under the section 'Requirements'

[Q] a few questions about webRTC on android

hi all,
I have a few questions about webRTC on android. I can say I'm new about android and webRTC but I can also say I made tooo much research about webRTC on android. But still have a few questions. (some of them because of I'm new, and some of them because of I'm okey but not fully)
I'm trying to make an android app which is going to communicate between web browser (first choice is chrome) and android device directly (p2p we can say). So I made too much research and I found webRTC is good for me. Do you advise me something other or is it okey you think? (also I am going to code a plugin for chrome).
Nearly every document says 'android is not directly support webRTC'. So I need something to provide me webRTC on android. What it is? Is it native android that I have to code? Is it native (NDK) library that I have to include my project? Or is it a java lib? Or should I go for cordova/crosswalk or sth like that? I researched all but didn't find something can help me. Yeah there are documents about it but not enough..
Some of documents says, I need chromium. But why and how? They show me lots of linux terminal commands and even there is no a line java or C or C++ code. Even some terminal commands and links that they give is not working.
I read/found/tried these things as a result of my research:
Apache cordova
Crosswalk
http://www.webrtc.org/
https://github.com/webrtc
http://webrtc.github.io/samples/
http://simonguest.com/2013/08/06/building-a-webrtc-client-for-android/
http://orcaman.blogspot.com.tr/2014/07/building-native-android-webrtc-source.html
https://github.com/pchab/ProjectRTC
https://github.com/pchab/AndroidRTC
in a nutshell I need help. Please give me your hand. Thank you. (because I'm really very helpless and tried to do my best)
Thank you.
Any idea? Any help?

Categories

Resources