Best Way to develope android applications? - android

This is my first post here.i need to know which is the best way to do android application..
I have already working with unity3d for games.now i need to develope some applications in this platform.
i have tried with "ECLIPSE" with ADT plugin.Its taking too much of time to open and install applications in EMULATOR.i'm sitting more than two hours behind my system.still the emulator is not opening,thats why am getting worry about this and asking any other solution for this??
if you know means help me guys...
Thanks for advance.

The fastest way IMHO, it is developing on the real device. But anyway, emulator is needed to perform some checking in different environment (API level, screen density).

Related

Android studio's Android SDK download button is not activated

I'm having trouble with my android studio and I even changed my windows, now I'm just frustrated. Can someone help me? I almost looked everywhere.
So this is when I've installed android studio and this appears.
Then it automatically goes to this page and wants to download android SDK but the check box is not activated! and as you can see the download size is 0!
And that's the next one!
So I quitted the setup and opened the SDK manager from the android studio and this is what it says:
picture
does anyone know what should I do to download SDK? And by the way, I'm living in Iran, that's one of those countries that include United States sanctions. Do you think it's related and if Yes what should I do?
p.s: This is the first time I'm asking a question on Stackoverflow, so forgive me if I did something wrong in the asking process.
After doing some changes to my IP I could fix the problem. So, if anyone has the same problem I think it's related to their countries limit problems. You should change your IP.

Share android project between osx and windows

Im using an macbook pro in school and my win stationary at home.
In other programming i have usually just used dropbox as save place,and made sure to sync before opening.
Tried the same with eclipse on android programming but got a real hassle with errors all over. Now i have moved over to Android studio, can anyone suggest how to best handle this?
I mean theres got to be a correct project sharing way?
what do bigger companies do on large projects?
you should use git for that.
create your repository on github or bibucket or your own server and easily share your work.

Running website on Android Device from file

I have a web application I've built using the Jquery mobile framwork and I need to put it on my phone for demonstration purposes. What is the best way to go about this I was going to use phone gap but I want and easier solution say I just put the files onto my phone and run it from within the device but I don't know if that's possible. If anyone has any ideas I'd greatly appreciate it
Phonegap build would be the easiest way! Here is a link to the documentation http://docs.build.phonegap.com/en_US/#googtrans(en)! It gives you a qr code to download a test to your android device before releasing, sorry no ios tho!
Hope that helps! Littleswany
Would a simple WebView work for you? You can also use local files instead of downloading the site/assets from a web server.
http://developer.android.com/reference/android/webkit/WebView.html
Just thought of another way, If you have adobe cc then you could use edge code and edge inspect and the android app to have a test server on your device.
Sorry for the second answer but again I hope it helps you! Littleswany!

Custom Android MMS/SMS application from source code?

Okay here's the deal:
I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it.
I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse.
Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see the app run JUST like the built-in texting/MMS app that is already on my phone. Then I'll know that I can modify it and proceed.
Any ideas?
Thanks!
There's a mirror of the SMS/MMS app on GitHub here. Just import that to Eclipse and customise away.
Unless you want to customize and use it only on your own phone (without publishing), this is not a good idea. This is because it uses classes that are hidden from the sdk. By default you won't even be able to build the apk via eclipse, but there is a way. The reason why this is a bad idea is that the hidden apis are not guaranteed to remain the same through different api-levels and your app can stop working with the next android update, and might also not work on previous api-levels. In-fact your app might not even work on selected phones running the same api-level.

TV Remote using a Cellphone

I was wondering if it's possible to build an app which works as a TV remote, I've been googling around but so far all I've found are apps that already do or attempt to do it, but nothing that gives me an idea of how to achieve this. Does anyone know? I want to try and do it for an android phone.
Phones generally don't have IR(infrared) ports, so that isn't much of an option.
you can cling library
its url is mentioned below
http://4thline.org/projects/cling/

Categories

Resources