please help me in android app development ( writing java codes ) - Android Q&A, Help & Troubleshooting

hi every body
im not developer or programmer but im so interest in developing android applications , i prepare my PC to that by downloading JDK , SDK and eclipse , i know how to use it and create the UI for app by XML in eclipse , my problem in writting the java codes for the objects in app for example , i know how to create button or text view or edit text but when i want that button to do action on click for example to save text to SD , I HAVE TO WRITE JAVA CODE FOR THAT SO WHEN I CLICKED THE BUTTON IT WILL SAVE THE TEXT TO SD , i dont know how to write java codes , is there is soft ware that perform that or java code generator to give the code for any object action i need , just finish the XML and give me codes directly . or i have to learn JAVE first then go for app developments
please help me
thanksssss

Get a book, duh!

If you really are interested in in developing for android, and I don't mean some half hearted effort, then learn how to code in java.
$1 gets you a reply

I would recommend "Introduction to Java Programming - A comprehensive version" by Liang and Pro Android 3.
I seriously recommend to begin with pure Java and then begin with Android development. You get a much deeper understanding in what you do then.

Related

[Q] Run a exe in Android App

Hello,
I would like to create an Android App that can run a executable file (developed from C language for android) by clicking a button on touch screen. The executable file (created from arm-eabi toolchain) works pretty well if I run it from android command prompt. What I need to do is to able to run that exe from an app (basically that app should able to call that exe file).
I don't have much idea of how to do this.. I have seen people suggesting to use JNI to convert native C code into Java. But, I don't need to anything at Java level. All I wanted to do is to call the executable from an app. Is this possible to do? It would be very helpful if someone can give me suggestions.
Thanks,
Krishnan.
It would take a lot of hard work.
Best of luck to you...

please help me in android app development ( writing java codes )

hi every body
im not developer or programmer but im so interest in developing android applications , i prepare my PC to that by downloading JDK , SDK and eclipse , i know how to use it and create the UI for app by XML in eclipse , my problem in writting the java codes for the objects in app for example , i know how to create button or text view or edit text but when i want that button to do action on click for example to save text to SD , I HAVE TO WRITE JAVA CODE FOR THAT SO WHEN I CLICKED THE BUTTON IT WILL SAVE THE TEXT TO SD , i dont know how to write java codes , is there is soft ware that perform that or java code generator to give the code for any object action i need , just finish the XML and give me codes directly . or i have to learn JAVE first then go for app developments
please help me
thanksssss

[Q] QR Code...source code for a small app

want to create an app to generate a qr code in the phone itself without connecting to internet..it should be having 3 details..name,phone no,email-id...ny source code or nythng to help me out ..this is my first app .
You want to create such an app? Than you have to start coding I guess, if you dont know how to code it, search for information on the web. Starting with:
http://en.wikipedia.org/wiki/QR_Code
http://www.denso-wave.com/qrcode/qrfeature-e.html
A hint: You have to know what you're doing when you want to code something. So if you don't know how to create an QR-Code, than you can't develop an app. Makes sense right?
EDIT
I use these sites to generate my qrcodes:
http://qrcode.kaywa.com/
http://goqr.me/de/

Help With Eclipse Running an Android App (First Post)

Hi all I am a noob when it comes to this, I just started to make my phone app and I have it completed with html javascript and jquery. I have been having some trouble when running it in Eclipse. Well thats the problem Im not sure what to do to get it to work in Eclipse. It runs on the browser but i cant get it to work on my phone and not sure where to start and what files I should keep when starting a new project? Any Help would be greatly appreciated. Thanks
More on question
Ok i have it down to one error i keep getting when i run it. I am trying to connect to the html file and i get an error saying "Network error, "files:///android_asset/www/index.html" Im not sure how to fix this and have been looking everywhere. My code works perfectly in a browser but this error keeps popping up when testing it. Please help
i think you mean webkit view
Normally with eclipse, java applications are compiled with the provided android sdk.
With html / javascript you can bypass this (as I'm assuming you have done)..
when you are creating your android project in eclipse, in your main activity's layout xml file,
make sure you have the webkitview declared..
Code:
<WebView android:id="@+id/web_engine"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
This would inform eclipse that you are going to need a web display view,
now in your mainactivity.java.. find your webkitview
Code:
browser=(WebView)findViewById(R.id.web_engine);
to enable javascript stuff
Code:
browser.getSettings().setJavaScriptEnabled(true);
and to load the actual page,
Code:
webView.loadUrl("file:///android_asset/filename.html");
and also remember google is your friend : search for "android webkit loading local javascript assets" there are tons of queries in stackoverflow too..

How do I retrieve my android project

Hello
how are you my friends
I created the application android and then finish it and i use that application now on my phone, but I have mistake i have deleted the project files from the program and now I want I completed the application building but I could not try to dismantle the application and include it did I could not find a way so that I edit applied again in the program and complete the application building. Can you help me please​
:crying::crying::crying:
The program used in programming eclips
regards
younes007​

Categories

Resources