[android-beginners] Re: Problem sending variable to java activity.

2010-08-03 Thread Justin
those lines out it works, but I need the variable bringing accross. On 2 Aug, 14:52, TreKing treking...@gmail.com wrote: On Mon, Aug 2, 2010 at 5:14 AM, Justin justinbrett1...@gmail.com wrote: I am writing a app, and basically I want to carry accross a variable from one java file to another

Re: [android-beginners] ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-03 Thread Justin Anderson
I have joined it as well, and will continue to provide support and help on that list... Hopefully a few of the other major contributors will join and help out as well. -- There are only 10 types of people in the world... Those

Re: [android-beginners] ERROR... No package identifier when getting value for resource number

2010-08-03 Thread Justin Anderson
Please don't double post if you don't get any responses... It just makes for more stuff to sift through. Instead, reply to your own post. Everyone will then get an email which will bring the post back to the forefront. --

Re: [android-beginners] ERROR... No package identifier when getting value for resource number

2010-08-03 Thread Justin Anderson
. -- On Tue, Aug 3, 2010 at 12:58 PM, Justin Anderson janderson@gmail.comwrote: Please don't double post if you don't get any responses... It just makes for more stuff to sift through. Instead, reply to your own post. Everyone will then get an email which will bring the post

Re: [android-beginners] Re: NullPointerException when trying to create TelephonyManager

2010-08-03 Thread Justin Anderson
Glad you were able to figure it out! On Aug 3, 2010 1:11 PM, Wall-E bashee...@gmail.com wrote: Ok, so the problem was that I was calling those methods before the application was fully created. So I did the getSystemService call inside of an onCreate method and all is well and dandy now. On

Re: [android-beginners] How to configure proxy settings on my Droid with Android 1.6 ?? plz help

2010-08-03 Thread Justin Anderson
* I am unable to use internet in university network due to proxy issue* Meaning you need to set up proxy settings in order to connect to the internet at your university? If that is the case you need to contact the university's IT department... only they will be able to give you the settings you

Re: [android-beginners] How to configure proxy settings on my Droid with Android 1.6 ?? plz help

2010-08-03 Thread Justin Anderson
who don't. -- On Tue, Aug 3, 2010 at 2:18 PM, Justin Anderson janderson@gmail.comwrote: * I am unable to use internet in university network due to proxy issue* Meaning you need to set up proxy settings in order to connect

[android-beginners] Problem launching another java file from app.

2010-08-02 Thread Justin
I am writing a app, and basically I want to carry accross a variable from one java file to another. So from my first java file I am calling the second one by: setContentView(R.layout.saveimage); //Intent i = new Intent(anyView.getContext(), AndroidWebImage.class); Intent i =

[android-beginners] Checking to See if I directory is there and if not creating one?

2010-08-02 Thread Justin
If I wanted to check to see if a directory called mypictures was on my SD Card, and if it wasn't created one, how would I do this please. If I then wanted to make this appear in my gallerys, do I need to do anything special? -- You received this message because you are subscribed to the Google

[android-beginners] Problem sending variable to java activity.

2010-08-02 Thread Justin
I am writing a app, and basically I want to carry accross a variable from one java file to another. So from my first java file I am calling the second one by: setContentView(R.layout.saveimage); //Intent i = new Intent(anyView.getContext(), AndroidWebImage.class); Intent i

Re: [android-beginners] Re: NullPointerException when trying to create TelephonyManager

2010-08-02 Thread Justin Anderson
* My code will run right until it gets to creating the telephony manager instance but will not actually create it and it throws aNullPointerException (I think).* What do you mean I think? Have you looked at the logcat info to determine what the problem may be? Look specifically for a caused by

Re: [android-beginners] ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-02 Thread Justin Anderson
to provide the same level of help on StackOverflow. Why is this list getting disabled but the others are not? Are the others going to be disabled at some later point? Thanks, Justin -- There are only 10 types of people in the world

Re: [android-beginners] Interaction between an Activity and a Service ?

2010-08-02 Thread Justin Anderson
You can pass information via the Intents used to start the service, and vice versa, with the various put and get methods on Intent. For more information, see this link: http://developer.android.com/resources/faq/framework.html#3

Re: [android-beginners] How to populate a ViewFlipper child view with a ListView??

2010-08-02 Thread Justin Anderson
Where exactly does the NullPointerException occur? If you aren't sure you can find this by looking for a caused by line in the logcat information after your app crashes. -- There are only 10 types of people in the world... Those

Re: [android-beginners] Getting Force Close when Service calls activity

2010-07-30 Thread Justin Anderson
None of that information really helps us figure out the problem... What you need to do is look at the logcat info when the FC occurs. There should be a caused by line that will tell you what the problem is, along with the file and line number.

Re: [android-beginners] How to populate a ViewStub using different ImageButtons?

2010-07-30 Thread Justin Anderson
Create a different ViewStub for each case and then inflate the one you want based on the button clicked. ViewStubs don't take up any space until they are inflated so this approach should give you the desired effect. -- There are

Re: [android-beginners] How to populate a ViewStub using different ImageButtons?

2010-07-30 Thread Justin Anderson
PM, Victoria Busse victoriasarabu...@gmail.com wrote: Awesome,thanks Justin! On 30 Jul 2010 22:42, Justin Anderson janderson@gmail.com wrote: Create a different ViewStub for each case and then inflate the one you want based on the button clicked. ViewStubs don't take up any space until

Re: [android-beginners] how to self-close an Activity

2010-07-29 Thread Justin Anderson
To auto close after a specified period of time, use a Timer... and then call finish(), as Mark suggested, when the timer expires. On Jul 29, 2010 5:44 AM, Mark Murphy mmur...@commonsware.com wrote: Call finish():

Re: [android-beginners] Launching an About screen from Preferences

2010-07-29 Thread Justin Anderson
Put a '.' in front of the activity name in your manifest... That should fix it. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: How can my app let people pick a picture that I use as background in my app?

2010-07-29 Thread Justin Anderson
Step 4: That would be onActivityResult()... taken directly from the link you posted -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: How can my app let people pick a picture that I use as background in my app?

2010-07-29 Thread Justin Anderson
it would - I was hoping celluri would pick that part up on his own, but you had to go and ruin the surprise!! :) On Thu, Jul 29, 2010 at 1:58 PM, Justin Anderson janderson@gmail.comwrote: Step 4: That would be onActivityResult()... taken directly from the link you posted

Re: [android-beginners] Re: [Q] Make the activity blur/dim with startActivityForResult?

2010-07-28 Thread Justin Anderson
... Those who know binary and those who don't. -- On Tue, Jul 27, 2010 at 9:04 PM, CyanBlue cyanb...@gmail.com wrote: Thank you for the reply, Justin... :) I tried those suggestions and nothing seem to be working or I might

Re: [android-beginners] Bringing activity to front -Urgent help

2010-07-28 Thread Justin Anderson
Well... what info do you have from the crash? Looking at the logcat info should tell you what the problem is... You will want to look for the words caused by in the log. -- There are only 10 types of people in the world...

Re: [android-beginners] Re: Loading images in android

2010-07-28 Thread Justin Anderson
based on the number of flowers i want to display ? On Jul 27, 10:52 am, Justin Andersonjanderson@gmail.com wrote: No... displaying the number... On Tue, Jul 27, 2010 at 8:25 AM, ethanpuripun...@gmail.com wrote: You are correct. In... android-beginners%252bunsubscr

Re: [android-beginners] Re: The content of the adapter has changed but ListView did not receive a notification

2010-07-28 Thread Justin Anderson
at 2:02 PM, nimusi nimus...@gmail.com wrote: Thanks, Justin, that has solved the problem. On 27 July, 22:00, Justin Anderson janderson@gmail.com wrote: Use startActivityForResult instead of startActivity. Then when you get back to the listView you can add the item and update

Re: [android-beginners] Loading images in android

2010-07-27 Thread Justin Anderson
When you say load an image do you mean just display it somehow? If so, then just create a new activity with an ImageView in it and call setImageResource on the view. -- There are only 10 types of people in the world... Those

Re: [android-beginners] Re: Loading images in android

2010-07-27 Thread Justin Anderson
... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Jul 27, 2010 at 8:01 AM, ethan puripun...@gmail.com wrote: Justin Thanks for the reply. What i am trying

Re: [android-beginners] Re: Loading images in android

2010-07-27 Thread Justin Anderson
of displaying the number 4, or 3 or 2 or 1, i want to display 4 flowers, or 3 flowers, or 2 flowers... so you are saying that i can achieve that with one imageview ? On Jul 27, 9:18 am, Justin Anderson janderson@gmail.com wrote: Unless I am misunderstanding, you would only need one ImageView... You

Re: [android-beginners] How to pass on extras to a custom intent?

2010-07-27 Thread Justin Anderson
Have you done any searching of StackOverflow or this group? This is a very common question and has been answered many, many times... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How to pass on extras to a custom intent?

2010-07-27 Thread Justin Anderson
-questions.html (This link came from the above link) Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue

Re: [android-beginners] [Q] Make the activity blur/dim with startActivityForResult?

2010-07-27 Thread Justin Anderson
addFlags. Try using addFlags and see what happens... Hope that helps, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] Help needed to write a caculator program

2010-07-27 Thread Justin Anderson
* can anyone help me in writing the code for adding two numbers and displaying the solution in the EditTextField.* int z = 5 + 6; EditText textField; //Do stuff to initialize textField textField.setText( + z); Now, I'm going to refer you to two different links that you should read:

Re: [android-beginners] How to pass on extras to a custom intent?

2010-07-27 Thread Justin Anderson
, if you know what I mean :) And thank you :) On Tue, Jul 27, 2010 at 6:02 PM, Justin Anderson janderson@gmail.comwrote: No worries. Glad you were able to figure it out. There are just quite a few people who post without ever trying to find answers for themselves. Rather than just

Re: [android-beginners] The content of the adapter has changed but ListView did not receive a notification

2010-07-27 Thread Justin Anderson
you may want to search StackOverflow and this group for startActivityForResult... Hope that helps, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] Imagebutton layout

2010-07-26 Thread Justin Anderson
Use a LinearLayout or RelativeLayout and set the weight of each item to the same value... like 1. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Imagebutton layout

2010-07-26 Thread Justin Anderson
not have the weight param. On Jul 26, 10:56 am, Justin Anderson janderson@gmail.com wrote: Use a LinearLayout or RelativeLayout and set the weight of each item to the same value... like 1. -- There are only 10 types

Re: [android-beginners] Re: Imagebutton layout

2010-07-26 Thread Justin Anderson
... Those who know binary and those who don't. -- On Mon, Jul 26, 2010 at 2:57 PM, Justin Anderson janderson@gmail.comwrote: Hmmm... that is interesting. Why can't you just do it through the XML though

Re: [android-beginners] Creating a listview in for an android home screen widgets

2010-07-25 Thread Justin Anderson
That is correct... Only specific views can be used in a RemoteView. The documentation specifies which views can be used. On Jul 25, 2010 10:06 AM, Rodney Lendore rodney.lend...@gmail.com wrote: Hi, I was trying to create a scrolling list view for an android home screen widget with the following

Re: [android-beginners] TextView @id/android:empty - What am i doing wrong?

2010-07-24 Thread Justin Anderson
Try taking out the android:layout_below attribute from the TextView... I'm not sure if that is the problem, but I have a feeling it is. -- There are only 10 types of people in the world... Those who know binary and those who

Re: [android-beginners] Re: addContentView obscures events

2010-07-24 Thread Justin Anderson
Sorry... hopefully someone else can help. I don't have any experience with trying to do anything like this. Sounds like you might want something like the zoom in/out buttons on the default Android Browser though... You may want to look into downloading the Android source and seeing if you can

Re: [android-beginners] How to set the SeekBar progress value

2010-07-24 Thread Justin Anderson
By default SeekBar only allows you to set a max value and the acceptable values range from 0 - max: http://developer.android.com/reference/android/widget/ProgressBar.html#setMax%28int%29 To accomplish what you want to do you will need to subclass SeekBar.

Re: [android-beginners] Re: Coordinating Activity life cycle with Service life cycle

2010-07-24 Thread Justin Anderson
That is interesting... I've never actually used the ServiceConnection class so I don't know if it would cause leaks or not. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: GridView not taking focus/selection

2010-07-24 Thread Justin Anderson
. -- On Thu, Jul 8, 2010 at 5:20 PM, Ribcakes thedudestamba...@gmail.com wrote: Unfortunately, removing those attributes and adding/removing declarations in code did nothing. On Jul 8, 5:32 pm, Justin Anderson janderson@gmail.com

Re: [android-beginners] Checking for App before Launching

2010-07-22 Thread Justin Anderson
Use the PackageManager class: http://developer.android.com/reference/android/content/pm/PackageManager.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] SharedPreferences editor commit() returning false

2010-07-22 Thread Justin Anderson
would want to change the key to avoid problems if others are already using your app. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
Not really sure I follow... What do you mean by selected content? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
can choose edit video ... and from there a new view/window should open that loads the video into it I hope that makes it a bit clearer :) On Thu, Jul 22, 2010 at 10:10 PM, Justin Anderson janderson@gmail.com wrote: Not really sure I follow... What do you mean by selected content

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
of the phone and not my own created ones.. :)) And if I now understand it correctly if I click on the button I can simply call the intent from the java file I created to open the new view?!?! On Thu, Jul 22, 2010 at 10:16 PM, Justin Anderson janderson@gmail.com wrote: And why would you not use

Re: [android-beginners] problem in creating options menu

2010-07-21 Thread Justin Anderson
You're going tohave to give us more info if you are expecting some kind of help... If you are just wanting to tell us of your experience with android so far, then thanks for the status update... :-) On Jul 20, 2010 9:49 PM, Emmen Farooq farooq.em...@gmail.com wrote: Hi , I tried the tutorials

[android-beginners] Re: Force close issue!

2010-07-21 Thread Justin
Could the issue be that it the section of code your trying to load is not in the Android Manifest? This has caused issues for me in the past. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack

Re: [android-beginners] problem in creating options menu

2010-07-21 Thread Justin Anderson
/app/Activity.html#openOptionsMenu%28%29 In the future, I would recommend taking a look at the docs to see if there is a method that does what you want... If you did and just missed this method then you can disregard this last comment. :-) Hope that helps, Justin

Re: [android-beginners] options menu problem

2010-07-21 Thread Justin Anderson
http://developer.android.com/reference/android/app/Activity.html#openOptionsMenu%28%29 -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
Wrap the LinearLayout in a ScrollView and take the following line out of LinearLayout: android:scrollbars=vertical Not sure if that is the best or recommended way but that is how I did it in my app... -- There are only 10 types

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
/guide/topics/resources/layout-resource.html#layoutvaluesbelow. Hope that helps, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] listview dropdown

2010-07-21 Thread Justin Anderson
=android+listview+click#e73d58c4c2ff So, I just spent five minutes doing searches and came up with at least seven possible links that can help... It doesn't hurt to do a little work yourself before posting a question here. Hope that helps, Justin

Re: [android-beginners] listview dropdown

2010-07-21 Thread Justin Anderson
I was wrong about my search terms becaues I realized that onclick might be something that only a more seasoned android developer would think of searching. The search terms for the links I posted in my last message were simply: android listview click Hope that helps, Justin

Re: [android-beginners] Re: stubborn error wont go away

2010-07-19 Thread Justin Anderson
Your call to setOnClickListener is missing a closing parentheses... which is why you get the error telling you to insert one. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] ERROR:- no such table: TABLE: , while compiling: SELECT _id, network, url FROM TABLE

2010-07-19 Thread Justin Anderson
Where is the code for the select statement? Is it the fetchAll() method? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Info-Based: Indian Rupee finally gets its symbol

2010-07-19 Thread Justin Anderson
Wow... this has what to do with Android? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Jul 19, 2010

Re: [android-beginners] Getting the content view of an Activity

2010-07-19 Thread Justin Anderson
findViewById() -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Jul 19, 2010 at 3:15 PM, Bret Foreman

Re: [android-beginners] ERROR:- no such table: TABLE: , while compiling: SELECT _id, network, url FROM TABLE

2010-07-19 Thread Justin Anderson
. -- On Mon, Jul 19, 2010 at 3:35 PM, Rodney Lendore rodney.lend...@gmail.comwrote: Hi Justin, Thanks for the quick reply yes it is in the fetchall() definition. I hardcoded it find the table I wanted to query local_network. Sorry for any confusion. On Mon, Jul

Re: [android-beginners] Re: Getting the content view of an Activity

2010-07-19 Thread Justin Anderson
You need to specify an id in that method... and you need to set an id in your xml layout. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Getting the content view of an Activity

2010-07-19 Thread Justin Anderson
As an example: RelativeLayout ... android:id=@+id/my_relative_layout_id ... / Then you would use setContentView(R.id.my_relative_layout_id); Hope that helps... Justin -- There are only 10 types of people

Re: [android-beginners] Re: Notification.FLAG_NO_CLEAR not working as expected

2010-07-19 Thread Justin Anderson
I'm going to look at my code when I get a chance... But I don't have it on me at work. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Getting the content view of an Activity

2010-07-19 Thread Justin Anderson
Edit: NOT setContentView() The code would be: findViewById(R.id.my_relative_layout_id); Sorry about that... Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] Re: stubborn error wont go away

2010-07-19 Thread Justin Anderson
a class inline like that is a very powerful feature of Java, but it can be very confusing since the {} and () get nested so deeply and get so distantly separated. On Jul 19, 1:31 pm, Justin Anderson janderson@gmail.com wrote: Your call to setOnClickListener is missing a closing parentheses

Re: [android-beginners] using intent to switch between a simple activity and a tab activity

2010-07-18 Thread Justin Anderson
Look for the words caused by in this message... It will tell you the problem. In this case it is a NullPointerException. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: addContentView obscures events

2010-07-16 Thread Justin Anderson
What exactly are you trying to accomplish? Are you trying to get the same sort of effect that the browser or google maps has with the zoom in/out buttons (in that they show up on top of the current view)? The google maps source definitely isn't available, but if the browser source is then you

Re: [android-beginners] Re: Java Keyword This and Button Listeners.

2010-07-16 Thread Justin Anderson
use this, it tells the complier to pass in class variables not the local ones because the instance of the class would be outside of the method?? also, if your class contains multiple instances how does the complier know which one this is referring too? On Jul 13, 1:47 am, Justin

Re: [android-beginners] Detecting version of Android at runtime

2010-07-16 Thread Justin Anderson
http://developer.android.com/reference/android/os/Build.VERSION.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] The Force Close Error is suddenly back...

2010-07-16 Thread Justin Anderson
Are you using Eclipse? If you are using Eclipse, you should be able to step through your code and examine variables and object state and step through your code one line at a time... -- There are only 10 types of people in the

Re: [android-beginners] Question Using a Service with an Appwidget

2010-07-15 Thread Justin Anderson
http://developer.android.com/guide/topics/fundamentals.html#servlife -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Implementing a Service - Call down to super?

2010-07-15 Thread Justin Anderson
But DanH is right, it totally depends on what you want to do. It also depends on what super does... If your subclass is setting information that is also set by super then chances are you would want to call super first. If what super does varies based on settings in your implementation, then you

Re: [android-beginners] Implementing a Service - Call down to super?

2010-07-15 Thread Justin Anderson
Jake, You haven't given enough information to determine if it should be called before or after your stuff. And it also depends on what the Service constructor does (which I don't know because I haven't looked at the source. I guess the point I am trying to make (that it totally depends and

Re: [android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread Justin Anderson
I may be wrong but I don't think that item.getItemId refers to a resource id... I may be wrong though because I have never create a menu via XML (though I do almost all other layouts in XML). I usually do the menus in code. What I do is create a constant int variable such as: protected static

Re: [android-beginners] Digest for android-beginners@googlegroups.com - 25 Messages in 6 Topics

2010-07-14 Thread Justin Anderson
Read the entire Dev Guide first: http://developer.android.com/guide/index.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Change background color of label randomly

2010-07-13 Thread Justin Anderson
That would be extremely annoying in my opinion, but you would do it using a Timer: http://developer.android.com/reference/java/util/Timer.html -- There are only 10 types of people in the world... Those who know binary and those

Re: [android-beginners]

2010-07-12 Thread Justin Anderson
that someone, somewhere, had a similar question and it has already been answered. Hope that helps and happy coding, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] Money Transaction

2010-07-12 Thread Justin Anderson
* How can we do money transaction in android apps?* By writing an app that does that... * How can we integrate PayPal and other online payment system in Android applications? *Ask PayPal... They most likely have a web API that you can use. Sorry for the snide comments... but your question

Re: [android-beginners] Coordinating Activity life cycle with Service life cycle

2010-07-12 Thread Justin Anderson
http://developer.android.com/reference/android/app/ActivityManager.RunningServiceInfo.html Word of warning though... The Android 2.2 SDK dramatically changed the way in which you can stop 3rd party applications and your app may not work properly. Just something to take into consideration. It

Re: [android-beginners] Re: Using SQLite to get information

2010-07-12 Thread Justin Anderson
Sounds to me like you first need to read up on SQLite and how it works so you can create and manage your database. Then, after that, read up on how Android allows you to interact with your database. Here is a link to an SQLite tutorial that I found just by googling SQLite Tutorial. I can't

Re: [android-beginners] Re: Creating a populated sqlite database

2010-07-12 Thread Justin Anderson
Unless the database is going to be quite large, I would just create it in code the first time you start up the app... How large are you anticipating this database is going to be? -- There are only 10 types of people in the

Re: [android-beginners] addContentView obscures events

2010-07-12 Thread Justin Anderson
I've never tried to do an overlay view, but it seems to me to make sense that once the overlay view is on top that it would capture all events... If you want it to propogate to the base view I think you are going to have to handle it in the overlay and then pass it on to the base view somehow.

Re: [android-beginners] Re: Coordinating Activity life cycle with Service life cycle

2010-07-12 Thread Justin Anderson
* An interesting related problem is that rotating the screen causes my Activity to be destroyed and (re)created in quick succession.* This is done by design. You can find a few tips about how to program with this in mind here:

Re: [android-beginners] Java Keyword This and Button Listeners.

2010-07-12 Thread Justin Anderson
* I know that the keyword this refers to an instance variable or can invoke a constructor* That is not what the keyword this references. It references the instance of the class you are currently in... * but I don't understand how passing this as the arg for setOnClickListener () works?Could

Re: [android-beginners]

2010-07-11 Thread Justin Anderson
We are not going to write your code for you... Do what Mark has told you to do. Create two list activities, override onListItemClick() and in that method display the second list activity by calling startActivity(). If you have questions about startActivity() or how to use intents you can do a

Re: [android-beginners] list

2010-07-11 Thread Justin Anderson
We have already answered this question in a previous post... please don't post multiple versions of the same question. Also, no one is going to write the code for you... We all monitor this group in our spare time. You will get concepts, perhaps a few code snippets, but I wouldn't expect much

Re: [android-beginners] Re: adb shell command gives very inconsistent results

2010-07-09 Thread Justin Anderson
Get the latest SDK: http://developer.android.com/sdk/index.html Get the latest tools: http://developer.android.com/sdk/tools-notes.html -- There are only 10 types of people in the world... Those who know binary and those who

Re: [android-beginners] Re: Making option menu background non-translucent

2010-07-09 Thread Justin Anderson
*So, it's impossible then???* Not necessarily, it just means that no one on this group knows the answer. You can try stackoverflow or the android developers group as well. Or you can also try googling and seeing if anyone has a tutorial or something about this...

Re: [android-beginners] changing the shape of buttons

2010-07-09 Thread Justin Anderson
Not the default button AFAIK... You would need to make your own to do that. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] GridView not taking focus/selection

2010-07-08 Thread Justin Anderson
I've never used GridView before so I am not certain about this, but have you tried taking out the focusable and focusableInTouchMode attributes from your XML? What may be happening is that the GridView itself is stealing focus away from the items that are actually placed inside it... This may

Re: [android-beginners] How to fix: focusable EditText prevents ScrollView from scrolling

2010-07-07 Thread Justin Anderson
What does the layout code look like? On Jul 3, 2010 1:06 PM, Mike mike.pan...@gmail.com wrote: Hello! I've got an Android app that has a focusable EditText widget inside of a ScrollView. When I scroll down, the EditText automatically picks up the focus. When I try to scroll up, if the

Re: [android-beginners] How to access xml layout

2010-07-07 Thread Justin Anderson
* I have created a new java class, but when i do R.layout. in the setContentView method i cannot find my Home.xml file*.* I can see the main.xml which is created by default.* Not sure exactly what you mean here... You should be able to access it via 'R.layout.Home'. If you are talking about the

Re: [android-beginners] How to access xml layout

2010-07-07 Thread Justin Anderson
, Justin Anderson janderson@gmail.comwrote: * I have created a new java class, but when i do R.layout. in the setContentView method i cannot find my Home.xml file*.* I can see the main.xml which is created by default.* Not sure exactly what you mean here... You should be able to access

Re: [android-beginners] Application not scrolling

2010-07-06 Thread Justin Anderson
This exact question was recently answered by Mark Murphy Wrap it in a ScrollView. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How can this be done on the Android platform?

2010-07-06 Thread Justin Anderson
* 1) Can an Android app open a SQLite database that is on the SD card? * http://developer.android.com/guide/topics/data/data-storage.html#filesExternal * 2) If so, does it have to be in an app-specific directory?* http://developer.android.com/guide/topics/data/data-storage.html#filesExternal *

Re: [android-beginners] How change android Home default application (launcher.apk)

2010-07-03 Thread Justin Anderson
There is a home replacement example in the API Demos that should give you everything you need to do that. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How change android Home default application (launcher.apk)

2010-07-03 Thread Justin Anderson
know binary and those who don't. -- On Sat, Jul 3, 2010 at 2:10 AM, Justin Anderson janderson@gmail.comwrote: There is a home replacement example in the API Demos that should give you everything you need to do

Re: [android-beginners] Integrating the timer with my game

2010-07-02 Thread Justin Anderson
U... ok. -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Jun 30, 2010 at 5:14 PM, Emmen Farooq

Re: [android-beginners] Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Justin Anderson
Does this question have anything at all to do with Android? -- There are only 10 types of people in the world... Those who know binary and those who don't. --

  1   2   3   4   5   6   7   8   >