[android-developers] this Custom tab widget is possible ?

2012-09-19 Thread Rajan
hi,

i want to create a custom tab widget, here i attached one photo of custom 
widget.

i want to know is it possible, specially middle tab widget.

if it is possible than plz give me any link/sample code/idea.

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=enattachment: custom tab widget.png

Re: [android-developers] Update UI

2012-09-19 Thread tarun sablok
In that case your intent will be delivered  to the activity in
onNewIntent()  so implement that and extract the extra data which you
have send it through the getIntent()  method ...

Hope this helps 

Tarun

On Tue, Sep 18, 2012 at 2:52 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 Intent startActivity = new Intent();
 startActivity.setClass(context, showrReminder.class);
 startActivity.setAction(showrReminder.class.getName());
  startActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|
 Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
 context.startActivity(startActivity);


 above is the code
  Thanks
 RK

 On Tue, Sep 18, 2012 at 2:52 PM, Rahul Kaushik 
 rahulkaushi...@gmail.comwrote:

 no i am not using db, am using web services
 Thanks
 RK



 On Mon, Sep 17, 2012 at 4:46 PM, Felipe Silveira webfel...@gmail.comwrote:

 Does your broadcast receiver store data in DB? If yes, your work would
 be simple: The activity can be notified about db changes, if it have a
 cursor loading the data.

 On Mon, Sep 17, 2012 at 7:48 AM, Rahul Kaushik rahulkaushi...@gmail.com
  wrote:

 Hi,

 I have a BroadcastReceiver that's able to start an activity just fine
 from its onReceive method. But what if the activity is already
 running? How do I let it know that the BroadcastReceiver has some
 more data for it? Do I just start the activity again? If so, would
 that be a new instance of the activity? What happens to the old one?
 If it doesn't create a new instance, does onCreate get called again?
 If not, how does the activity know that it's been hit again by the
 BroadcastReceiver? More importantly, in that case, how does the
 activity get the data I attached to the intent in the
 BroadcastReceiver?

 I have an listview in activity to update.

 Thanks
 RK

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




 --
 Felipe Silveira
 http://www.felipesilveira.com.br
 -

 --
 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 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Text inside the spinner view overlaps arrow

2012-09-19 Thread Ratheesh Valamchuzhy
no .. we are not using any image  background for spinner , this is the
default simple spinner image.

-- 
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] get bitmap size

2012-09-19 Thread Live Happy
what is the best way to get the size of bitmap image i know there is
myBitmap.getByteCount() but this method is for api level 12 so it is there
any other way to get it thx on 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

Re: [android-developers] Advertising opt out

2012-09-19 Thread Rudolf Hornig
I just want to throw my 2cents here...

While the math presented here is true, you left out an interesting side 
effect: Implementing an opt out can lead to higher click through rates and 
higher click through rates draw higher bids from the advertisers meaning 
higher revenue / click values.

The math was based on the assumption that the revenue/click value is the 
same for all applications. This is not true. I have two apps apparently 
with the same user base and one of them have the 4 times the CTR as the 
other and the one with higher CTR brings in about 20% more revenue per 
clicks.

Higher bidding advertisements appear more often in apps that have higher 
CTRs affectively resulting in higher revenue / click figures.

Now it's a different story whether allowing that 1.5% users not to show the 
ads will increase your CTR noticeably... I think no, but the goodwill might 
counter your small losses. It really depends on the user attitudes.

Rudolf

On Wednesday, September 19, 2012 12:54:35 AM UTC+2, Nathan wrote:

 Let's be civil here. No one has proposed annoying the hell out of your 
 users. If you do, the users will uninstall you long before they make any 
 sort of opt out decision. 

 I can agree with several people here. 

 Fran and William are right about the math. John's approach does not bring 
 him more revenue, and likely reduces it by a small amount. CTR and eCPM are 
 vanity metrics. 

 Nonetheless, John's approach is reasonable if it is worthwhile to give up 
 a miniscule amount of revenue, in exchange for increased goodwill and 
 decreased support costs. I've been known to give a few refunds that were 
 entirely undeserved, just because I have better things to do than argue 
 with customers.

 But William's approach also makes sense. Let's not use words like 
 blackmail and hostage.  You are offering something of value, ad free use of 
 your app. In a free market, the user can accept the offer and pay, decide 
 that the ads aren't really that bad and decline, or even decide to 
 uninstall your app. No hostages, no blackmail. Certainly there are other 
 offers you could make to your users, alone or in combination. Since there 
 is a way to opt out of ads, albeit a paid one, reasonable people are less 
 likely to complain. UNreasonable people, well, they might still do that . . 
 . 

 I am not using ads for a revenue source in anything right now. Personally, 
 I wouldn't take John's approach for the simple reason that I'd never get 
 around to implementing it. I have several hundred things on a list that I 
 could do to make things better for my customers: features, usability, 
 content, etc. I think it fair to prioritize such requests above those 
 things that would make life easier for the people who are unwilling to pay, 
 neither through accepting ads nor making a purchase.  That puts it at the 
 bottom of the list which means I will get to it approximately. . .  never. 

 I'm not in business to please everyone. Don't get me wrong - I want those 
 who do purchase and use my products to have a great experience. But you 
 could release an app with no monetization whatsoever and it would still get 
 complaints. You can't expect those of us who want/need to earn revenue to 
 be exempt. 

 Nathan



-- 
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] Refrsh Android browser from other application.

2012-09-19 Thread ViToBrothers
I am searching ways of working with Android Standard Browser from my own 
application. First of all I want to know is there a way to refresh last 
opened tag in the Standard Android Browser by sending some intent from the 
own application or something else, I try do do that using this code, but it 
doesn't work

private static final String PACKAGE_BROWSER = com.android.browser;
private static final String PACKAGE_BROWSER_GOOGLE = 
com.google.android.browser;

private void launchBrowser(){
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | 
Intent.FLAG_ACTIVITY_CLEAR_TOP);

String browserPackage = getBrowserPackage();
Uri yourUri = Uri.parse(www.google.com);
intent.setDataAndType(yourUri, text/html);
intent.setComponent(new ComponentName(browserPackage, 
com.android.browser.BrowserActivity));
startActivity(intent);
}

private String getBrowserPackage(){
PackageManager pm = context.getPackageManager();
PackageInfo packageInfo = null;
try {
packageInfo = pm.getPackageInfo(PACKAGE_BROWSER, 0);
} catch (NameNotFoundException e) {
e.printStackTrace();
}

if(packageInfo==null){
return PACKAGE_BROWSER_GOOGLE;
}else{
return PACKAGE_BROWSER;
}
}


The hole problem that I want to solve is a detection of is my own 
application is installed on a phone when user press on a link in a Standard 
Android Browser.I know that this problem has no trivial solution, or maybe 
it have no solution at all, but I am trying to understand why there is no 
solution.

No I am on a point when by clicking on a browser link I open my application 
if it is installed on a phone and if it is not installed I open an Android 
play store page in a browser, using this 
https://gist.github.com/2662899example 
. But this example have some bat side as it always open Android Play Store 
in the browser only if my application exist in a phone it opens it first 
and then user press back in application and he can see how on a browser 
Android Store is loading.

-- 
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: how to inject non-english characters

2012-09-19 Thread Hardy Kahl
Hi LeenuxGuy,

I found kind of a solution:

1. Backup clipboard content
2. Put your character in clipboard
3. Inject menu-key, then v-key. This is a keyboard shortcut for
pasting the clipboard.
4. Unfortunately Android is inserting spaces before and after the
content in some cases.
Try to remove them by injecting DPAD_LEFT, DELETE
5. Put the backed up clipboard content back in the clipboard.

That is in fact so ugly and unreliable, that I discarded it right away.

* On some phones the paste shortcut also triggers the menu.
* There is a racecondition in the clipboard. Sometimes the old
clipboard content is pasted instead of the just inserted character.
* I can't get rid of these spaces reliably. I don't know why Android
is doing this. That's even a pain when using the clipboard the
intended way.

So, currently I stick with english characters. Sorry.

I would be glad to hear from you, when you got a solution.

Best regards,
Hardy



2012/9/18 LeenuxGuy bijoy.an...@gmail.com:
 Hi Hardy,

 Did you ever find a solution for this?  I also have a signed app with
 INJECT_EVENTS permissions, and I want to be able to send any character
 (English or otherwise) on to various EditText fields, based on external
 input.



 On Tuesday, May 29, 2012 3:06:43 AM UTC-5, Hardy Kahl wrote:

 I am programming on a remote control app. One of the tasks I am facing
 is injecting characters. The code I am currently using looks like
 this:

 Instrumentation instr = new Instrumentation();

 String str=a;

 // basically the same like calling instr.sendStringSync(str);
 char[] chars = str.toCharArray();
 KeyCharacterMap keyCharacterMap =
 KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD);
 KeyEvent[] keyEvents = m_KeyCharacterMap.getEvents(chars);
 if (keyEvents != null) {
 for (KeyEvent kev : keyEvents) {
instr.sendKeySync(kev);
 }
 }

 That works perfectly on english characters (The characters show up in
 EditText boxes). However, if I am trying to inject e.g. korean
 characters, this fails. The function getEvents returns null, even when
 I have configured korean language and keyboard.

 I know there is another mehtod for injecting strings directly:

 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), str, 0, 0);
 instr.sendKeySync(event);

 This is not working either - no characters shown in EditText boxes,
 and onKeyMultiple() is not called either in my test activity.

 This is strange since dispatchKeyEvent() with the same event works in
 my test activity:

 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), str, 0, 0);
 dispatchKeyEvent(event);

 I believe injecting the string directly is the correct way. However,
 using instrumentation it looks like the event is discarded somewhere
 in Android.

 The reason why I am not using dispatchKeyEvent is that I have to
 inject events no matter which activity is in front, even it is not my
 own activity. I think that is not possible using dispatchKeyEvent, is
 it?
 Using Instrumentation this is possible. At least with english
 characters. (My app is signed with the platform key and I've got the
 permission INJECT_EVENTS).

 How am I supposed to inject non-english characters? Any ideas? I ran
 out of ideas :(

 Best Regards,
 Hardy Kahl

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


Re: [android-developers] Writing Proxy Settings in Settings.Secure

2012-09-19 Thread android_solutions
Hi I am using Samsung Nexus S phone(Android version 4.1.1), and I am not 
able to do the Proxy setting and enabling user authentication for web 
applications.
I am not able to hit google.com url.
Though I found to set the Proxy url / port in the Advanced Wifi settings, 
but Im not able to configure enabling user authentication.Also that setting 
is only for Web browsers and not for any other application.
My web server is within bacbone, and I have to set the proxy configuration, 
please help me in letting the same.

Thanks in advance,
Pallavi Roy
 
On Saturday, February 18, 2012 9:24:26 PM UTC+5:30, Marco Pagliari wrote:

 Have a look here http://www.android-proxy.com/. I'm working on 
 that. Please be patient. If you want to be involved the APL 
 http://code.google.com/p/android-proxy-library/project is FOSS.


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

Re: [android-developers] Writing Proxy Settings in Settings.Secure

2012-09-19 Thread android_solutions
If possible, any code snippet to set the Proxy configuration in the System 
Content Resolver.

Thanks,
Pallavi

On Wednesday, September 19, 2012 12:54:21 PM UTC+5:30, android_solutions 
wrote:

 Hi I am using Samsung Nexus S phone(Android version 4.1.1), and I am not 
 able to do the Proxy setting and enabling user authentication for web 
 applications.
 I am not able to hit google.com url.
 Though I found to set the Proxy url / port in the Advanced Wifi settings, 
 but Im not able to configure enabling user authentication.Also that setting 
 is only for Web browsers and not for any other application.
 My web server is within bacbone, and I have to set the proxy 
 configuration, please help me in letting the same.

 Thanks in advance,
 Pallavi Roy
  
 On Saturday, February 18, 2012 9:24:26 PM UTC+5:30, Marco Pagliari wrote:

 Have a look here http://www.android-proxy.com/. I'm working on 
 that. Please be patient. If you want to be involved the APL 
 http://code.google.com/p/android-proxy-library/project is FOSS.



-- 
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: OnDateChanged broken in ICS. Anyone have a work around?

2012-09-19 Thread pushbit
The updateDate method will call onDateChanged and if the time comparison 
logic isn't just right then this could lead to infinite recursion and a 
StackOverflowError.  I would guess that there's a discrepancy between the 
Calendar millis and the Date millis.  This could be tricky to get right 
unless you're very diligent about setting every time field on both sides 
down to the millisecond.  In the code below, newDate will have the current 
hours, minutes, seconds, and milliseconds, since it hasn't been clear()ed.  
The milliseconds from newDate will be greater than the milliseconds from 
maxDate if maxDate was created with only day precision (time will be 
00:00:00.000).

Would it work if you simplified this to get the desired date and then use 
that for the super() and init() params?  According to the 4.1 sources, it 
shouldn't be necessary to call updateDate, but I'm not sure about older 
versions.

pb

Open Source Android App Developer
Dining Out (with friends) - The History and Future of Your 
Foodhttps://play.google.com/store/apps/details?id=net.sf.diningout 


On Tuesday, 18 September 2012 20:53:27 UTC+2, darrinps wrote:

 I tried that and it blows it up with a stack overflow every time.

 Here is what I did:

 public void onDateChanged(DatePicker view, int year, int monthOfYear, int 
 dayOfMonth) 
 {
 Calendar newDate = Calendar.getInstance();
 newDate.set(year, monthOfYear, dayOfMonth);

 if (newDate.getTimeInMillis()  minDate.getTime()) 
 {
 newDate.setTime(minDate);
 view.updateDate(newDate.get(Calendar.YEAR), 
 newDate.get(Calendar.MONTH), newDate.get(Calendar.DAY_OF_MONTH));
 }
 else if (newDate.getTimeInMillis()  
 maxDate.getTime()) 
 {
 newDate.setTime(maxDate);
 view.updateDate(newDate.get(Calendar.YEAR), 
 newDate.get(Calendar.MONTH), newDate.get(Calendar.DAY_OF_MONTH));
 }
 else 
 {
 super.onDateChanged(view, year, monthOfYear, 
 dayOfMonth);
 view.init(year, monthOfYear, dayOfMonth, this);
 }

 Once you hit a scroll button it goes to never never land for a few seconds 
 then crashes. I tried a couple other permutations too with the same result.



 On Tuesday, September 18, 2012 3:31:37 AM UTC-5, pushbit wrote:

 I noticed that this bug is fixed in JB.  But for ICS, I believe you can 
 fix the bug yourself in your DatePickerDialog subclass.  Override 
 onDateChanged and after super.onDateChanged() call view.init(year, month, 
 day, this).  Unfortunately init will be called twice, but the second time 
 should restore your DatePickerDialog as the OnDateChangedListener.

 pb
 
 Open Source Android App Developer
 Dining Out (with friends) - The History and Future of Your 
 Foodhttps://code.google.com/p/dining-out/ 


 On Monday, 17 September 2012 20:25:20 UTC+2, darrinps wrote:

 Looks like onDateChanged never gets called in ICS (and above I assume) 
 after the very first time the DatePickerDialog is displayed. Here is a bug 
 that has been filed: 
 http://code.google.com/p/android/issues/detail?id=25838

 I tried the work around suggested in it (not calling 
 super.onDateChanged) but that resulted in a stack overflow, so, does anyone 
 have a suggestion to get OnDateChanged working with older versions of 
 Android (targeting 2.2 and above) running on devices with ICS installed?

 Again, everything works fine with onDateChanged up until version 14. 
 After that, the call back never takes place. I need to know when the dialog 
 has had its date changed.

 Thanks!



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

Re: [android-developers] Custom pop up option menu on button click

2012-09-19 Thread fahad mullaji
Thanks Jovish solved my problem.

On Wed, Sep 19, 2012 at 1:41 AM, Jovish P android.f...@gmail.com wrote:

 Check out this link


 http://www.stealthcopter.com/blog/2010/04/android-context-menu-example-on-long-press-gridview/


 Regards,
 Jovish

 On Tue, Sep 18, 2012 at 8:09 PM, fahad mullaji fahadmull...@gmail.comwrote:


 Guys,

 I want to show pop menu on a button click like we have it on long press
 event on list
 It is called context menu.
 Cane we get it on a button click?


 --
 Regards
 Fahad Mullaji


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




-- 
Regards
Fahad Mullaji

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

Re: [android-developers] Custom font in ActionBar overflow menu

2012-09-19 Thread Martijn van Mechelen
Hi Kostya,

Thanks for your reply. We'll try it out and let you know if it worked.

Martijn


Op dinsdag 18 september 2012 13:37:25 UTC+2 schreef Kostya Vasilyev het 
volgende:

 I think you should be able to override these in your theme:

 android:attr/textAppearanceSmallPopupMenu

 android:attr/textAppearanceLargePopupMenu

 A text appearance, in turn, can specify a typeface.

 -- K

 2012/9/18 Martijn van Mechelen martijnv...@gmail.com javascript:

 Hi all,

 It seems that it's not possible to apply a custom font to the overflow 
 menu. The following page mentions a hack which we don't want to use:

 http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
  

 Does anyone know if there is an official way to solve this?

 Thanks,

 Martijn

 -- 
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Using a logo instead of icon in a SearchView and postioning of a ViewSwitcher

2012-09-19 Thread Martijn van Mechelen
Hi Kostya,

Thanks for your reply. We'll try it out and let you know if it worked.

Martijn

Op dinsdag 18 september 2012 13:30:13 UTC+2 schreef Kostya Vasilyev het 
volgende:

 The answer at SO uses this:

 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME);

 Since your action bar has different content, you might want to try this:

 actionBar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TiTLE);

 or just this:

 actionBar.setDisplayShowTitleEnabled(false);

 -- K

 2012/9/18 Martijn van Mechelen martijnv...@gmail.com javascript:

 Hi all,

 Recentely we've published a Android app which is developed according to 
 the Android design guidelines:
 https://play.google.com/store/apps/details?id=nl.jip.benzineapp

 This app uses a logo instead of the launcher icon. In the app a search 
 function is present in the ActionBar. There is also ViewSwitcher present in 
 the ActionBar.

 Now we have two problems with the ActionBar.


1. We aren't able to show the custom logo instead of the laucher app 
icon in the SearchView, see attachment. This should be possible, this is 
accomplished in the YouTube app for example. Any suggestions how to 
accomplish this?

2. When the user navigates between the default ActionBar and the 
SearchView the positioning of the ViewSwitcher becomes incorrect, see 
attachment. Apparently this is a known problem: 

 http://stackoverflow.com/questions/12115372/android-margin-between-actionbar-icon-and-navigation-dropdown-menu-changes-when
When we apply the suggested solution the custom logo is replaced by 
the laucher icon. Any suggestions how to avoid this?


 Thanks,

 Martijn van Mechelen

 -- 
 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 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: Advertising opt out

2012-09-19 Thread b0b


On Monday, 17 September 2012 18:18:13 UTC+2, John Coryat wrote:

 Many developers force users to purchase something in order to remove 
 advertisements from their apps. While this may seem to be a good revenue 
 model, it tends to annoy and anger users. It has some other serious 
 consequences as well.


In my experience that has not been the case: I almost get no complain about 
app havings ads. I've placed them only on 1 screen of the app (and not 
every possible screen like some apps do), and to be the least intrusive as 
possible.  In fact, I'm not using ads to generate revenue from them and 
could care less about CPM, CTR, etc. Ad revenue is abysmally low anyway but 
I could care less. It is just one more incentive incentive to get users to 
purchase the full version to remove them (+ get some unlocked features).


-- 
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: New SDK release for Egnos

2012-09-19 Thread Leonardo Costa
Me again, with further info that can be used also as a tutorial on the 
EGNOS APK :-)

After the first approach to the EGNOS SDK through the Demo App, you can 
start developing your own positioning Application for smartphones

The EGNOS SDK allows you as a developer to use* EGNOS *in *smartphones*without 
needing an extensive knowledge of radionavigation by satellite. 
This software calculates an EGNOS enhanced position from the EGNOS 
Signal-In-Space or, alternatively, from the internet (SISNeT, which is the 
predecessor to EDAS).
Download the SDK Source Code and follow the How to Install guide 
http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk

The European commission has supported the enhancement of the EGNOS SDK 
through new functionalities: a skyplot, - an augmented reality feature - 
and better accuracy that can be easily tested with the EGNOS SDK Demo App 
downloadable on the Egnos Portal linked above.

Thanks, cheers.

Leonardo


On Monday, 3 September 2012 16:28:35 UTC+2, Leonardo Costa wrote:

 Hello again everybody!
 To start approaching the EGNOS SDK, you can now install the Demo App on 
 your smartphone and with the support of the external receiver you can 
 experience the power of high accuracy positioning directly in your hand.


 http://egnos-portal.gsa.europa.eu/developer-platform/egnos-toolkits/egnos-sdk

 Download the DEMO APP and follow the How To Install Guide. As always if 
 you have any question please reply to this thread!
 Cheers 
 L.

 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

[android-developers] Sliding drawer

2012-09-19 Thread mohammed Nuhail
How to slide a sliding drawer from left to right ?

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

Re: [android-developers] Custom pop up option menu on button click

2012-09-19 Thread Dilip Kumar Chaudhary
Fahad,
follow this https://github.com/lorensiuswlt/NewQuickAction3D, Hope this
can help.

On Wed, Sep 19, 2012 at 1:06 PM, fahad mullaji fahadmull...@gmail.comwrote:

 Thanks Jovish solved my problem.

 On Wed, Sep 19, 2012 at 1:41 AM, Jovish P android.f...@gmail.com wrote:

 Check out this link


 http://www.stealthcopter.com/blog/2010/04/android-context-menu-example-on-long-press-gridview/


 Regards,
 Jovish

 On Tue, Sep 18, 2012 at 8:09 PM, fahad mullaji fahadmull...@gmail.comwrote:


 Guys,

 I want to show pop menu on a button click like we have it on long press
 event on list
 It is called context menu.
 Cane we get it on a button click?


 --
 Regards
 Fahad Mullaji


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




 --
 Regards
 Fahad Mullaji


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




-- 
*Thanks  Regards*
Dilip Kumar Chaudhary
My Linkedin Profilehttp://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b
My Development Blog http://dilipdevelopment.blogspot.com/

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

Re: [android-developers] get bitmap size

2012-09-19 Thread Przemyslaw Wegrzyn

On 2012-09-19 08:34, Live Happy wrote:
what is the best way to get the size of bitmap image i know there is 
myBitmap.getByteCount() but this method is for api level 12 so it is 
there any other way to get it thx on advance
You can use the following instead: myBitmap.getRowBytes() * 
myBitmap.getHeight()


Both methods available in API Level 1 already. And this is exactly what 
getByteCound() does internally.


BR,
Przemek


--
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: NFC Application

2012-09-19 Thread Dominik
regarding the eclipse plugin I think you refer to

https://code.google.com/p/nfc-eclipse-plugin/

Dominik


Am Dienstag, 18. September 2012 00:34:35 UTC+2 schrieb Thomas Skjølberg:

 Project for handling NDEF messaging at runtime:

 http://code.google.com/p/ndef-tools-for-android/

 Eclipse editor for NDEF:

 http://code.google.com/p/ndef-tools-for-android/

 (shameless plug ;-))

 SDK for NFC readers:

 https://github.com/grundid/nfctools

 Cheers!

 

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

Re: [android-developers] get bitmap size

2012-09-19 Thread Live Happy
i already use this way but it is not give the real size its depend of
quality of image

On Wed, Sep 19, 2012 at 1:53 PM, Przemyslaw Wegrzyn
codepaint...@gmail.comwrote:

 On 2012-09-19 08:34, Live Happy wrote:

 what is the best way to get the size of bitmap image i know there is
 myBitmap.getByteCount() but this method is for api level 12 so it is there
 any other way to get it thx on advance

 You can use the following instead: myBitmap.getRowBytes() *
 myBitmap.getHeight()

 Both methods available in API Level 1 already. And this is exactly what
 getByteCound() does internally.

 BR,
 Przemek


 --
 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.comandroid-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=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 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: Advertising opt out

2012-09-19 Thread John Coryat
Increasing CTR increases CPM. If you want to deny that, you're also denying 
yourself potential revenue. There's no simple math here as Rudolf explained.

But forget the revenue. What is the point of an app anyway? It's providing 
a useful bit of software that improves the usability of the device to the 
user. Another words, a great user experience. My point is that by letting 
users opt out of ads for free, they get a better user experience and the 
device itself becomes more useful.

If the point of your app isn't to do this, then for sure, free opt out 
isn't for you.

One additional detail... Free users who opt out of ads will see them come 
back after 30 days. They can opt out again but they will be back after a 
month. We do this because a new user might automatically opt out of ads 
when they first install the app but later, after they get used to using the 
app, might hardly notice the ads coming back and even find them useful.

-John Coryat

-- 
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 Google play -- (official/unofficial) position on external (bluetooth/usb) based sensors

2012-09-19 Thread falcon74


On Tuesday, September 11, 2012 9:59:18 PM UTC+5:30, lbendlin wrote:

 Our app uses GPS. We don't have uses-feature  specified, but even 
 tablets that don't have built in GPS can load it from the Play store.  Now, 
 admittedly, CM9 etc have an option to get GPS data from external receivers, 
 so maybe that option is fooling the Play Store into thinking the device has 
 GPS capability.


So @lbendlin, are you saying that you guys have tested your app only on 
Tablets running CM9, or also on stock Android ?
With CM9, I agree that it bends/amends many handicaps that stock Android 
has (or is forced to have), have been overcome, and what you wrote might be 
possible. OTOH, if your app works on stock Android as well, especially when 
installed via Play, it would indicate that uses-feature is the 
ugly-duckling here.


 On Tuesday, September 11, 2012 4:55:14 AM UTC-4, falcon74 wrote:



 On Tuesday, September 11, 2012 11:37:22 AM UTC+5:30, RichardC wrote:

 Does uses-feature with require=false, cover your use-case?

 http://developer.android.com/guide/topics/manifest/uses-feature-element.html
  

  
 Yes, android.hardware.location.gps for instance.
  

 On Tuesday, September 11, 2012 6:56:40 AM UTC+1, falcon74 wrote:

 Wondering if anyone has come across an official (or unofficial) 
 statement/stand regarding Android (SDK) and Google-Play, regarding apps 
 using external sensors, e.g. bluetooth or USB based ones.

 My experience based on attempt at installing several apps, that require 
 GPS, is that Google-play refuses the apps to be installed on devices, that 
 it recognizes as not having in-built GPS. I faced the similar problem with 
 magnetic field-strength sensor apps, when device doesn't have the 
 capability. However, I see lot of practical situations where such 
 capabilities can be brought by external sensors. 




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

Re: [android-developers] Android Google play -- (official/unofficial) position on external (bluetooth/usb) based sensors

2012-09-19 Thread falcon74
On Tuesday, September 11, 2012 4:32:09 PM UTC+5:30, Mark Murphy (a Commons 
Guy) wrote:

 On Tue, Sep 11, 2012 at 1:56 AM, falcon74 banibra...@gmail.comjavascript: 
 wrote: 
  Wondering if anyone has come across an official (or unofficial) 
  statement/stand regarding Android (SDK) and Google-Play, regarding apps 
  using external sensors, e.g. bluetooth or USB based ones. 

 AFAIK, Android does not support external sensors. While it may be 


While I suspected that, but is there any official statement to that effect 
? Maybe something from which we could make this inference / draw this 
conclusion -- without doubt ?
 

 possible at the ADK level to cook up your own support for them, you 
 cannot deliver the results through the standard SDK mechanisms, so no 
 apps using such sensors would be able to use that data. Hence, the 
 Play Store filtering is based on what SDK apps would be expecting -- 
 it is less of an issue of does the device have a magnetic field 
 sensor and one of does the device have a magnetic field sensor that 
 works with SensorManager? 


I guess, GPS may be, an exception, but what you wrote, is probably true for 
all other sensors s.a. magentic-field-sensor, accelerometer/gyro etc. For 
GPS, there is at least one app available from appstore, which uses the 
Mock Locations method to inject true GPS coordinates into an application 
requiring fine-location, while getting the GPS coordinates from an external 
sensor via bluetooth. However the app needing fine-location might have to 
side-loaded, or, as I am beginning to suspect, not have uses-feature in 
it's manifest.
 


 Now, if in some future era, Android supports external sensors, Play 
 Store filtering will hopefully change to match. 

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

 _The Busy Coder's Guide to Android Development_ Version 4.1 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

Re: [android-developers] Android Google play -- (official/unofficial) position on external (bluetooth/usb) based sensors

2012-09-19 Thread Mark Murphy
On Wed, Sep 19, 2012 at 8:25 AM, falcon74 banibrata.du...@gmail.com wrote:
 While I suspected that, but is there any official statement to that effect ?

Probably not. There is no official statement that Android can
interface with a dishwasher, or a meteorite, or an amoeba, either.

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

_The Busy Coder's Guide to Android Development_ Version 4.1 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] handler pause and resume event

2012-09-19 Thread Narendra Singh Rathore
Hi all devs,

I am currently using handlers to pausing and playing Runnable.

I have two buttons - play and pause.

On pause button click, I want to pause the event/runnable, which I am doing
as follows:

*handler.removeCallbacks(runnable);*
*
*
but this seems to stop my current runnable, and when I play again, that
thread is getting started again, though, I want the remaining one to
complete first.*
*


For eg;
I am having a number of images, which I am playing one by one, with the
delay of 5 seconds each, as well as I am having play pause buttons, which I
use to play and pause.

Now, suppose I click pause button, just after 2 seconds of first image
appearance, and then play again. The next image appears.
But I want the first image to complete its remaining 3 seconds first, and
then to display the next image.

How to do this?


Please, direct me.

Thanks n Regards
NSR

-- 
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] Upgrading developer account from free apps to paid apps

2012-09-19 Thread Andrei Bogdan
I am from Romania. I've registered as an android developer using my credit 
card and paid the $25. I currently can post free apps on the market.

I would like to upgrade my account so I can post paid apps. Now, the 
problem is that credit cards from Romania are not accepted by Google for 
such a thing (for posting paid apps). So I've asked a friend of mine from 
Denmark to let me use his credit card. 

My question is ... does it suffice to just change the credit card number 
specified in my account, from the current one, to my friend's ? Will that 
solely make me eligible to sell paid apps, or will I have to do something 
else like pay the $25 again, or do I have to create another account using 
his credit card? Hoe does this work exactly?

If anyone can clarify this for me, I'd appreciate it. Thanks.

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

[android-developers] Re: PreferenceActivity Refresh Problem

2012-09-19 Thread Opack
I was struggling on the same problem, and the finish/restart activity 
solution was not satisfying because I messes the back button history : 
when the user uses back, then the previous activity to be restored is not 
the activity that opened the preferences in the first place, but the 
preferences itself ! It is understandable because after all, we did 
actually call the PreferencesActivity from the PreferencesActivity...

*The solution I use is quite simple : onCreate(null);*
I simply tried calling onCreate, hoping that it would perform its 
initialization routine once more, and it did ! Hope it can help someone ;-)

Le jeudi 2 octobre 2008 13:11:32 UTC+2, Amos a écrit :

 I have a PreferenceActivity inflated from xml. One of the preferences 
 launches an intent which opens an activity that clears all the 
 preferences and resets them to the default values. 
 My problem is that when this restore defaults activity returns, the 
 previous preference values still appear on the screen. If I exit the 
 preference activity and then reopen it, the updated preference values 
 appear. 
 This seems like a refresh issue. Is there a way I can tell the 
 PreferenceActivity to refresh its values? (I made sure I am comitting 
 all my preference changes) 

 Thanks

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

[android-developers] Re: OnDateChanged broken in ICS. Anyone have a work around?

2012-09-19 Thread darrinps
The minDate is actually one day in the past and the maxDate is actually one 
day into the future so it shouldn't be a problem with being off by a few 
milliseconds. There must be something else going on here. 

I might debug it and try to see what is going on. Right now, I just check 
to see if they changed the date beyond the allowed time and pop up a 
message as a kludge until a true solution to get around the bug is coded. 
This is second discrepancy I have found this week between how an older 
version of Android and ICS worked BTW.
 

On Wednesday, September 19, 2012 2:27:23 AM UTC-5, pushbit wrote:

 The updateDate method will call onDateChanged and if the time comparison 
 logic isn't just right then this could lead to infinite recursion and a 
 StackOverflowError.  I would guess that there's a discrepancy between the 
 Calendar millis and the Date millis.  This could be tricky to get right 
 unless you're very diligent about setting every time field on both sides 
 down to the millisecond.  In the code below, newDate will have the current 
 hours, minutes, seconds, and milliseconds, since it hasn't been clear()ed.  
 The milliseconds from newDate will be greater than the milliseconds from 
 maxDate if maxDate was created with only day precision (time will be 
 00:00:00.000).

 Would it work if you simplified this to get the desired date and then use 
 that for the super() and init() params?  According to the 4.1 sources, it 
 shouldn't be necessary to call updateDate, but I'm not sure about older 
 versions.

 pb
 
 Open Source Android App Developer
 Dining Out (with friends) - The History and Future of Your 
 Foodhttps://play.google.com/store/apps/details?id=net.sf.diningout 


 On Tuesday, 18 September 2012 20:53:27 UTC+2, darrinps wrote:

 I tried that and it blows it up with a stack overflow every time.

 Here is what I did:

 public void onDateChanged(DatePicker view, int year, int monthOfYear, int 
 dayOfMonth) 
 {
 Calendar newDate = Calendar.getInstance();
 newDate.set(year, monthOfYear, dayOfMonth);

 if (newDate.getTimeInMillis()  minDate.getTime()) 
 {
 newDate.setTime(minDate);
 view.updateDate(newDate.get(Calendar.YEAR), 
 newDate.get(Calendar.MONTH), newDate.get(Calendar.DAY_OF_MONTH));
 }
 else if (newDate.getTimeInMillis()  
 maxDate.getTime()) 
 {
 newDate.setTime(maxDate);
 view.updateDate(newDate.get(Calendar.YEAR), 
 newDate.get(Calendar.MONTH), newDate.get(Calendar.DAY_OF_MONTH));
 }
 else 
 {
 super.onDateChanged(view, year, monthOfYear, 
 dayOfMonth);
 view.init(year, monthOfYear, dayOfMonth, this);
 }

 Once you hit a scroll button it goes to never never land for a few 
 seconds then crashes. I tried a couple other permutations too with the same 
 result.



 On Tuesday, September 18, 2012 3:31:37 AM UTC-5, pushbit wrote:

 I noticed that this bug is fixed in JB.  But for ICS, I believe you can 
 fix the bug yourself in your DatePickerDialog subclass.  Override 
 onDateChanged and after super.onDateChanged() call view.init(year, month, 
 day, this).  Unfortunately init will be called twice, but the second time 
 should restore your DatePickerDialog as the OnDateChangedListener.

 pb
 
 Open Source Android App Developer
 Dining Out (with friends) - The History and Future of Your 
 Foodhttps://code.google.com/p/dining-out/ 


 On Monday, 17 September 2012 20:25:20 UTC+2, darrinps wrote:

 Looks like onDateChanged never gets called in ICS (and above I assume) 
 after the very first time the DatePickerDialog is displayed. Here is a bug 
 that has been filed: 
 http://code.google.com/p/android/issues/detail?id=25838

 I tried the work around suggested in it (not calling 
 super.onDateChanged) but that resulted in a stack overflow, so, does 
 anyone 
 have a suggestion to get OnDateChanged working with older versions of 
 Android (targeting 2.2 and above) running on devices with ICS installed?

 Again, everything works fine with onDateChanged up until version 14. 
 After that, the call back never takes place. I need to know when the 
 dialog 
 has had its date changed.

 Thanks!



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

Re: [android-developers] Advertising opt out

2012-09-19 Thread Francisco Marzoa
On Sep 19, 2012 8:47 AM, Rudolf Hornig rudolf.hor...@gmail.com wrote:

 I just want to throw my 2cents here...

 While the math presented here is true, you left out an interesting side
effect: Implementing an opt out can lead to higher click through rates and
higher click through rates draw higher bids from the advertisers meaning
higher revenue / click values.

Are you sure about that? Where is it written?


 The math was based on the assumption that the revenue/click value is the
same for all applications. This is not true. I have two apps apparently
with the same user base and one of them have the 4 times the CTR as the
other and the one with higher CTR brings in about 20% more revenue per
clicks.

Well, my own experience is exactly the opposite: the SAME app released
fourth months ago, over one million total installs, has had a lot of
variation on CTR, and in many cases with a higher CTR and similar absolute
clicks, I have got lower revenue. Even sometimes with a CTR very high, it
seems like I were penalized with even lower revenue per click.


 Higher bidding advertisements appear more often in apps that have higher
CTRs affectively resulting in higher revenue / click figures.

I rather like to see some solid proof on these claims.


 Now it's a different story whether allowing that 1.5% users not to show
the ads will increase your CTR noticeably... I think no, but the goodwill
might counter your small losses. It really depends on the user attitudes.

 Rudolf


 On Wednesday, September 19, 2012 12:54:35 AM UTC+2, Nathan wrote:

 Let's be civil here. No one has proposed annoying the hell out of your
users. If you do, the users will uninstall you long before they make any
sort of opt out decision.

 I can agree with several people here.

 Fran and William are right about the math. John's approach does not
bring him more revenue, and likely reduces it by a small amount. CTR and
eCPM are vanity metrics.

 Nonetheless, John's approach is reasonable if it is worthwhile to give
up a miniscule amount of revenue, in exchange for increased goodwill and
decreased support costs. I've been known to give a few refunds that were
entirely undeserved, just because I have better things to do than argue
with customers.

 But William's approach also makes sense. Let's not use words like
blackmail and hostage.  You are offering something of value, ad free use of
your app. In a free market, the user can accept the offer and pay, decide
that the ads aren't really that bad and decline, or even decide to
uninstall your app. No hostages, no blackmail. Certainly there are other
offers you could make to your users, alone or in combination. Since there
is a way to opt out of ads, albeit a paid one, reasonable people are less
likely to complain. UNreasonable people, well, they might still do that . .
.

 I am not using ads for a revenue source in anything right now.
Personally, I wouldn't take John's approach for the simple reason that I'd
never get around to implementing it. I have several hundred things on a
list that I could do to make things better for my customers: features,
usability, content, etc. I think it fair to prioritize such requests above
those things that would make life easier for the people who are unwilling
to pay, neither through accepting ads nor making a purchase.  That puts it
at the bottom of the list which means I will get to it approximately. . .
never.

 I'm not in business to please everyone. Don't get me wrong - I want
those who do purchase and use my products to have a great experience. But
you could release an app with no monetization whatsoever and it would still
get complaints. You can't expect those of us who want/need to earn revenue
to be exempt.

 Nathan

 --
 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 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] Please help with the Error

2012-09-19 Thread viktor
From Market come a tons of errors but I do not understand what to fix.

Thanks.

java.lang.SecurityException: Binder invocation to an incorrect interface
at android.os.Parcel.readException(Parcel.java:1327)
at android.os.Parcel.readException(Parcel.java:1281)
at 
com.android.internal.view.IInputMethodManager$Stub$Proxy.hideSoftInput(IInputMethodManager.java:672)
at 
android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow(InputMethodManager.java:889)
at 
android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow(InputMethodManager.java:861)
at xxx.views.h.a_(Unknown Source)
at xxx.views.aa.a_(Unknown Source)
at xxx.activities.DashboardActivity.onAnimationEnd(Unknown Source)
at 
android.view.animation.AnimationSet.getTransformation(AnimationSet.java:397)
at android.view.animation.Animation.getTransformation(Animation.java:887)
at android.view.ViewGroup.drawChild(ViewGroup.java:2657)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.View.draw(View.java:11121)
at android.widget.FrameLayout.draw(FrameLayout.java:450)
at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2290)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2167)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1773)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)

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

Re: [android-developers] Re: LogCat window is blank

2012-09-19 Thread Jovish P
some times i also used to exprnice the same problem.
it wil stat working once i restart eclipse. not able to find out why it is
happening

Regards,
Jovish

On Wed, Sep 19, 2012 at 2:40 AM, Lew lewbl...@gmail.com wrote:

 bob wrote:

 Has anyone figured out why the LogCat window is blank a lot of times?


 I will guess you mean in Eclipse, albeit you don't say.

 You don't say what times it's blank. When there's an emulator up? When
 you're
 running a program? When you happen to know for sure that the window is
 connected to the logcat of the right device and you aren't filtering its
 output to hide
 all content and there actually is content in the logcat, and how do you
 know?

 Doctor, I have a pain and I'd like to know why. Has anyone figured that
 out?

 --
 Lew


 --
 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 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] Silent installation of third party applications

2012-09-19 Thread Jovish P
user wil be able to install third party application thru our application
once user select the application we are downloading the apk file and
installing
it on the device.So once download is complete a prompt wil pop up whether
user want to install it or not
We want  to hide this prompt. we want to install the apk silently. Is it
possible ?
if yes , hw we can achive this ? Please share your thoughts

-- 
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: Silent installation of third party applications

2012-09-19 Thread RichardC
I don't think there is anyway to silently install an application.  As you 
can imagine this would be a great big security hole.

On Wednesday, September 19, 2012 3:10:17 PM UTC+1, Jovish P wrote:

 user wil be able to install third party application thru our application
 once user select the application we are downloading the apk file and 
 installing 
 it on the device.So once download is complete a prompt wil pop up whether 
 user want to install it or not
 We want  to hide this prompt. we want to install the apk silently. Is it 
 possible ?
 if yes , hw we can achive this ? Please share your thoughts


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

Re: [android-developers] get bitmap size

2012-09-19 Thread bob
What api level are you devving for?

Also, I would think *myBitmap.getRowBytes() * myBitmap.getHeight()* should 
work.

This is the Android source ( 4.1.1_r1 ):

*874 public final int getByteCount() {*
*875 // int result permits bitmaps up to 46,340 x 46,340*
*876 return getRowBytes() * getHeight();*
*877 }*

You could probably use Reflection and get the size of the byte array if you 
really need to, which I doubt.



On Wednesday, September 19, 2012 6:23:29 AM UTC-5, Live Happy wrote:

 i already use this way but it is not give the real size its depend of 
 quality of image

 On Wed, Sep 19, 2012 at 1:53 PM, Przemyslaw Wegrzyn 
 codepa...@gmail.comjavascript:
  wrote:

 On 2012-09-19 08:34, Live Happy wrote:

 what is the best way to get the size of bitmap image i know there is 
 myBitmap.getByteCount() but this method is for api level 12 so it is there 
 any other way to get it thx on advance

 You can use the following instead: myBitmap.getRowBytes() * 
 myBitmap.getHeight()

 Both methods available in API Level 1 already. And this is exactly what 
 getByteCound() does internally.

 BR,
 Przemek


 -- 
 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=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 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: OnPreviewFrame on Galaxy Nexus

2012-09-19 Thread tom
this is a known issue with some one. OnPreviewFrame will not start until a 
valid surface is given

On Friday, August 31, 2012 10:01:33 AM UTC+2, cpares wrote:

 Hello!

 Do you know if OnPreviewFrame (as of Android 4.0.3) is correctly 
 implemented in Samsung Galaxy Nexus? I have programmed some code that works 
 perfectly on a Galaxy S3, but in the Nexus, the byte[] buffer, which comes 
 with the call to OnPreviewFrame and should have the YUV data, has 0s in all 
 the Y channel, and -128 in U and V (that is, plain green, if I'm correct).

 getPreviewFormat() is returning a 17 as expected, meaning that the preview 
 mode is actually NV21 (the same as the S3 on which it works).

 I know there are some hardware-dependent issues with raw camera data, so 
 maybe that is the explanation? I have been searching but I have found 
 nothing related.

 Thank you for your time!


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

Re: [android-developers] Re: Silent installation of third party applications

2012-09-19 Thread Jovish P
i have small doubt regarding this.
 then how third party app stores installing applications on android phone
silently

for example ; kindle fire - amazon appstore




On Wed, Sep 19, 2012 at 7:44 PM, RichardC richard.crit...@googlemail.comwrote:

 I don't think there is anyway to silently install an application.  As you
 can imagine this would be a great big security hole.


 On Wednesday, September 19, 2012 3:10:17 PM UTC+1, Jovish P wrote:

 user wil be able to install third party application thru our application
 once user select the application we are downloading the apk file and
 installing
 it on the device.So once download is complete a prompt wil pop up whether
 user want to install it or not
 We want  to hide this prompt. we want to install the apk silently. Is it
 possible ?
 if yes , hw we can achive this ? Please share your thoughts

  --
 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 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] my first application crushes

2012-09-19 Thread Afik Gilboa
it's probebly a beginners question but i couldn't found it on google..
I created my first adk file (of my first application) and send it to my 
phone via email..
after installation I tried to run the app and it immediatly crushed.. no 
clue why..
any ideas on how to find out what's wrong?

-- 
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] How to load all the classes from dex file using DexClassLoader

2012-09-19 Thread Lalith
Hi All,

I need to know how to load all the classes from dex file using 
DexClassLoader. My dex file has 20 packages and 200 classes in it. I need 
to load all the classes dynamically from another application using 
DexClassLoader.

-- 
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] Google Android

2012-09-19 Thread Ashish Sharma
 Plz Helpbring up a TEXT WINDOW that listens to the incoming phone 
call and converts the caller's speech to text and displays that text in the 
TEXT 
WINDOW..http://www.linkedin.com/e/s75x8n-h78nwxdy-58/vaq/162856012/76373/95463108/view_disc/?hs=falsetok=2v9Zt9Zp9dPlo1
 

-- 
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: How to process a MJPEG stream?

2012-09-19 Thread bilb
In fact I found some example to do this ( 
herehttp://stackoverflow.com/questions/3205191/android-and-mjpeg#tab-top), 
but I need to get a MJpeg stream from rtsp url.

Le mercredi 11 février 2009 23:35:11 UTC+1, Jared a écrit :

 Anyone have a code example on how to connect to a MJPEG stream, and 
 update an ImageView? I am surprised that the browser doesn't support 
 displaying a MJPEG stream, as it supports JPEG images. Also does 
 anyone know if they plan on adding this feature to the browser in a 
 future release? 

 In case you are wondering why I would want this feature, it is for 
 viewing my webcam stream. Any help would be appreciated.

-- 
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] ASX Stream! urgent

2012-09-19 Thread Fermin Jimenez
Hello,
I have to finish an app, the problem I'm asked to play an asx stream.
Not much about android so if someone can let me code or help, I would 
greatly appreciate.
A video on asx

-- 
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] I need advice from the Android developers community regarding a web link I am using within my App

2012-09-19 Thread Chris CJ
Hey Guys

I have pointed a part of my app at a publicly available webpage, however 
the owner of the web page has contacted me and asked me to cease pointing 
people to his web page.  My question is.is this considered to be 
illegal?  I believe it is commonly called 'web scraping', where you use a 
link to another web site/page within your website/page or in this case I 
have a button in my app that points to his webpage.  Your thoughts 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

Re: [android-developers] Re: android.app.Application NullPointerException

2012-09-19 Thread Heila van der Merwe
So just to clarify: the advantage of using a Singleton object will be that 
if the app is killed, the Singleton object can just be recreated when it is 
needed. So you could use a Singleton object in the Application class to 
assure that it will be initialised when it is needed and the Singleton 
object is still global?

On Friday, 24 September 2010 07:47:06 UTC+2, TreKing wrote:

 On Thu, Sep 23, 2010 at 8:36 PM, elubin elubi...@gmail.com 
 javascript:wrote:

 That absolutely sounds like what is happening, but WHY would my app be 
 killed and restarted?


 I'm guessing because it's idle long enough and Android feels like killing 
 it. If you're leaving your app alone over night, likely your phone is going 
 to sleep, pausing your app. Left in this state long enough, it's not 
 surprising that it would be killed eventually.
  

 You are correct, if it gets restarted on the main window then i am not 
 refilling my application data.  I only fill it on the login window.  Do I 
 misunderstand how application data is supposed to work?


 Perhaps. As Dianne usually advises, you should scrap the Application idea 
 and use a lazy-loading Singleton object to store your global / app-wide / 
 static data as necessary.
  

  what's the point of it if the JVM can kill my app at any time and not 
 store the application object?


 Well, I guess the point is to have the notion of an object that represents 
 your app as a whole. But it's not the system's job to store and restore 
 it's state - that's your job.

 On Thu, Sep 23, 2010 at 11:56 PM, Frank Weiss few...@gmail.comjavascript:
  wrote:

 I think the lesson is that an Android application and 
 android.app.Application are frequently mistakenly assumed to behave the 
 same as an application on other operating systems.


 Yes, this is an important point. OP, you must remember that leaving your 
 app open does not mean it will never close as it does on Windows, for 
 example. Android will kill it and restart it as need be - it only *appears* 
 to have remained open since it restarts in the last activity you left it in.


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



-- 
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] How does the Google Play cash flow work?

2012-09-19 Thread sol-venetus.gd-dept


Hi there,

we're new here and we would like to ask for experiences as to how the cash 
flow works for the Apple Store.

Let's say, we submit an app.

- How long does it approx. take for it to get approved?

- How long does it take until the income from the app actually reaches the 
submitter?

- Are there differencies concerning the cash flow between the customer's 
payment methods?

- If yes, of what nature are they?

- Is the Google's share directly substracted from the price or does the 
submitter has to pay it out some other way?

 

Thank you very much for any precise info whotsoever.

 

sol-venetus

-- 
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: how to inject non-english characters

2012-09-19 Thread LeenuxGuy
Hi Hardy,

Did you ever find a solution for this?  I also have a signed app with 
INJECT_EVENTS permissions, and I want to be able to send any character 
(English or otherwise) on to various EditText fields, based on external 
input.



On Tuesday, May 29, 2012 3:06:43 AM UTC-5, Hardy Kahl wrote:

 I am programming on a remote control app. One of the tasks I am facing 
 is injecting characters. The code I am currently using looks like 
 this: 

 Instrumentation instr = new Instrumentation(); 

 String str=a; 

 // basically the same like calling instr.sendStringSync(str); 
 char[] chars = str.toCharArray(); 
 KeyCharacterMap keyCharacterMap = 
 KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); 
 KeyEvent[] keyEvents = m_KeyCharacterMap.getEvents(chars); 
 if (keyEvents != null) { 
 for (KeyEvent kev : keyEvents) { 
instr.sendKeySync(kev); 
 } 
 } 

 That works perfectly on english characters (The characters show up in 
 EditText boxes). However, if I am trying to inject e.g. korean 
 characters, this fails. The function getEvents returns null, even when 
 I have configured korean language and keyboard. 

 I know there is another mehtod for injecting strings directly: 

 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), str, 0, 0); 
 instr.sendKeySync(event); 

 This is not working either - no characters shown in EditText boxes, 
 and onKeyMultiple() is not called either in my test activity. 

 This is strange since dispatchKeyEvent() with the same event works in 
 my test activity: 

 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), str, 0, 0); 
 dispatchKeyEvent(event); 

 I believe injecting the string directly is the correct way. However, 
 using instrumentation it looks like the event is discarded somewhere 
 in Android. 

 The reason why I am not using dispatchKeyEvent is that I have to 
 inject events no matter which activity is in front, even it is not my 
 own activity. I think that is not possible using dispatchKeyEvent, is 
 it? 
 Using Instrumentation this is possible. At least with english 
 characters. (My app is signed with the platform key and I've got the 
 permission INJECT_EVENTS). 

 How am I supposed to inject non-english characters? Any ideas? I ran 
 out of ideas :( 

 Best Regards, 
 Hardy Kahl 


-- 
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] How to record media audio, AudioManager.STREAM_MUSIC

2012-09-19 Thread Meloy Común
Hi,
I am making a piano app in android.

I want to record the sounds maked by user when he plays the piano.

I load sounds in a soundPool like:

private void chargeSounds() {
this.soundPool = new SoundPool(12, AudioManager.STREAM_MUSIC, 0);
this.soundPool.setOnLoadCompleteListener(new 
OnLoadCompleteListener() {

@Override
public void onLoadComplete(SoundPool soundPool, int sampleId,
int status) {
MainActivity.this.loaded = true;
}
});

this.soundID[0] = soundPool.load(this, R.raw.dob, 1);
this.soundID[1] = soundPool.load(this, R.raw.rebbem, 1);
this.soundID[2] = soundPool.load(this, R.raw.reb, 1);
this.soundID[3] = soundPool.load(this, R.raw.mibbem, 1);

-- 
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] Offline Maps Won't Calculate Route Without a Data Connection

2012-09-19 Thread David GESG
Last weekend I planned a two hour driving trip away, where I knew that from 
the departure point A for one hour's driving DID HAVE mobile network 
access coverage, and that from the one hour driving point to the 
destination point B DID NOT HAVE mobile network coverage.

In my testing preparation for the trip I offline loaded the three map 
sections that would cover the entire two hour drive, and before departing 
or requesting the route calculation, I turned off ALL data connection on my 
Samsung Galaxy S3, with Android version 4.0.4, so as to simulate what 
Google maps would do with offline maps and no data connection.

First problem:

1. Google Maps would not calculate the route, issuing a message saying that 
it could not do so without a Data Connection.

2. Remedy - I turned on data connection, allowed for the calculation of 
the route, and then turned off data connection

3. Result - the Google Maps application correctly tracked the entire two 
hour trip, with relatively few display faults, also maintaining all driving 
prompts.  This proved that the application would continue tracking using 
the GPS signal alone, plotted against offline maps.  Some of the display 
issues were observed where it seemed that any turn of 90 degrees or more, 
would cause the application to lose the satellite imaging to be lost, until 
we were re-established back on a straight section of road.

Second MAJOR problem:

1. Taking First problem above into account.  Upon returning home, 
therefore wanting to track from destination point B to the point of 
origin A, the application with a strong GPS signal but no mobile network, 
would not calculate the route home.

2. We left the application running waiting to see what happened when we 
reached the one hour driving point, from which point we knew there would be 
mobile network coverage for the balaance of the trip home, and the 
application never recovered from the error message No Data Connection.

3. Remedy - we could only recover by stopping the application, restarting 
it, and then with a data connection requesting routing of the balance of 
the trip home.

Warning to Users:

Until Google looks at fixing this situation, users should be wary that if 
they currently use offline maps to travel to areas where this is weak or no 
data connection, that once they find themselves in an area with no data 
connection, the application WILL NOT help you get anywhere else without you 
firstly finding a data connection, despite you having taken the precaution 
of loading offline maps to your Android. 


-- 
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] What are the rules in regards to linking websites within an app?

2012-09-19 Thread David Tunnell
I am making a delivery driver helper app for practice. I am a current CS 
student and this is the biggest project I have taken so far. It 
is extracurricular. ANyway, would I be aloud to make one of the tabs in my 
app have a webview that foes to m.gasbuddy.com? Any clicks would benefit 
them. Is this type of thing allowed? Would I need their permission? Thanks.

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

[android-developers] Please suggest good book on Android devlopment

2012-09-19 Thread Jovish P
I am planning to buy a book on android development.
i searched the web. a lot of options are there. not able to figure out
which is the
best. I have one year expernice on android devlopment. please help me out
which one wil
be the best option

regards,
jovish

-- 
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] Smartphone FTP Client

2012-09-19 Thread Wajahat Bashir
*Hi.all, *

 I am new to android ..  i wants create Login Page.

-  Login into any FTP server after providing login credentials 
(typical credentials are: Host, Username and Password)

  How can I achieve these..I am eagerly waiting..! 

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] gridview in android

2012-09-19 Thread Saurabh Khemka

   
   - I have a gridview of textfields in android. I want to shift a 
   particular textview from its position. How do I get the view respective to 
   that textview?
   

-- 
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] Android Multiple Screen Support for tablet

2012-09-19 Thread abc
  
   RelativeLayout 
xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/mainlayout
android:layout_width=fill_parent
android:layout_height=450dp
android:background=#f8f9fe 

LinearLayout
android:id=@+id/linearLayout1
android:layout_width=fill_parent
android:layout_height=wrap_content
android:orientation=vertical 

LinearLayout
android:id=@+id/extremelysorry
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_marginLeft=10dp
android:layout_marginRight=20dp
android:layout_marginTop=30dp
android:background=@drawable/pressicon
android:orientation=vertical 

TextView
android:id=@+id/extremelysorry1
android:layout_width=match_parent
android:layout_height=wrap_content
android:layout_marginTop=1dp
android:padding=5dip
android:text=  quot;We are extremely sorry, request your 
valuable comment , somebody will get back to you shortlyquot;.
android:textColor=#FF
android:textSize=20dip
android:textStyle=bold /
/LinearLayout

LinearLayout
android:id=@+id/layout_name
android:layout_width=fill_parent
android:layout_height=35dp
android:layout_marginLeft=10dp
android:layout_marginRight=20dp
android:layout_marginTop=20dp
android:background=@drawable/pressicon
android:orientation=vertical 

TextView
android:id=@+id/signetno
android:layout_width=match_parent
android:layout_height=wrap_content
android:layout_marginTop=1dp
android:padding=5dip
android:text= Please enter your Loyalty Card 
No/Name,Mobile No/Name,Email ID
android:textColor=#FF
android:textSize=20dip
android:textStyle=bold /
/LinearLayout

LinearLayout
android:id=@+id/LinearLayout03
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginLeft=70dp
android:orientation=vertical android:layout_marginTop=30dp

LinearLayout
android:id=@+id/LinearLayout02
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginTop=5dp 

LinearLayout
android:layout_width=250dp
android:layout_height=wrap_content
android:background=@drawable/labelbg 

TextView
android:id=@+id/loyaltyLable
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginLeft=7dp
android:layout_marginTop=3dp
android:padding=5dp
android:text=Membership Card No.
android:textColor=#FF
android:textSize=20dp /
/LinearLayout

EditText
android:id=@+id/ed_cardno
android:layout_width=wrap_content
android:layout_height=30dp
android:layout_marginLeft=50dp
android:layout_weight=1
android:background=@drawable/textbox_n
android:ems=10
android:hint=Touch here to enter
android:imeOptions=actionDone|flagNoExtractUi
android:inputType=number
android:paddingLeft=5dp
android:singleLine=true
android:textSize=20dp /
/LinearLayout

LinearLayout
android:id=@+id/layout_age
android:layout_width=wrap_content
android:layout_height=wrap_content
android:paddingTop=5dp 

LinearLayout
android:layout_width=250dp
android:layout_height=wrap_content
android:background=@drawable/labelbg 

TextView
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginLeft=7dp
android:layout_marginTop=3dp
android:padding=5dp
android:text=Name
android:textColor=#FF
android:textSize=20dp /
/LinearLayout

EditText
android:id=@+id/ed_name

[android-developers] Setting .apk expiration

2012-09-19 Thread Marcelo Corvezola
Hi, I apologize if this easily availabe info I just couldn't find it.

Is there a way to set the .apk expiration cert. date for say, 1 day, or 
hours from build? 
Any links with info or tutorials on this would be great!

this is not for a google play app..thnx


-- 
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] Errors building my first android app

2012-09-19 Thread aimit78


Hi,

Can anyone please help me on this issue I have been trying to create a 
first Android App under the JAVA - Eclipse SDK Platform but the Build SDK 
dropdown list selection doesn't give me any choices, please see my 
screenshot below. Greatly appreciated it if someone please help me on this 
on. Thanks!

https://lh3.googleusercontent.com/-8lPzIFp1JHo/UFjWLqRQVeI/AFM/tpScKW03ZIU/s1600/eclipse-error.jpg
 

-- 
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: How can I add description with respect to each image in image switcher..

2012-09-19 Thread Badshah khan

Asalam o Alaikum.
   
 * *hope this is helpful.

 mSwitcher = (ImageSwitcher)findViewById(R.id.imageSwitcher1);
mSwitcher.setFactory(this);
  
 Gallery g = (Gallery)findViewById(R.id.gallery1);
 g.setAdapter(new ImageAdapter(this));
 g.setOnItemSelectedListener(this);

public void onItemSelected(AdapterView? parent, View v, int 
position, long id) {
   // mSwitcher.setImageResource(mImageIds[position]);
tv.setText(myThemeName[position]);}
  private String[] myThemeName = {Arts and Culture,Beaches and 
Parks,
 Boating and Water sports,Culinary,
 Fishing,Family,Nature and 
Wildlife,
 Nightlife};

  



-- 
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] Send long extra when starting an Activity from monkeyrunner or adb shell.

2012-09-19 Thread pablosgh
Hello!

I want to start an Activity, using monkeyrunner or adb shell, that reads 
some extra values from the Intent. When trying to get a long value a 
ClassCastException is shown in log, and the default value is returned:

*  java.lang.ClassCastException: java.lang.Integer cannot be cast to 
java.lang.Long
   at android.os.Bundle.getLong(Bundle.java:973)
   at android.content.Intent.getLongExtra(Intent.java:4063)*

I'm reading the extra this way:

*  getIntent().getLongExtra(id, 0);*

From Monkeyrunner script I tried to start the Activity using {id: 100} or 
{id: 100L} as extras. The latter doesn't even send the extras to the 
Activity.
Then I tried starting it from adb shell by myself, but I had the same 
result. Also there's no specific option to add a long extra, only -ei is 
available.

So, Is it possible to send a long extra value from these tools?

Thanks!
Pablo

-- 
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] Play youtube video on WebView

2012-09-19 Thread uud ashr
Hi,

I'm trying to use webview to open web page that contains embeded youtube
video such as

iframe width=420 height=315 src=
http://www.youtube.com/embed/MKZVNrC0QYA; frameborder=0
allowfullscreen/iframe

The web was shown, but when I play the video, there is no picture played, I
can only hear the sound only.

I try this on gingerbread and ICS.
The video works fine on stock browser, chrome and dolphin.

Is there any special trick to make this work

Regards,
Uud

-- 
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] error in speech recognizer android

2012-09-19 Thread Rahul Raja

this code is to detect the words spoken and print the result..if i say 
'add' or 'view' it takes to next activity but if i say some other word it 
stops after 2-3 times.
also error 8 comes anytime..
plz help


package com.expense;



import android.app.Activity;
import android.app.Dialog;

import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.speech.RecognitionListener;
import android.speech.RecognizerIntent;
import android.speech.SpeechRecognizer;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;

import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;




public class ExpenseAppActivity extends Activity {
/** Called when the activity is first created. */
 private SpeechRecognizer sr,sr2;
 Button add;
 String tag=events;
 ListView modeList;
 int gg;
 AlertDialog.Builder builder1;
 int f;
 Button view;
   private static final String TAG = MyStt3Activity;
   //AlertDialog.Builder builder;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
gg=0;
Log.d(rahul,in on create event);

Log.d(rahul,lll);
modeList= new ListView(this);
builder1 = new AlertDialog.Builder(this);
SQLiteAdapter mySQLiteAdapter;
mySQLiteAdapter= new SQLiteAdapter(this);
mySQLiteAdapter.openToWrite();
f=0;
mySQLiteAdapter.close();
System.out.println(1);
 add=(Button)findViewById(R.id.add);
System.out.println(2);
 view=(Button)findViewById(R.id.view);
System.out.println(3);
Button others=(Button)findViewById(R.id.others);
System.out.println(4);

sr = SpeechRecognizer.createSpeechRecognizer(this);  



sr.setRecognitionListener(new listener());  


Intent intent = new 
Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);

intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);

intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,voice.recognition.test);

intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS,5); 
 sr.startListening(intent);
 Log.i(11,);

   


add.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
 //sr.cancel();
 Intent myIntent = new Intent(ExpenseAppActivity.this,
Add.class);

ExpenseAppActivity.this.startActivity(myIntent);

}
});

view.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent myIntent = new Intent(ExpenseAppActivity.this,
ViewDetails.class);

ExpenseAppActivity.this.startActivity(myIntent);

}
});

others.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent myIntent = new Intent(ExpenseAppActivity.this,
Others.class);

ExpenseAppActivity.this.startActivity(myIntent);

}
});





  }

public void onStart()
  {
  super.onStart();
  Log.d(tag,In the onStart() event);
  
  
 
 
  }
 /* public void onResume()
  {
  super.onResume();
  
  Log.d(tag,In the onResume() event);
  }*/
 public void onStop()
  {
  super.onStop();
  Log.d(tag,In the onStop() 
eventt);
  sr.stopListening();
  sr.destroy();
  }
 public void onPause()
  {
  super.onPause();
  Log.d(tag,In the onPause() 
even);
  sr.stopListening();
  sr.destroy();
  }
  
  
 public void onRestart()
  {
  super.onRestart();
  Log.d(tag,In the onRestart() event);
  
  
  sr = SpeechRecognizer.createSpeechRecognizer(this);   


sr.setRecognitionListener(new listener());  

Intent intent = new 
Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
   
 
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
   
 
intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,voice.recognition.test);

intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS,5); 
 sr.startListening(intent);
 Log.i(11,);
  }
 public void onDestroy()
  {
  super.onDestroy();
  Log.d(tag,In the onDestroy() event);
  }


  

class listener implements RecognitionListener  
{
 public void onReadyForSpeech(Bundle params)
 {
  Log.d(TAG, onReadyForSpeech);
 // mText5.setText(hi);
 

[android-developers] Orientation checking

2012-09-19 Thread saca
hi,
 
I am using android:screenOrientation=landscape to keep the screen in 
landscape. 
Although the user is in landscape mode, I also need to know user is holding 
the phone in landscape or portrait. 
How to program it?
 
I had try to use getOrientation() , but the result is same in landscape 
or portrait. 

-- 
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] Transfer data from PC to Android device

2012-09-19 Thread Yapa
Hy All,

I need to transfer data from PC to android phone(specific application in 
the device). I know need two components(applications) to do that. one 
for PC and one to android phone. it mean two applications. I use C#  for PC 
application. Can any one suggest a way or any sample code?

-- 
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] Optimization distance using Dijkstra's algorithm

2012-09-19 Thread Faisal
I am currently completing my thesis, now I'm confused about the 
implementation to optimize distance on maps using Dijkstra's algorithm, are 
there any here who have used this algorithm to optimize distance on maps? 
using maps what? whether on google maps be?

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

2012-09-19 Thread MehmedSenol Es


Hello, I have Problem after updating to SDK 20.0.3 ,my Android Project can not 
find the referenced Library(.jar File)


Eclipse Juno
android 20.0.3 sdk
windows7x64

-- 
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: LogCat window is blank

2012-09-19 Thread Rafael Monteiro Dourado
Well, open the DDMS view and select your device.

Em terça-feira, 18 de setembro de 2012 15h17min21s UTC-3, bob escreveu:

 Has anyone figured out why the LogCat window is blank a lot of times?


-- 
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] *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiWatchdogStateMachine

2012-09-19 Thread yogi
hi,
 
i get the below exception when trying to connect my test phone running JB 
with cisco ap 1252, 
seems like the issue is with cisco ap not providing default dhcp gateway or 
ip info due to which my test phone acting as STA does a soft reboot.
is there a way i could specify default configuration parameters in case 
remote ap does not provide one. 
 
there is no issue if i uncheck *Avoid poor connections  *option in wlan 
advance settings i dont see below issue however when the setting is 
selected i wish to fix soft reboot issue.
 
i am not using ipv6.
 
logs
==
 
W/dalvikvm( 2199): threadid=47: thread exiting with uncaught exception 
(group=0xb3550300)
E/AndroidRuntime( 2199): *** FATAL EXCEPTION IN SYSTEM PROCESS: 
WifiWatchdogStateMachine
E/AndroidRuntime( 2199): java.lang.IllegalArgumentException: IPv6 
unsupported
E/AndroidRuntime( 2199):  at android.net.arp.ArpPeer.init(ArpPeer.java:62)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine.doArpTest(WifiWatchdogStateMachine.java:866)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine.access$2600(WifiWatchdogStateMachine.java:89)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine$VerifyingLinkState.processMessage(WifiWatchdogStateMachine.java:654)
E/AndroidRuntime( 2199):  at 
com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:895)
E/AndroidRuntime( 2199):  at 
com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:756)
E/AndroidRuntime( 2199):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2199):  at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2199):  at 
android.os.HandlerThread.run(HandlerThread.java:60)
Regards,
Yogesh
 

-- 
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: Can't connect to activity manager; is the system running?

2012-09-19 Thread Hong Hong

On Thursday, September 13, 2012 12:20:34 AM UTC+8, Stefan Banu wrote:

 Hello,

 i„m trying to run my emulator android but i get this error:

  Can't connect to activity manager; is the system running?
 ActivityManager: android.util.AndroidException: Can't connect to activity 
 manager; is the system running?
 [2012-09-12 19:07:22 - Stefan Android] Starting activity 
 com.example.stefan.android.MainActivity on device emulator-5554
 [2012-09-12 19:07:26 - Stefan Android] ActivityManager: Error type 2
 [2012-09-12 19:07:26 - Stefan Android] ActivityManager: 
 android.util.AndroidException: Can't connect to activity manager; is the 
 system running?

 if someone can help me

 thanks


I have the same error,  
if someone can help me
thanks

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

[android-developers] Re: Unsubscribe

2012-09-19 Thread Chen Yee Tan

On Thursday, July 12, 2012 6:01:26 PM UTC+8, Thomas wrote: 




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

Re: [android-developers] Re: Silent installation of third party applications

2012-09-19 Thread RichardC
Kindle Fire is not stock Android.  *If* Amazon have modified it to allow 
silent installs that is up to them.

On Wednesday, September 19, 2012 3:32:53 PM UTC+1, Jovish P wrote:

 i have small doubt regarding this.
  then how third party app stores installing applications on android phone 
 silently

 for example ; kindle fire - amazon appstore




 On Wed, Sep 19, 2012 at 7:44 PM, RichardC 
 richard...@googlemail.comjavascript:
  wrote:

 I don't think there is anyway to silently install an application.  As you 
 can imagine this would be a great big security hole.


 On Wednesday, September 19, 2012 3:10:17 PM UTC+1, Jovish P wrote:

 user wil be able to install third party application thru our application
 once user select the application we are downloading the apk file and 
 installing 
 it on the device.So once download is complete a prompt wil pop up 
 whether user want to install it or not
 We want  to hide this prompt. we want to install the apk silently. Is it 
 possible ?
 if yes , hw we can achive this ? Please share your thoughts

  -- 
 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 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] Volume slider on tablet notification panel

2012-09-19 Thread ScheffsBlend
Probably because most devices do have hardware volume buttons.  The percentage 
of devices that do not is probably too small to justify the effort of adding 
this in.  The picture you provided is from a custom jellybean ROM for the 
Kindle Fire, which I worked on.  

Unfortunately this is not the group to discuss this on.  You may have better 
luck on android-platform since this is something that requires changes in 
SystemUI. 

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


Re: [android-developers] Re: How can I add description with respect to each image in image switcher..

2012-09-19 Thread Sobia Awan
walikum As salam!   Too late reply but this code is really helpful for
me...Thank you so much for your reply.

On Tue, Sep 18, 2012 at 5:20 PM, Badshah khan 
sultan.ibra...@xintsolutions.com wrote:


 Asalam o Alaikum.

  * *hope this is helpful.

  mSwitcher = (ImageSwitcher)findViewById(R.id.imageSwitcher1);
 mSwitcher.setFactory(this);

  Gallery g = (Gallery)findViewById(R.id.gallery1);
  g.setAdapter(new ImageAdapter(this));
  g.setOnItemSelectedListener(this);

 public void onItemSelected(AdapterView? parent, View v, int
 position, long id) {
// mSwitcher.setImageResource(mImageIds[position]);
 tv.setText(myThemeName[position]);}
   private String[] myThemeName = {Arts and Culture,Beaches and
 Parks,
  Boating and Water sports,Culinary,
  Fishing,Family,Nature and
 Wildlife,
  Nightlife};



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




-- 
*Sobia Awan*
*  Bs(cs)*
**

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

Re: [android-developers] Re: How to generate bitmap for a view and make the bitmap exactly equals to the view's display?

2012-09-19 Thread bob
 

I suspect your penguin image is too large.


I see that the penguin image comes with Windows and is 1024x768.  Perhaps 
the problem relates to the downscaling of this image?  Why not try a 
smaller image that requires no scaling?




On Monday, September 17, 2012 10:08:33 PM UTC-5, yu wrote:

 Even if I change the layout as below to avoid the loop, what I get is 
 still is that the bitmap looks quite different with the view

 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:layout_width=match_parent
 android:layout_height=*match_parent*
 android:orientation=vertical
 Button android:layout_width=match_parent
 android:layout_height=*wrap_content*
 android:text=Test
 android:id=@+id/btnTest/
 ImageView android:layout_width=match_parent
 android:layout_height=*match_parent*
 android:id=@+id/ivTest/
 /LinearLayout

 Is there any method to resolve this problem? Thanks a lot.

 2012/9/18 bob b...@coolfone.comze.com javascript:

 I don't think your layout code makes sense, particularly the height 
 specification.

 You have this for the LinearLayout:

  android:layout_height=wrap_content

 This says '*Look at my children to figure out the height*'.

 Then you have this for the ImageView:

android:layout_height=match_parent

 This says *'Look at my parent (aka LinearLayout) to figure out the height
 *'.

 It is like the parent is saying 'go talk to the child' and the child is 
 saying 'go talk to the parent' in an endless loop.




 On Monday, September 17, 2012 9:46:57 AM UTC-5, yu wrote:

 Hi all,

 I use below codes to generate the bitmap of a view:

 view.measure(MeasureSpec.**makeMeasureSpec(0, 
 MeasureSpec.UNSPECIFIED),
 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
 view.layout(0, 0, view.getMeasuredWidth(), 
 view.getMeasuredHeight());
 Bitmap bitmap = Bitmap.createBitmap(view.**getWidth(), 
 view.getHeight(),
 Bitmap.Config.ARGB_);
 final Canvas canvas = new Canvas(bitmap);
 view.draw(canvas);

 However, when the view really displays, it looks quite different with 
 the bitmap that I get. Please see below two snapshots.
 *Below is the bitmap that I generated:*


 https://lh5.googleusercontent.com/-7tOJkO961Es/UFc3XjIvrFI/AGU/vXNeEPF-xyY/s1600/bitmap.png


 *Below is the view's real display:*


 https://lh5.googleusercontent.com/-x76-haIiBOI/UFc3gTBYTnI/AGc/b5dkPTrLlNk/s1600/view.png


 *Below is the layout of this view:*
 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.**
 android.com/apk/res/android http://schemas.android.com/apk/res/android
 
 android:layout_width=wrap_**content
 android:layout_height=wrap_**content
 android:orientation=vertical**
 Button android:layout_width=match_**parent
 android:layout_height=wrap_**content
 android:text=Test
 android:id=@+id/btnTest/
 ImageView android:layout_width=match_**parent
 android:layout_height=match_**parent
 android:id=@+id/ivTest/
 /LinearLayout

 However, the above method is searched and got from stackoverflow. So I 
 assume it should work. Can someone tell me why the bitmap that I get is 
 different with the real display and how to resolve it? 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-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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiWatchdogStateMachine

2012-09-19 Thread Irfan Sheriff
Known issue. It will be fixed with an update.

If you want to change config settings - you can use static IP by long
pressing on a network and modifying it

On Tue, Sep 18, 2012 at 5:51 AM, yogi yogeshk.bag...@gmail.com wrote:

 hi,

 i get the below exception when trying to connect my test phone running JB
 with cisco ap 1252,
 seems like the issue is with cisco ap not providing default dhcp gateway
 or ip info due to which my test phone acting as STA does a soft reboot.
 is there a way i could specify default configuration parameters in case
 remote ap does not provide one.

 there is no issue if i uncheck *Avoid poor connections  *option in wlan
 advance settings i dont see below issue however when the setting is
 selected i wish to fix soft reboot issue.

 i am not using ipv6.

 logs
 ==

 W/dalvikvm( 2199): threadid=47: thread exiting with uncaught exception
 (group=0xb3550300)
 E/AndroidRuntime( 2199): *** FATAL EXCEPTION IN SYSTEM PROCESS:
 WifiWatchdogStateMachine
 E/AndroidRuntime( 2199): java.lang.IllegalArgumentException: IPv6
 unsupported
 E/AndroidRuntime( 2199):  at
 android.net.arp.ArpPeer.init(ArpPeer.java:62)
 E/AndroidRuntime( 2199):  at
 android.net.wifi.WifiWatchdogStateMachine.doArpTest(WifiWatchdogStateMachine.java:866)
 E/AndroidRuntime( 2199):  at
 android.net.wifi.WifiWatchdogStateMachine.access$2600(WifiWatchdogStateMachine.java:89)
 E/AndroidRuntime( 2199):  at
 android.net.wifi.WifiWatchdogStateMachine$VerifyingLinkState.processMessage(WifiWatchdogStateMachine.java:654)
 E/AndroidRuntime( 2199):  at
 com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:895)
 E/AndroidRuntime( 2199):  at
 com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:756)
 E/AndroidRuntime( 2199):  at
 android.os.Handler.dispatchMessage(Handler.java:99)
 E/AndroidRuntime( 2199):  at android.os.Looper.loop(Looper.java:137)
 E/AndroidRuntime( 2199):  at
 android.os.HandlerThread.run(HandlerThread.java:60)
 Regards,
 Yogesh


 --
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Please suggest good book on Android devlopment

2012-09-19 Thread Felipe Silveira
I recommend this one:
http://www.amazon.com/Professional-Android-Application-Development-Programmer/dp/0470565527

On Wed, Sep 19, 2012 at 11:33 AM, Jovish P android.f...@gmail.com wrote:

 I am planning to buy a book on android development.
 i searched the web. a lot of options are there. not able to figure out
 which is the
 best. I have one year expernice on android devlopment. please help me out
 which one wil
 be the best option

 regards,
 jovish

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




-- 
Felipe Silveira
http://www.felipesilveira.com.br
-

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

Re: [android-developers] Please suggest good book on Android devlopment

2012-09-19 Thread Kristopher Micinski
You can Google the history for book suggestions.  Personally I found
Mark Murphy's books to be pretty useful, but others may be good as
well..

Most books are just kind of crap, consisting of reams of printed API material..

kris

On Wed, Sep 19, 2012 at 10:33 AM, Jovish P android.f...@gmail.com wrote:
 I am planning to buy a book on android development.
 i searched the web. a lot of options are there. not able to figure out which
 is the
 best. I have one year expernice on android devlopment. please help me out
 which one wil
 be the best option

 regards,
 jovish

 --
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Please suggest good book on Android devlopment

2012-09-19 Thread Mark Murphy
On Wed, Sep 19, 2012 at 12:05 PM, Kristopher Micinski
krismicin...@gmail.com wrote:
 You can Google the history for book suggestions.  Personally I found
 Mark Murphy's books to be pretty useful, but others may be good as
 well..

Thanks for the vote of confidence!

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

_The Busy Coder's Guide to Android Development_ Version 4.1 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:

2012-09-19 Thread glenviewjeff
I just filed an Android tools bug 
reporthttp://code.google.com/p/android/issues/detail?id=37631on this:

The following users and I have seen this error crop up when using the 
Graphical Layout tab of the layout editor, even on the simplest and correct 
layouts.  

Could not create tab content because could not find view with id -1

I'm seeing it in API20 when I including another xml file as a tab.  If I 
copy and paste the contents of the include file, the error is not shown.

See the following other reports of this error:

http://stackoverflow.com/q/12338023/403455

http://stackoverflow.com/a/4807779/403455 (See comment on raybritton's 
proposed answer)

https://groups.google.com/d/topic/android-developers/DRY4fsbwgDA/discussion

On Monday, March 26, 2012 11:05:21 AM UTC-5, med Mehdi bettaieb wrote:

 i have problem in this file xml
   Could not create tab content because could not find view with id -1

 ?xml version=1.0 encoding=utf-8?
 TabHost xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/tabs android:layout_width=fill_parent
 android:layout_height=wrap_content
 LinearLayout android:orientation=vertical
 ?xml version=1.0 encoding=utf-8?
 TabHost xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/tabs android:layout_width=fill_parent
 android:layout_height=wrap_content
 LinearLayout android:orientation=vertical
 android:layout_width=fill_parent 
 android:layout_height=fill_parent
 TabWidget android:id=@android:id/tabs
 android:layout_width=fill_parent 
 android:layout_height=wrap_content /
 FrameLayout android:id=@android:id/tabcontent
 android:layout_width=fill_parent 
 android:layout_height=wrap_content
 ScrollView android:layout_width=fill_parent
 android:layout_height=wrap_content
 include android:id=@+id/content1 
 layout=@layout/tab_today /
 /ScrollView
 ScrollView android:layout_width=fill_parent
 android:layout_height=wrap_content
 include android:id=@+id/content2 
 layout=@layout/tab_qibla /
 /ScrollView
 /FrameLayout
 /LinearLayout
 /TabHost?xml version=1.0 encoding=utf-8?
 TabHost xmlns:android=http://schemas.android.com/apk/res/android;
 android:id=@+id/tabs android:layout_width=fill_parent
 android:layout_height=wrap_content
 LinearLayout android:orientation=vertical
 android:layout_width=fill_parent 
 android:layout_height=fill_parent
 TabWidget android:id=@android:id/tabs
 android:layout_width=fill_parent 
 android:layout_height=wrap_content /
 FrameLayout android:id=@android:id/tabcontent
 android:layout_width=fill_parent 
 android:layout_height=wrap_content
 ScrollView android:layout_width=fill_parent
 android:layout_height=wrap_content
 include android:id=@+id/content1 
 layout=@layout/tab_today /
 /ScrollView
 ScrollView android:layout_width=fill_parent
 android:layout_height=wrap_content
 include android:id=@+id/content2 
 layout=@layout/tab_qibla /
 /ScrollView
 /FrameLayout
 /LinearLayout
 /TabHost



-- 
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] My Google Play app was suspended, any advice ?

2012-09-19 Thread spocky12
Hi, 

I've made an app called GalaxSim Unlock to sim unlock Samsung Galaxy 
devices and I published it on the Play Store last week. Today I received an 
email saying that it's been suspended because of : Violation of the Content 
Policy http://www.android.com/us/developer-content-policy.html.. I asked 
for detailed information, but I've got no answer so far (and unfortunately, 
a friend of mine in the same situation never got answers to his multiple 
requests, so I'm not counting on it too much)(fortunately, this friend has 
been helped by a Googler here, so keep my fingers crossed).

As far as I can tell, sim unlocking is not illegal (and many free or paid 
sim unlocking apps can be found on the play store, some of them being more 
that 2 years old, with more the 100k dl). So I believe it's not been 
suspended because of the purpose of this app.

Now the only things I see are :
*- Intellectual Property* : I've packaged in my app a version of the tar 
binary so that the user can make a backup of its personal data. Many 
Busybox apps on the market do the same, so again it shouldn't be a 
problem. Or is it ?
- *Personal and Confidential Information* : I'm using Google Analytics to 
get stats (so that I know if there was an issue during execution and update 
the supported devices list). I NEVER log personal information like IMEI to 
my stats. Only phone model, firmware/rom version and execution success of 
the procedure. Is that because I don't ask the user choice to log to 
analytics ?

I suppose the suspend is due to my second guess. So I'm gonna add a popup 
at first launch to let the user opt-out.

Now I'm facing two problems.

*First one:*
I don't like the idea of trying to guess what was wrong, correcting 
something and app being suspended again because I didn't correct the right 
thing (or worse, account being banned).
So I would be grateful if anyone could help me understanding what is the 
problem so that I can correct it as soon as possible.

*Second one:*
If I manage to understand why and fix the policy infringment, there's 
another remaining problem : it seems that a suspended app can't be reupped, 
and that I'll have to change its package name (meaning losing all feedback 
and rating so far : 4.4/5). That's annoying but I can live with it if 
there's no other choice. But something else is more problematic : I used 
in-app payment for unlocking phones (the app was free on the market so that 
people could first check that their phone could be unlocked before paying. 
That, and some functions are totally free). If I change the package name, 
how could I keep track of old in-app payments so that if I make an update, 
registered users won't have to pay again ?

On a side note, I'm really disappointed by the lack of details related to 
app suspension : I mean, if I knew that anything in my app violated the 
play store policy, I wouldn't have published it at first. And now, although 
I show goot faith, the only thing I can do is try to guess what the problem 
is...

Thanks to anyone who can help me.

-- 
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: Please suggest good book on Android devlopment

2012-09-19 Thread FiltrSoft
You don't need a book.  There are a ton of examples just by searching.  I 
would just start with Google's Hello World tutorial:

http://developer.android.com/training/basics/firstapp/index.html

You'll learn alot more by doing, then reading.

On Wednesday, September 19, 2012 10:36:27 AM UTC-4, Jovish P wrote:

 I am planning to buy a book on android development.
 i searched the web. a lot of options are there. not able to figure out 
 which is the
 best. I have one year expernice on android devlopment. please help me out 
 which one wil
 be the best option

 regards, 
 jovish


-- 
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: I need advice from the Android developers community regarding a web link I am using within my App

2012-09-19 Thread nobre
As long as you don't use the content as if it were your own (hiding 
address, or making it look like you are the author), there's no problem in 
linking anything from your app. Of course it would be more appropriate to 
have a nice relationship with the content creator.

Em terça-feira, 18 de setembro de 2012 21h49min23s UTC-3, Chris CJ escreveu:

 Hey Guys

 I have pointed a part of my app at a publicly available webpage, however 
 the owner of the web page has contacted me and asked me to cease pointing 
 people to his web page.  My question is.is this considered to be 
 illegal?  I believe it is commonly called 'web scraping', where you use a 
 link to another web site/page within your website/page or in this case I 
 have a button in my app that points to his webpage.  Your thoughts 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

Re: [android-developers] I need advice from the Android developers community regarding a web link I am using within my App

2012-09-19 Thread Kristopher Micinski
FYI, you shouldn't solicit legal advice from those not qualified to
give it, as it can potentially be illegal for them to do so...

kris

On Tue, Sep 18, 2012 at 8:49 PM, Chris CJ chriscj...@gmail.com wrote:
 Hey Guys

 I have pointed a part of my app at a publicly available webpage, however
 the owner of the web page has contacted me and asked me to cease pointing
 people to his web page.  My question is.is this considered to be
 illegal?  I believe it is commonly called 'web scraping', where you use a
 link to another web site/page within your website/page or in this case I
 have a button in my app that points to his webpage.  Your thoughts 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Setting .apk expiration

2012-09-19 Thread Kristopher Micinski
No, this is not possible.

kris

On Tue, Sep 18, 2012 at 2:50 PM, Marcelo Corvezola mcorvez...@gmail.com wrote:
 Hi, I apologize if this easily availabe info I just couldn't find it.

 Is there a way to set the .apk expiration cert. date for say, 1 day, or
 hours from build?
 Any links with info or tutorials on this would be great!

 this is not for a google play app..thnx


 --
 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 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: my first application crushes

2012-09-19 Thread shlomi cohen


On Wednesday, September 19, 2012 10:30:30 AM UTC+3, Afik Gilboa wrote:

 it's probebly a beginners question but i couldn't found it on google..
 I created my first adk file (of my first application) and send it to my 
 phone via email..
 after installation I tried to run the app and it immediatly crushed.. no 
 clue why..
 any ideas on how to find out what's wrong?


i'm sorry but you should give us more information.
try turning on USB Debugging in your phone and connect it to your pc while 
you run it.
don't forget to enable debugging in your manifest file. (something like : 
debuggable = true).
general advice: don't build your app and send the apk to your phone its 
slow and it will drive you crazy,instead you should
connect your phone to your pc as i mentioned and press run (in eclipse ).
this way it will automatically enables debug (but you still have to turn on 
USB Debugging in your phone).
you should also read about logcat (logging mechanism in android) so you 
will know to read it and understand why you app has crashed.
http://developer.android.com/tools/debugging/ddms.html 
good luck =] 

-- 
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: Advertising opt out

2012-09-19 Thread Nathan
On Wednesday, September 19, 2012 4:45:26 AM UTC-7, John Coryat wrote:

 Increasing CTR increases CPM. If you want to deny that, you're also 
 denying yourself potential revenue. There's no simple math here as Rudolf 
 explained.


I don't deny that. But who cares about CPM? If you have the same amount of 
C's and less M, the R has not increased, in all likelihood. 
 

 But forget the revenue. 


 OK. Cause the math wasn't going your way anyway. 

What is the point of an app anyway? It's providing a useful bit of software 
 that improves the usability of the device to the user. Another words, a 
 great user experience. My point is that by letting users opt out of ads for 
 free, they get a better user experience and the device itself becomes more 
 useful.

 If the point of your app isn't to do this, then for sure, free opt out 
 isn't for you.


Then according to the contrapositive, if you don't let users opt out of ads 
for free, then you must not care about providing a great user experience, 
huh? What do they care about instead? You are beginning to sound like a 
politician. 

I appreciate your perspective and the tip, but lets not act like anyone who 
doesn't do it your way is against providing a good user experience. An app 
which does not provide a good user experience even *with* monetization is 
in trouble. 

You are essentially asking b0b and William to give away the full version of 
their app for free. Maybe not everyone can do it your way - no need to 
demonize them. 

I don't have ads in my app, so my user experience is guaranteed to be good, 
right? No, I have plenty to work on. Then again, people pay for the app, 
which you might consider hostage or blackmail. And I do have one ad in my 
demo app that points them to the paid one. I have no intention of disabling 
it. 

But that's only if you think ads are the only factor in the user 
experience. I'm sure you are spending even more time thinking about making 
the experience better for the 97.5%, though.  I wouldn't be surprised if 
there are a lot of issues that are more important to your users than ads. 
 
Nathan


-- 
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: get bitmap size

2012-09-19 Thread Streets Of Boston
int pixels = bitmap.getHeight() * bitmap.getWidth();
int bytesPerPixel = 0;
switch(bitmap.getConfig()) {
case ARGB_:
  bytesPerPixel = 4;
  break;
case RGB_565:
  bytesPerPixel = 2; 
  break;
case ARGB_:
   bytesPerPixel = 2; 
  break;
case ALPHA_8 :
   bytesPerPixel = 1; 
  break;
}
int byteCount = pixels * bytesPerPixel;


On Wednesday, September 19, 2012 2:37:16 AM UTC-4, Live Happy wrote:

 what is the best way to get the size of bitmap image i know there is 
 myBitmap.getByteCount() but this method is for api level 12 so it is there 
 any other way to get it thx on 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: My Google Play app was suspended, any advice ?

2012-09-19 Thread spocky12
Ok replying to myself to share my experience. 

And that's good news !
I've read many times that people had hard times getting information from 
google and that they never answered their requests.

I've just had an anwser and my app has just been reinstated (though I still 
don't know why it's been suspended first):

Thank you for your note.
 We appreciate the opportunity to review your application's suspension.
 Upon further review, we've accepted your appeal and have reinstated your
 application.
 You will need to log back into your Android Developer Console to
 re-publish the application so it is available again on Google Play. 


 Hopefully it won't be suspended again.


-- 
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: CRASH AVD on eclipse.

2012-09-19 Thread albeegeek
Thank's for te reply! I'have try to replicate on avd the characteristics of 
the nexus 7, the parameter taken to the specification form. 

-- 
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: What are the rules in regards to linking websites within an app?

2012-09-19 Thread Geofuzzy
There are no limitations on Android Apps like that, you can load any 
webview you want.

On Tuesday, September 18, 2012 6:09:42 PM UTC-4, David Tunnell wrote:

 I am making a delivery driver helper app for practice. I am a current CS 
 student and this is the biggest project I have taken so far. It 
 is extracurricular. ANyway, would I be aloud to make one of the tabs in my 
 app have a webview that foes to m.gasbuddy.com? Any clicks would benefit 
 them. Is this type of thing allowed? Would I need their permission? Thanks.

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

Re: [android-developers] AS DEVELOPE ON NEXUS7

2012-09-19 Thread albeegeek

Intruction for noobs :D thank's! i try
Il giorno martedì 18 settembre 2012 00:04:58 UTC+2, Fran ha scritto:

 Connect an actual Nexus 7 device to your computer, and  don't forget to 
 enable Debug on the Nexus.



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

Re: [android-developers] Re: Silent installation of third party applications

2012-09-19 Thread Kristopher Micinski
not possible to do on vanilla Android, security concern, blerg, if
Amazon does it, good luck to them.  If you know the answer then why
are you asking?

kris

On Wed, Sep 19, 2012 at 10:30 AM, Jovish P android.f...@gmail.com wrote:
 i have small doubt regarding this.
  then how third party app stores installing applications on android phone
 silently

 for example ; kindle fire - amazon appstore




 On Wed, Sep 19, 2012 at 7:44 PM, RichardC richard.crit...@googlemail.com
 wrote:

 I don't think there is anyway to silently install an application.  As you
 can imagine this would be a great big security hole.


 On Wednesday, September 19, 2012 3:10:17 PM UTC+1, Jovish P wrote:

 user wil be able to install third party application thru our application
 once user select the application we are downloading the apk file and
 installing
 it on the device.So once download is complete a prompt wil pop up whether
 user want to install it or not
 We want  to hide this prompt. we want to install the apk silently. Is it
 possible ?
 if yes , hw we can achive this ? Please share your thoughts

 --
 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 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 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] VideoView and MediaPlayer

2012-09-19 Thread bob
Can someone help me understand the relationship between VideoView and 
MediaPlayer?

Does one use the other under the hood?

I'm partly wondering this because MediaPlayer has 
setOnSeekCompleteListener, and I would like to do something like this with 
a VideoView.

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

Re: [android-developers] Re: LogCat window is blank

2012-09-19 Thread bob
 

Yeah, I guess restarting Eclipse seems to work.

On Wednesday, September 19, 2012 9:04:54 AM UTC-5, Jovish P wrote:

 some times i also used to exprnice the same problem.
 it wil stat working once i restart eclipse. not able to find out why it is 
 happening

 Regards, 
 Jovish

 On Wed, Sep 19, 2012 at 2:40 AM, Lew lewb...@gmail.com javascript:wrote:

 bob wrote:

 Has anyone figured out why the LogCat window is blank a lot of times?


 I will guess you mean in Eclipse, albeit you don't say.

 You don't say what times it's blank. When there's an emulator up? When 
 you're 
 running a program? When you happen to know for sure that the window is 
 connected to the logcat of the right device and you aren't filtering its 
 output to hide 
 all content and there actually is content in the logcat, and how do you 
 know?

 Doctor, I have a pain and I'd like to know why. Has anyone figured that 
 out?

 -- 
 Lew
  

 -- 
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: My Google Play app was suspended, any advice ?

2012-09-19 Thread Fred Stluka

On 9/19/12 1:44 PM, spocky12 wrote:
 I've just had an anwser and my app has just been reinstated (though I 
still don't know why it's been suspended first):


That's good news!  Can you please give details of how you successfully
contacted Google?  Via e-mail?  Via a link on a support Web page?  By
posting to a forum?

It would be nice to have positive success stories like this well
documented, to counter the numerous negative posts by developers
who say they can't get a response from Google.

Thanks!
--Fred

Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.


--
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] Nexus 7 has no menu button?

2012-09-19 Thread Keith Wiley
I don't have access to a Nexus 7 but I'm getting feedback from users that 
they can't access the menus in my app...like, at all...which I find 
perplexing since I use the same standard menus that all Android apps use 
(including the Android home-screen).  If the Nexus 7 doesn't have a 
relatively obvious menu button, it seems to me that the majority of Android 
apps, including the home-screen, would be veritably unusable.

Can anyone help me understand what's going on here?

Thanks.

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

Re: [android-developers] Nexus 7 has no menu button?

2012-09-19 Thread Mark Murphy
Many Android devices do not have a MENU button. Most tablets do not
have a MENU button. The Galaxy Nexus does not have a MENU button.

http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html

If you are using standard options menus and you are showing the action
bar, then they will continue to work (the action bar will have a ...
button for devices that lack a MENU button to access your menu). Or,
if you are using standard options menus and your targetSdkVersion is
set to 10 or lower, the user can get at your menu (e.g., via a menu
button in the system bar on tablets). If, on the other hand, you used
the MENU button for other purposes, or are not showing the action bar
with a targetSdkVersion of 11 or higher, that would explain some of
your difficulty.

On Wed, Sep 19, 2012 at 4:42 PM, Keith Wiley kbwi...@gmail.com wrote:
 I don't have access to a Nexus 7 but I'm getting feedback from users that
 they can't access the menus in my app...like, at all...which I find
 perplexing since I use the same standard menus that all Android apps use
 (including the Android home-screen).  If the Nexus 7 doesn't have a
 relatively obvious menu button, it seems to me that the majority of Android
 apps, including the home-screen, would be veritably unusable.

 Can anyone help me understand what's going on here?

 Thanks.

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



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

_The Busy Coder's Guide to Android Development_ Version 4.1 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: Nexus 7 has no menu button?

2012-09-19 Thread bob


 *Many of the latest Android devices have eliminated the hard menu key 
 found on earlier hardware. Consequently, it's now the responsibility of app 
 developers to include soft menu keys in their apps. *

*
*

*sic* 

On Wednesday, September 19, 2012 3:42:44 PM UTC-5, Keith Wiley wrote:

 I don't have access to a Nexus 7 but I'm getting feedback from users that 
 they can't access the menus in my app...like, at all...which I find 
 perplexing since I use the same standard menus that all Android apps use 
 (including the Android home-screen).  If the Nexus 7 doesn't have a 
 relatively obvious menu button, it seems to me that the majority of Android 
 apps, including the home-screen, would be veritably unusable.

 Can anyone help me understand what's going on here?

 Thanks.



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

[android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread Keith Wiley
Right, so since it targets a very old SDK, you're saying they should be 
able to simply access the menus through an option in the system bar.  In 
other words, these people don't know how to use their tablets; their 
problem has nothing to do with my app being incompatible with their device, 
or even necessarily that my app is poorly designed.  They just don't know 
how to find the menu button on their own device, right?

I'm just verifying, that's what you're saying right?  I mean, I don't need 
to change anything about my app to make it work properly, they just need to 
use the system bar to access the menus and they haven't learned that trick 
yet.  Is that basically correct?

Thanks.

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

[android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread Keith Wiley


On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote:

 *Many of the latest Android devices have eliminated the hard menu key 
 found on earlier hardware. Consequently, it's now the responsibility of app 
 developers to include soft menu keys in their apps. *

 *
 *


Um, forgive me, but this response seems fundamentally at odds with Mark's 
initial response.

Which response is closer to the correct answer?  Is my app inherently 
broken on such devices or not?

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

Re: [android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread Francisco Marzoa
What Mark said is that you did things the standard way, users without
hard menu button will see a soft one. But if you did it another way, it
won't be shown.

So you should update your app.
On Sep 19, 2012 11:08 PM, Keith Wiley kbwi...@gmail.com wrote:



 On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote:

 *Many of the latest Android devices have eliminated the hard menu key
 found on earlier hardware. Consequently, it's now the responsibility of app
 developers to include soft menu keys in their apps. *

 *
 *


 Um, forgive me, but this response seems fundamentally at odds with Mark's
 initial response.

 Which response is closer to the correct answer?  Is my app inherently
 broken on such devices or not?

 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 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] Problems With AVD, Again!

2012-09-19 Thread Darryl Griffiths
My AVD thats configured for 2.3.3 Gingerbread has been working fine for
days, but this evening its decided to play up after me deleting the device
and creating a new one :-(

Snapshot is enabled and it loads up fine displaying hello world, but the
app doesn't update after me replacing the hello world string to a new
string (still a early beginner).  I only have one activity where my message
resides.

The message from the console reads...

[2012-09-19 22:18:58 - Daz] Waiting for HOME ('android.process.acore') to
be launched

I have tried deleting the virtual device twice and ever since I am getting
this problem.  I am running the latest Eclipse Juno under Mac osx Lion.

Thanks

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

Re: [android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread Keith Wiley
Well, that's fair.  I'm not denying the the current release is a little old 
and targets older SDKs.  The app could certainly benefit from some sprucing 
up.  However, I wanted to verify whether the app *should* essentially work 
on modern hardware given that some users were emailing me saying they 
didn't know how to access the menus.  There's a big difference between 
saying I ought to update my app when I get a chance to keep things smooth 
and modern and saying the app is effectively broken on modern hardware and 
won't work  until I release an emergency patch to get it going again.

I was just trying to get a better picture of the circumstances.  I *think* 
this discussion has cleared it up, and I *think* my app should be working 
on modern devices, albeit through an OS sidedoor meant as a temporary fix 
until older apps are updated.  I'll have to try to find a Nexus to test it 
on myself to be absolutely certain of the circumstances.

Thanks again.

On Wednesday, September 19, 2012 2:27:36 PM UTC-7, Fran wrote:

 What Mark said is that you did things the standard way, users without 
 hard menu button will see a soft one. But if you did it another way, it 
 won't be shown.

 So you should update your app.
 On Sep 19, 2012 11:08 PM, Keith Wiley kbw...@gmail.com javascript: 
 wrote:



 On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote:

 *Many of the latest Android devices have eliminated the hard menu key 
 found on earlier hardware. Consequently, it's now the responsibility of 
 app 
 developers to include soft menu keys in their apps. *

 *
 *


 Um, forgive me, but this response seems fundamentally at odds with Mark's 
 initial response.

 Which response is closer to the correct answer?  Is my app inherently 
 broken on such devices or not?

 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

Re: [android-developers] Re: Nexus 7 has no menu button?

2012-09-19 Thread Francisco Marzoa
What's your app? Is on Google play?
On Sep 19, 2012 11:36 PM, Keith Wiley kbwi...@gmail.com wrote:

 Well, that's fair.  I'm not denying the the current release is a little
 old and targets older SDKs.  The app could certainly benefit from some
 sprucing up.  However, I wanted to verify whether the app *should*
 essentially work on modern hardware given that some users were emailing me
 saying they didn't know how to access the menus.  There's a big difference
 between saying I ought to update my app when I get a chance to keep things
 smooth and modern and saying the app is effectively broken on modern
 hardware and won't work  until I release an emergency patch to get it going
 again.

 I was just trying to get a better picture of the circumstances.  I *think*
 this discussion has cleared it up, and I *think* my app should be working
 on modern devices, albeit through an OS sidedoor meant as a temporary fix
 until older apps are updated.  I'll have to try to find a Nexus to test it
 on myself to be absolutely certain of the circumstances.

 Thanks again.

 On Wednesday, September 19, 2012 2:27:36 PM UTC-7, Fran wrote:

 What Mark said is that you did things the standard way, users without
 hard menu button will see a soft one. But if you did it another way, it
 won't be shown.

 So you should update your app.
 On Sep 19, 2012 11:08 PM, Keith Wiley kbw...@gmail.com wrote:



 On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote:

 *Many of the latest Android devices have eliminated the hard menu key
 found on earlier hardware. Consequently, it's now the responsibility of 
 app
 developers to include soft menu keys in their apps. *

 *
 *


 Um, forgive me, but this response seems fundamentally at odds with
 Mark's initial response.

 Which response is closer to the correct answer?  Is my app inherently
 broken on such devices or not?

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

  1   2   >