[android-developers] Re: WebView FileUploader

2013-05-03 Thread Rahul Kaushik
AnyOne???



On Thu, May 2, 2013 at 3:17 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 Hi,

 I am using Webview as container for a website,Web site  have an option
 Upload File ,this button is not working for me am using Android
 Version(3.0.1)

 Any Suggestions??

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




[android-developers] Re: Service onDestroy() not being called...

2013-05-03 Thread Johan Appelgren
In addition to binding to the service, do you use startService? If you do, 
you must also call stopService/stopSelf, just unbinding and calling 
stopForeground is not enough. 

On Thursday, May 2, 2013 9:07:07 PM UTC+2, Larry Meadors wrote:

 I have a bound service that I'm using to play audio. 

 An activity binds to the service in onResume() and sets the service as 
 a foreground service. 

 The onPause() checks to see if the media player on the service is 
 playing, and if it is NOT, calls stopForeground(true), then unbinds 
 (in either case - playing or not). 

 I've got code in the onDestroy with log calls, but while other logs 
 messages from the service show up...it doesn't appear that the 
 onDestroy() is getting called. 

 Am I misunderstanding the lifecycle here, or is there something I can 
 check to see why the service remains running? 

 Larry 


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




[android-developers] Re: Spinner borders

2013-05-03 Thread Filipe
Found the solution.
 

setPadding(0, 0, 0, 0);

 

Didn't know this existed.

 

Segunda-feira, 29 de Abril de 2013 9:55:07 UTC+1, Filipe escreveu:

 Hi,
  
 I need to create a small spinner in height.
  
 So I created a spinner with 58pixels height, but it has big borders on top 
 and bottom, so it cuts most of the text.
 It has a top border of 25 pixels and a bottom border of 19 pixels.
 So from the total 58 pixels, only 14 are used to show the text.
  
 How can I change this? How can I decrease the top and bottom borders or 
 increase the text area?
 I have tryed to change the background drawable with 9 patch png, but it 
 does not affect the area used for the text.
 I need to do it programatically.
  
  
 Thanks
 Filipe Madureira


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




[android-developers] Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread mrallen302
I am fairly new to android development and i have just finished my first 
application. I added in a splash screen which works perfectly it loads b4 
the main menu and then switches after 3 seconds, however if the back button 
is pushed on the phone during the splash screen, you are taken out of 
the application then after the 3 seconds passes the Main menu will be 
displayed. This there any way i can get the application to be destroyed if 
the back button is pushed during the splash screen??

Thank you 

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




Re: [android-developers] Help with Google terms for in app payments for extra content addition. Thanks.

2013-05-03 Thread Dale Sharp
Sadly I can't afford a lawyer. ;-(

On Thursday, 2 May 2013 17:53:27 UTC+1, TreKing wrote:


 On Mon, Apr 22, 2013 at 1:57 PM, Dale Sharp 
 pubu...@googlemail.comjavascript:
  wrote:

 *In-app purchases:* Developers offering additional content, services or 
 functionality within an application downloaded from Google Play must use 
 Google Play's payment system as the method of payment, except: 

- where payment is primarily for physical goods or services (e.g. 
buying movie tickets; e.g. buying a publication where the price also 
includes a hard copy subscription); or 
- where payment is for digital content or goods that may be consumed 
outside of the application itself (e.g. buying songs that can be played 
 on 
other music players)

 So, I'm wondering, do I have to use the Google Play payment system 
 for obtaining payment if I wish to sell the upgrade in the app? Or is this 
 considered a service or function and I have to use the Google Play payment 
 system?


 These are questions for a lawyer.


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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread lbendlin
you need to cancel your three second timer.

On Friday, May 3, 2013 6:14:22 AM UTC-4, mrallen302 wrote:

 I am fairly new to android development and i have just finished my first 
 application. I added in a splash screen which works perfectly it loads b4 
 the main menu and then switches after 3 seconds, however if the back button 
 is pushed on the phone during the splash screen, you are taken out of 
 the application then after the 3 seconds passes the Main menu will be 
 displayed. This there any way i can get the application to be destroyed if 
 the back button is pushed during the splash screen??

 Thank you 



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




[android-developers] Re: WebView FileUploader

2013-05-03 Thread lbendlin
The website is expecting a Windows or OSX computer at the other end, and 
has no idea how to handle an Android file system. (Well, Linux, but same 
difference)

On Friday, May 3, 2013 4:11:10 AM UTC-4, rahul kaushik wrote:

 AnyOne???



 On Thu, May 2, 2013 at 3:17 PM, Rahul Kaushik 
 rahulka...@gmail.comjavascript:
  wrote:

 Hi,

 I am using Webview as container for a website,Web site  have an option 
 Upload File ,this button is not working for me am using Android 
 Version(3.0.1)

 Any Suggestions??

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




[android-developers] Re: Service onDestroy() not being called...

2013-05-03 Thread Larry Meadors
On May 3, 2013 3:03 AM, Johan Appelgren johan.appelg...@gmail.com wrote:
 In addition to binding to the service, do you use startService? If you do, 
 you must
 also call stopService/stopSelf, just unbinding and calling stopForeground is 
 not enough.

Thanks, I ended up putting together a small sample to better
understand it, and you're exactly right.

Services are confusing. :)

I tried doing just bind/unbind and calling startForeground(), but that
doesn't keep the service alive after unbinding.

It has to be started and bound to (not sure if the order matters, but
I had to do both) in order to keep it alive after unbinding. As you
said, I also have to stop it when appropriate (i.e., when it's not
playing) as well.

I think I have it working as expected now, thanks again.

Larry

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




[android-developers] custom views

2013-05-03 Thread bob
I'm trying to learn custom views.  So I went here:

http://developer.android.com/training/custom-views/create-view.html

Then I downloaded the sample:

https://lh4.googleusercontent.com/-HP0GlAFmogc/UYPCOWqrJWI/AcA/8-bFwiRp5YU/s1600/download_sample.png


However, I don't see any Eclipse project files, and I can't get it to 
import into Eclipse.


Any ideas?

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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread mrallen302

Do u mean delete when the back button is pushed as I am quite new to android or 
do u mean delete the timer from my code

Thank you for replying though

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




[android-developers] Problem with Android Developer Toolkit version 21.1.0

2013-05-03 Thread Jungle Jim
I updated my Android SDK up through version 4.2.2 (API 17) and all the 
associated miscellaneous stuff. Also updated Android SDK tools to Rev 21.1 
and Android SDK Platform-Tools through 16.0.2.

Now Eclipse and ADT aren't working at all. When I start up Eclipse, I get 
the following error message:

This Android SDK requires Android Developer Toolkit version 21.1.0 or 
above.

Current version is 21.0.0.2012-10-31-0-17. Please update ADT to the latest 
version.

Then I hit the Check for Updates button and it says No updates were 
found

I have tried uninstalling and re-installing Android SDK Tools Rev 21.1 but 
it still doesn't work. Have also tried exiting out of Eclipse and 
re-starting it. And also rebooting my computer.

Any ideas what to do?

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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread lbendlin
when the back button is pushed you need to check if the timer is running, 
and if it is then you need to cancel it.

On Friday, May 3, 2013 10:18:45 AM UTC-4, mrallen302 wrote:


 Do u mean delete when the back button is pushed as I am quite new to 
 android or do u mean delete the timer from my code

 Thank you for replying though


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




Re: [android-developers] New to Android

2013-05-03 Thread Michael Leung
xcode? Android is different from iOS.



On Fri, May 3, 2013 at 12:11 PM, TreKing treking...@gmail.com wrote:


 On Tue, Apr 16, 2013 at 8:10 PM, rlloyd riley.lloy...@gmail.com wrote:

 I have a java file that I would like to incorporate in to an android
 application. I'm not sure where in the code I put my java that I've made. I
 use Eclipse with the newest SDKs. Where in the following code am I supposed
 to input my code?


 As is, nowhere. Android does not use a static main method (at least that
 you care about) nor does it use System.in.


  Also, The code of mine takes input data, manipulates it, and gives back
 5 data sets (words, letters etc.). How on the interface builder do I
 connect text boxes to use for input and output?


 Have you read the documentation at all yet?


 I have used xcode before but I am completely lost with the JAVA and the
 whole android thing. I didn't think this would be a necessarily hard
 project though.


 Please consult the documentation and work through some samples.


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






-- 
Regards,
Michael Leung
http://www.itblogs.info - My IT Blog
http://diary.skynovel.info - My Blog
http://www.michaelleung.info - My Homepage

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




Re: [android-developers] Re: How to get scrolling to just scroll endlessly when you swipe the screen up or down?

2013-05-03 Thread Daniel Chacon
Testing on my Galaxy Nexus phone running 4.2.2

Looking at my code i provided lastnight, does there seem to be anything
that stands out as possible cause?

This portion of my code, is what im referring to.. since its not the same
as yours..


 // TODO Auto-generated method stub

  super.onCreate(savedInstanceState);

 TextView textView = new TextView(this);

 setContentView(textView);

 textView.setMovementMethod(new ScrollingMovementMethod());


On Thu, May 2, 2013 at 11:58 PM, TreKing treking...@gmail.com wrote:


 On Thu, May 2, 2013 at 11:07 PM, Daniel Chacon cuban...@gmail.com wrote:

 thanks, I update the xml layout to match your example and still doing the
 same thing,

 Now here is my code as it stands now and everything is returned, but not
 scrolling as expected.


 What are you testing on? Have you tried a different device or emulator?



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




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




Re: [android-developers] Problem with Android Developer Toolkit version 21.1.0

2013-05-03 Thread Daniel Chacon
I had similar issues when i upgraded, but had to open ADT seperate from
Eclipse, updated everyting, then opened Eclipse, then did another Check for
updates and everything was back to normal. Now the issue i ran into after
all the upgrades was that my project that would build and run in the
previous versions was not throwing XML errors, so i had to recreate (simply
copy and paste) my layout pages into new layout pages and everything was
fine, just pain in the A$$

hope this helps.


On Fri, May 3, 2013 at 9:34 AM, Jungle Jim jjjungle...@gmail.com wrote:

 I updated my Android SDK up through version 4.2.2 (API 17) and all the
 associated miscellaneous stuff. Also updated Android SDK tools to Rev 21.1
 and Android SDK Platform-Tools through 16.0.2.

 Now Eclipse and ADT aren't working at all. When I start up Eclipse, I get
 the following error message:

 This Android SDK requires Android Developer Toolkit version 21.1.0 or
 above.

 Current version is 21.0.0.2012-10-31-0-17. Please update ADT to the latest
 version.

 Then I hit the Check for Updates button and it says No updates were
 found

 I have tried uninstalling and re-installing Android SDK Tools Rev 21.1 but
 it still doesn't work. Have also tried exiting out of Eclipse and
 re-starting it. And also rebooting my computer.

 Any ideas what to do?

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




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




[android-developers] Re: New to Android

2013-05-03 Thread bob
 

You will want to put your code in a file called beta.java.


Then you can add this to your onCreate function:

*   *

*beta.main(null);*

*   *

*
*

*
*

Thanks.



On Tuesday, April 16, 2013 8:10:28 PM UTC-5, rlloyd wrote:

 I have a java file that I would like to incorporate in to an android 
 application. I'm not sure where in the code I put my java that I've made. I 
 use Eclipse with the newest SDKs. Where in the following code am I supposed 
 to input my code? Also, The code of mine takes input data, manipulates it, 
 and gives back 5 data sets (words, letters etc.). How on the interface 
 builder do I connect text boxes to use for input and output? I have used 
 xcode before but I am completely lost with the JAVA and the whole android 
 thing. I didn't think this would be a necessarily hard project though.

 Code that appears with new project:

 package com.example.f;

 import android.os.Bundle;
 import android.app.Activity;
 import android.view.Menu;

 public class DNA extends Activity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.activity_dn);
 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {
 // Inflate the menu; this adds items to the action bar if it is present.
 getMenuInflater().inflate(R.menu.dn, menu);
 return true;
 }

 }


 My Code:

 Begins with:

 import java.util.Scanner;

 class beta

  { //entire program brackets

 public static void main (String[] args)

  { //meat of program

 Scanner scan = new Scanner( System.in );




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




[android-developers] Re: Google Play Developer console testing access issue

2013-05-03 Thread g...@deanblakely.com
you just need to put a comma between the email addresses.

On Thursday, May 2, 2013 5:11:32 PM UTC-7, Gary Blakely wrote:

 All my apps use Google Play License testing.  On the settings page in the 
 GP Developer console, there is a box where I have my gmail email address. 
  I have a Google account on my android phone with the same address and I am 
 able to test with different license responses very well.  It all works fine.

 However, another developer in our organization has a different android 
 phone and we want to license test with that phone which has a google 
 account but with a different gmail email address.  I tried adding that 
 persons gmail email address to the box but it complains saying INVALID 
 TESTER EMAIL ADDRESS.

 I even registered the other person onto the developer account and she is 
 now listed on the account but it will still not accept here email address 
 in the license testing box

 What am I forgetting to do?  Do I have to enter the other developers 
 address somewhere in the developer console?

 Thanks,
 Gary


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




Re: [android-developers] Re: How to get scrolling to just scroll endlessly when you swipe the screen up or down?

2013-05-03 Thread bob
Try changing this:

*TextView textView = new TextView(this);*
*setContentView(textView);*
*textView.setMovementMethod(new ScrollingMovementMethod());*


to this:

*  
*
*ScrollView sv = new ScrollView(this); *
*TextView textView = new TextView(this); *
*sv.addView(textView);*
*setContentView(sv);*
*  
*


Thanks.



On Friday, May 3, 2013 9:48:47 AM UTC-5, Dan Cha wrote:

 Testing on my Galaxy Nexus phone running 4.2.2
  
 Looking at my code i provided lastnight, does there seem to be anything 
 that stands out as possible cause?
  
 This portion of my code, is what im referring to.. since its not the same 
 as yours.. 
  

  // TODO Auto-generated method stub

   super.onCreate(savedInstanceState);

  TextView textView = new TextView(this);

  setContentView(textView);

  textView.setMovementMethod(new ScrollingMovementMethod());


 On Thu, May 2, 2013 at 11:58 PM, TreKing treki...@gmail.com javascript:
  wrote:


 On Thu, May 2, 2013 at 11:07 PM, Daniel Chacon 
 cuba...@gmail.comjavascript:
  wrote:

 thanks, I update the xml layout to match your example and still doing 
 the same thing, 
  
 Now here is my code as it stands now and everything is returned, but not 
 scrolling as expected.


 What are you testing on? Have you tried a different device or emulator?



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




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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread bob
This guy has a splash screen example that uses a flag 
(mIsBackButtonPressed) to see if back was pressed:

http://myandroidsolutions.blogspot.com/2012/06/android-simple-splash-screen.html

So, he basically guards against what you're talking about.

Thanks.



On Friday, May 3, 2013 9:18:45 AM UTC-5, mrallen302 wrote:


 Do u mean delete when the back button is pushed as I am quite new to 
 android or do u mean delete the timer from my code

 Thank you for replying though


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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread mrallen302
this is perfect, thank you 

On Friday, May 3, 2013 7:05:48 PM UTC+1, bob wrote:

 This guy has a splash screen example that uses a flag 
 (mIsBackButtonPressed) to see if back was pressed:


 http://myandroidsolutions.blogspot.com/2012/06/android-simple-splash-screen.html

 So, he basically guards against what you're talking about.

 Thanks.



 On Friday, May 3, 2013 9:18:45 AM UTC-5, mrallen302 wrote:


 Do u mean delete when the back button is pushed as I am quite new to 
 android or do u mean delete the timer from my code

 Thank you for replying though



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




Re: [android-developers] Help with Google terms for in app payments for extra content addition. Thanks.

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 6:17 AM, Dale Sharp pubuto...@googlemail.com wrote:

 Sadly I can't afford a lawyer. ;-(


Neither can most of us. I believe there are sites where you can solicit
free legal advice. Or, what I do, read the interpret the rules to the best
of your own ability and use your own judgement, being as conservative as
possible.

Good luck.

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




Re: [android-developers] custom views

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 8:57 AM, bob b...@coolfone.comze.com wrote:

 Any ideas?


Create your own project and import the files you DO have.

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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread Jonathan S
http://developer.android.com/guide/topics/manifest/activity-element.html#nohist

I am still think the Splash Screen shouldn't be needed on Android. I am 
curious why you needed it. 

On Friday, May 3, 2013 6:14:22 AM UTC-4, mrallen302 wrote:

 I am fairly new to android development and i have just finished my first 
 application. I added in a splash screen which works perfectly it loads b4 
 the main menu and then switches after 3 seconds, however if the back button 
 is pushed on the phone during the splash screen, you are taken out of 
 the application then after the 3 seconds passes the Main menu will be 
 displayed. This there any way i can get the application to be destroyed if 
 the back button is pushed during the splash screen??

 Thank you 



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




[android-developers] Re: getVoiceMessageCount?

2013-05-03 Thread bob
 

I think it's because the method uses an *@hide* annotation.


So, I think you have to use Reflection to call it.


Thanks.



On Monday, April 22, 2013 9:39:33 PM UTC-5, steve...@gmail.com wrote:

 I am trying to get the number of voicemails on an Android using 
 TelephonyManager, seems it should be easy enough using the 
 getVoiceMessageCount() nethod (not documented but its in the source code!  
 But I get an error saying there is no such method ;-( 

 any ideas?


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




[android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread mrallen302
I need it for my university degree just to display my name and project 
name. it isn't an application which is going to be released, so only reason 
have one is because it was requested. Out of interest though why does the 
android community hate splash pages so much? 

On Friday, May 3, 2013 9:22:03 PM UTC+1, Jonathan S wrote:


 http://developer.android.com/guide/topics/manifest/activity-element.html#nohist

 I am still think the Splash Screen shouldn't be needed on Android. I am 
 curious why you needed it. 

 On Friday, May 3, 2013 6:14:22 AM UTC-4, mrallen302 wrote:

 I am fairly new to android development and i have just finished my first 
 application. I added in a splash screen which works perfectly it loads b4 
 the main menu and then switches after 3 seconds, however if the back button 
 is pushed on the phone during the splash screen, you are taken out of 
 the application then after the 3 seconds passes the Main menu will be 
 displayed. This there any way i can get the application to be destroyed if 
 the back button is pushed during the splash screen??

 Thank you 



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




Re: [android-developers] Re: getVoiceMessageCount?

2013-05-03 Thread Steve Gabrilowitz
That makes sense, thanks!  Do you have an example of how to use reflection
to make this call?


On Fri, May 3, 2013 at 4:38 PM, bob b...@coolfone.comze.com wrote:

 I think it's because the method uses an *@hide* annotation.


 So, I think you have to use Reflection to call it.


 Thanks.



 On Monday, April 22, 2013 9:39:33 PM UTC-5, steve...@gmail.com wrote:

 I am trying to get the number of voicemails on an Android using
 TelephonyManager, seems it should be easy enough using the
 getVoiceMessageCount() nethod (not documented but its in the source code!
 But I get an error saying there is no such method ;-(

 any ideas?

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




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




Re: [android-developers] dial a predefined number directly from app

2013-05-03 Thread bob
Yes, I think you use ACTION_CALL as shown here:

http://www.mkyong.com/android/how-to-make-a-phone-call-in-android/

Something like this:

**
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse(tel:8675309));
startActivity(callIntent);
**

Thanks.


On Thursday, May 2, 2013 7:01:13 PM UTC-5, kaushikpendurthi wrote:

 ITs a very simple intent call .. :) 


 On Thu, May 2, 2013 at 4:56 PM, TreKing treki...@gmail.com 
 javascript:wrote:


 On Tue, Apr 30, 2013 at 2:35 AM, Rahul Kumar rish...@gmail.comjavascript:
  wrote:

 How can i make a direct call from the app?


 Type that, exactly, into Google.


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




 -- 
 ThanksRegards
 Kaushik Pendurthi

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




[android-developers] ATT making it impossible to enable USB debugging on Samsung Galaxy S4

2013-05-03 Thread Jungle Jim
I bought a new Galaxy S4 at Radio shack yesterday and was going to start 
doing some developing with it.

I finally realized, to my considerable dismay, that ATT's version of the 
S4 does not allow you to enable USB debugging. There's no option for it in 
the Settings menu. I chatted online with Samsung's tech support and they 
said ATT has disabled it. You know what that means.No developing Android 
apps on an S4. 

There's probably some way to enable it if you root the phone. But I can't 
afford to void my warranty.

Anyone else encounter this? I really need a phone with 4.2 for developmment.

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




[android-developers] Re: ATT making it impossible to enable USB debugging on Samsung Galaxy S4

2013-05-03 Thread bob
Have you tried this?

http://timgray.blogspot.com/2012/11/enable-developer-mode-on-your-jelly.html


*to turn on developer mode  go into settings, then go to about tablet or 
about phone and then tap on the build number 7 times.*



Thanks.


On Friday, May 3, 2013 4:47:23 PM UTC-5, Jungle Jim wrote:

 I bought a new Galaxy S4 at Radio shack yesterday and was going to start 
 doing some developing with it.

 I finally realized, to my considerable dismay, that ATT's version of the 
 S4 does not allow you to enable USB debugging. There's no option for it in 
 the Settings menu. I chatted online with Samsung's tech support and they 
 said ATT has disabled it. You know what that means.No developing Android 
 apps on an S4. 

 There's probably some way to enable it if you root the phone. But I can't 
 afford to void my warranty.

 Anyone else encounter this? I really need a phone with 4.2 for 
 developmment.


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




Re: [android-developers] Re: New to Android

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 10:30 AM, bob b...@coolfone.comze.com wrote:

 You will want to put your code in a file called beta.java.


 Then you can add this to your onCreate function:

 *   *

 *beta.main(null);*

 *   *


That's a joke, right?

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




Re: [android-developers] Re: Splash Screen: When my splash screen loads and i hit the back button, the application still shows?? why??

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 3:44 PM, mrallen302 mrallen...@gmail.com wrote:

 Out of interest though why does the android community hate splash pages so
 much?


Unless it serves an actual purpose, like loading resources in a game, it's
a colossal waste of time for users that want to quickly get in to your app,
do something, and get out.

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




Re: [android-developers] Re: getVoiceMessageCount?

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 3:55 PM, Steve Gabrilowitz steveg1...@gmail.comwrote:

 Do you have an example of how to use reflection to make this call?


You can easily Google this. However, be advised that using undocumented
API's is not recommended, as they might change between platform versions,
breaking your app in the process.

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




[android-developers] Re: ATT making it impossible to enable USB debugging on Samsung Galaxy S4

2013-05-03 Thread Jungle Jim
Thanks, Bob. Yes it works.

I don't know why they hid it like that. It cost me and several other people 
hours of unnecessary work and headaches.

On Friday, May 3, 2013 5:03:05 PM UTC-5, bob wrote:

 Have you tried this?


 http://timgray.blogspot.com/2012/11/enable-developer-mode-on-your-jelly.html


 *to turn on developer mode  go into settings, then go to about tablet 
 or about phone and then tap on the build number 7 times.*



 Thanks.


 On Friday, May 3, 2013 4:47:23 PM UTC-5, Jungle Jim wrote:

 I bought a new Galaxy S4 at Radio shack yesterday and was going to start 
 doing some developing with it.

 I finally realized, to my considerable dismay, that ATT's version of the 
 S4 does not allow you to enable USB debugging. There's no option for it in 
 the Settings menu. I chatted online with Samsung's tech support and they 
 said ATT has disabled it. You know what that means.No developing Android 
 apps on an S4. 

 There's probably some way to enable it if you root the phone. But I can't 
 afford to void my warranty.

 Anyone else encounter this? I really need a phone with 4.2 for 
 developmment.



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