Re: [android-developers] Re: Help converting iPhone app to Android

2012-06-27 Thread danskr
I'm also getting this in the console but not really knowing what it means!

[2012-06-27 14:16:43 - ddmlib] An established connection was aborted by the 
software in your host machine
java.io.IOException: An established connection was aborted by the software 
in your host machine
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(Unknown Source)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.write(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
at com.android.ddmlib.Client.sendAndConsume(Client.java:575)
at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
at com.android.ddmlib.Client.requestAllocationStatus(Client.java:421)
at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:837)
at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:805)
at 
com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:765)
at 
com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:652)
at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580)


>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Help converting iPhone app to Android

2012-06-27 Thread danskr
The only problem is already having gone down the phonegap route, it's a 
little too late to learn a new system and rebuild from scratch. You live 
and learn though..

I was never expecting amazing performance, but its fairly simple app and 
its offered for free so I'm not massively concerned about the performance 
at the moment (although those links much appreciated - thanks TreKing!). 

My main concern is just getting it to work on OS 3 and over. On 2.3 it 
works, not great but acceptable for the moment. On anything higher it 
stalls at Waiting for HOME ('android.process.acore') to be launched...



On Friday, June 22, 2012 5:48:36 PM UTC+1, Kristopher Micinski wrote:
>
> On Fri, Jun 22, 2012 at 11:59 AM, Nobu Games  
> wrote: 
> > I'm pretty opinionated about that topic because I had to create these 
> fake 
> > web apps running on phones for almost a year at my old workplace. And it 
> > simply didn't really grow on me :-) 
> > 
>
> I'm just saying, it's not like it's not possible, and it's definitely 
> a route worth pursuing within the platforms.  This is the general 
> story of browsers on desktops, they were slow, they got good JITs, and 
> then they were better... 
>
> kris 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Help converting iPhone app to Android

2012-06-21 Thread danskr
I've been trying to convert an iPhone app, built with phonegap/jqtouch, to 
Android and I've hit some issues. I'm pretty ignorant about eclipse and 
java so go easy on me. I've two questions..

I got the app working in eclipse and on my htc desire s, it was a bit slow 
and unresponsive but at least it worked. Then I discovered the app wouldn't 
work on android devices (as far as I can tell, testing is a biatch) running 
OS 3 and over (the htc is 2.3). It stops working on the homepage screen by 
failing to load the tabbars. My only guess is that its somehow realtaed to 
internet connection, as on the iphone version, the tabs would only load 
when the connection was fine.  Apart from that,  I just know enough about 
eclipse/android to even know what the right questions to search for. Any 
advice on how to track down the problem?

The second question is how to improve the perfomance. - its very sluggish. 
I knew it would be bad but its worse than. I'm in the process of trying to 
minify and strip out as much as I can but are there any other suggestions 
about how to improve performance? One really annoying thing is that on 
certain transistions from one page to another, the new page loads up, then 
the old page flashes up for a second before going back to the new page - 
has anyone encountered this before?

thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en