[Q] iphone android - HTC Wings

I'm totally new in developing for smartphones. Today i have just read that iphone apps are written in apple own objective C and androids programming language is much easier, much compared to java stuff and i've also seen xml like examples. i known in web php and so on, java also and fundamental c. in some articles i've found about actionScript solutions which could be cross compilied for all kinds of smart phones. My question: Is it better to programm a app twice, one version for the iphone the other for android based mobiles or is their a better solution to programm one version which could be used on all os'? The most of the articles belong to 2010 or 2009. I just want to know if their is perhaps a good java solution now in 2011. everything i read about java and cross compile for iphone is even come along with problems and istore support, integration.
don't worry, some words are misspelled, i'm not native speaker.
Thanks for a short actual dev situation sum

Related

iphone emulator persay...?

Everywhere you look is special applications designed for the iphone. Well...I personally don't have one and I think I should be allowed the same privilege to use said applications.
So what I'm wondering is how do applications run on the iphone? Is it a special kernel?
And if so, would it be possible to incorporate a sort of emulator of the iphone on our mobiles to run these iphone specific applications?
Cat Eye said:
I personally don't have one and I think I should be allowed the same privilege to use said applications.
Click to expand...
Click to collapse
WTF? As you said, they're iphone apps, that are made to run on the iphone... If you want to run them, buy one. Or find equivalents for WM.
The iphone is a completely different hardware and software platform than a PocketPC.
kilrah said:
WTF? As you said, they're iphone apps, that are made to run on the iphone... If you want to run them, buy one. Or find equivalents for WM.
Click to expand...
Click to collapse
Whoa, cool your jets and get over this WM/iPhone rivalry.
Check this out CatEye: http://microsoftwow.spaces.live.com/Blog/cns!28962096F48747EA!212.entry
I don't know anything about other than seeing the web page. Let us know if you have some luck.
Thanks for the responces. I've seen the whole launcher before but that's not what I'm refering to.
When you go to a site (meebo or Facebook) they have iphone specfic applications. What makes it so those work on the iphone plateform?
I tried to get one of these applications but it tries to take me to the apple store and I don't have itunes so it stops me there.
lol....WM is wayyyy better than the iPhone! (well in my opinion).
XD but i wish WM had multi touch! Can't wait till WM7 or 8 come out! (rumours say that they will have software enabled multitouch!) :O
Don't think it's gonna happen...
AFAIK, there is nothing that will allow you to run iphone programs on wm, and there is probably about a snowball's chance in hell of that ever happening. Iphone is definitely a different kernel, in fact, it is an entirely different operating system, and to make matters worse, it's closed source too. I would just try to find the equivalent applications for windows mobile. For some reason, despite the fact that there are much more users of wm, many websites are obsessed with being supported by the iphone. It's a sad reality, but unfortunately, this is how it is.
Dave
Cat Eye said:
When you go to a site (meebo or Facebook) they have iphone specfic applications. What makes it so those work on the iphone plateform?
Click to expand...
Click to collapse
Programmers develop a specific version of their website, or stand-alone programs especially for the iphone in addition to the "normal" product. They could do the same for WM - but now the hype is about the iphone, so that's where developers are investing.
That's 100% marketing and fashion. Apple have managed to create such a hype over their iphone that it has simultaneously pushed developers to develop content specifically for it as they would be assured to reach a large audience with it, and people to get one so they could gain access to the said content and goodies - and it worked way too well. The Iphone is the current trend and everybody must make something for it to be "in the move", while people must have one to be in the move (most of the people I know who have bought iphones did it because it's the current "must-have" item, not because of it's capabilities, and they don't use them...)
WM has been around for more than a decade more or less "unnoticed", so there's not the same incentive for people to make stuff for it.
The Iphone triggered a huge workforce, so many people developing stuff for it in such a short time, that maybe in a few months there have been as many programs developed for it than for WM in the last 10 years... and the appstore gathers them all in one easy to search place as opposed of the large scatter of WM stuff everywhere... makes it so easy that it's attractive.
So in summary - it made such a hype that everybody in the general public is gathering around that thing and forgetting the rest.
kilrah said:
WTF? As you said, they're iphone apps, that are made to run on the iphone... If you want to run them, buy one. Or find equivalents for WM.
The iphone is a completely different hardware and software platform than a PocketPC.
Click to expand...
Click to collapse
I second this motion!
What I'm aiming for is sort of a cross-platform. Like how Linux can be run with Windows now. Trying to knock down some of the propiatory software apple has been getting developed. If they can't keep thier software specific to the iphone, then what would be the reason to get one? Something that can play music and go online?
Just something to throw out there.
I think part of the problem is all you need is a mac and you can start coding an application, there's nothing else to buy. On the WM side, while you can download the SDK for free, you have to spend another chunk of money to buy visual studio, which sorry to say, does require a bit of knowledge to code with.
I have a mac, and had an iphone for a little while, and was able to design an application fairly easily.
If MS would create development tools easier to use and free/cheap, I think we would see more applications. The other tough part is, the windows mobile phones out there are more varied. Different form factors, keyboards, touch screens, resolutions, gps, and now accelerometers. At the moment there are 2 different iphones, but they run the same version, same resolution, same hardware buttons, the other differences are already exposed in the SDK so if you want to code and app that uses the 3G connection or GPS it's pretty easy to do so.
If any WM dev guys have some good ideas on free coding let's get going.
iphones run macosx like macs thats a gui on top of a bsd unix based kernel
iphone apps are written in objectC and use cocoa which is a bit like .net
any cpu can emulate any other if it have access to enough memory
mind you it will not be in realtime but much much slower
not to mention that it could take man years to develop the emulator
and prob give a lawsuit or 2 from apple
Rudegar said:
not to mention that it could take man years to develop the emulator
and prob give a lawsuit or 2 from apple
Click to expand...
Click to collapse
Funny how Apple came out with Bootcamp within seconds of announcing they were switching to Intel processors , but let one person come up with an OSX emulator and the lawsuits fly.
P. S. The Kaiser is pushing two years old, it is still amazing to me that we are still having these " how do I make my Kaiser look and act like an iPhone. " discussions
P.P.S. What are you when you reach 10,000 posts ? A Super Senior Member ?
Given a Gold Watch and put out to pasture ?
I know , your wife serves you with divorce papers and names That #@$*ing phone as the reason.

App development

Arrrightt,
so i want to start cooking some apps and will be doing my own testing...unless there are daring enough people to try. Before i send it out i'll be sure to break it in on my own before i send out some defective thing
Anyways i have a few questions before i get started, is there a tutorial on here or somewhere on how to write apps or is there a way to re-write an existing app (for another os) to work on the android os
Cheers
There are a number of places you can start:
1) The Android SDK website has some simple tutorials http://developer.android.com/guide/index.html
2) Anddev.org http://www.anddev.org/ has tutorials of various nature.
3) In the dead tree world there are a couple of books I would recommend:
- "Hello, Android" by Ed Burnette: A good starters book but a little light on content in my opinion.
- "Professional Android Application Development" by Reto Meier: A more substantive book. If you like the Wrox programmer to programmer series of books (which I do) you will like this one. Still not as thorough as I would like but a good book.
- "The Busy Coder's Guide to Android Development" by Mark L. Murphy: I have not gone too far into this book yet so can't comment on it much. I think this will be my favorite of the three over time. It is a better book if you like to read a chapter to learn a fundamental concept. My gut feeling is it will be a better reference book as well.
4) The android developers blog is a nice place to read for tips on optimizations and such: http://android-developers.blogspot.com/
Beyond that study the javadocs and samples that are out on the web.
As far as porting an existing application to android goes it depends a great deal on what language the original was written in and how UI dependent it is. If the original application was not written in Java I would not recommend trying to port it unless you are intimately familiar with the original project. If the original project was written in Java then port for non-ui elements is generally straight forwad. Keep in mind however that the UI will need to be rewritten from scratch and further the limited screen real estate and memory will need to be taken into account. Writing an app for an embedded environment (whether Android, Symbian, Windows Mobile, or something else) has different priorities, first and foremost is optimizing for limited CPU. Where a traditional interface coupled app with loose control over object creation and destruction works fine on the desktop it does not do so well on an embedded platform.
That is all I have at the moment. Hopefully that will give you some avenues to explore and good luck!
yea i am reading through hello, android at the moment and i like it so far. ive never touched android before, and i know a little java, and the explanations seem pretty good to me.
eclipse doesnt run properly on windows vista 64 bit
im seriously crying i get errors trying to get it to work
insanemonkey said:
eclipse doesnt run properly on windows vista 64 bit
im seriously crying i get errors trying to get it to work
Click to expand...
Click to collapse
I am not a windows guy and but you might try this:
http://www.eclipse.org/eclipse/development/readme_eclipse_3.4.1.html#I-General-64bitJava
really this is off topic for this thread though. (If you want help P.M. me or start a new thread with the error message and I can take a look.)

app question

is it possible to port iphone apps over to android?
Depends on what you mean by port. If you mean "completely rewrite to operate in a similar fashion" then in most cases yes. If you mean take the iPhone app and run it through some kind of magickal program that converts it into a functional apk... no.
yes by port i mean completely rewrite the the code to allow a program to run in a similar fashion. is that hard to do?
ninjavampire said:
yes by port i mean completely rewrite the the code to allow a program to run in a similar fashion. is that hard to do?
Click to expand...
Click to collapse
"Hard" is a pretty subjective word.
iPhone apps are written in Objective C with the Cocoa framework. Android is written in Java with subsets of the Java framework libraries and specialized Android frameworks. While they're not completely disparate, they are still distinct languages. The ease of moving from one language and development framework to another depends on the experience and capability of the programmer and the complexity of the codebase (e.g. it will probably be easier to port a tic-tac-toe puzzle than a rpg). Also, the more generically and modularly a codebase is written, the easier it will be to move to a different platform. Some applications are the sort that need to be supported long term (mail clients, social networking apps, etc.) These will generally tend to be written with a mind for long term maintainability and thus be written more cleanly and modularly. Otoh, apps like games and single-purpose apps tend to not be written with long term maintenance in mind. They may be written more sloppily and thus be more difficult to port without a complete ground up rewrite.
In the end though, for most development studios with real paid programmers, it's not a matter of difficulty (most modern programmers have atleast some Java knowledge) but a matter of business. In short, business development staff will calculate how much potential profit there is to be had from various options for a potential future project and typically pick that which is the most profitable. For multiplatform developers, generally that means creating cheap one-off iphone apps. Some of the most profitable apps are really simplistic things like fart apps or really simple games.
ok thank you for your help i understand it a lot clearer now. really wish i knew more than just basic javascript...
ninjavampire said:
ok thank you for your help i understand it a lot clearer now. really wish i knew more than just basic javascript...
Click to expand...
Click to collapse
It's never too early or too late to start learning a new language, if you have the will and time. There are plenty of self-teach Java guides online.
Edit: I meant a programming language, ofc, but I just realized that that also applies to human languages as well.

Coding/ programming Android

This really should be in the Dev section, but for fear of the thread getting trashed, I put it in Q & A. If this question has been posted, don't flame me...just point me to the link.
Simply, I want to learn to code in Linux. I now know next to nothing. I have learned most of the shell commands and such, but where do I go from here.
What language is Android in (Java, I presume. But isC++ useful)? I can find tutorials and I am intelligent, so I should be able to learn some on my own. Where do I start?
I have found several interactive tutorials:
1. Learning to program in C++
2. Learning to program in Java
Which one to pursue? I don't want to be Cyanogen or anything, but can't stand to be left out of the loop.
Will
Android apps are built in java. Start here for the SDK and plenty of useful info to get you going:
http://developer.android.com/index.html
Developer.android.com is a good place to start.. its modified form of java called dalvik, but java none the less. C is good for terminal apps, and Im pretty sure you can include some c in apps now too
the language is the least thing you should worry about though. Pick up a book on programming for dummies (i mean it, not trying to be mean or anything) or something that teaches you the basics of programming. There are several conventional approaches that we use to program. You can dive head first into Java, or C++, etc, but if you don't yet understand program flow (sequential, looping, or branching) or about data types and structures, objects, etc, you'll still be at a loss. Programming is a very general concept and once you get the hang of it, then you can pick whichever language is the best tool for what you'll be doing (in this case, google's android implementation of java).
Also pick up some HTML and javascript, both combined will make it a lot easier to understand XML once you get to it, and for some of the shell scripting associated with putting out roms, give using any linux distro as your real main OS a try for a few months. It's frustrating at first, but you'll learn so much trying to learn how to use it.
Jubeh,
Exactly the answer I was looking for. While thankful to the other posters, I think they understood me as having some knowledge (I tried to dive right into the SDK and it made about as much sense as Hebrew).
I am downloading a book called C++ for dummies and another by O'reily.
Let's see where this leads....I hope it is something that if I am dedicated enough can be learned outside a classroom.
Thanks all....
----
Removed:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
jubeh said:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
Click to expand...
Click to collapse
How is it a ware? Ebook...
Removed link anyway.
Thanks for asking this question pinetreehater. I've searched for the answer and not really found what I was looking for. I wanted to ask this myself but, as you stated, I didn't want to get noob-bashed.
I have some programming knowledge. I took some of the older langauges in highschool *mid 80's* (basic (of course), cobol, and assembler). And was quite good at it. IMHO. But I didn't really follow it after that and have basically forgot all of it.
I have a question.
Once I've got the books. How do I practice using them on my pc?

Top Trending Programming Languages in 2019

I bet every software development company, as well as freelance programmer, wants to keep up with the most emerging and trendy programming tools. The software programming and developing community is growing at a faster rate than ever before. Various new programming languages which are rising up are suitable for different groups of developers (beginners, intermediate, and experts) as well as for divergent use cases (mobile applications, game development, web application, distributed system, etc).
The question is, what are the best programming languages to adapt to your business in 2019?
Actually, every project requires different codebase and programming language. So it’s crucial for a software development company to always catch up with new trends and apply a wide range of the latest technologies in order to respond effectively to customers’ requirements.
With the sharing below, I aim to give you a good look at the best programming languages that will dominate IT market in 2019. And from there, figuring out which ones are fit for your business model or can be used in your software projects.
#1. Java
Being born over 20 years ago, after decades of growing and improving, now Java may be the most popular and prolong programming language worldwide. Java is mostly used for building enterprise-scale web applications because of its extreme stability. Many big enterprises have adopted it to their back-end systems.
Furthermore, Java is also broadly used in Android App Development. Owing to the fact that there are billions of Android users nowadays, an Android version is essential for any mobile app. Obviously, this results in the never-out-of-date importance of such a clever and convenient programming language like Java. For the most lively example, Google has created a brilliant Java-based Android development framework – Android Studio.
According to a survey by StackOverflow, Java ranked as the most favored programming language for six years in a row.
#2. JavaScript
Accompanied with Java, JavaScript is the “service-side” or “frontend” programming language. JavaScript is also a very popular language and widely applied to develop interactive front-end web applications and design animating websites. For instance, when you click on a button which opens up a popup, the hidden logic is implemented via JavaScript.
The best turn up of this language (also the main reason why I believe it will continue to grow) is its flexibility. You can use it to manipulate HTML and CSS, moreover, it is supported by every browser, which provides a great experience across browsers and makes it the ideal language for clients to use.
These days, a lot of IT companies, particularly startups, are using NodeJS, React, React Native which are JavaScript-based web development frameworks. JavaScript is everywhere and will likely remain one of the most popular programming languages in at least the next few years.
#3. Golang
Golang, also known as Go, is a new and easy-maintained programming language built by Google. Go perform excellent support in multithreading and so, it is being adopted by many enterprises that rely heavily on distributed systems. By the way, Golang is not really a friendly language for all system sizes, it’s more suitable for large-scale ones.
Between its ability of high-performance and multithreading, I have to mention again, Go is actually designed and developed by Google believe it or not, which is a really cool fact about the language. Golang was referenced as the “programming language of the year” in a ZDNet article written in 2017. And as everyone knows how big the “Google brand” is in the IT market, I think you can guess the continuously fast growing speed of this sub-brand programming language.
#4. C/C++
Saying in a metaphorical way, C/C++ is the bread and butter of programming. Almost every low-level system such as file systems, operating systems, etc. are written in C/C++.
Besides, C++ is also often used by most programmers due to the fact that it is extremely fast and stable. It provides something called STL – Standard Template Library. STL is a pool of ready-to-use libraries for a wide range of data structures, algorithms and arithmetic operations. This library support and speed up the language, make it a trustful choice in the high-frequency trading community as well.
#5. Swift
Swift is the primary programming language that is used to build iOS applications. It’s was first invented in 2014 and started to grow well in recent years, despite the short time it has to catch up with enormous competitors. Can’t deny the fact that now iOS-based devices are the most popular tech devices in the world. Apple iPhone, for instance, has made up a considerable market share and is always giving a tough competition to Android.
Not only is Swift speedy, but it’s also efficient. According to developers who are using the language, it’s quite easy to read and write compares to other mobile languages. Overall, it’s probably the best available language for mobile development. So there’s no doubt for a pretty bright future of Swift, and maybe much more.
#6. Python
Python is becoming more and more popular. It is known as a “general purpose” language. One of the great things about Python is, you don’t have to be a CS expert to code in it. It’s a perfect choice for beginners. You can pick Python for building almost anything. For examples:
Game Development
IOT
Machine Learning
Software Development
Web Development
Because of the flexibility and convenience of Python, I’m not surprised that this language is adopted by many IT businesses. It works great for almost any industry. In fact, Python was ranked as the most “wanted” language of 2018 according to the results of StackOverflow developer survey. If you don’t want to work solely with Python in the long run, it’s still a worth learning fundamental language. Personally, I don’t just believe that Python is one of the best programming languages in 2019, but the language of the whole near future.
Summary
JavaScript and Python are hot in the startup world. Most of them use NodeJS (JavaScript), Django (Python), and Flask (Python) as their backend frameworks. Python and JavaScript are kinda easy to learn, therefore they’re considered as the best programming languages to learn for beginners.
Java is famous in corporate companies. Many organizations use Spring (Java) as their web backend framework.
C/C++ and Golang are the top choices for developing low-latency and scalable systems.
Thanks? 0.o
Soo Java is still a trending programming language...Weird
I believe its Python

Categories

Resources