[android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland
I'm testing my first In App Billing code. I've tested using the static 
response skus and everything is working properly. So, I want to test with 
my real product skus.

I uploaded a new version of my app with the Billing permission, but didn't 
publish it.
I added a test account to my list of test accounts in the Google Play Dev 
Console. 
I reset my tablet and set it up again using that test account.

When I tried my first test purchase, it required that I enter Credit Card 
details. I was worried that it would actually charge my card, which is 
obviously not good when going through a development cycle because you have 
to run many tests. I asked on StackOverflow and was told that it either a) 
wouldn't charge me or b) I'd be able to refund the money.

Well, I was charged and when I tried to refund the purchase in my merchant 
account, it told me it would cancel the order but it wouldn't refund any of 
the money. So, that sucks.

How can I run test purchases with my real skus without getting constantly 
charged on my credit card?

Kenny

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Nikolay Elenkov
On Wed, Mar 27, 2013 at 3:07 PM, Kenny Wyland speci...@gmail.com wrote:


 Well, I was charged and when I tried to refund the purchase in my merchant
 account, it told me it would cancel the order but it wouldn't refund any of
 the money. So, that sucks.


If you cancel the card is not charged at all. You can only refund
after it has been
charged. Charging takes at least a couple of hours, so if you cancel
before that
there is no credit card transaction. The only problem is that if you do this
too often, your test account may be blocked temporarily and return some weird
status ('you are not allowed to purchase' or some such).

HTH

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] null pointer on setOnInfoWindowClickListener

2013-03-27 Thread Pratama Nur Wijaya
Hi,,, 

I got some error when i am running Google maps api v2..

i have tested my application on 3 device.. 
but i got null pointer on setOnInfoWindowClickListener in my tablet.. not 
on my phone... running well 

my tablet is google nexus 7 running android 4.0
my phone is samsung galaxy ace.. S5830,, 

so what wrong with google api v2..?? anyone can help me..?? please 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Seurity concern in Webview using javascript.

2013-03-27 Thread Amit Sinha
Hi,

I am creating an android web app using Webview and Java script making 
addJavascriptInterface(*true*).

what are the thing i should be taking care so that any malicious 
code should not run on my app.

i worried about the security of my app as i am enabling 
addJavascriptInterface(*true*).

Please let me know the thing i should do in my app.

Thanks,
Amit


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] What down Unknown“ refer to in the result of dumpsys meminfo?

2013-03-27 Thread wang
Here is an output of dumpsys meminfo when my app is using native so.

** MEMINFO in pid 26289 [com.test] **
 Shared  Private Heap Heap Heap
   PssDirtyDirty SizeAlloc Free
--   --   --   --   --   --
   Native0003387633767  108
   Dalvik1361515100134362202321003 1020
   Cursor000
   Ashmem   18   360
Other dev4   320
 .so mmap 8652 2400 5152
.jar mmap600
.apk mmap   9300
.ttf mmap   9300
.dex mmap 147200
   Other mmap 1002  324   56
  Unknown23850  58423848
TOTAL4880518476424925589954770 1128
 
What does Unknown  refers to? I've checked the source code and found the 
value was obtained by
Debug.MemoryInfo.otherPss, otherSharedDirty, otherPrivateDirty (minus the 
value of Cursor, 
Ashmem, Other dev, etc.). Still, I don't know what does this mean. Maybe 
the stack memory consumed
by native so? or something else?
Anyone knows this ? Thanks you!

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Can Wifi-direct-inactive devices search the Wifi-direct-active peers?

2013-03-27 Thread Mario Denote
No it's not possible

On Tuesday, August 21, 2012 9:34:42 AM UTC+2, chuny423 wrote:

 Hi, I'm S.Korean student. I'm studying the p2p communication between 
 android devices.

 Then, I'm wondering whether I can search the peers who turned on 
 Wifi-direct button without turning on my Wifi-direct button or not.

 Simply saying, 

 Me: turned off Wifi-direct
 Group A: turned on Wifi-direct 

 Can I search group A? get a user information like a tag or something?


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] UTF8-Encoding problem in TextView

2013-03-27 Thread karunakar medamoni
Hello Every one

How can i  UTF8 Font in TexView. Here am getting Font rendering problem in
Android TextView.Let me know any one have a solution for this.



 Thanks  Regards

M. Karunakar
University of Hyderabad,Hyd,
9491388035.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Monthly Payout Reports late... and missing 50% of entries

2013-03-27 Thread dashman
There's something seriously wrong with google merchant support.

I'm just trying to open a google checkout and the simple signup
forms do not work and no support.

Also there seems to be a pattern of heavy handedness on the
part of google as far as payments and accounting goes.



On Tuesday, March 26, 2013 1:17:21 PM UTC-4, Pent wrote:

 Just got a link to the report for February, about 2 weeks late I 
 believe. 

 Only about half of the entries are there. 

 There's a 'Known Issue' with Play Store support about 'Mismatches in 
 Monthly Payout Reports', I guess that's the 50% missing entries issue. 

 Does anyone know how long that 'Known Issue' has been there ? 

 Thanks, 

 Pent 


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Seurity concern in Webview using javascript.

2013-03-27 Thread Streets Of Boston
As long as your WebView's HTML content doesn't load an external site, i.e. 
you control *all *the content shown in your WebView, there is no concern. 

However, if you make an app that becomes popular and has a WebView that can 
load external/public content, then someone could examine your app, figure 
out what your JavaScriptnterface implements and exploit it for his or her 
own purposes. 

What exactly these vulnerabilities could be, depends entirely on your app 
and its JavaScriptInterface implementation. E.g. if your interface allows 
for the deletion of files or reading and sending of contact information, 
your app is much more vulnerable than when your interface only allows for a 
simple calculation. 



On Wednesday, March 27, 2013 3:59:06 AM UTC-4, Amit Sinha wrote:

 Hi,

 I am creating an android web app using Webview and Java script making 
 addJavascriptInterface(*true*).

 what are the thing i should be taking care so that any malicious 
 code should not run on my app.

 i worried about the security of my app as i am enabling 
 addJavascriptInterface(*true*).

 Please let me know the thing i should do in my app.

 Thanks,
 Amit




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2

2013-03-27 Thread bob
What's *FragmentPager*?

Thanks.


On Tuesday, March 26, 2013 1:50:23 PM UTC-5, Captain Comando wrote:

 Actually there is an other issue that. In same application I used Maps V2 
 in an other Activity. That Activity contains only one fragment and i 
 inserted GoogleMapsV2 into that fragment and there isn't any problem with 
 map. I can see map content and markers. 

 I think the problem is with FragmentPager.



 2013/3/26 bob b...@coolfone.comze.com javascript:

 Can you create an emulator that is basically a Note 2?


 Thanks.




 On Tuesday, March 26, 2013 11:40:08 AM UTC-5, Captain Comando wrote:

 Yes, I removed all of sim cards and again map works on other devices 
 except Note 2.=( 

 2013/3/26 lbendlin lu...@bendlin.us

 And you are sure it works on other devices when they have their SIM card 
 removed?


 On Tuesday, March 26, 2013 10:47:46 AM UTC-4, Captain Comando wrote:

 It is icon of Insert SIM Card notification. Internet connection is 
 not problem because device connected to internet using wifi.


 2013/3/26 bob b...@coolfone.comze.com

 What does this icon mean?


 https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png


 Maybe that's the ticket?



 On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote:

 I am using Google Maps API V2 in my Android application. As you can 
 see in screenshot I have FragmentPager and there is a fragment which 
 include google maps v2. On the device Galaxy Note 2 i have problem with 
 displaying map content. On other devices maps works without any problem 
 and 
 displays added markers and lines. As you can see that it displays only 
 background image of my activity. I already tested my application on 
 different devices but only Galaxy Note 2 has problem.

 Any idea about solution?

 Thanks.



 https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png


  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**googlegroups.com

 To unsubscribe from this group, send email to
 android-developers+**unsubscribe**@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to android-developers+**unsubscribe**@googlegroups.com.
 For more options, visit 
 https://groups.google.com/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out
 .
  
  


  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**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=enhttp://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+**unsubscr...@googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .
  
  


  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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 unsubscribe from this group and stop receiving emails from it, send an 
 email to android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland


 If you cancel the card is not charged at all. You can only refund 
 after it has been 
 charged. Charging takes at least a couple of hours, so if you cancel 
 before that 
 there is no credit card transaction. The only problem is that if you do 
 this 
 too often, your test account may be blocked temporarily and return some 
 weird 
 status ('you are not allowed to purchase' or some such). 

 HTH 


That is true for standard app purchases, but not for In-App purchases. 
Those purchases are charged immediately.  That's part of my problem.

What do I need to do in order to make test purchases of my real In App 
Billing SKUs without getting charged? Not only is it a problem for 
development, but my credit card company is not going to be happy about 100 
charges cancelled. 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Nikolay Elenkov
On Thu, Mar 28, 2013 at 1:09 AM, Kenny Wyland speci...@gmail.com wrote:



 That is true for standard app purchases, but not for In-App purchases. Those
 purchases are charged immediately.  That's part of my problem.


It's the same for both. While the 'Charge' dot in Checkout is gray,
the credit card has not been charged and you can cancel. Once
it turns green, it has been charged and you have to refund.

 What do I need to do in order to make test purchases of my real In App
 Billing SKUs without getting charged? Not only is it a problem for
 development, but my credit card company is not going to be happy about 100
 charges cancelled.

Either there is something weird (special?) about your account or you
are mistaken.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: BroadcastReceiver for incoming Gmail?

2013-03-27 Thread Camille
FYI, the Gail team closed this provider a while ago so this solution is no 
longer valid, you can't read the emails from any Gmail content provider. 
They have, however created a small, limited API to let you read how many 
unread emails there are. You can read about it 
here: https://developers.google.com/gmail/android/

On Saturday, November 7, 2009 5:06:32 PM UTC-5, gnugu wrote:

 Hello, 
 Does anybody know how to setup BroadcastReceiver's action and intent- 
 filter so it can be invoked when Gmail is received? 

 I thing CubeWorks does it, so it's not entirely impossible. 


 Any help is welcome. 

 Thank you! 


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Kenny Wyland



 It's the same for both. While the 'Charge' dot in Checkout is gray, 
 the credit card has not been charged and you can cancel. Once 
 it turns green, it has been charged and you have to refund. 


When I was making the purchase as the user, it explicitly told me that I 
would not have an opportunity to change my mind and refund the purchase.

When I went to my merchant account, 90 seconds later, the charge was 
already fully green meaning it had been fully charged. 

The refund option was greyed out, the only option I had was Cancel and when 
I clicked the cancel button it explicitly said in that window the refund 
amount would be $0.00.

 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse

2013-03-27 Thread Mario Giammarco
Stomp uses hawtdispatch that is like apple grand dispatch to be 
asynchronous.
So one thread is blocked on native io poll. Other threads are blocked 
waiting for it.
So it is not a deadlock but a queue of threads waiting for the first one.

I cannot set timeouts.

Il giorno martedì 26 marzo 2013 23:10:17 UTC+1, Kostya Vasilyev ha scritto:

 Not sure why you'd have all threads waiting for i/o. 

 There should be binder threads, typically in native code, and the main 
 thread, typically in MessageQueue.nativePollOnce. 

 Do you set a timeout for your network calls? 

 -- K 

 2013/3/26 Mario Giammarco mgiam...@gmail.com javascript:: 
  Ok I am debugging threads. 
  But it seems that all threads are waiting for the i/o thread, I mean 
 the 
  one waiting for libcore.io.posix.poll 
  To me this thing seems right, I do not understand why i/o thread newer 
 wakes 
  up. 
  
  Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha 
 scritto: 
  
  
  
  Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha 
  scritto: 
  
  If I were to guess, I'd say there might be a thread race issue 
  
  
  I suppose a race issue too but usually race issues are random, in this 
  case with 2.3.6 it always works with galaxy it always not work (apart 
 with 
  debugger) 
  
  When it hangs, use the Eclipse DDMS perspective to attach the 
  debugger (select the device, then your app on it, then tap the green 
  Bug icon). Next, switch to Debug perspective / tab, and use the 
  Pause button there to pause and examine your threads. 
  
  Great hint thanks! I did not remember that I can attach debugger AFTER 
 it 
  hangs!! 
  
  
  That's what I would do anyway. 
  
  -- K 
  
  2013/3/25 Mario Giammarco mgiam...@gmail.com: 
   Can no one help me? Is there a thread problem in asynctask? 
   
   Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha 
   scritto: 
   
   Hello, 
   I have written an Android app that uses fusesource stompjms client. 
   
   The app connect to a server with stompjms. I am using AsyncTask for 
   network related operations. 
   
   The app: 
   
   - works on all 2.3 devices; 
   - works on 2.3 emulator; 
   - works on 4.0 emulator; 
   - works on HTC 4.0 phone; 
   - hangs on connect to server on Motorola RAZR 4.0; 
   - hangs on connect to server on Samsung Galaxy Note 4.0; 
   - WORKS ON GALAXY NOTE WHEN I AM DEBUGGING IT WITH ECLIPSE AND USB 
   CABLE! 
   
   I can see that stomp jms is an asynchronous framework that uses 
   CountDownLatch java class. 
   When it hangs I am pretty sure that it waits forever on 
 latch.await() 
   
   Please help me, it is a very strange behaviour! 
   
   Thanks, 
   Mario 
   
   -- 
   -- 
   You received this message because you are subscribed to the Google 
   Groups Android Developers group. 
   To post to this group, send email to android-d...@googlegroups.com 
   To unsubscribe from this group, send email to 
   android-developers+unsubscr...@googlegroups.com javascript: 
   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 unsubscribe from this group and stop receiving emails from it, 
 send 
   an 
   email to android-developers+unsubscr...@googlegroups.comjavascript:. 

   For more options, visit https://groups.google.com/groups/opt_out. 
   
   
  
  -- 
  -- 
  You received this message because you are subscribed to the Google 
  Groups Android Developers group. 
  To post to this group, send email to 
  android-d...@googlegroups.comjavascript: 
  To unsubscribe from this group, send email to 
  android-developers+unsubscr...@googlegroups.com javascript: 
  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 unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to android-developers+unsubscr...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse

2013-03-27 Thread bob
 

What third party *stomp* library are you using?


Perhaps it has a bug?


Thanks.



On Wednesday, March 27, 2013 12:32:41 PM UTC-5, Mario Giammarco wrote:

 Stomp uses hawtdispatch that is like apple grand dispatch to be 
 asynchronous.
 So one thread is blocked on native io poll. Other threads are blocked 
 waiting for it.
 So it is not a deadlock but a queue of threads waiting for the first one.

 I cannot set timeouts.

 Il giorno martedì 26 marzo 2013 23:10:17 UTC+1, Kostya Vasilyev ha scritto:

 Not sure why you'd have all threads waiting for i/o. 

 There should be binder threads, typically in native code, and the main 
 thread, typically in MessageQueue.nativePollOnce. 

 Do you set a timeout for your network calls? 

 -- K 

 2013/3/26 Mario Giammarco mgiam...@gmail.com: 
  Ok I am debugging threads. 
  But it seems that all threads are waiting for the i/o thread, I mean 
 the 
  one waiting for libcore.io.posix.poll 
  To me this thing seems right, I do not understand why i/o thread newer 
 wakes 
  up. 
  
  Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha 
 scritto: 
  
  
  
  Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha 
  scritto: 
  
  If I were to guess, I'd say there might be a thread race issue 
  
  
  I suppose a race issue too but usually race issues are random, in this 
  case with 2.3.6 it always works with galaxy it always not work (apart 
 with 
  debugger) 
  
  When it hangs, use the Eclipse DDMS perspective to attach the 
  debugger (select the device, then your app on it, then tap the green 
  Bug icon). Next, switch to Debug perspective / tab, and use the 
  Pause button there to pause and examine your threads. 
  
  Great hint thanks! I did not remember that I can attach debugger AFTER 
 it 
  hangs!! 
  
  
  That's what I would do anyway. 
  
  -- K 
  
  2013/3/25 Mario Giammarco mgiam...@gmail.com: 
   Can no one help me? Is there a thread problem in asynctask? 
   
   Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco 
 ha 
   scritto: 
   
   Hello, 
   I have written an Android app that uses fusesource stompjms 
 client. 
   
   The app connect to a server with stompjms. I am using AsyncTask 
 for 
   network related operations. 
   
   The app: 
   
   - works on all 2.3 devices; 
   - works on 2.3 emulator; 
   - works on 4.0 emulator; 
   - works on HTC 4.0 phone; 
   - hangs on connect to server on Motorola RAZR 4.0; 
   - hangs on connect to server on Samsung Galaxy Note 4.0; 
   - WORKS ON GALAXY NOTE WHEN I AM DEBUGGING IT WITH ECLIPSE AND USB 
   CABLE! 
   
   I can see that stomp jms is an asynchronous framework that uses 
   CountDownLatch java class. 
   When it hangs I am pretty sure that it waits forever on 
 latch.await() 
   
   Please help me, it is a very strange behaviour! 
   
   Thanks, 
   Mario 
   
   -- 
   -- 
   You received this message because you are subscribed to the Google 
   Groups Android Developers group. 
   To post to this group, send email to android-d...@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 
   --- 
   You received this message because you are subscribed to the Google 
   Groups 
   Android Developers group. 
   To unsubscribe from this group and stop receiving emails from it, 
 send 
   an 
   email to android-developers+unsubscr...@googlegroups.com. 
   For more options, visit https://groups.google.com/groups/opt_out. 
   
   
  
  -- 
  -- 
  You received this message because you are subscribed to the Google 
  Groups Android Developers group. 
  To post to this group, send email to android-d...@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 
  --- 
  You received this message because you are subscribed to the Google 
 Groups 
  Android Developers group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to android-developers+unsubscr...@googlegroups.com. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit 

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-27 Thread RichardC
Post the code with the problem and the LogCat when the error happens - then 
we might have a chance at helping you.

On Wednesday, March 27, 2013 7:33:10 AM UTC, Pratama Nur Wijaya wrote:

 Hi,,, 

 I got some error when i am running Google maps api v2..

 i have tested my application on 3 device.. 
 but i got null pointer on setOnInfoWindowClickListener in my tablet.. not 
 on my phone... running well 

 my tablet is google nexus 7 running android 4.0
 my phone is samsung galaxy ace.. S5830,, 

 so what wrong with google api v2..?? anyone can help me..?? please 


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse

2013-03-27 Thread Mario Giammarco
Stomp jms client made by fusesource. Hawtdispatch is also made by
fusesource. The bug is perhaps in hawtdispatch, not in stomp library.
I have discovered it now after some days looking at the sources.
Infact hawtdispatch calls libcore.io.posix.poll and has already a
workaround because some JVM implementations are buggy. Probably even
this workaround is not enough in my case. I wonder why with debug
active it work perfectly.

2013/3/27 bob b...@coolfone.comze.com:
 What third party stomp library are you using?


 Perhaps it has a bug?


 Thanks.



 On Wednesday, March 27, 2013 12:32:41 PM UTC-5, Mario Giammarco wrote:

 Stomp uses hawtdispatch that is like apple grand dispatch to be
 asynchronous.
 So one thread is blocked on native io poll. Other threads are blocked
 waiting for it.
 So it is not a deadlock but a queue of threads waiting for the first one.

 I cannot set timeouts.

 Il giorno martedì 26 marzo 2013 23:10:17 UTC+1, Kostya Vasilyev ha
 scritto:

 Not sure why you'd have all threads waiting for i/o.

 There should be binder threads, typically in native code, and the main
 thread, typically in MessageQueue.nativePollOnce.

 Do you set a timeout for your network calls?

 -- K

 2013/3/26 Mario Giammarco mgiam...@gmail.com:
  Ok I am debugging threads.
  But it seems that all threads are waiting for the i/o thread, I mean
  the
  one waiting for libcore.io.posix.poll
  To me this thing seems right, I do not understand why i/o thread newer
  wakes
  up.
 
  Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha
  scritto:
 
 
 
  Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha
  scritto:
 
  If I were to guess, I'd say there might be a thread race issue
 
 
  I suppose a race issue too but usually race issues are random, in this
  case with 2.3.6 it always works with galaxy it always not work (apart
  with
  debugger)
 
  When it hangs, use the Eclipse DDMS perspective to attach the
  debugger (select the device, then your app on it, then tap the green
  Bug icon). Next, switch to Debug perspective / tab, and use the
  Pause button there to pause and examine your threads.
 
  Great hint thanks! I did not remember that I can attach debugger AFTER
  it
  hangs!!
 
 
  That's what I would do anyway.
 
  -- K
 
  2013/3/25 Mario Giammarco mgiam...@gmail.com:
   Can no one help me? Is there a thread problem in asynctask?
  
   Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco
   ha
   scritto:
  
   Hello,
   I have written an Android app that uses fusesource stompjms
   client.
  
   The app connect to a server with stompjms. I am using AsyncTask
   for
   network related operations.
  
   The app:
  
   - works on all 2.3 devices;
   - works on 2.3 emulator;
   - works on 4.0 emulator;
   - works on HTC 4.0 phone;
   - hangs on connect to server on Motorola RAZR 4.0;
   - hangs on connect to server on Samsung Galaxy Note 4.0;
   - WORKS ON GALAXY NOTE WHEN I AM DEBUGGING IT WITH ECLIPSE AND USB
   CABLE!
  
   I can see that stomp jms is an asynchronous framework that uses
   CountDownLatch java class.
   When it hangs I am pretty sure that it waits forever on
   latch.await()
  
   Please help me, it is a very strange behaviour!
  
   Thanks,
   Mario
  
   --
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-d...@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
   ---
   You received this message because you are subscribed to the Google
   Groups
   Android Developers group.
   To unsubscribe from this group and stop receiving emails from it,
   send
   an
   email to android-developers+unsubscr...@googlegroups.com.
   For more options, visit https://groups.google.com/groups/opt_out.
  
  
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-d...@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
  ---
  You received this message because you are subscribed to the Google
  Groups
  Android Developers group.
  To unsubscribe from this group and stop receiving emails from it, send
  an
  email to android-developers+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

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

[android-developers] Starting with Andriod 4.2.2, Checkbox controls do not render correctly

2013-03-27 Thread niko20

I have custom checkbox controls that use a custom theme defined in an XML 
file. Basically says use this image for check on, and this image for check 
off. That's how you template controls.

Anyway, starting in API 17, Android 4.2.2, my checkbox text is all screwed 
up. I have text padding of 50dp for the text on the checkbox, because in 
prior versions of Android (prior to 17), if you didn't pad the text,
it would show underneath your custom check image. 

Now, on Android 4.2.2, even if I remove the padding, the checkboxes STILL 
look wrong, they look elongated. Take a look at this image, it explains

http://i.imgur.com/oqcmdFp.png


So how do I fix this...other than creating a special layout now just for 
Android 17 *blech*


-niko

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Google Play Store hidden ratings

2013-03-27 Thread Henrik Lindqvist
My app only got 3 written review and 2 ratings. Why can't i see who gave 
the rating only, i see who made the written review!?

Wasn't the whole point of forcing users to user Google+ to make anonymous 
reviews/ratings impossible!

Does the pre-Google+ ratings score for as much as the post-Google+ ratings 
when calculating the app listing position? 
If it does, it very unfair to new apps since nowdays rating/review seems to 
rarely be made.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: New SDK release for Egnos

2013-03-27 Thread Leonardo Costa
Hi,
I hope these info can be useful for you and you already enjoy working with 
the EGNOS SDK!
Did you know that the RD functionality of the SDK proposes innovative ways 
of computing a position by deviating from the EGNOS standard 
specifications, to try to get further improved accuracy? Check out the 
“RD” sections among the functionalities of the EGNOS SDK.
Indeed, the features and applications of the EGNOS SDK are too many to be 
described in short… If you want the full picture, we suggest to take a look 
to the technical details behind the development of the EGNOS SDK v3 (EGNOS 
Corrections, detailed functionalities, etc.) at the following link:
http://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/functionalities-egnos-sdk.

As always, please refer to this thread for any question and comment!
Take care
Leonardo

On Wednesday, 20 March 2013 22:56:28 UTC+1, Leonardo Costa wrote:

 Hello again,
 the EGNOS SDK is being increasingly adopted by the developers community to 
 create apps based on superior positioning. It was successfully implemented 
 the EGNOS SDK within the application GeoPointer™ M3 for Mobile Logistics.

 You can find out more in the Test  Testimonials section of the EGNOS SDK 
 webpages:

 http://www.egnos-portal.eu/developer-platform/egnos-toolkits/egnos-sdk/tests-and-testimonials

 Cheers,
 Leonardo

 On Wednesday, 13 March 2013 11:51:47 UTC+1, Leonardo Costa wrote:

 Hello!
 The European Commission wanted me to remind you that the EGNOS SDK v3 is 
 fully available for different OS: access the EGNOS portal for downloading 
 your version of the toolkit (Download the EGNOS SDK). You can also check 
 the compatibility of your OS version.
 If you encounter any problem in your development or just want to discuss 
 some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer 
 to the supporting documentation. If you do not find an answer to your 
 questions, directly write us at: egnos.toolk...@gsa.europa.eu.

 More simply, you can just ask by replying to this post :-). I will be 
 glad to help!


 On Tuesday, 31 July 2012 23:20:39 UTC+2, Leonardo Costa wrote:

 Hello,
 I'm posting this info on behalf of the European Commission, the new 
 release of the EGNOS SDK for app developers is now available.

 This EGNOS SDK allows taking advantage of the European system that 
 provides enhanced positioning accuracy and other features (e.g. information 
 on the reliability of the position itself) directly towards the 
 smartphones. It is available for free on the EGNOS Portal at 
 http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk

 I am available for any further info, request, questions, you may have on 
 this topic and will post reply here. I will also post further details in 
 the next weeks, following up directly  at this thread.
 Thanks and regards,
 Leonardo



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Seurity concern in Webview using javascript.

2013-03-27 Thread Amit Sinha
Thanks Anton Spaans for your valuable comment.

I will just explain about my app. I have create an Email composer screen
with Rich-text-editing using JavaScript.

Using my composer screen user can compose email with rich text editing.

My composer screen will be also launched when user try to reply/Fwd
already received mail(which may contain malicious code).

For reply/Fwd case my app may contain malicious code.

As through JavaScript I am doing only rich text editing(Bold ,italic,
underline...etc).

Do you feel any security issue will be there in my app for reply/Fwd cases.


~Thanks.



On Wed, Mar 27, 2013 at 6:50 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:

 As long as your WebView's HTML content doesn't load an external site, i.e.
 you control *all *the content shown in your WebView, there is no concern.

 However, if you make an app that becomes popular and has a WebView that
 can load external/public content, then someone could examine your app,
 figure out what your JavaScriptnterface implements and exploit it for his
 or her own purposes.

 What exactly these vulnerabilities could be, depends entirely on your app
 and its JavaScriptInterface implementation. E.g. if your interface allows
 for the deletion of files or reading and sending of contact information,
 your app is much more vulnerable than when your interface only allows for a
 simple calculation.



 On Wednesday, March 27, 2013 3:59:06 AM UTC-4, Amit Sinha wrote:

 Hi,

 I am creating an android web app using Webview and Java script making
 addJavascriptInterface(*true*).

 what are the thing i should be taking care so that any malicious
 code should not run on my app.

 i worried about the security of my app as i am enabling
 addJavascriptInterfac**e(*true*).

 Please let me know the thing i should do in my app.

 Thanks,
 Amit


  --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/KnqJI3Kv34M/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.