Hello, I am just a new kid. I want to develop some android apps. I have Basic knowledge of Java. I own a laptop and LG P500 handet.
I have downloaded Eclipse, Android sdk, sdk tools and ADT plugin and API 2.3.3. I have some sample codes which I have studied. but when I try to compile them, it gives error R.java can not be resolved to a variable. I tried building my own codes, but whenever "R.layout .main" is used, it encounters error. I tried many times, googled a lot, but didn't work. need assistance.
Try to clean your project doing
Project>Clean
Related
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.
I am new to the android programming and I am studying it through "Android Application Development for dummies ". In the book there is an example of Task Reminder app. The problem I am facing is that it is not showing the built in image ic_menu _add when run on the emulator. I am using Android 4.1.
I have tried everything that I could possibly do. I have run this code with Android 2.2, 2.1 as well but found same problem.
many thanks in advance
I see that most development chat here is for system software, kernel, etc.
I would like to begin writing apps for the Android OS. I have a GN2.
I've installed Eclipse and have installed the last few SDK versions.
I eventually want to build an app that will allow a user to log into a web site and retrieve data from a database file on the web server using other phones also.
I'm an old Visual Basic programmer and have a little C# familiarity. Don't know much Java at all.
What else might I need to download and install into Eclipse to be able to write an app to access a database file on a server?
Anyone know of any app templates that can I can download and start off from to learn the process of writing such an app?
The database will be mySQL probably. Could be an Access or Sql Server file.
Thanks in advance,
Barry
I just reinstalarme java sdk and eclipse and I've updated everything to solve problems that had versions had. Now, trying to create a project before importing interests me, not allowing me to use the light holo theme with dark action bar (The project I have to import the user and also gave me error related to it). I get a red x next. We also explain the mistake that gave me and before reinstalling everything and that gives me now, because I think it has something to do. It turns out that when you import a project gives me many errors: Errors in the files within src and errors especially in res / values / styles. the latter makes no father is and values-v21 speak. Many would say that the problem is the appcompat but I've tried a lot of solutions out there on the internet and nothing, I can not solve. Does not work with android studio me and if I have tried the techniques of builth path and etc. i need help please. The solution to start the application again is not an option, Thanks for everything
I add: when I go to project properties in android in paragraph libraries appear both me I have a red X (the appcompat and of google). They are in the project and if that I have downloaded everything you need with sdk (extras and others)
Hi, before all, sorry for my poor English.
I have buyed a new Android Watch; the SmartWatch U8. I have found many Android app to run it but nothing have great result.
After few test and search I have found the original APK for my watch, is run good but have some problems and I want improve it.
I have decompiled the APK (APK to ZIP, dex2jar and APK Tool), I have now some .jar files, the .manifest and few assets and others ressources.
Using Android Studio, I have tried to recompile, without modification of code. I have many, many errors.
Some errors is about depriciated, others is for unknown command or class.
I have tried to fix, but no chance, too many errors and my Java skill is realy low (I'm better under PHP). I have also try to copy only few codes using the error tools to known what is needed to add, but I don't known own the default structure was made (all class in same folder ?, or many folder for many class ? less class but with more actions ? not sure)
I have tried all ideas I have found, no valid result, I never build the app with success. I have made few Android App, with help of tutorials and are very basic (Web browser for my website, music player and scanner). I known the basic of Android coding and the new and old way to code them (Eclipse and Android Studio).
I search many solutions;
- [easy] Find another app with all (or the most) of needed change I want; hide the notification text but keep the icon when connected, more control of what is sending to watch (keep notice of call, but not make/answer call over the watch)
- [medium/hard] Find a good tutorial/guide for rebuild a Android app from decompiled APK.
- [hard] Build from scratch a Android app for my watch (with tutorial/guide)
The APK I try to edit: levelkro (dot) com/download/android/KHR1.3.22.apk (not available on Play Store)
Thank for your help