[android-developers] Re: App closes automatically - Native code crash?

2010-07-14 Thread Genc
Hi Mark,

Thanks for interest. I've sorted it out:

The problem that I was drawing on canvas from within 2 different
threads.

I was playing around Android's FingerPaint.java SDK sample and it's
accessing canvas within onTouchEvent. However I was also using my
SurfaceView and drawing on Canvas within my animation thread.

Removing canvas access from within onTouchEvent(main app thread)
solved the problem.

Thanks again.

Kind regards.


On Jul 12, 11:41 pm, Mark Murphy mmur...@commonsware.com wrote:
 That's a low-level system crash. In theory, there's nothing you should
 be able to do to cause one.

 Please go tohttp://b.android.comand post this information there. It
 would be hugely helpful if you can attach a project that demonstrates
 the error.

 On Mon, Jul 12, 2010 at 6:37 PM, Genc gmt...@gmail.com wrote:
  I've a very simple / minimal code application. I'm drawing some lines
  on screen with my finger.

  At some point,appcloses itself / exists automatically. No exception
  is thrown.

  I'm really stuck. Any help / idea is highly appreciated!

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 AndroidAppDeveloper Books:http://commonsware.com/books

-- 
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] Re: Randomly closing app - Input Manager -

2010-07-14 Thread Genc
Hi TreKing,

Thanks for interest. I've sorted it out:

The problem that I was drawing on canvas from within 2 different
threads.

I was playing around Android's FingerPaint.java SDK sample and it's
accessing canvas within onTouchEvent. However I was also using my
SurfaceView and drawing on Canvas within my animation thread.

Removing canvas access from within onTouchEvent(main app thread)
solved the problem.

Thanks again.

Kind regards.



On Jul 8, 5:25 pm, TreKing treking...@gmail.com wrote:
 On Tue, Jul 6, 2010 at 5:40 PM, Genc gmt...@gmail.com wrote:
  Any help is appreciated.

 These are the worst issues. I would throw a ton of logging in there every
 step of the way and see how far you get before you it craps out. Then add
 more detailed logging around the point that it fails. Rinse and repeat until
 you come to some conclusion.

 -
 TreKing - Chicago transit tracking app for Android-powered 
 deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
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] App closes automatically - Native code crash?

2010-07-12 Thread Genc
Hi guys,

I've a very simple / minimal code application. I'm drawing some lines
on screen with my finger.

At some point, app closes itself / exists automatically. No exception
is thrown.

I'm really stuck. Any help / idea is highly appreciated!

Thanks in advance/


07-12 23:13:54.264: DEBUG/dalvikvm(3638): GC_EXPLICIT freed 3102
objects / 163096 bytes in 48ms
07-12 23:14:08.394: DEBUG/dalvikvm(3638): GC_EXPLICIT freed 438
objects / 22696 bytes in 99ms
07-12 23:14:09.324: DEBUG/dalvikvm(3638): GC_EXPLICIT freed 2697
objects / 142112 bytes in 73ms
07-12 23:14:15.434: INFO/DEBUG(11269): *** *** *** *** *** *** *** ***
*** *** *** *** *** *** *** ***
07-12 23:14:15.434: INFO/DEBUG(11269): Build fingerprint: 'google/
passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys'
07-12 23:14:15.434: INFO/DEBUG(11269): pid: 11450, tid: 11450  
com.mypackage.name 
07-12 23:14:15.434: INFO/DEBUG(11269): signal 11 (SIGSEGV), fault addr
a001fac5
07-12 23:14:15.434: INFO/DEBUG(11269):  r0 44992640  r1 004b  r2
41a278e8  r3 0003ae50
07-12 23:14:15.434: INFO/DEBUG(11269):  r4 44992640  r5 a001fac5  r6
015b  r7 2072
07-12 23:14:15.434: INFO/DEBUG(11269):  r8 80816fc0  r9 0004  10
  fp bebf2868
07-12 23:14:15.434: INFO/DEBUG(11269):  ip 112648cb  sp bebf2564  lr
80818c6c  pc 80844380  cpsr 2030
07-12 23:14:15.434: INFO/DEBUG(11269):  d0  643a64696f72646e  d1
6472656767756265
07-12 23:14:15.434: INFO/DEBUG(11269):  d2  0064006e0069000f  d3
0065005300770046
07-12 23:14:15.434: INFO/DEBUG(11269):  d4  0001310600012f24  d5
68876731
07-12 23:14:15.434: INFO/DEBUG(11269):  d6  4398835b4398835b  d7
410042d52ee0
07-12 23:14:15.434: INFO/DEBUG(11269):  d8  44994138439a088a  d9
0002405342d3c247
07-12 23:14:15.434: INFO/DEBUG(11269):  d10 4499413842d3c247  d11
439a088a
07-12 23:14:15.434: INFO/DEBUG(11269):  d12   d13

07-12 23:14:15.434: INFO/DEBUG(11269):  d14   d15

07-12 23:14:15.434: INFO/DEBUG(11269):  d16 449993e0  d17
4027a054
07-12 23:14:15.434: INFO/DEBUG(11269):  d18 0707070703030303  d19
f0f0f0f0f0f0f0f0
07-12 23:14:15.434: INFO/DEBUG(11269):  d20 0100010001000100  d21
0100010001000100
07-12 23:14:15.434: INFO/DEBUG(11269):  d22 f0f0f0f0f0f0f0f0  d23
f000f000f000f000
07-12 23:14:15.434: INFO/DEBUG(11269):  d24 f000f000f000f000  d25
f000f000f000f000
07-12 23:14:15.434: INFO/DEBUG(11269):  d26 0100010001000100  d27
0100010001000100
07-12 23:14:15.434: INFO/DEBUG(11269):  d28 0100010001000100  d29
0100010001000100
07-12 23:14:15.434: INFO/DEBUG(11269):  d30   d31
3fe5
07-12 23:14:15.434: INFO/DEBUG(11269):  scr 2012
07-12 23:14:15.514: INFO/DEBUG(11269):  #00  pc 00044380  /
system/lib/libdvm.so
07-12 23:14:15.514: INFO/DEBUG(11269):  #01  lr 80818c6c  /
system/lib/libdvm.so
07-12 23:14:15.514: INFO/DEBUG(11269): code around pc:
07-12 23:14:15.514: INFO/DEBUG(11269): 80844360 c064f8d0 f8dcb510
47983028 bf00bd10
07-12 23:14:15.514: INFO/DEBUG(11269): 80844370 699db5f0 0c90ea81
f00c460e 4604017f
07-12 23:14:15.514: INFO/DEBUG(11269): 80844380 b0856828 19c5010f
f8d559c1 42a1c00c
07-12 23:14:15.514: INFO/DEBUG(11269): 80844390 6869d10e d10b42b1
0f01f01c d10268af
07-12 23:14:15.514: INFO/DEBUG(11269): 808443a0 458468e8 4620d013
eb54f7dd e00e4607
07-12 23:14:15.514: INFO/DEBUG(11269): code around lr:
07-12 23:14:15.514: INFO/DEBUG(11269): 80818c4c e5054008 e7950102
e5963014 e350
07-12 23:14:15.514: INFO/DEBUG(11269): 80818c5c e5962010 0a000cc1
e590 fa00adc0
07-12 23:14:15.514: INFO/DEBUG(11269): 80818c6c e350 0a000c64
ea000bef e320f000
07-12 23:14:15.514: INFO/DEBUG(11269): 80818c7c e320f000 eb000cbe
e320f000 e320f000
07-12 23:14:15.514: INFO/DEBUG(11269): 80818c8c e320f000 e320f000
e320f000 e320f000
07-12 23:14:15.514: INFO/DEBUG(11269): stack:
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2524  0001
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2528  0007
07-12 23:14:15.514: INFO/DEBUG(11269): bebf252c  4186be10
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2530  80816fc0  /system/
lib/libdvm.so
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2534  8084e5cb  /system/
lib/libdvm.so
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2538  ccc8  [heap]
07-12 23:14:15.514: INFO/DEBUG(11269): bebf253c  418a76ec  /dev/
ashmem/dalvik-LinearAlloc (deleted)
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2540  
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2544  afd10280  /system/
lib/libc.so
07-12 23:14:15.514: INFO/DEBUG(11269): bebf2548  0001
07-12 23:14:15.514: INFO/DEBUG(11269): bebf254c  4186be24
07-12 23:14:15.524: INFO/DEBUG(11269): bebf2550  bebf25c0  [stack]
07-12 23:14:15.524: INFO/DEBUG(11269): bebf2554  131e
07-12 23:14:15.524: INFO/DEBUG(11269): bebf2558  df002777
07-12 23:14:15.524: INFO/DEBUG(11269): bebf255c  e3a070ad
07-12 23:14:15.524: INFO/DEBUG(11269): bebf2560  

[android-developers] Randomly closing app - Input Manager -

2010-07-06 Thread Genc

Hi all,

I've a very simple app, similar to fingerpaint application. I'm
drawing some lines on the screen with my finger.

My problem is that, app closes itself randomly, taking me back to
Android home screen.

Only log I can see on LogCat is that line:

(Warning) Tag: InputManagerService: Got RemoteException sending
setActive(false) notification to pid 4962 uid 10077.

No exception is thrown.

I've tried compiling project against Android 2.0, 2.1 and 2.2...

I've tried disabling debuggable attribute in manifest.

I'm having this problem on both Nexus One and 2.2 Emulator.

Any help is appreciated.

Thanks in advance.

-- 
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] Randomly closing app - InputManagerService: Got RemoteException sending setActive(false) notification

2010-07-06 Thread Genc
Hi all,

I've a very simple app, similar to fingerpaint application. I'm
drawing some lines on the screen with my finger.

My problem is that, app closes itself randomly, taking me back to
Android home screen.

Only log I can see on LogCat is that line:

(Warning) Tag: InputManagerService: Got RemoteException sending
setActive(false) notification to pid 4962 uid 10077.

No exception is thrown.

I've tried compiling project against Android 2.0, 2.1 and 2.2...

I've tried disabling debuggable attribute in manifest.

I'm having this problem on both Nexus One and 2.2 Emulator.

Any help is appreciated.

Thanks in advance.

-- 
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] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread Genc
Got it!

UK, London!

On Apr 29, 9:18 am, Lim Sim lim@gmail.com wrote:
 OK.  Now you've got me excited.  I'm in UK too!  haha.

 On 29 April 2010 09:14, mscwd01 mscw...@gmail.com wrote:



  Yes! Thanks Google.

  My Nexus One arrived via FedEx today. I live in the UK and it was
  shipped via Brightpoint Netherlands.

  Thanks again!

  On Apr 29, 9:07 am, cannehal tomasz.l...@gmail.com wrote:
   Here is link to map. You can add your location (not exact of course)
   there when you receive your phone.

  http://maps.google.com/maps/ms?ie=UTFmsa=0msid=
   109593402120975111968.0004855b7d8eefa5f649b

   On Apr 29, 10:02 am, ratson materem...@gmail.com wrote:

WOW i just got confirmation from local FedEx, my N1 will arrive today
or by latest tomorrow :)
i have called them and told the destination address, so they could
tell me the tracking number.
thank you google ;)

On ápr. 29, 09:40, ratson materem...@gmail.com wrote:

 I think this is the time when you shall really post to this forum if
 you have received your N1. :) someone has the time to create a gmaps
 mashup? :)
 patiently waiting for mine in Hungary

 On ápr. 29, 09:35, Benjamin Rosseaux benja...@rosseaux.com wrote:

  How long have you waited for it?

  On 29 Apr., 09:03, Kevin Gaudin kevin.gau...@gmail.com wrote:

   Nexus One received in France ! No FroYo but a french power
  adapter :)

   Sent by Brightpoint from netherland via France Express.

   THANK YOU GOOGLE 

   On 29 avr, 07:36, Jompe71 jonas.ahnl...@bostream.nu wrote:

-The only way to get a free phone from Apple is to go and get
  a drink
with Gray
Powell.

Hmmm, last time I checked Apple didn't promise one either!

What Google is up to with this seeding joke (which obviously is
nothing) it's ignorance, pure and simple.
Fake promises are far more worse than no promises. I'm off to
  IPhone!

On 28 Apr, 09:37, amiuhle timouhlm...@googlemail.com wrote:

 On 27 Apr., 22:25, Olivier Bonal olivier.bo...@gmail.com
  wrote:

  The only way to get a free phone from Apple is to go and
  get a drink with Gray
  Powell.

 Haha, great one!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group athttp://
  groups.google.com/group/android-developers?hl=en

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group athttp://
  groups.google.com/group/android-developers?hl=en

   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
   For more options, visit this group athttp://
  groups.google.com/group/android-developers?hl=en

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group athttp://
  groups.google.com/group/android-developers?hl=en

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group athttp://
  groups.google.com/group/android-developers?hl=en

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group athttp://
 

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-11 Thread Genc
Nothing for London, Grrr...

On Apr 10, 10:43 am, Thomas Riley tomrile...@googlemail.com wrote:
 Still nothing for me in UK either.

 From what Google have said via email, it's likely to be a few more
 weeks. Worth the wait though ;)

 On Apr 10, 9:28 am, dgoemans dgoem...@gmail.com wrote:

  Still no-one in Europe? Myself and another dev i know in the
  Netherlands have not got ours yet.

  On Apr 8, 11:57 pm, olivier.bo...@gmail.com

  olivier.bo...@gmail.com wrote:
   Sorry, I meant in Europe, no phone seems to have been received outside
   the US yet except for ADC2 phones (and yes I think I've read the 600+
   messages in hope to find one :-)).
   I think us European will have to wait a couple of weeks more but it's
   ok, it's a free phone, it's a gift, it could arrive in a few month
   time and still be a great surprise and a nice touch from Google!

   On Apr 8, 11:37 pm, ~ TreKing treking...@gmail.com wrote:

On Thu, Apr 8, 2010 at 3:52 PM, olivier.bo...@gmail.com 

olivier.bo...@gmail.com wrote:
 I'm still surprised about Google's comment that many people have 
 already
 received their phone (for Market Seeding Program). If this is true, 
 none of
 them is reading this thread I guess.

If you trudge through the 600+ posts in this thread, you will find that 
many
of them are people posting Got [X Phone] in [Y Location].

Also, those that got their phones are probably busy playing with /
developing on them and have long since lost interest in this thread.

---
 --
TreKing - Chicago transit tracking app for Android-powered 
deviceshttp://sites.google.com/site/rezmobileapps/treking

--
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 
athttp://groups.google.com/group/android-developers?hl=en

   --
   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 
   athttp://groups.google.com/group/android-developers?hl=en

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Genc
Wow. I'm glad it's not fake. I filled the form in a sec and submit :)

Actually I was hoping something like that from the day that I missed
Andriod event in London where all my friends got a free N1.

Anyway, Google loves me, I love Google too :)

On Mar 3, 12:55 pm, samspade79 samspad...@gmail.com wrote:
 you know, some people want the Droid, some people the Nexus.
 We should do a swapsie if you get the one you don't want. Personally I
 want the Droid as I love to have a keyboard.

 On Mar 2, 10:22 pm, Evil Mushroom Lord evilmushrooml...@gmail.com
 wrote:

  I would greatly prefer the Nexus One rather than the Droid... I have
  both a tmobile sim and an att sim I don't have any Verizon access
  at the moment. I'd drop my att iphone in an instant for the Nexus
  One. :) Please, oh great and powerful Google people. ;)

  On Mar 2, 7:14 pm, mscwd01 mscw...@gmail.com wrote:

   I wish I wasn't so pessimistic! I think i'll just submit my details as
   I cant see the form asking for anything too sensitive details wise.

   On Mar 3, 1:09 am, Rob Franz rob.fr...@gmail.com wrote:

Ok great. Now that we have this settled -

Can I please have a Nexus One?  I don't have Verizon - I have T-Mobile.
 That is all.

Thanks,
Rob

On Wed, Mar 3, 2010 at 12:06 PM, Mark Murphy 
mmur...@commonsware.comwrote:

 Thomas Riley wrote:
  Everyone! You can trust Roman!

 Agreed -- I've met him. He's a real live Googler! Or else he's one 
 hella
 convincing hologram!

 :-)

  Although, the one and only commonsguy
  is the icing on the cake!

 That would be one icky cake, IMHO...

 --
 Mark Murphy (a Commons Guy)
http://commonsware.com|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 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.comandroid-developers%2Bunsubs
  cr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



-- 
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] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Genc
eMail says with one or more of your applications having a 3.5.

Which sounds like it's per account, as expected.

On Mar 3, 1:29 pm, jeka jro...@gmail.com wrote:
 There are several of us creating apps for the market; as a result we
 have multiple apps that satisfy the criteria. Can we register each app
 separately? Are we eligible for a phone per app or is it a phone per
 account?

 On Mar 2, 7:46 pm, Roman Nurik romannu...@google.com wrote:

  Folks, the email is NOT a fake. We will look into the email issues.

  Roman Nurik
  Android Developer Relations, Google

  NOTE: please do not send me email directly about this.

  On Mar 2, 4:43 pm, Mark Anacker closecr...@gmail.com wrote:

   Well, if nothing else, Google should now be on the lookout for
   potential fraudulent activity involving developer account and order
   numbers.  Especially originating out of China :-)  Although it would
   be nice to think that they would have someone in a Security role who
   could jump on this sort of thing, and provide some official
   information.  But their warehouses full of geniuses are probably much
   too busy for such trivial matters... :-)



-- 
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] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Genc
Come on guys, what else do you need to believe? Google guys have
already confirmed it?!

On Mar 3, 4:35 pm, cannehal tomasz.l...@gmail.com wrote:
 I've signed too. I am little non believer but I have high hopes :)
 Right now we have to wait for more information from Google in my
 opinion.

 On Mar 3, 5:27 pm, Thomas Riley tomrile...@googlemail.com wrote:

  I think someone on the developer relations team needs to fire off a
  blog post to clear things up! To many people still think its fake!

  On Mar 3, 4:11 pm, Mark Murphy mmur...@commonsware.com wrote:

   roland wrote:
Hi, i followed romain's twitter, and i never see anything about this.

   He probably meant Reto Meier, another Googler:

  http://twitter.com/retomeier/status/9916190311http://twitter.com/reto...

   --
   Mark Murphy (a Commons 
   Guy)http://commonsware.com|http://twitter.com/commonsguy

   _Beginning Android_ from Apress Now Available!



-- 
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] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Genc

I desperately need this device since I'm at the final (testing) stage
of my project and emulators are far away being useful. I was just
planning to buy an N1 before I got the email.

Now, does anyone has an idea, when can we get our phones?

Google guys, could you please give us a time interval at least, so
that we can plan our work.

Thanks.

On Mar 3, 9:54 pm, JasonC jcohe...@gmail.com wrote:
 Keep in mind id your a US developer it may not be a Nexus, it may be a
 Droid.

 I have not recieved any sort of confirmation from google other then
 what the android team has stated here on the forum. I am 100% positive
 this is legit, as I made a phone call to a friend at google, and
 reported the website to google as suspicious and got an email back
 that it is an official google website.

 This is legit, so dont worry.

 As for not getting the email not every developer with a 5000/3.5 got
 one. It was only a select few.

 I have 7 apps right now that meet the criteria. i am sure developers
 with multiple apps were the first chosen as we have been working with
 it since gen1

 On Mar 3, 6:17 am, Linus linus.karnl...@gmail.com wrote:

  Has anyone who registered received some kind of confirmation or
  further info from Google? Would be nice to know when and how the Nexus
  will arrive :)
  I guess it might take a while if they are plowing through all requests
  manually.

-- 
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] Scrolling large image - working good but slow

2009-11-12 Thread Genc
Hi all,

For a project, I'm displaying an image with sizes 800 x 600 and I've
implemented my custom scrolling (horizontal and vertical) - which is
works fine. However, my problem is that it's not fast enough. If you
continuously move your finger on screen for instance, scrolling is not
responding fast enough. There is a lag and you need to wait (say
400-500ms) for new scrolled image to be loaded.

Now below I described how I implemented scrolling and my question is
that

- How can I make it faster, if possible
- Is there any other better way to implement this.

Thanks in advance!!



My custom scrolling solution:

* I have a Main activity, SurfaceView and a thread
* In main activity, I'm using GestureDetector and override onScroll
method.
* In onScroll method of activity, I'm passing values to SurfaceView's
handleScrolling method.
* In handleScrolling method, I'm calculating proper values and using
newImage = Bitmap.createBitmap(myImage, starX, stopY, SCREEN_WIDTH,
SCREEN_HEIGHT); to create a new, scrolled image.

* Then in thread loop, I'm drawing this newImage to canvas.

Hope this much info helps.

-- 
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] Re: Scrolling large image - working good but slow

2009-11-12 Thread Genc
Hi Scott.

Thanks for great tips.

I've changed my code and not using Gestures any more, just onTouch
method and handling ACTION_MOVE motion.

It's good up to this point.

However, can you give a little sample code about blting a bitmap to
surface? How can I do this?

Thanks

On Nov 12, 8:18 pm, SoftwareForMe.com SoftwareForMe.com
softwareforme@gmail.com wrote:
 * Skip the gesture detector, just handle the touch events yourself
 * Do not create a new bitmap. Load it once and blt from it to the surface
 * Background thread should wait on some object to be notified by UI thread
 when new x/y scroll is available, then draw

 We use this approach in PhoneMyPC and have very responsive scrolling of
 quite large images.

 Scott
 SoftwareForMe.com



 On Thu, Nov 12, 2009 at 7:58 AM, Genc gmt...@gmail.com wrote:
  Hi all,

  For a project, I'm displaying an image with sizes 800 x 600 and I've
  implemented my custom scrolling (horizontal and vertical) - which is
  works fine. However, my problem is that it's not fast enough. If you
  continuously move your finger on screen for instance, scrolling is not
  responding fast enough. There is a lag and you need to wait (say
  400-500ms) for new scrolled image to be loaded.

  Now below I described how I implemented scrolling and my question is
  that

  - How can I make it faster, if possible
  - Is there any other better way to implement this.

  Thanks in advance!!

  

  My custom scrolling solution:

  * I have a Main activity, SurfaceView and a thread
  * In main activity, I'm using GestureDetector and override onScroll
  method.
  * In onScroll method of activity, I'm passing values to SurfaceView's
  handleScrolling method.
  * In handleScrolling method, I'm calculating proper values and using
  newImage = Bitmap.createBitmap(myImage, starX, stopY, SCREEN_WIDTH,
  SCREEN_HEIGHT); to create a new, scrolled image.

  * Then in thread loop, I'm drawing this newImage to canvas.

  Hope this much info helps.

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Warm regards,
 The PhoneMyPC Team

-- 
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] Re: OpenGL garbage collection (with direct ByteBuffers)

2009-06-09 Thread Genc

Hi Guys,

This issue is what I'm suffering a lot.

A simple  basic question: Is that change 9029 shipped with Android
SDK 1.5? Should I install SDK 1.5 to benefit changes?



On May 20, 11:51 pm, fadden fad...@android.com wrote:
 On May 20, 3:32 pm, Urs Grob grob@gmail.com wrote:

  I think this problem is already being worked on.

 https://review.source.android.com/8771

 It was checked in under a 
 differentchange:https://review.source.android.com/Gerrit#change,9029
--~--~-~--~~~---~--~~
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] Re: Sprite imaging for 2D game programming

2009-05-18 Thread Genc

That's great guys, thanks a lot!

On May 18, 9:09 am, MrChaz mrchazmob...@googlemail.com wrote:
 Take a look at the Canvas method drawBitmap()

 http://developer.android.com/reference/android/graphics/Canvas.html#d...)

 with that one you can specify the bitmap (the sprite sheet), the
 subset of the bitmap you want to display (the current frame) and the
 destination on the screen.

 To make it animate you'll want to keep track of the amount of time
 you've displayed the current frame, you can do this by updating a
 counter by the amount of time that passes between each update call
 e.g. when you update model position etc.  When it exceeds whatever
 you've decided to be your frame-rate you change the current frame and
 reset the timer.

 I'll see if I can make some of my code a little more readable and post
 it up later if you're still stuck.
 On May 17, 4:23 pm, g1port.com gmt...@gmail.com wrote:

          Hi guys,

          For a 2D game programming, I'm trying to learn about loading
  an image file for all states of a game character (simply a walking
  soldier lets say) and simply animate it. I think this classic method
  is called as sprite imaging that you load whole image of all states of
  the character that you want to animate.

  Is there anyone that can provide some sample code about this or at
  least can you tell me which classes to use, how to refer some 'part
  of' whole image file and animate it etc.

          Your help is much appreciated.

          Thanks a lot.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---