[Q] Dreamweaver and phonegap + development - Web App Development

Last week I've gotten a HTC sensation and decided to start developing some web-like applications for it. As because I don't like Eclipse, I went with Dreamweaver CS5.5 and the included phonegap framework.
I build and emulate my application just fine, it works as expected in emulator, the .apk gets created, but when I try to do adb install haluza.apk, I get failure
Code:
Failure [INSTALL_FAILED_ALREADY_EXISTS]
which is obviously incorrect, as before the haluza.apk wasn't ever installed before. aswell adb uninstall haluza.apk reports only "Fail"
Are there some reserved words that shouldn't be used as application/site name ?
I'm more or less convinced it might be some dreamweaver thing, but am not sure
And forums are empty regarding this topic :s
Or the best solution is simply to install Eclipse and go with pure java programming ?

You try renaming it and trying an install?
Also is it just eclipse you don't like or is it java as well? Cause i cant stand eclipse either, but Intellij is a way better ide for java and their Android community edition is free
From something awesome

yep, I tried 3 different names.
Weeeell I've been doing some java at the Uni, but I don't like its appealing strictness. PHP = <3 ... But anyhow there's quite a lot demand for java developers so I guess I'll try to move on to it.
And I hate eclipse. I don't know why, it just appears SO SLOW, that it's unusable. Dreamweaver / VS.NET are like rockets compared to it.

Related

Android application developer Guides (for Dummies!)

Hi all,
I created this thread to collect informations, suggestions and links for who want to start learning developing android applications, whitout being an expert developer.
I like programming (vb6, vb.net ) but I don't know anything about android and linux, and just a little about java... Now I bought an Hero and I met android world... I downladed Eclipse IDE, Android SDK and I starded with dev guide on SDK... I just take a look to helloandorid application... it works! and now? In the xml layout seems easy to add View like buttons or text... but how can I handle to the user actions like the button click? in vb is simple to manage the buttonpressed event...!
If someone knows some simple guides about java, eclipse and android, please let links on this thread!
Thank you!
This one's awesome for learning how to create widgets:
http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf
here are some other resources you could easily find by using google search:
http://www.helloandroid.com/tutorials
http://nexsoftware.net/wp/2009/07/29/tutorial-creating-a-custom-analogclock-widget/
http://www.anddev.org/index.php
Other than that, just start from the simplest Hello World -examples on Google's own Android site.
I'm going to start leurning Android programming
If ill find nice links i will post them here. Is there btw a way to program inside visual studio? Cuz all tutorials on the net are using eclipse.
You'll need to use Eclipse to my knowledge as its all Java based. The other alternatives are the IntelliJ plugin and doing it all from Command line/Text Editor.
Back to the Topic, I'm just trying my hand at a little Android development this week too, the tutorials and manuals at developer.android.com have been great!
Another thing, while I remember, if you've done any sort of .NET/ASP.NET development before you should find it a breeze, apart from the lack of Visual Studio (best IDE that ever was), they're VERY similar compared to some other languages/technologies I've used.
HeY Furios, Im new to android dev also, so if you don't mind, I would like to follow you and share any info I find with you and to whom ever else would like any info...Thanx
SDK 2.1
Hi Guys,
I went onto the SE developer site and got he x10 SDK, but it only gives me the choice for a 1.6 virtual Machine. Is there another place that I have to go to get the SDK for 2.1?
Thanks.
It would be cool to learn how to develop roms as well...or is that much deeper?
Well guy's start here on this thread first >>>http://forum.xda-developers.com/showthread.php?t=667298
Made me think
need minor help!
im actually developing a few games, but im running into some seemingly basic issues, that i seem i cannot get to work. basically a button mash game, single/multi player, well on multi player i cannot for my life get the multi player functions to work, as in in the end the game already knows who the winner is based on an integer score, then it is supposed to use an sqlite database to take the highest scored player such as P1 or P2 and allow them to input there name to be permanently displayed. it cannot seem to differentiate using IF statements, but the feature does work with single player flawlessly, i may link source code if asked, TY

Run iPA files on Android?

Is that even possible? It'd be so awesome to have iPA files running on Android phones.
Prepare to be flamed.
Anyway, I used this simple analogy to explain it to my nephew: it would be like trying to play 360 games on a PS3.
mitch1974 said:
Prepare to be flamed.
Click to expand...
Click to collapse
/thread
Well, I know that these are two different OSs but, it's like all these modifications and Wine program @ Linux OS to run EXEs. All I say is that it would be just awesome to have some abilities to run iPA files.
Well.... hang on a sec...
this would be nothing like playing Xbox360 games on PS3, further than the fact its a different OS/Device playing the others games etc.
As far as im aware,and i could be wrong, they are both based off a Java SDK sort of structure. not 100% on that.
im not saying its going to happen, im just saying i think the SDK's are fairly similar in alot of senses
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Man this should b a sticky!
Sent from my HTC Wildfire using XDA Premium App
RevenantX said:
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Click to expand...
Click to collapse
iOS uses objective C and the Cocoa touch framework. Android uses Java. Even if they both used Java, still not the same since Android has its own "dex" format to store compiled class files.
Yes, you can make Android apps in C but it's still an extension of Java called the JNI. Look it up if you're interested. Still note even close to being possible though and I don't really have the time to explain why to you D) - try programming an Android app sometime and you'll know why.
nhnt11 said:
iOS uses objective C and the Cocoa touch framework. Android uses Java. Even if they both used Java, still not the same since Android has its own "dex" format to store compiled class files.
Yes, you can make Android apps in C but it's still an extension of Java called the JNI. Look it up if you're interested. Still note even close to being possible though and I don't really have the time to explain why to you D) - try programming an Android app sometime and you'll know why.
Click to expand...
Click to collapse
NDK Am I right? ;D
NickHu said:
NDK Am I right? ;D
Click to expand...
Click to collapse
yup
10char
What about an Emulator of sorts? If we can get Gameboy, or playstation games working on Android could someone make an emulator for playing IPA games?
RevenantX said:
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Click to expand...
Click to collapse
If iphone has android emulator i.e compiling java app on c.Then why can't be vice versa i.e iphone emulator compiling c written app on java...............
As of java, it is a language which when compared to c, is much less complicated and less powerfull, see for example, various os like windows me,ios etc are written using it, and about java, it is a capable programing, and ofcourse we have good programs in it,like firefox, also various manfactures like sonyericsson,samsung,nokia,(even china phones too) are embedding java platform on their phones and gadgets, and you may have seen various java platform specifications,etc in their 'about phone' menu. So what we conclude from that is, these devices have a support/platform of java embeded in their os made from another programming language. But of cource the java have many things to do with the phone, even the whole working is depended on java sometimes, and for users only a part of that java platform is open by default,due to security issues,(remember security permission warnnings are shown when we install java programes in those phone, and security certificates are needed for various functions like filesystem access, network connection etc. But ofcource they can be hàcked by patching codes in os). And hence we call it a java os. Also there is a fact that java is one of the highly secured,yet simple programming language,and have varients like java se,me, etc.(me is used in small gadgets like phones). Java can be implimented as small packets(i mean only a part, which is required by user) and not as the whole java program. For example java me contains much less classes, headers etc than original java. It save memory as well as the whole hundreds of classes have nothing to do with a small gadget with limited processing power. Also the programming is bit changed in case of java me.
Google search about java to learn more..
In case of c, it too has varients and not every manufacture use the same c for their need, for example nokia use carbide c for programming app used in s60 phones. Windows me ,an os in c, used in old windows devices may use another c. It depends on manufacture, (u use a knife to cut veg, some other use it to cut wood, some other use to kill.. juz kidding, but see the fact that use depends on user). A bad fact about c, is though it is more powerfull, it requires more powerfull hardware. (Iphone may be more pretty if they use another), and hence implimenting c in java is like asking a sheep to carry a cow, but the reverse may be possible.
I think u may get an idea about the complex process.
But i am an optimist, if man can land on moon, then why cant c run on java. May be in future we can see that too. Well wishes for somebody(if) who work on it.
Sent from my HTC Wildfire using XDA App
Yes it is impossible
But you can run jar files on android . Just type in j2me for android on Google
Sent from my HTC Wildfire using xda premium
http://www.apportable.com/
Apportable offers to port iOS games to Android, but I've never used them myself.
vykana said:
http://www.apportable.com/
Apportable offers to port iOS games to Android, but I've never used them myself.
Click to expand...
Click to collapse
sound nice but im not runnin on X.OS but win8x86
ExpMadness said:
sound nice but im not runnin on X.OS but win8x86
Click to expand...
Click to collapse
use virtual box to run mac os x
from Web Browser
One way to start such but I do not know whether it is created.
Through the Internet browser
This would serve as a form of communication for entering values ​​from one side, from the other side to display unit.
On a web interface should be recorded IPA, this web interface would trigger it and knew you would, therefore, of the online via the browser knows how to use this application
:good:
Hellveig said:
Is that even possible? It'd be so awesome to have iPA files running on Android phones.
Click to expand...
Click to collapse
isn't there an ios emulator for android?

[Q] REAL hacking.

Hello there to all the souls of the xda forums.
im new to wp7. never used one before like 3 days ago. i like it, great device my surround is. but im not here to tell you about how good it is. we all know its good.
im here to ask if theres any real hacking going on with this thing yet. im looking for at least some kind of command line.
from there i could use tools such as aircrack, nmap, metasploit, SET, etc.
ive had an iphone for about 3 years, booting iOS and Android. i am used to hacking from that, but at the same time i know there a bigger user base for those devices, so theres more devs for it. i just wanted to know if anyone has already started on such a project before i dedicate alot of my time to developing this for you all.
BTW i am not interested in pirating apps, cracking apps
With enough effort, command-line interface *might* be possible - the OS technically supports such things - but the underlying core is Windows CE. Even less so than NT, CE really isn't meant for a CLI; apps are written with the intent of being run on a graphical interface. Also, having no POSIX compatibility and only partial Win32 compatibility, a lot of apps that you're used to from the desktop (or from POSIX-based phone OSs like iOS and Android) aren't going to be available.
That said, if you want to get started in the WP7 hacking space, there's certainly plenty to do. One project that I have on the back burner until I get some more urgent stuff out of the way is a SSH client. There are a number of things that are required here. First of all, we have homebrew Socket support, but the official SDK lacks it so you'd need to use a native Homebrew DLL. Second, there's no official command line interface, so you'd need to write one. The second point is all sorts of fun, since what you're really writing is a terminal emulator.
Other interesting projects include getting a unified cross-platform approach to writing to the filesystem, or even reading from all of it (instead of the relatively small portions currently accessible) or figuring out how to make third-party apps run in the background.
thanks man. I think I'll work on getting a full file browser for the phone. That should happen , i think, before anything else. As far as a terminal emu, it sounds like its going to be more of a chalange for me. Again, I'm used to more Linux and UNIX systems than I am windows. I had to reinstall windows 7 onto a partition just so I could sync the phone with the Zune software Microsoft insisted I use.
So is anyone currently working on the file browser? Has there been any progress with it? If so, who should I contact so I can help?
sea_bass said:
thanks man. I think I'll work on getting a full file browser for the phone. That should happen , i think, before anything else. As far as a terminal emu, it sounds like its going to be more of a chalange for me. Again, I'm used to more Linux and UNIX systems than I am windows. I had to reinstall windows 7 onto a partition just so I could sync the phone with the Zune software Microsoft insisted I use.
So is anyone currently working on the file browser? Has there been any progress with it? If so, who should I contact so I can help?
Click to expand...
Click to collapse
TouchXplorer. Do a bit of searching. A lot of homebrew has already been in the works.
thesecondsfade said:
TouchXplorer. Do a bit of searching. A lot of homebrew has already been in the works.
Click to expand...
Click to collapse
Thanks. Just found that page

[Q] What exactly do I need to develop for the Android platform?

I'm sure things will sail smoothly once I can just get to the programming environment... thing is, that's a trial in itself.
From what I gather, all I'll need is the SDK+ADT plugin for Eclipse... and Eclipse Helios.
...yet they don't exactly make it clear cut as to which of all this stuff I actually need to have a compatible Helios.
Depends on what you want to develop
ROMs? Kernels? Apps/Games?
I'm trying my hand at Unity 3D (program used on Shadowgun). Looks simple enough but is hard as hell to get anything working. Most I could do is a couple of platforms and a stationary character :S
I'll upload the APK and you can have a look. Its nothing special though. I'm gonna try and do some more work on it though and get a working build done
Im hopeless at using Winrar so its 2 seperate Rar files. Unpack first one then unpack second one when prompted.
CTU_Loscombe said:
Depends on what you want to develop
ROMs? Kernels? Apps/Games?
Click to expand...
Click to collapse
Apps/Games.
Eclipse is a modular IDE, with lots of plugins to develop in many different languages. You can download any of those packages, since you'll have to download the Android ADT Plugin as an external repository later anyways. Thing is, those prepackaged Eclipse installers set you up with the latest kit for your platform of choice so you can start coding. It would be little wonder if they added an "Eclipse for Android Developers" in the future.
Btw the latest Eclipse, which is the one you're downloading from the Eclipse website, is Eclipse Indigo. Beware that Eclipse is a huge beast, it needs lots of resources and the interface is quite a bit convoluted.
Swypesation
TLRtheory said:
Apps/Games.
Click to expand...
Click to collapse
For games I'd say Unity but its quite expensive. I torrented it for testing purposes as i know Im never gonna make anything that works.
Eclipse is good for app development providing you are good at Java
http://www.appinventor.mit.edu/
This is a good little tool to mess about with as well. Allows you to make apps within your browser
Logseman said:
Eclipse is a modular IDE, with lots of plugins to develop in many different languages. You can download any of those packages, since you'll have to download the Android ADT Plugin as an external repository later anyways. Thing is, those prepackaged Eclipse installers set you up with the latest kit for your platform of choice so you can start coding. It would be little wonder if they added an "Eclipse for Android Developers" in the future.
Btw the latest Eclipse, which is the one you're downloading from the Eclipse website, is Eclipse Indigo. Beware that Eclipse is a huge beast, it needs lots of resources and the interface is quite a bit convoluted.
Swypesation
Click to expand...
Click to collapse
"Convoluted" seems to be a good overall word to describe this whole experience.
When I can't just easily get to a programming environment, they should have a more direct option.

Please explain what porting is. I'm still confused after countless google searches.

I'm called for a job interview this Monday. They need someone to port some programs children play with on the web to Android. It's educational software that looks accessible to children.
My only experience with porting is working with Unity and going back and forth from PC to my Android phones. My problem is I don't know how porting is done exactly.
Let's say I want to port a Java program to Android. Do I have to create a layer of coding around the original Java source code and make it work with Android? Or is it just modifying the original source code to fit the new platform?
I searched multiple forums and countless google searches. I'm going insane. Please help me!
Thank you! :laugh:
Well I guess it depends. Unless you are using a cross-platform framework (e.g. Xamarin), then it would involve re-writing the code in Java.
If you already have some Java back end code (e.g. some servlet implementation), then I would just create an interface to this module and leave it as it is. No point in rewriting working code in a language that already runs on Android (unless your one of these people who can't help themselves and has to refactor everything to death).
i dont think there is much for u to do, if the games are web based, just build a laucher that links to the games, otherwise look for similar games in android version and install them as a package on all phones.
Sent from my U8150 using xda app-developers app

Categories

Resources