Jump to content

Android development


JohnOne
 Share

Recommended Posts

Been thinking about having a pop at android applications and wondering what is the best IDE and what not.

Most results I get from web search is Eclipse, but also seen Android studio. Any android devs here have any input on which would be best to get started with?

I've seen a few threads similar but from a few years ago so I expect things have moved on.

I did download Eclipse because I seen you could develop in C++ and I mistakenly thought I could create Android app in C++.

I've spent the best part of today finding out I was wrong, it just creates C++ binaries.

I don't want to make any more incorrect assumptions.

I'd sooner develop in windows 7, but not greatly opposed to setting up a VM with a different OS if the benefits are good enough.

Any comments or snidey remarks welcome.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Are you going to go the 'App Builder' route (App Inventor is one, as PincoPanco pointed out)?

Or perhaps try your hands at Java and the Dalvik VM

Or maybe experiment with true native apps with the NDK (Android Native Development Kit) (Wikipedia)? Or maybe with the Marmalade SDK?

Perhaps using Javascript might be an option (PhoneGap, Titanium, Intel XDK)

There's also C# with Xamarin..

Lots of options..  I was considering going native with the NDK and interfacing through the JNI (Java Native Interface) to use Java for the UI, but perhaps as an easy way in I might experiment with the Javascript app packagers..

decisions, decisions.  Btw, all that stuff wasn't meant to confuse or confound you - its literally things on my 'to investigate' list..

*edit: Just thought I'd also mention Corona SDK as another option, which actually uses the Lua language. I was mainly focusing on free tools in this post, but it turns out Corona has a free 'Starter' version (see their pricing FAQ).

Edited by Ascend4nt
Link to comment
Share on other sites

Cheers bud, appreciate the reading.

I am however a bit guttered now cause someone told me that the killer app I had in mind was impossible to make.

The guy is not a developer of stuff but he made sense, I confided my big idea in him and it turns out that I can't interfere with a phone call.

Like it's an illegal operation in terms of how a bog standard app can interact with a device, and the native operation of a call is off limits.

I don't know that for certain, but it does make sense to me.

My pseudo app would depend on it being activated when the phone rings, and with a tear in my eye I write this in the hope someone who is a phone dev might tell me otherwise.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Every android app has a list of permissions, which the user then agrees to when they install the app.

The full list is here: http://developer.android.com/reference/android/Manifest.permission.html

This one may allow you to do what you want. I'm not a phone developer, and have no experience with this, but it looks like the most likely option.

Link to comment
Share on other sites

Thanks Mat, that's a great resource I never knew existed.

Unfortunately the likely candidate PROCESS_OUTGOING_CALLS would need to be PROCESS_INCOMING_CALLS.

Cheers.

EDIT:

Say for example I wanted to make an answering machine app.

pseudo...

Incoming call

App offers options ANSWER or SEND_TO_ANSWER_MACHINE

ANSWER = normal operation

SEND_TO_ANSWER_MACHINE = answer silently and play an audio file after which record message.

That's not my app, but it's a good one and the code of it would translate to 90% of it.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

This seems to match your description, and is doing so without root.

https://play.google.com/store/apps/details?id=com.pmiyusov.callattendant

 

API Level 14 or higher which is Jelly Bean, Ice Cream Sandwich or KitKat

 

 

Maybe something useful in the changelog for 14?

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

  • Moderators

Cheers.

If I assume that app works as stated (I can't try it cause I'm on android 2.2) It tells me that in fact my app can work.

Ace.

 

I believe the SDK still houses an emulator, for testing on different versions. http://developer.android.com/tools/devices/emulator.html

There is also an open source emulator that installs into virtualbox, which is supposed to be faster than the one above (haven't gotten around to trying it, but on my todo list). It supports 2.3-4.4 and is free for non-commercial use: http://www.genymotion.com/

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Rooted Androids can access things like that but stock roms won't let you.

 

Richard, you know this isn't StackExchange where you score points just for 'getting there first', right?  Because.. you are quite eager to provide answers to questions all over these forums, but don't have the knowledge or background to provide a correct answer.

Link to comment
Share on other sites

Have to look into if I can use emulator with Eclipse.

Cheers.

 

seems it's called "Android Virtual Device (AVD)"

just entered this 3 words android programming pdf in google

and a lot of books came out with instructions on how to setup Android SDK and (AVD) for eclipse....

some of first results I got in google:

http://www.tutorialspoint.com/android/android_tutorial.pdf

http://www.e-reading.ws/bookreader.php/142063/Android_-_a_programmers_guide.pdf

http://commonsware.com/AndTutorials/AndTutorials-3_1-CC.pdf

http://www.cs.columbia.edu/~coms6998-8/lectures/lec4-Android.pdf

P.S.

I know this is just a 2 cents info

anyway... maybe someone finds this useful  :whistle:

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...