[android-developers] Re: New app doesnt show in Google Play

2013-04-03 Thread bergstr
as I posted earlier, the uses-permission element can be repeated, and all 
will be used, as in






also, the Google Play bug lies in the fact that web store and app behave 
differently, and that there is no validation anywhere

-- 
-- 
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] New app doesnt show in Google Play

2013-04-03 Thread bergstr
and, to finalize: this is a bug in Google Play. the behavior of all stores 
should be the same, and if a declaration is invalid, there should be some 
way to find out (like some specific error message in dev. environment or 
console) other than trial and error

Am Dienstag, 2. April 2013 21:37:15 UTC+2 schrieb bergstr:
>
> yeah, I can see it now, too. So, to summarize:
>
> a tablet app with only one decl like this:
>
>  
>
> will NOT be visible in the on-device Play app, but it WILL be visible and 
> installable in the web store.
>
> an app with this:
>
> 
> 
> 
> 
> 
>
> will also not be visible on-device
>
> BUT with THIS:
>
>  android:smallScreens="false"
> android:normalScreens="false"
> android:largeScreens="true"
> android:xlargeScreens="true" 
> android:requiresSmallestWidthDp="600"/>
>
> it is visible in all stores.
>
> What a wonderful day this was..
>
> thanks everyone
> chris
>
> Am Dienstag, 2. April 2013 21:21:25 UTC+2 schrieb bob:
>>
>> I can see your app now.
>>
>>
>> That change seems to have worked.
>>
>>
>> Thanks.
>>
>>
>>
>> On Tuesday, April 2, 2013 1:26:37 PM UTC-5, bergstr wrote:
>>>
>>> just changed that and uploaded. Now the number of compatible devices has 
>>> been REDUCED from 1204 to 315, but they're all tablets, so this may be ok. 
>>> The change to that element seems to have triggered SOMETHING. If this was 
>>> it (we'll see in a moment when the upload is visible), then I am P*O* to 
>>> say the least. NO validation in either the development environment or the 
>>> Play Developer Console. The element looked exactly like the 
>>> uses-permission, which works with one tag per attribute..
>>>
>>> Am Dienstag, 2. April 2013 19:43:48 UTC+2 schrieb a1:
>>>>
>>>>
>>>>
>>>> W dniu wtorek, 2 kwietnia 2013 19:19:41 UTC+2 użytkownik bergstr 
>>>> napisał:
>>>>>
>>>>>
>>>>>> First thing first, you should go to the console and check your app 
>>>>>> settings. It will also tell you what devices are being filtered and 
>>>>>> why... 
>>>>>>
>>>>>
>>>>> thats  what I did. All my devices (currently, a Nexus 7 and Nexus 10) 
>>>>> show up in the compatibility list. BUT the app doesn't show up when 
>>>>> searched from either device.
>>>>>
>>>>
>>>> Looks like your  declaration is invalid, I'm pretty 
>>>> sure there should only be single support-screen tag with all attributes 
>>>> listed (see: 
>>>> http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps),
>>>>  
>>>> maybe this somehow confuses Play filtering?
>>>>
>>>> --
>>>> Bart
>>>>
>>>

-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr
yeah, I can see it now, too. So, to summarize:

a tablet app with only one decl like this:

 

will NOT be visible in the on-device Play app, but it WILL be visible and 
installable in the web store.

an app with this:







will also not be visible on-device

BUT with THIS:



it is visible in all stores.

What a wonderful day this was..

thanks everyone
chris

Am Dienstag, 2. April 2013 21:21:25 UTC+2 schrieb bob:
>
> I can see your app now.
>
>
> That change seems to have worked.
>
>
> Thanks.
>
>
>
> On Tuesday, April 2, 2013 1:26:37 PM UTC-5, bergstr wrote:
>>
>> just changed that and uploaded. Now the number of compatible devices has 
>> been REDUCED from 1204 to 315, but they're all tablets, so this may be ok. 
>> The change to that element seems to have triggered SOMETHING. If this was 
>> it (we'll see in a moment when the upload is visible), then I am P*O* to 
>> say the least. NO validation in either the development environment or the 
>> Play Developer Console. The element looked exactly like the 
>> uses-permission, which works with one tag per attribute..
>>
>> Am Dienstag, 2. April 2013 19:43:48 UTC+2 schrieb a1:
>>>
>>>
>>>
>>> W dniu wtorek, 2 kwietnia 2013 19:19:41 UTC+2 użytkownik bergstr napisał:
>>>>
>>>>
>>>>> First thing first, you should go to the console and check your app 
>>>>> settings. It will also tell you what devices are being filtered and 
>>>>> why... 
>>>>>
>>>>
>>>> thats  what I did. All my devices (currently, a Nexus 7 and Nexus 10) 
>>>> show up in the compatibility list. BUT the app doesn't show up when 
>>>> searched from either device.
>>>>
>>>
>>> Looks like your  declaration is invalid, I'm pretty 
>>> sure there should only be single support-screen tag with all attributes 
>>> listed (see: 
>>> http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps),
>>>  
>>> maybe this somehow confuses Play filtering?
>>>
>>> --
>>> Bart
>>>
>>

-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr
just changed that and uploaded. Now the number of compatible devices has 
been REDUCED from 1204 to 315, but they're all tablets, so this may be ok. 
The change to that element seems to have triggered SOMETHING. If this was 
it (we'll see in a moment when the upload is visible), then I am P*O* to 
say the least. NO validation in either the development environment or the 
Play Developer Console. The element looked exactly like the 
uses-permission, which works with one tag per attribute..

Am Dienstag, 2. April 2013 19:43:48 UTC+2 schrieb a1:
>
>
>
> W dniu wtorek, 2 kwietnia 2013 19:19:41 UTC+2 użytkownik bergstr napisał:
>>
>>
>>> First thing first, you should go to the console and check your app 
>>> settings. It will also tell you what devices are being filtered and why... 
>>>
>>
>> thats  what I did. All my devices (currently, a Nexus 7 and Nexus 10) 
>> show up in the compatibility list. BUT the app doesn't show up when 
>> searched from either device.
>>
>
> Looks like your  declaration is invalid, I'm pretty sure 
> there should only be single support-screen tag with all attributes listed 
> (see: 
> http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps),
>  
> maybe this somehow confuses Play filtering?
>
> --
> Bart
>

-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr
Am Dienstag, 2. April 2013 19:35:35 UTC+2 schrieb RichardC:
>
> It will install on my Vodafone HTC HTC Sensation Z710e
>

.. which it shouldn't. The app is really only designed for tablets, I added 
the  largeScreens="true" because I hoped it would fix this issue.

You mean you can search for it from the play app on your phone?

-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr

>
>
> First thing first, you should go to the console and check your app 
> settings. It will also tell you what devices are being filtered and why... 
>

thats  what I did. All my devices (currently, a Nexus 7 and Nexus 10) show 
up in the compatibility list. BUT the app doesn't show up when searched 
from either device.

-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr
thanks for all sympathies so far..

Heres the package name: com.byterefinery.mediasteersman
Heres the app name: MediaSteersman UPnP

Heres all the relevant stuff from the manifest:


















-- 
-- 
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] New app doesnt show in Google Play

2013-04-02 Thread bergstr
that wasn't the reason. I am lost. Spent one year to develop this app, and 
cant get it onto this #?='* store.

-- 
-- 
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] New app doesnt show in Google Play

2013-04-01 Thread bergstr
the app cannot be found through the name, or by any other means, if you 
search from within the Play app. It can be found only from the play store 
in the web.

I think the reason is that I use the supports-screen qualifier with an *
android:requiresSmallestWidthDp* attribute. Somewhere down in the developer 
docs, it says that this attribute "is used to enable filtering for your 
application on services such as Google Play. However, Google Play currently 
does not support this attribute for filtering (on Android 3.2), so you 
should continue using the other size attributes"

In essence: it does not work, hasnt been working for over a year, and 
nobody at Google cares to fix it.

Am Montag, 1. April 2013 13:55:17 UTC+2 schrieb mbanzon:
>
> If you want someone to help search for the app you could give the name? 
> ;-) 
>
>
>

-- 
-- 
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] New app doesnt show in Google Play

2013-04-01 Thread bergstr
Hello,

I have just released a new tablet-only app to the Play store. I can search 
from a desktop browser, and use the URL to see the market entry and install 
the app from my tablet devices (Nexus 7 and 10). However, when I open the 
play store on one of the tablets and do a search for any of the most used 
keywords, or even for the title of the app, there are ZERO results? What is 
happening here? The app has been there for some 18 hours now..

thanks
chris

-- 
-- 
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: Deadlock running app on Nexus 10, Android 4.2.2

2013-03-29 Thread bergstr
ok, I have changed the code such that the frequent calls into native code 
(in method validateKey) don't happen any longer. They were unneeded anyway, 
as the internal cleanup thread can safely assume that the keys are valid. 
With this change, I can no longer reproduce this issue.

However, I am still left with the impression that Android may at any point 
suspend background threads in favor of the UI thread regardless of their 
state and whether they hold locks. If this is true, it imposes very hard 
requirements on the programmer to avoid cases where lock contention between 
the UI thread and a background thread can lead to a deadlock, as in my 
case. At the very least, I would expect this to be documented somewhere, 
preferably in a prominent place..

chris

-- 
-- 
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: Deadlock running app on Nexus 10, Android 4.2.2

2013-03-20 Thread bergstr
Hello Kostya,

 havent tried to reproduce yet, so I cannot say whether its always in the 
same place. Will try that next. However, you will agree that even seeing it 
once is enough reason for an emergency call.

I am considering all options, really. But before I delve into speculative 
approaches, I would like to understand what is happening. My hope was/is 
that someone will look at the file and say something like "aah, here's what 
you have overlooked" or maybe, "you should read chapter X in the developer 
docs". Or maybe "been there, done that...".

Anyway, thanks for looking at the file, and for your comments

Christian

-- 
-- 
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] creating a complex tablet app

2013-02-17 Thread bergstr
Hello,

I have a rather complex app that runs on tablets only. The complexity stems 
from the fact that the app allows navigation in a tree to an arbitrary 
depth, where each node in the tree may have a different appearance 
(depending on the node type). In addition, I have 3 tabs, that allow 
changing between the navigation view, and 2 other views. On the left, I 
have a list. This scenario forces me to dynamically create and replace 
fragments all the time.

First, let me say that I started this project expecting that programming a 
UI like the one described above would be about as demanding as on a desktop 
platform. I have 20 years of experience in creating desktop or web apps on 
different OS's using 3 different programming languages, so I thought I had 
seen it all. Little did I know. I can now say that the Android UI framework 
is the worst I have ever seen. In my opinion, it is absolutely unfit for 
fairly complex applications. It is a phone OS, period. Dont even think of 
using it as an "enterprise programming platform".

I have spent almost one year now creating my app, and I am still 
encountering random misbehavior from fragment management (fragments 
re-appearing from nowhere, duplicate action bar entries). When I hear the 
name "FragmentManager" I shudder. I must say that for the first time in my 
professional life I am at the point where I consider to simply give up an 
effort that has already cost me an arm and a leg.

My suggestion to Google, if you ever want to see good tablet apps appear 
(no wonder there arent any), is this: get some good, experienced designers 
on this project  - not the teenagers that appear on the android developer 
feed in youtube, let them gather requirements and design and implement 
something that really makes sense and works. Its not that difficult - it 
has been done many times before.

thanks,
chris

-- 
-- 
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: Looking for information on the Fragment dump() method (FragmentManager too)

2012-08-06 Thread bergstr
closing the PrintWriter instead of the IOStream would do, too

-- 
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: Looking for information on the Fragment dump() method (FragmentManager too)

2012-08-06 Thread bergstr
you should have close()d the PrintWriter, instead of the IOStream. Thats all

Am Sonntag, 27. Februar 2011 23:17:29 UTC+1 schrieb davemac:
>
> Both of these classes have a dump() method which looks useful for 
> debugging. I tried to use them in a sample application, but I'm not 
> getting any output at all. My code looks like this from within my 
> activity: 
>
> public void dumpFragmentMgr() { 
> FragmentManager fm = getFragmentManager(); 
> File dumpFile = new 
> File(Environment.getExternalStorageDirectory() + 
> "/fmdump.txt"); 
> if(dumpFile.exists()) { 
> dumpFile.delete(); 
> } 
> try { 
> FileOutputStream fos = new FileOutputStream(dumpFile, 
> true); 
> fm.dump("DIALOG", fos.getFD(), new PrintWriter(fos), 
> null); 
> fos.flush(); 
> fos.close(); 
> } catch (FileNotFoundException e) { 
> // TODO Auto-generated catch block 
> e.printStackTrace(); 
> } catch (IOException e) { 
> // TODO Auto-generated catch block 
> e.printStackTrace(); 
> } 
> } 
>
> I'm positive that I have fragments in my fragment manager. My output 
> file is always empty, although I can see the datetimestamp getting 
> updated. I'm always passing null for the 4th argument to dump() since 
> I have no idea what else to put there. I have enableDebugLogging set 
> to true. Any help 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

[android-developers] Re: Android Beam demo on PC

2012-03-07 Thread bergstr
> This byzantine menu / dialog interface is typical of Eclipse's poor UI
> design.

what exactly do you find "byzantine" about Eclipse's UI design?
Remember, it's not made for iFanboys, but for software development
experts. Thats a huge difference.

I dont think the emulator supports NFC properly.
Chris

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