[android-developers] Re: BluetoothSocket connect() hangs forever after many attempts

2016-10-11 Thread Tobiah
On Tuesday, October 11, 2016 at 2:52:12 PM UTC-7, Tobiah wrote: > > I have a connection loop something like this: > > > while(true){ > >try{ > my_socket.connect(); start_reading(); } catch(IOException e){ } } So if the device g

[android-developers] BluetoothSocket connect() hangs forever after many attempts

2016-10-11 Thread Tobiah
I have a connection loop something like this: while(true){ try{ -- 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] Gradle files out of sync?

2016-09-13 Thread Tobiah
I clicked to upgrade Android Studio and when it was finished, I got this message at the top of the editor: "Gradle files have changed since last sync. A project sync may be necessary or the IDE to work properly." There is a link right there to "Sync Now" but it doesn't help the problem. I

[android-developers] Making my app a home app.

2016-07-12 Thread Tobiah
When I install something like Nova Launcher, the app comes up as a choice when I hit the home button, with an option to make it the permanent home app. What do I need to do to my application to make it behave this way? Thanks! Tobiah -- You received this message because you are subscribed

[android-developers] Relative accelerometer reading.

2015-12-21 Thread Tobiah
Given that I can read the effects of gravity on my device on three axes, I'm looking for some math that will get me a more logical view of what's happening to the device in my hands. I want to create a two dimensional control based on tilting the device forward and back, and tilting the device

[android-developers] Is this list dying?

2015-10-23 Thread Tobiah
I used to get dozens of posts per day from this list. Has the buzz moved to another forum? Thanks, Tobiah -- 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@google

[android-developers] Moved to Android Studio - how do I migrate my publishing key?

2015-10-09 Thread Tobiah
previously? What do I need to do to get Studio to use the same key? Thanks! Tobiah -- 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,

[android-developers] Force a vertical LinearLayout cell smaller than content

2014-11-07 Thread Tobiah
LinearLayout.LayoutParams(100, 200); This did limit the text to a 100 pixel wide strip, but did nothing to limit the height of the inner Layout. Thanks for any help, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Tracking down reason for app not showing in play store for some devices.

2014-07-11 Thread Tobiah
Had an app in the play store for years. People from my company just bought some new Galaxy Tab 3's, and the app won't show up on those devices. How would I go about finding out why? Thanks! Toby -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Making menu-key menus stay open all the time.

2014-07-10 Thread Tobiah
buttons in the layout or something, but it would be so easy at this point if I could just inject some code that would allow those menus to stay open no matter what. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Handle Bluetooth device out of range then back.

2014-02-20 Thread Tobiah
of range during use. Thanks, Tobiah -- 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

[android-developers] Questions about copied code.

2014-02-19 Thread Tobiah
rather than the reader thread. Is that so? 3) Why did the author take the time to copy scanner_buffer to encodedBytes? Couldn't she have just used the original scanner_buffer to create the data string? Thanks! Tobiah The code is also here, in case the mailing list mangles it: http

[android-developers] how often to look for bluetooth data

2014-02-18 Thread Tobiah
a small sleep in there? Would all of that checking the bluetooth socket also tank the battery? Is there nothing to worry about and I should leave it as it? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

Re: [android-developers] how often to look for bluetooth data

2014-02-18 Thread Tobiah
does the remote device let me know that there is more data available? Thanks for answering the sophomore questions. Tobiah -- 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

Re: [android-developers] Crash when running Bluetooth example from Android Docs

2014-02-14 Thread Tobiah
On 02/13/2014 10:46 PM, gjs wrote: Hi, On the same page - BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (mBluetoothAdapter == null) { // Device does not support Bluetooth } Regards Yeah, I knew that both devices had bluetooth and mBluetoothAdapter was

[android-developers] Re: Crash when running Bluetooth example from Android Docs

2014-02-14 Thread Tobiah
android:name=android.permission.BLUETOOTH_ADMIN / I'm not sure how else to make sure I have the right permissions. Thanks, Toby On 02/13/2014 03:31 PM, Tobiah wrote: I'm going through the Bluetooth docs and right off I am having a problem. The code below is cut right from http

[android-developers] Re: Crash when running Bluetooth example from Android Docs

2014-02-14 Thread Tobiah
On 02/14/2014 11:18 AM, Tobiah wrote: So I tried a third device, and finally got a trace out of Logcat. It says I don't have the right permissions, but I did put them into my manifest in the same place as all of my other permissions: uses-permission android:name

[android-developers] Crash when running Bluetooth example from Android Docs

2014-02-13 Thread Tobiah
for any help! Tobiah -- 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

[android-developers] Which MediaPlayer format to convert to .mp3 or .wav

2014-01-22 Thread Tobiah
and immediately hear the file that they recorded. Are some of the other choices for encoding and output format a better fit for what I am trying to do? Thanks! Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Can't always get unique identifier

2013-07-25 Thread Tobiah
On 07/24/2013 02:41 PM, TreKing wrote: On Wed, Jul 24, 2013 at 2:45 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: So I was wondering whether there was some other unique identifier I could use, or failing that, would like to here suggestions on generating an identifier

[android-developers] Can't always get unique identifier

2013-07-24 Thread Tobiah
?) never be a duplicate. I was thinking of using the time to the millisecond that the app was first run, plus some random digits. Still, I thought that there might be a more standard practice or library for this. Thanks! Tobiah -- -- You received this message because you are subscribed

[android-developers] Console stopped giving output.

2013-04-30 Thread Tobiah
That's about it. I went as far as to reboot my system, but when I run or debug Android apps, I get nothing anymore out of the Console. I'm pretty new to Eclipse so thanks for any help. Tobiah -- -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Generate a QR code from within my app?

2013-04-19 Thread Tobiah
I need my app to display a QR code. Are there any libraries out there that would allow me to do this? Thanks! Tobiah -- -- 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

[android-developers] Re: Generate a QR code from within my app?

2013-04-19 Thread Tobiah
On 04/19/2013 10:38 AM, Tobiah wrote: I need my app to display a QR code. Are there any libraries out there that would allow me to do this? Just realized that the zxing app (which I already depend on) can display barcodes as well. So, I am starting the app like this: Intent intent

Re: [android-developers] Generate a QR code from within my app?

2013-04-19 Thread Tobiah
On 04/19/2013 01:39 PM, TreKing wrote: On Fri, Apr 19, 2013 at 12:38 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: Are there any libraries out there that would allow me to do this? This question seems incredibly Googleable. Yeah, I know. I did spend a long time on google

[android-developers] Home app selection query

2013-04-03 Thread Tobiah
as the default home app. Thanks! Tobiah -- -- 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

[android-developers] Getting a message from another app launched with an Intent

2013-03-29 Thread Tobiah
I'm launching another app from my app like this: Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage(com.other.appname); startActivityForResult(LaunchIntent, EXPOSMART_MESSAGE); Then I set a result from the launched app: Intent response = new Intent();

Re: [android-developers] Re: Getting a message from another app launched with an Intent

2013-03-29 Thread Tobiah
On 03/29/2013 01:52 PM, RichardC wrote: Does the other App call setResult() ? Yeah, It's shown in the code below. Thanks, Tobiah http://developer.android.com/reference/android/app/Activity.html#setResult(int) On Friday, March 29, 2013 8:04:27 PM UTC, Tobiah wrote: I'm launching

[android-developers] Making sure I only launch one app instance through and Intent

2013-03-28 Thread Tobiah
to launch another app in this way, while insuring that I will only launch one instance of the other app? Thanks, Tobiah -- -- 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

[android-developers] Multi app stack problem

2013-03-25 Thread Tobiah
like FLAG_ACTIVITY_REORDER_TO_FRONT, but it seems that they are only for starting new activities in the same task. Is that correct? What would be the equivalent when starting a new task? Thanks! Tobiah -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Making my app the only one that can run.

2013-03-20 Thread Tobiah
without blinking. Tobiah On Tuesday, March 19, 2013 4:35:56 PM UTC-5, Tobiah wrote: I'm not being unfriendly to users. I need to hand out devices at an event so that people can walk around and use my app. I don't want them to use other apps on the phone. So I put this in my

Re: [android-developers] Re: Making my app the only one that can run.

2013-03-20 Thread Tobiah
him to use only some applications (the ones I decided). Hope it helps. Mathias Seguy Founder of Android2EE Hey thanks for the advice. This looks like the way to go. I'll check out the sample launcher. Are there docs somewhere outlining which methods must be handled? Tobiah Le mardi 19

Re: [android-developers] Re: Making my app the only one that can run.

2013-03-20 Thread Tobiah
mac address. My devices will go for long periods without internet access. There are some far cheaper alternatives that do the same thing anyway. LOCKiosk works fine for $8. I'm trying to find out if that's a one time fee or a per device fee. Tobiah Thus, if it is hundreds of units you have

[android-developers] Making my app the only one that can run.

2013-03-19 Thread Tobiah
there are no logcat events, and when I restart my app it works fine. Also if there are any other thoughts on how to make a one app device, I'd love to have suggestions. Thanks! Tobiah -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Make a one app appliance (prevent quitting app)

2013-03-06 Thread Tobiah
itself to the foreground every two seconds. It was cheesy, but worked. If the user quit the app, it would come right back up. Any ideas as to how to get an Android program to always be the focused program? Thanks! Tobiah -- -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Data safety when writing important data to SD card

2012-11-27 Thread Tobiah
On 11/27/2012 2:38 PM, Lew wrote: Tobiah wrote: I am opening a file for append using BufferedWriter. Each time the app is run, more data is added to the file. At first a made a little class representing the file and gave it a write() method that would take a string

Re: [android-developers] Re: Phone can't download my app

2012-07-30 Thread Tobiah
! Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Broken link in docs, and question about command line building

2011-11-28 Thread Tobiah
\|LightsService' fi But I forgot how to initialize the environment so that I get a build.xml. It think it's a simple command using ant or adb or android or something. Appreciate a reminder. Thanks! Tobiah -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: sound effects for android game application

2011-11-28 Thread Tobiah
, you could look into csound (csounds.com). It takes some learning, but it's capable of anything that you can dream up. Tobiah -- 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

[android-developers] SurfaceView drawing seems far too slow to be useful in a game.

2011-11-14 Thread Tobiah
to make all the objects take car of redrawing their background when the move? Thanks, Tobiah -- 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

[android-developers] Animating a graphics shape.

2011-09-03 Thread Tobiah
another thread to do the drawing. Can someone point me in the right direction? Are there sprite style facilities that I should look at? Do I need android.Animation, or android.view.Animation? Should I be looking at Canvas, or SurfaceView? Thanks, Tobiah -- You received this message because you

Re: [android-developers] display data in database

2011-08-15 Thread Tobiah
On 08/15/2011 08:36 AM, abhijit chakra wrote: just tell me the codes. The codes are: 49-52-21-11 I think that people are making fun of you because your question is far too general. Just to learn how to build an SQL database in Android is a day's work. Getting data out of it involves

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-11 Thread Tobiah
On 08/10/2011 01:05 PM, Kostya Vasilyev wrote: I'd try cleaning the Market app's cache (in system settings, under app management). I've uninstalled my app, so there is no entry for it in the App Management area. Is there a global place that I can do this? Thanks, Tobiah -- You received

[android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
to the market to download a 10MB game, and it went fine. I'm worried that my users might have the same problem. Where shall I look? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
On 08/10/2011 12:10 PM, TreKing wrote: On Wed, Aug 10, 2011 at 1:59 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: The download completed, but during install, I got an alert saying Insufficient storage available. I have enough space, I think. 3Gig SD, and 40MB internal

Re: [android-developers] Out of space on install, but only *my* app?

2011-08-10 Thread Tobiah
On 08/10/2011 12:16 PM, Kostya Vasilyev wrote: Check the logcat while installing. The error message you see in Market may not match what's actually happening at the low level. I'm seeing this. There is no 'main' directory in /data/data/com.android.vending/cache. Thanks, Tobiah I/LSState

Re: [android-developers] Still can't log in to update app...

2011-08-08 Thread Tobiah
found a support link, and I get an email back from them, about every three or four days, so the process is very slow. First, they said that one of my accounts had been masked, as toby%tobiah@gtempaccount.com, I guess because I had started to let Google manage the mail to tobiah.org. I

Re: [android-developers] Still can't log in to update app...

2011-08-08 Thread Tobiah
found a support link, and I get an email back from them, about every three or four days, so the process is very slow. First, they said that one of my accounts had been masked, as toby%tobiah@gtempaccount.com, I guess because I had started to let Google manage the mail to tobiah.org. I was able

[android-developers] Still can't log in to update app...

2011-08-05 Thread Tobiah
to do. I feel like I'm in trouble with my boss. I don't suppose there is any human anywhere to talk to? Thanks, Tobiah -- 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

Re: [android-developers] Still can't log in to update app...

2011-08-05 Thread Tobiah
? Thanks, Tobiah On Fri, Aug 5, 2011 at 3:41 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: I've been in contact with Market support for a few days and got some canned answers that did not help. The bottom line is that I can no longer log in to update my app - any time I log

[android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
usernames associated with your email address. So I don't know what to do now. I paid the $25, but I'll be darned if I can figure out how to go update or publish apps now. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
to manage that domain and add support for the Android Market. It may be, but I have already made several updates to the app - just not recently. Would it make sense that my account does not have market support when I was somehow able to update the app in the past? Thanks, Tobiah -- You received

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
On 08/02/2011 02:31 PM, Mark Murphy wrote: On Tue, Aug 2, 2011 at 4:19 PM, Tobiaht...@tobiah.org wrote: That sounds like you have a Google Apps for Business account. You will need to manage that domain and add support for the Android Market. It may be, but I have already made several updates

[android-developers] Market app name case sensitive?

2011-05-17 Thread Tobiah
I just published my first app to the market. I sat there searching for it under something like examplename, and it didn't show up for a while. I submitted the app with something like ExampleName. Searching for the app with the caps yielded a hit in the search. I would have expected the search

[android-developers] Re: Market app name case sensitive?

2011-05-17 Thread Tobiah
On 05/17/2011 01:51 PM, Tobiah wrote: I just published my first app to the market. I sat there searching for it under something like examplename, and it didn't show up for a while. I submitted the app with something like ExampleName. Searching for the app with the caps yielded a hit

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Tobiah
On 05/17/2011 02:14 PM, ingy abbas wrote: This what i did and it connect only when i'm using the android emulator but when i use the mobile it did not connect !!any help in this Can you browse the web on the mobile? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Optical character recognition

2011-05-13 Thread Tobiah
On 05/04/2011 11:47 AM, Michelle Konzack wrote: Hello Ezine.sbr23, Can you correct the clock of your computer please? Just a spammer that spoofs a bad date in order for the message to appear at the extreme end of a date sort. -- You received this message because you are subscribed to the

[android-developers] Time Zone question...

2011-05-12 Thread Tobiah
I have an app, that people use to scan barcodes, and send among other things, the scan time to a central server in California running Mysql. Right now, when I query the database, either by looking at the returned data from the phone, or looking at reports from the server, it looks as though all

Re: [android-developers] Re: Debugging a separate thread.

2011-04-28 Thread Tobiah
-Debug because it sounded right. As it turns out, if I do Run-Run with breakpoint set in the code for the background thread set, the thread stops there, and the source file comes forward. So what is the difference between Run-Run, and Run-Debug? Thanks, Tobiah -- You received this message because

[android-developers] Hybrid Eclipse/Command line environment now stuck wanting debugger

2011-04-28 Thread Tobiah
, it gets stuck waiting for the debugger, and I have to say yes to 'force close'. What is triggering the connection to the debugger now that eclipse is no longer running? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Debugging a separate thread.

2011-04-27 Thread Tobiah
through, and can I get and install the source somewhere so that I could actually step through the Android code? Thanks! Tobiah -- 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

Re: [android-developers] Re: Debugging a separate thread.

2011-04-27 Thread Tobiah
are back in your source. Use F6 as it's STEP OVER. F5 = Step Into F6 = Step Over F7 = Return F8 = Resume Tobiah -- 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

Re: [android-developers] Debugging a separate thread.

2011-04-27 Thread Tobiah
, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Have to clean build to get app to install on phone

2011-04-26 Thread Tobiah
chose Project-Clean... again, then it works as normal. I googled around and saw some similar problems, but I couldn't figure this out. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Have to clean build to get app to install on phone

2011-04-26 Thread Tobiah
On 04/26/2011 02:32 PM, TreKing wrote: On Tue, Apr 26, 2011 at 4:29 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: I googled around and saw some similar problems, but I couldn't figure this out. First hit for Application already deployed. No need to reinstall. http

[android-developers] Project installs on phone, but will not launch

2011-04-25 Thread Tobiah
://tobiah.org/AndroidManifest.xml Thanks, Tobiah -- 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

Re: [android-developers] Removing .jar file from project.

2011-04-22 Thread Tobiah
around in the Eclipse and project directories for occurrences of the file's name, but I didn't see any. Thanks, Tobiah -- 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

Re: [android-developers] Removing .jar file from project.

2011-04-22 Thread Tobiah
On 04/22/2011 10:09 AM, TreKing wrote: On Fri, Apr 22, 2011 at 11:56 AM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: Thanks. I am new enough to Eclipse to not know this, but it did not change anything. In the Problems windows I still have: Error generating final archive

[android-developers] Removing .jar file from project.

2011-04-21 Thread Tobiah
of this no longer extant file. Thanks! Tobiah -- 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

[android-developers] Making something happen in an activity from another thread.

2011-04-20 Thread Tobiah
I know about AsyncTask, and I use it for this in some cases, but I was wondering whether there is another way for a background thread to initiate a call to the UI thread. In some cases I have the UI thread polling to look for changes in the database, but that is kludgy. Thanks, Toby -- You

[android-developers] error: Finalizing a Cursor that has not been deactivated or closed.

2011-04-04 Thread Tobiah
. Thanks for any help. Tobiah -- 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

Re: [android-developers] error: Finalizing a Cursor that has not been deactivated or closed.

2011-04-04 Thread Tobiah
On 04/04/2011 10:39 AM, Kostya Vasilyev wrote: In your code, you're leaving the cursor open if the query result count is 0. Hence, the leak. Haha... Thanks. I always think it's going to be some arcane Android problem. Of course, you were right. It's fixed now. Tobiah I googled

Re: [android-developers] error: Finalizing a Cursor that has not been deactivated or closed.

2011-04-04 Thread Tobiah
fundamental that I did not understand about the database. Tobiah Haha... Thanks. I always think it's going to be some arcane Android problem. Of course, you were right. It's fixed now. -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] More direct way to get to market install page from app?

2011-03-31 Thread Tobiah
to the install page of the other app? Thanks, Tobiah. -- 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

Re: [android-developers] why no grep

2011-03-31 Thread Tobiah
of shell functionality, plus I put an apt-get like app feed on it and had most of what makes a modern Linux system available. I had a web server with PHP running on my phone. Very cool. Are there any efforts to make a more robust shell environment for Android? Tobiah -- You received this message

Re: [android-developers] Re: Where to start with simple video games?

2011-03-29 Thread Tobiah
, would I benefit from it? I've done this many times in other languages using trig, but I am not familiar with what OpenGL can do for me. Is there a steep learning curve? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Just display an image.

2011-03-29 Thread Tobiah
look like? I need a little boost today. Thanks! Tobiah -- 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

Re: [android-developers] Just display an image.

2011-03-29 Thread Tobiah
I finally found it. This is all I was looking for: ImageView green = new ImageView(this); green.setImageResource(R.drawable.green); Thanks, Tobiah On 03/29/2011 11:08 AM, Raghav Sood wrote: You could load it through xml easily enough: ImageView android:id=@+id/image

[android-developers] Compiler can't find method of ImageView.setBaselineAlignBottom(boolean);

2011-03-29 Thread Tobiah
Trying this code: ImageView green = new ImageView(this); green.setImageResource(R.drawable.green); green.setBaselineAlignBottom(true); Compiler borks: [javac] Compiling 2 source files to /home/toby/android/exposmart /bin/classes [javac]

Re: [android-developers] Compiler can't find method of ImageView.setBaselineAlignBottom(boolean);

2011-03-29 Thread Tobiah
. Thanks, Tobiah -- 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

Re: [android-developers] Compiler can't find method of ImageView.setBaselineAlignBottom(boolean);

2011-03-29 Thread Tobiah
Eclipse uses? I'm on the command line, using developer.android.com as a reference. Tobiah -- 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

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Tobiah
On 03/23/2011 08:27 AM, TreKing wrote: On Wed, Mar 23, 2011 at 10:16 AM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: What does that argument really do then? AsyncTask manages a thread to do it's work. According to the doc comment, it probably calls interrupt() http

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Tobiah
that will change by calling cancel(true) is that I would not have to wait for the entire remaining duration of the sleep for the task to end, whereas with cancel(false), the sleep would complete before I could check isCancelled() and exit? Thanks, Tobiah More info on interrupting threads can

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Tobiah
So, it is waiting in a sense because of the sleep, but maybe you mean something else by waiting? I don't, that's the idea. But you'd only get interrupted while in the sleep(). You'd want something like while (!isCanceled()): { doSomething(); if (!isCanceled()) sleep(1000); }

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-23 Thread Tobiah
thought that by calling cancel(true), the task would be whacked. What does that argument really do then? Thanks, Tobiah -- 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

[android-developers] Space greedy ListView

2011-03-22 Thread Tobiah
. How can I avoid this? I'm also not sure how to anchor the button to the bottom in the beginning when the ListView has only a few items. As it is, it hugs the ListView and moves down as the list grows. Thanks! Tobiah -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] best way to storage data on android

2011-03-22 Thread Tobiah
a database without as much technical setup. Others will know better. Tobiah -- 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

[android-developers] onPause() Why u no do the things I want?

2011-03-22 Thread Tobiah
in onPause()? Thanks, Tobiah -- 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

Re: [android-developers] Offer link to particular app in the market from my app?

2011-03-08 Thread Tobiah
That worked nicely. Thanks! On 03/07/2011 02:31 PM, Stephen Lau wrote: Fire off a VIEW intent for: market://search?q=pname:com.google.zxing.client.android and it'll auto-open the Market app to that app with a one-click button to install for the user to hit. Tobiah wrote: I have an app

[android-developers] Offer link to particular app in the market from my app?

2011-03-07 Thread Tobiah
a webview with a market: href? Thanks, Tobiah -- 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

Re: [android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-10 Thread Tobiah
this with an Intent and startActivityForResult() which would do the trick I think. Thanks, Tobiah -- 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

[android-developers] Help raising keyboard from modal activity.

2011-02-10 Thread Tobiah
click the button, the keyboard raises. Thanks Tobiah -- 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

[android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Tobiah
to what happens when I use the search button. Thanks, Tobiah -- 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

Re: [android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Tobiah
doing this, should I test for the presence and state of a physical keyboard (my device doesn't have one) or will that be done automatically? Thanks! Tobiah -- Kostya 09.02.2011 23:56, Tobiah пишет: I have a Dialog with an EditText widget in it that I'd like to use to get a string from

[android-developers] PreferenceScreen conflict?

2011-02-03 Thread Tobiah
):at android.app.ActivityThread.access$2300(ActivityThread.java:135) When I remove my res/layout/preferences.xml, the barcode scanning works again. So has the third party software locked me out from using preferences? Thanks, Tobiah -- You received this message because you are subscribed

Re: [android-developers] TextView - how to make appended text visible?

2011-01-28 Thread Tobiah
On 01/28/2011 09:50 AM, John Lussmyer wrote: I have a TextView that frequently has text appended from a service. I can append the text just fine, but how do I make the TextView scroll so the newly appended text is visible? Once the view fills, the new text is below the bottom edge. I haven't

[android-developers] Pay for free app later?

2011-01-18 Thread Tobiah
on this? Thanks, Tobiah -- 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

[android-developers] Adding software to the phone OS?

2011-01-14 Thread Tobiah
the network. How are the resources for Android? Specifically, I'd rather like to put the sqlite client on my phone so that I can browse my databases without copying them off of the phone. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Can't figure out this compile error

2011-01-14 Thread Tobiah
] super(Sync); [javac] ^ [javac] 2 errors Thanks, Tobiah -- 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

Re: [android-developers] Re: Can't figure out this compile error

2011-01-14 Thread Tobiah
On 01/14/2011 11:28 AM, Hari Edo wrote: public class Sync extends IntentService { ---Integer counter; public void Sync() { super(Sync); ---counter = 0; } ... } It turned out that I needed to axe the 'void' in the

  1   2   >