How can I make my android app work online? [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
This is most likely going to get downvoted into oblivion but I seriously cannot find an answer and I don't know where to begin...
I have just finished developing a chess app but its purely offline, ie, you can only play with some one sitting right next to you.
I want to make this app online, as in, I can connect to my wifi, click match me with an opponent. And start a game with some else on my app?

i know Some will downvote this question But
Follow these links
1.Android multiplayer
2.Tick tak two multiplayer
3. Multiple player Andengine
4.How to make multi player
or check this
hope this will help you..

Start with Sockets and Client/Server models.
What you basically need is a way to build a data connection between your players. Lets say I am Player A and I open a chess-server-socket on my phone and want you to join it. Problem here would be, that I as a default user lack a way to tell you my nonstatic IP address to connect to. So I need you as a developer to provide a blackbox that does all this for us.

Related

I want to make an app in flutter. Can following features be implemented in android and iOS related to call? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
If any unknown number call on my phone, the phone should not ring usually it will when contact is saved.
Can the unknown call be picked in background without noticing and a pre-recorded voice should be spoken to person opposite side.
Please mention if can be done on both iOS and android or anyone or none.
Thanks for Help.
Both operating systems will not allow you to do that. 1st point is somehow possible in Android but 2nd one is almost impossible to do in both platforms.
Apple dont allows to intercept most of their system APIs by some 3rd party

How dynamic android application works? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I know how to design and develop android application which works offline.But now i want to move towards dynamic android app,which works totally online like facebook,quora,newshunt.Where should i start please give me a way.
Thanks
I personally am completely self-taught when it comes to android, and, well, its been a journey.
For me, a big turning point was
"http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/"
It really gives you a good idea of what it takes to create an app that is connected to the internet, and it isn't hard to implement yourself. Mind you, before, you were working with just android, but once you integrate network connectivity and a server backend, the levels of complexity multiply.
If you're a solo-developer, just getting started, the Google App Engine does a pretty good job of making everything very easy to use, so I might recommend that. It has a free trial of all their cloud services which is $300 for 2 months.
https://cloud.google.com/appengine
Amazon AWS also is attempting to create a similar system, but they are seemingly geared to more enterprise-level operations.

Create group over wifi [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make an application that connects devices over the same WiFi. I'm fairly new to Android development, but I have basic Java knowledge. Now I want to know if my approach is correct?
My approach is as following: I first connect two devices together through WiFiP2P (this part of the code is finished). Next one device creates a SocketServer. That device will send his IP through WiFiP2P to the other device so the devices can now join.
Thanks in advance!
My understanding of WiFiP2P is fairly limited, but I'm assuming that it is trying to be what Bluetooth failed to be.
This approach sounds fine. There is even a page on the offical documentation about it.
My only thought is that you should add protection against malicious users performing spoofing attacks, if that is relevant to your app.

How to game calculate the time for completion of work? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
i be wondering How to game calculate the time for completion of work?
e.x:clash of clans find something update are done.
i believe someone want say get the time by server.but even i be offline can receive notification which say done.even i do change clock of phone nothing change in game if i change time of phone.
The time that is used to determine the yield from objects existing in clash of clans is maintained from a centralized server.
If you wanted to build an app that would calculate the times required to do things in game I think the rout to go would be to
A) ask the developers for the code (unlikely to be fruitful)
B) reverse compile the code. (potentially illegal)
C) Hand document the times required for in game events to happen (game w/notes)
D) Do a literature review to find data on the game
From this Data you may be able to craft a sort of clash of clans advisory app, but I doubt it will be easy to dupe such a consistently maintained app with hacks as simple as changing you're clock.

Live audio-video streaming to server, using network internet (not wi-fi) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create Android app, that will enable users to stream in real time audio and video from their phone to specified server. In addition, that server should save such recording to some file, to view it latter, but now it's not so important.
My question is: are there any simple or well documented ways of streaming video to remote server (not via wi-fi, I guess it can be important info)
I'm not sure how well Android handles WebRTC currently but I recommend you check it out! It uses Web-Protocols alongside Javascript/HTML5 components to stream-video/audio in real-time via the web-browser. I use it in 2 of my projects for similar applications. The only thing that differentiates is that you are wanting to store the video on your server.I'm guessing would also be possible but I haven't tried it! You can find all the documentation here.

Categories

Resources