Help Developing An App - Java for Android App Development

Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app

Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again

Thanks,
I'll have to try that once I get home as the IT Administrator at work has to vet everything that gets installed.

minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
Hi sir! Is Android Studio is better than Eclipse?

john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Yes.

john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Jonny said:
Yes.
Click to expand...
Click to collapse
^^^
The only way to say it

Jonny said:
Yes.
Click to expand...
Click to collapse
Thanks sir but do we have a highly compressed Android Studio? 800mb+ is such a big file to download.

Like minooch said, install an IDE, understand how it works and then try some tuts on Internet to learn how Android works. What you want to do isn't really hard, you'll manage quickly to do it but you will be prouder if you do all by yourself.
Some hints : Don't go coding directly, try to organize your project (data structure, classes, methods) before starting to code. On a small project, it's not as important but if you start doing things well now, you'll thank yourself in the future

minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....

Randomly Set said:
Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Click to expand...
Click to collapse
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********

Shreyseviltwin said:
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Click to expand...
Click to collapse
Hi,
What would be involved in creating an app?

pranavraut033 said:
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Click to expand...
Click to collapse
You need the JDK. Please read the instructions on the download page. Under the section 'Requirements'

Related

Absuluut newbie, help on eMbedded C++ 4.0 please

Hello,
I'm a Visual Basic programmer for some time now.
Made some useful stuff they tell me.
Used C++ (Borland) about 10 years ago, so that’s a bit rusty.
Now I've ordered a Qtek 9090, and I would want to develop some software for it to. So I downloaded and installed the SDK and eMbedded C++ 4.0.
I thought, I start out on the emulator......
I can't even get my own "Hello world" program to work........
I have downloaded a "Hello World" program which I stepped through in debug mode. I have NO idea what they are doing there.
It contains about 20 files, hundreds lines of code, just to put "Hello World" on the screen of the emulator.
And I hoped that:
Code:
#include <stdio.h>
main()
{
printf("Hello, world!\n");
return 0;
}
pleased in a form, would do the trick………
The help in the IDE does not work.
Re-install it tell's me. I have done so, but the help function does not work.
Where is the "visual" part in the embedded Visual C++?
How do I place forms and buttons e.g.?
I have no idea where to start now.
Searched a lot of forum's for starters-help, but I can not find anything that helps me on my way. I just hope I've not become stupid.....
Would somebody please help me on my way?
Can I wholeheartedly recommend the book "Programming Windows CE", by Douglas Boling? It's normally cheap (or the second edition is) on ebay and it really is good.
Failing that, you're writing a console based application for something that uses a windowing environment by default, so you'll either have to change what you're linking to, or have a winmain that makes use of a graphical UI rather than stdout. Call MessageBox perhaps? This is all made *so* much easier with a working help system that you need to get that working.
You can manage resource files visually, so it really is Visual development. Plus, for free, it's an excellent development tool. Well, it isn't bad.
The best advice I can give is to get your machine set up correctly with EVC2002, or EVC 4 with SP4 and the appropriate SDKs, and take it from there.
Good luck starting out.
Cheers,
Nick.
chiark said:
Can I wholeheartedly recommend the book "Programming Windows CE", by Douglas Boling?
Click to expand...
Click to collapse
Thanx. I'm going to order that book.
Failing that, you're writing a console based application for something that uses a windowing environment by default, so you'll either have to change what you're linking to, or have a winmain that makes use of a graphical UI rather than stdout. Call MessageBox perhaps?
Click to expand...
Click to collapse
Well, yes. I know. Like I sayed, I usualy work with VB. It was just me, trying to oversimplify things.
What I ment to express is that I'm pretty supprised I still have to write the message-loop and the main-loop and the jsadgkh-loop and....
I just hoped to put up some forms and attach code to it. But maybe I'm missing the clue on this.
This is all made *so* much easier with a working help system that you need to get that working.
Click to expand...
Click to collapse
I have set it up on an other machine yesterday, and there the help works.
Today I'm going to make use of it.
You can manage resource files visually, so it really is Visual development. Plus, for free, it's an excellent development tool. Well, it isn't bad.
Click to expand...
Click to collapse
Well.... That part, the visual part, I don't see yet, but like I sayed, I'm going to work throuhg the help, now that I've got that working.
And a 'free' tool. Well, that's allways nice. I think it is good for us, AND good for them. The more software there will be on the market, the better the devices sell.
The best advice I can give is to get your machine set up correctly with EVC2002, or EVC 4 with SP4 and the appropriate SDKs, and take it from there.
Good luck starting out.
Cheers,
Nick.
Click to expand...
Click to collapse
Thanks for you tips.
Rens
Dox, drop me a PM, I've got an old copy of the book you can have if it would help
Re the message loop stuff, you've indeed got options. You can either use the message loop approach hitting the API directly, or you can opt for using MFC to abstract the stuff away from you.
Personally, I prefer the straightforwardness of using the API rather than MFC. By the time you've written one application, you've got the bulk of the next . I also write for older machines, and the overhead of MFC is a consideration, but on the XDA it really isn't.
If the application is simple, it can all be handled by a DialogBox. You will need to write a DialogProc to handle the appropriate messages, but the need to register a window class, get messages off the queue etc is removed from you. Similarly, you can have multiple pages on a single dialog box using propertypages.
If you did want to write a console application, you can do this but you need to change the linker options within EVC.
Have a good look at the samples, too, there's some real good stuff in there.
Cheers, and good luck
Nick.

[X] WApps - A windows mobile "appstore"

I got the idea to make a application finder software for Windows Mobile. Specially designed to HTC Diamond, with many G-apps & games and other nice apps. It's under development now, and i will release one screenshot for you.
This app will not be just an styled IE-frame, like many "appstore" like apps that have been released before.
19. October 2008:
New Screenshot of the start screen.
Development stopped, becouse of the Gecko project.
I think this is a phenominal idea. The idea that went around recently was an internet based solution through ie explorer and it just was not device friendly. To have a device based solution is much more sensable. If you could create a server that developers could upload their most recent programs too that would be the best.
Maybe contact the system admin on this site and see if he will give your program to access the sites FTP server or something. Then a user could use your device based program that would seemlessly connect to the interenet in the back ground, poll the server for software, sort it and place it into a thumb friendly interface on the phone by which it could be sorted into categories of games, utilities, themes, programs etc etc....
Of course the admin would have to create those categories on the site's side and the developers would need to upload their program to the correct one but I think everyone has been in such a need for this that they would be willing to do it without much arm twisting.
Or, you could create device user interface that interacts with Orb.com... But then you would have to get the updates of programs and upload them to ORB for your program to work. But ORB does already have a sorting feature that your user controls on the device could be made to access for sorting etc. It even has a video section that a user could download tutorials of different programs that someone took time to make.
All just ideas. Some you may find good or not. I am excited to see a device based program though. It make user intereaction easier.
Curious G.
yes
Its a good idea, keep working on it
seems to be a nice idea
I like the idea but this really depends on what will be offered / how updated the actual site behind the store application is. Have you had any thoughts on that yet?
i second that.
at this time i browse via opera tho xda to download stuff... but having a app that simplifies things would be even better...
maybe all the downloads here could be managed and put upto "youre" server in an automated way..
I remember seeing this article a few weeks ago about Microsoft creating their own app store.
http://www.pocket-lint.co.uk/news/n.../job-advert-reveals-microsoft-skymarket.phtml
Either way, it's certainly a good idea!!
I forward the notion. An app that has all the apps at hand for easy download by category would kick some serious asss..
If I can help in any way let me know.
Greetings to all.
Love this development. Maybe this progress will open up eyes on new skilful programmers and we will see an increase of good looking apps and games. Not that I don't just love the things going on here at xda. But the more the merrier, right? The only complaint that I might have on this forum is the all the threads with wallpapers and especially the ones with half-naked women...But that's me...
So an app store (or two) is going to make it easier for us to sort out what we are interested in and only that.
If needed count me in I can help develop..
Great idea.
In the spirit of AppToDate, which I found worked very very well. But with YouTube-app like interface, all connected to database were latest apps can get installed.
Great idea!
I'm working to figure out how to connect to MySQL from a windows mobile based device, does anyone here know?
double post****
i think if these two threads could be incorporated
http://forum.xda-developers.com/showthread.php?t=428480
http://forum.xda-developers.com/showthread.php?t=433913
that would be a good way to do storage
each developer could use have there own account and then whenever they updated there app they update the wapps link via web or give it like some type of flash capabilities that would be really great
or there could be a generic account that ever one uses to upload too
looks like this is in the works http://forum.xda-developers.com/showthread.php?t=436127
maybe some collabo might be nice
Nice project!! GoOd Luck!!
If there was a way to advertise this app when it gets made. the diamond would sell millions
Why not just modify a RSS feed reader?
niikoo said:
I'm working to figure out how to connect to MySQL from a windows mobile based device, does anyone here know?
Click to expand...
Click to collapse
Maybe Sqlite is more accurate for a mobile device ?
And you just download the sqlite file available on a server, this way requests would be very fast.
masterbox said:
Maybe Sqlite is more accurate for a mobile device ?
And you just download the sqlite file available on a server, this way requests would be very fast.
Click to expand...
Click to collapse
Yes, every time you start it will update from the web or you can click on a button to update (or an 'update every x minutes' function
please keep up the hard work!!!!! love to see this appstore happen!

Writing apps for websites

Hi,
So this is a request for resources mainly, I want to make some apps that are mobile versions of websites. But I know very little about how to do this, anyone got any good links?
I have developed for Android before, just not done much web stuff
Thanks
I don't think there is a simple answer to your question, cause it all depends on structure of a website, features which you want to implement, etc.
General instructions are: HTML/XML parser + data parser targeted at specific website + view. And I think it's all you need
I've been wondering how to do this, too. What if it's something extremely basic like the "phandroid" news app or the "gizmodo droid" app? If you guys have seen those.
Easy..
ive done this for some friends.. hell i even have the popular porn website xnxx.com in an app for a buddy of mine
----------------------------------
Anyway...
If all you want is an app, that once opened will open a website.. its as easy as webview. (Use "webview" as a search topic, thats its native name.)
1. get the androidSDK
2. learn about webview, its ALLL over google's androidSDK tutorials.
3. Build the app, or if your lazy, look for a sample (ive found a few) then change the names and domains and stuff.. however, its quite a bit to tamper with, and should only be done if you know what your doing.
Either way, it takes a while.. the easiest way would be the LAZY way haha.
After you build it, compile, and sign!
Trust me, its kinda late, and im not in the mood to give you a full tutorial, but its all over google's help stuff on the androidsdk website. All you gotta do is look for the "WebView".
joeyx22lm said:
ive done this for some friends.. hell i even have the popular porn website xnxx.com in an app for a buddy of mine
----------------------------------
Anyway...
If all you want is an app, that once opened will open a website.. its as easy as webview. (Use "webview" as a search topic, thats its native name.)
1. get the androidSDK
2. learn about webview, its ALLL over google's androidSDK tutorials.
3. Build the app, or if your lazy, look for a sample (ive found a few) then change the names and domains and stuff.. however, its quite a bit to tamper with, and should only be done if you know what your doing.
Either way, it takes a while.. the easiest way would be the LAZY way haha.
After you build it, compile, and sign!
Trust me, its kinda late, and im not in the mood to give you a full tutorial, but its all over google's help stuff on the androidsdk website. All you gotta do is look for the "WebView".
Click to expand...
Click to collapse
So this basically just takes you to the website?

[Q] need help from a developer

I need a push start!!
i have created a circle composed of 12 concentric rings.
i want to make a live wallpaper with these rings slowly spinning in opposite directions.
i have been studying numerous web threads on how to create live wallpaper, but it just seems to me that each one assumes that the reader knows a lot more about developing in java for android using eclipse than i do.
please help me get started.
i understand the basics. i have created a couple of text based applications that i've ran on the emulator and installed on my droid x. they worked as planned!
i'd be very appreciative and willing to donate lots of time and even cash to a developer who will work with me online or offline to get this project started.
i am a veteran of 30 years software development for the VMS operating system. I've also created 2 dozen or more clock applications in lua for the windows mobile operating system. i've developed management applications for monitoring and configuring over 1200 windows 2003 servers in java, vbscript, c#, .aspx, html, perl and so forth. i'm no dummy, i can code!
i've written code in just about everything, even java, but the use of xml, manifest files, the android graphics interface has me baffled. maybe it''s just too many ways to get it done that confuses me.
anyway, i'm in need of a push start and am willing to donate to someone who will patiently get me going in the right direction.
thank you!
Although I can't give you much help, I can recommend that you look through the samples that come with the Android SDK for base source code for live wallpapers.
And also, even though the many option make it seem difficult, one you play with it for a while it gets simple.
I hope that I've helped at all. Good luck!
Sent from my DROIDX using XDA App
anybody?!
well this sure isn't the response i thought i was going to get!!!!
bump!
You'd be better off asking this is in a more generic Android/App Dev forum.
This forum is DX specific (and quite frankly, a lot of people have left the DX platform for newer phones).
Try here:
http://forum.xda-developers.com/forumdisplay.php?f=524

[HELP] Analysis tools that detect common bugs in Android app development

I am looking for analysis tools specific for Android app development!
I have found many tools online that are not specific for Android, only for Java, either free or commercial, like the famous FindBugs but it is not interprocedural so for example it loses several bad NullPointerExceptions that may occur at runtime! Other tools (like CheckStyle) perform just a syntax check that sometimes is not so powerful, and other tools are not suitable for Android app development
What are, among the available tools, those that you prefer and really use?
What kind of properties do these tools check?
What kind of bugs do these tools detect and remove (among the most common errors that an Android developer may do)?
Please help me with sharing your experiences and suggestions, thanks!
Nobody uses any tool for detecting bugs?
What kind of bugs are you specifically looking for? Solving NullPointers is hard to do automatically, it'll probably just show you where the error is and what it is.
And the emulator/logcat does that, too...
bassie1995 said:
What kind of bugs are you specifically looking for? Solving NullPointers is hard to do automatically, it'll probably just show you where the error is and what it is.
And the emulator/logcat does that, too...
Click to expand...
Click to collapse
I would like to detect the most common errors that may happen during Android app development, like NullPointerExceptions, ClassCastExceptions, OutOfMemory Errors, and so on... but with tools like FindBugs that don't need to execute the app first.
subtask said:
I would like to detect the most common errors that may happen during Android app development, like NullPointerExceptions, ClassCastExceptions, OutOfMemory Errors, and so on... but with tools like FindBugs that don't need to execute the app first.
Click to expand...
Click to collapse
I don't think that's really possible, it would have to be able to reason about and come up with the behaviour of your code like a human... Computers need to run it. The easiest thing you'll get right now is an explanation of what went wrong where, I think...
bassie1995 said:
I don't think that's really possible, it would have to be able to reason about and come up with the behaviour of your code like a human... Computers need to run it. The easiest thing you'll get right now is an explanation of what went wrong where, I think...
Click to expand...
Click to collapse
If you run FindBugs in your source code, it is able to detect many things, like potential NullPointerExceptions, before running your app...but unfortunately it is not powerful enough to detect interprocedural NullPointerExceptions...that's the reason I am looking for something different...
subtask said:
If you run FindBugs in your source code, it is able to detect many things, like potential NullPointerExceptions, before running your app...but unfortunately it is not powerful enough to detect interprocedural NullPointerExceptions...that's the reason I am looking for something different...
Click to expand...
Click to collapse
Yep, that's what I meant. Anyhow, I don't know about anything like it .
The Android SDK provides some API for automatic testing.
You will need to create a test project which checks the functions you want to achieve.
This can be used to ensure that your app is still working correctly after adding new features.
Hi
"static analysis tools" is probably the term you want to be using when looking for these sort of tools, the wikipedia page give a good selection to be going on with http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis
Although I would add that if you're getting a lot of these sort of errors then you probably need to work on your own code writing skills and take the time to understand how and when these sort of issues occur rather than just relying on a plethora of tools which keep you dumb to what's going on! You'll benefit from it in the long run
One thing you might give a try is JetBrains Android Studio. It seems to have a decent static analysis tool which is the same used for ReSharper with Visual Studio.
Try Lint, it comes with ADT,
with Eclipse you can right click your project, ans under android tools you will see something like check lint errors
It will create lots of errors, which are just recomendations, you can simply delete those errors.
Tapatalked... just Tapatalked...
If you're mainly looking for a way to detect NPEs then IntelliJ/Android Studio comes with NPE (and other exceptions) detection. It's based on a new set of annotations implemented in the latest SDK and is very accurate, much better than Eclipse's code analysis.
But honestly, the best tool to find bugs remains Logcat imo, it's verbose enough to find-out the origin of most bugs.

Categories

Resources