Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Do you know how to set an Android or iPhone device's datetime
using a feaure within your mobile app
that you built using Delphi XE5?
This should of course happen at runtime.
Delphi offers no cross-platform way of setting the system time.
On iOS, you don't have access to the API for changing the time; that functionality is reserved for the OS.
On Android, you need elevated privileges, and then you can use AlarmManager.setTime. At that point, your problem is simply one of adapting the native Java techniques to Delphi. I assume that's pretty much the same for any API, so it's beyond the scope of this question.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I wanna create a simple chat app in android but really I don't how to start
I really searched in google but really I didn't find any helpful link or code
so guys please I need your help how Can I start any video link or any simple code
In case you have some experience in Java I can recommend this book:
Professional Android 4 Application Development (Wrox)
It really helped me to get started with Android development. Otherwise the best start is probably a quick introduction to Java. In German there's also a book called Java for Android, not sure if it exists in English, too.
Also for inspiration you can have a look at this:
https://code.google.com/p/simple-android-instant-messaging-application/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
Is it possible to adapt this java code from this webpage http://www.dreamincode.net/forums/topic/27950-steganography/ to be used on the android sdk.
It has ImageIO, WritableRaster and things from java.awt. If its possible please tell me how!
Thanks
Is it possible to adapt this java code from this webpage http://www.dreamincode.net/forums/topic/27950-steganography/ to be used on the android sdk.
Is steganography possible using the Android SDK? Yes. You would manipulate the byte[] of a Bitmap, either in Java code, in native code via the NDK, or perhaps using Renderscript Compute.
Can you perhaps leverage the steganographic algorithms from that code when you write your Android implementation? Presumably yes.
However, as you note, that code depends heavily upon classes that are not part of Android, which is why would you be better served starting with the algorithm and creating a native Android implementation from there, rather than trying to "adapt" the AWT-dependent Java code directly.
Or, see if somebody already has an Android steganography library that you can use.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to know if there is any class or Alarm in android or IOS that tells if the mobile is Down or UP, or just started or restarted. (and for how long!)
i'm creating a logging system, and i need to log the different state of the mobile all along the day.
Thanks in advance,
You need to add send notification from you app (native in iOS and Android) to your remote logging server.
Android as well as iOS have Application life cycle. Which provides you with callback if app is in running state , background , foreground etc.
There is a similar one for Android
The idea is that both of them have singleton for application and they have callbacks for app transition stage
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a Scala module (library) which I want to use for my Android application. Is it possible? If yes, how do I do that?
Yes, it's certainly possible. You just need to include the Scala standard library as well and use ProGuard to remove its unused parts and decrease the size of your application. See e.g. http://scala-ide.org/docs/tutorials/androiddevelopment/index.html (for Eclipse) and IntelliJ Idea 12 + Android + Scala nowadays (for IDEA).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to develop an app in android through which I can easily transfer Voice over Internet (VoIP). There are many application in market like CSIPSIMPLE. Is there any tutorial which can start from beginning and also how to maintain its server. What are the basic terminologies which we have to use. Please suggest.
Thanks in advance
http://developer.android.com/guide/topics/connectivity/sip.html
Android has a simple sip stack included which should satisfy your needs. Apps like CSipSimple (most of them) use their own sip stack with different codecs/filters applied to the device's input/output, but that requires more work as these are native due to performance.
So for a simple VoIP application, feel free to use android's utilities. Server software choice and maintenance is depending on what you want to achieve, just google for sip servers and read.
CSipSimple is open source. Just start there. Note that it is GPL, so you won't just be able to copy and use it in a commercial application, but you'll see what's involved internally.
For the server, Asterisk has been around for over a decade. There are other alternatives, but Asterisk is the de-facto standard for open source PBX.