Coding android apps in jython ?! - IDEs, Libraries, & Programming Tools

Is it possible to code android apps in jython using android studio? I am learning how to program and I read somewhere that Python specifically jython is a good start. Ultimately I want to make an android app but I need and ide and sdk that let me code for android in jython. Any suggestions?? Thanks in advance!
Sent from my iPhone using Tapatalk

Related

[Q] how do i start creating a custom rom?

hey everyone,
i've tried several roms and i like the idea of creating one.
i know how long of a process it can be and how many lines of code,
but i still want to do it.
i was wondering if there is someone else's rom i could use as a base?
if not how do i go about starting from scratch?
any information would be appreciated.
skennedy08 said:
hey everyone,
i've tried several roms and i like the idea of creating one.
i know how long of a process it can be and how many lines of code,
but i still want to do it.
i was wondering if there is someone else's rom i could use as a base?
if not how do i go about starting from scratch?
any information would be appreciated.
Click to expand...
Click to collapse
I believe some devs such as cvpcs may have released his source, but im sure most keep it private. To build your own, grab the android sdk from google, their source code, and the source for the 2.2 release for droid X
Sent from my DROIDX using XDA App
SysAdmin-X said:
I believe some devs such as cvpcs may have released his source, but im sure most keep it private. To build your own, grab the android sdk from google, their source code, and the source for the 2.2 release for droid X
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
alright i'll look at some developers and then i'll check out the sdk, thanks!
so i downloaded the sdk and everything, but i don't know how to get to editing and working on the stock 2.2.1 2.3.340 rom!
right now i'm just doing some easy stuff like making the boot animation
and designing some stuff on paper.
skennedy08 said:
so i downloaded the sdk and everything, but i don't know how to get to editing and working on the stock 2.2.1 2.3.340 rom!
right now i'm just doing some easy stuff like making the boot animation
and designing some stuff on paper.
Click to expand...
Click to collapse
You'll need some java knowledge, as I believe android is built off java... If you have some java programming experience, you're a step ahead. I believe Google also has some documentation and tutorials on their sdk page or a link from there.
SysAdmin-X said:
You'll need some java knowledge, as I believe android is built off java... If you have some java programming experience, you're a step ahead. I believe Google also has some documentation and tutorials on their sdk page or a link from there.
Click to expand...
Click to collapse
yeah i'm currently in the second half of a java programming class that is offered at my university.

confused on how to build this libusb driver

I have found a libusb project which was ported to Android:
https://github.com/monaka/libusb-compat-android
It includes an Android.mk, and after being built I should have a binary from examples/lsusb.c
But, I'm not entirely sure of how to build this and where to begin? I can see this happening in two ways. One, is building this library in a standalone way. Am I to do this with the NDK?
Next, I imagine building it along with the application I am developing in Eclipse using the SDK, there must be some way to bundle this in.
Could anyone provide any guidance on this? I'm a bit confused. I've done all of my development thus far in the SDK and Eclipse.
hedpe said:
Am I to do this with the NDK?
Click to expand...
Click to collapse
Yes, you need NDK. Visit Android NDK for instruction on how to bundle NDK and your java code. JNI is the key.

Android Studio and additional downloading

Hi
I downloaded and installed Android Studio today . I installed JDK 7 befor that .
Android Studio runs , but when i click new project and compelet wizard , my computer attempts to download something from Internet and my connection speed is very low . How I can run Androd Studio without downloading exceesive materials from Internet ???
I don't know if you can use Android Studio without this download (I don't think so) but it's about 30-40 mb... Even if you have a bad connection, I think you can download it.
Did you do this?
Follow the setup wizard to install Android Studio.
Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.
Click to expand...
Click to collapse
(http://developer.android.com/sdk/installing/studio.html#Installing)
Tried the Android Studio today. I think that it is great.
It downloaded some things related to the build system but it did not take long for me. :good:
nikwen said:
Did you do this?
(http://developer.android.com/sdk/installing/studio.html#Installing)
Click to expand...
Click to collapse
So does this now mean Android supports Java 7? If not how does android studio get around the compiler problem?
Sent from my SC-06D using XDA Premium HD app
DroidZombie said:
So does this now mean Android supports Java 7? If not how does android studio get around the compiler problem?
Sent from my SC-06D using XDA Premium HD app
Click to expand...
Click to collapse
I think that it does. However, it might be compiled as Java 6 but you can use the JDK 7.
nikwen said:
I think that it does. However, it might be compiled as Java 6 but you can use the JDK 7.
Click to expand...
Click to collapse
So this is how they will get people to switch away from eclipse.
Sent from my SC-06D using XDA Premium HD app
DroidZombie said:
So this is how they will get people to switch away from eclipse.
Sent from my SC-06D using XDA Premium HD app
Click to expand...
Click to collapse
They say that they want to support both Eclipse and Android Studio. However, in my opinion Android Studio is already better than Eclipse.
And they said that they will focus on Android Studio in the next time to add all necessary features. :good:
nikwen said:
Tried the Android Studio today. I think that it is great.
It downloaded some things related to the build system but it did not take long for me. :good:
Click to expand...
Click to collapse
It downloads the gradle package..:good:
What is android studio?
bitator said:
What is android studio?
Click to expand...
Click to collapse
it as Intelijj IDEA, but reworked specifically for android developers.
lonesaint said:
It downloads the gradle package..:good:
Click to expand...
Click to collapse
Right!
So you have to wait until it is completed.

A beginner need help... what is the concept of android programming?

Hi everyone, I'm new to the android programming playground and it looks complicated. I have no experience in Java, only in Python and JavaScript. I have seen some tutorials before and I just don't understand the .java file. How do they connect? public void? What is this? I don't want to use ruboto or kivy or phonegap or anything else because I want my app to be independent. I have no problems with the xml files because I have worked with HTML files before. The only thing is the java files. Can someone give me a nice concept of the android programming language? About how do the files get wired, about starting an activity, and more if available. The android programming tutorial on developers.android.com never helps. Any help is appreciated!
Angjinhang said:
Hi everyone, I'm new to the android programming playground and it looks complicated. I have no experience in Java, only in Python and JavaScript. I have seen some tutorials before and I just don't understand the .java file. How do they connect? public void? What is this? I don't want to use ruboto or kivy or phonegap or anything else because I want my app to be independent. I have no problems with the xml files because I have worked with HTML files before. The only thing is the java files. Can someone give me a nice concept of the android programming language? About how do the files get wired, about starting an activity, and more if available. The android programming tutorial on developers.android.com never helps. Any help is appreciated!
Click to expand...
Click to collapse
If you have worked only with python and JavaScript, Java will certainly feel like an alien language. In addition, navigating through eclipse can be a pain as well. Learning three things (Java, usage of Eclipse, & Android Development) together is next to impossible.
I would suggest that you pick up on the basics of Java first. That will make your development with Android easier.
You should also go through this thread: Free Online Mobile Development Courses (Java, Android, etc.)
Thanks a lot.
Nice reply. I finally found the information i need. You are right. I need some java basics before starting. Actually what is the relationship between android and java?
Angjinhang said:
what is the relationship between android and java?
Click to expand...
Click to collapse
Android is an operating system. To develop Apps which work on it, you use Java, and call the various methods provided in the Android API.
Your App is compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.
Dalvik is the process virtual machine (VM) in Google's Android operating system. It is the software that runs the apps on Android devices.
You can also use C++ to write for certain low level processing, which is faster than running in the Dalvik Virtual Machine.
To simpilfy you can think of android as a framework written on java like BootstrapTwitter written on JavaScript
Sent from my GT-S5302 using Tapatalk 2
So... you meen like Ubuntu is an operating system. To develop apps for it, I use python. Am I right?
Angjinhang said:
So... you meen like Ubuntu is an operating system. To develop apps for it, I use python. Am I right?
Click to expand...
Click to collapse
Exactly
Sent from my GT-S5302 using Tapatalk 2

Devlope apps on PC with Android OS?

Hi , I would like to start developing Android apps.
For developing, it is recommended to use Eclipse or Android Studio.
Is it possible to develope apps also, if I install Android OS on my PC, and then I would install some IDE like Eclipse on this PC, too?
Is there any advantage if I develope android apps on PC with Android OS? Maybe emulator would not be needed?
Has anybode experience with such developing of applications?
thanks for any help
Tomas
I don't know for sure but you can Google it and probably learn a lot of your questions.
Sent from my HTC6435LVW using Tapatalk
tomas.teicher said:
Hi , I would like to start developing Android apps.
For developing, it is recommended to use Eclipse or Android Studio.
Is it possible to develope apps also, if I install Android OS on my PC, and then I would install some IDE like Eclipse on this PC, too?
Is there any advantage if I develope android apps on PC with Android OS? Maybe emulator would not be needed?
Has anybode experience with such developing of applications?
thanks for any help
Tomas
Click to expand...
Click to collapse
If you know how to get Android on your PC, there an app in the play store to do that: AIDE
I haven't used it a lot, and for bigger projects you'll probably need to pay for the pro license, but it works great on my smartphone. The advantage over an emulator would be better performance since it runs as OS, not in an emulator in Windows.
Please let me know if you have a way to get android on a PC, I'd love to try that (Windows is getting really slow over here^^)
You mean Android as the OS of your desktop machine?
In that case you would have to use AIDE for development.
Eclipse and Android Studio don't run on Android. They are Windows, Linux and Mac applications only.
---------- Post added at 06:36 PM ---------- Previous post was at 06:34 PM ----------
SimplicityApks said:
Please let me know if you have a way to get android on a PC, I'd love to try that (Windows is getting really slow over here^^)
Click to expand...
Click to collapse
Just googled that. Here you go: http://www.android-x86.org/

Categories

Resources