N
N
niko832013-07-15 00:40:09
Android
niko83, 2013-07-15 00:40:09

General questions about the implementation of one application for android?

I have always been involved in web programming (python, php, javascript, database) and have never written for mobile platforms. And I decided to write such an application. I will solve the issues with the server part, but there are issues with the client part.
And so my application should be able to.
1) log in the user
2) periodically send an HTTP request to the server on behalf of this user (the request will contain the user's coordinates)
3) upon receipt of the response, display the information from the response on the screen and play a specific file (the link to mp3 comes in the response from the server)
4 ) the application must be able to continue to work and play sounds when the phone is in the user's pocket for a long time.
At first I wanted to implement this with JS as a page in the browser, but it seems that chrome in android is quite capricious with the issue of playing files. A particular problem is to make sure that the application continues to work and play sounds in the background.
So the questions are:
1) Is it really possible to implement this exclusively in the browser?
2) If you still write an android application, what are the main problems that may arise?
3) Share your advice, a useful link to an article, to a book
4) Maybe you should prepare a technical specification and outsource the development of the mobile part?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Terranz, 2013-07-15
@Terranz

1) Is it really possible to implement this exclusively in the browser?

yes, jquery is quite capable, except that part 4 will have to be done natively most likely
2) If you still write an android application, what are the main problems that may arise?

none, everything you described is
3) Share advice, a useful link to an article, to a book

google.com
4) Maybe it's worth preparing a TOR and giving the development of the mobile part to the side?

Well, it's up to you to decide whether you do it yourself or not)

A
AskoldO, 2013-07-18
@AskoldO

The short answer has already been given to you. If a little more:
> 2) If you still write an android application, what are the main problems that may arise?
There are no problems, you just need to write a service with a subscription to system events timer / change of coordinates ...
> 3) Share advice, a useful link to an article, to a book
Essentially the key points of Service, Location, HTTP
developer.android.com/reference/android/app /Service.html
developer.android.com/reference/android/location/LocationListener.html
developer.android.com/reference/org/apache/http/HttpConnection.html
4) Maybe it's worth preparing a technical specification and outsourcing the development of the mobile part?
If you decide, please contact pnn.com.ua

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question