Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Troubles with Android - About to give up

Ok, I am about to give up on Appcelerator with simple tasks developing for Android. Using Windows Vista 64bit. Simple tasks like an alert box doesn't even work on my Android simulator. Got Kitchen sink to run OK. I have tried simple things like a swipe between image views. Didn't work.
Click button alert. Didn't work.
Load alert on page enter. Didn't work. Showed up for a 1/2 second then disappeared once the window loaded.
Even tried to load it onto my Android OS2.1 phone. Errored out.
Not sure what is wrong. I sure can't afford $200 and there are no real examples of full simple code in the documents, their beginning 100 series videos or anything that show a full application simply done start to finish.
The stuff I have seen in videos are done for iPhone. All around the web are Appcelerator videos written for iPhone. Tried using the same code which seems should work. Such as a button alert but does not work on Android. Using Titanium 1.3.0, Android emulator 2.1 and tried the recommended 1.6. Of course I am using Windows and can't do iPhone. Really? I know why.
Most likely there is no hope for this one. Struggling using a PC for development when this product was obviously built for a Mac, which I use at home. Can't afford $99 dev license for Mac Dev.
Will someone please put together a series of videos for us lowly poor beginner developers trying to make it. Maybe some done on a PC so I can develop at my job.
What is the deal with the Android issues too?
Thanks

— asked May 25th 2010 by Carlos Mosqueda
  • android
  • mobile
  • windows
0 Comments

4 Answers

  • I'm sure others will jump in. But "windowing" is more involved on Android than on iPhone. It's important where you create visual items so they show up on the correct Windows (Android Activity, for heavyweight windows) Android has the concept of a task stack which does not exist on iPhone.

    Android is not at feature parity with iPhone yet, but we strive to improve that with each release.

    — answered May 25th 2010 by Don Thorp
    permalink
    0 Comments
  • Don,
    Thanks for the quick response. I finally got the simple dialog to work checking out the Kitchen sink app. This may start me off. My main issue is pulling in JSON from an external service, but I need to test on my local due to firewall issues. Can anyone point me in a direction that can show a bit of simple code. I like the stringify option built in and would like to use that.
    I guess Android plays better with views than windows based on some searching around.
    Still their are no good resources on the web for Appcelerator developing for Android. I will do what I can and share simple ones.
    Question: Do the Appcelerator video series that is paid for address Android development? Or does it lean mainly with iPhone application development. I would look into scrapping some money together to view the series but I need to know for sure that it will be valuable enough for the money, time and effort.
    Don't get me wrong. Appcelerator is one of the easier and better products out there. Especially making an all in one package for iPhone and Android and soon Blackberry. It is just the amount of work it is taking to develop for more Android stuff is becoming a pain.
    Thanks again and any help, direction of resources or suggestions are appreciated.

    — answered May 25th 2010 by Carlos Mosqueda
    permalink
    0 Comments
  • Hi,

    To answer your question about iPhone development on Windows, I'm sorry to say that this is impossible due to Apple's requirements that their XCode development tools which Titanium relies on for iPhone dev are not available for Windows.

    Basically, you can't develop native iPhone app on Windows. This is nothing to do with Titanium/Appcelerator.

    :(

    K

    — answered May 26th 2010 by Kosso
    permalink
    0 Comments
  • Hi,

    To answer your question about iPhone development on Windows, I'm sorry to say that this is impossible due to Apple's requirements that their XCode development tools which Titanium relies on for iPhone dev are not available for Windows.

    Basically, you can't develop native iPhone app on Windows. This is nothing to do with Titanium/Appcelerator.

    :(

    K

    — answered May 26th 2010 by Kosso
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.