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

2010-08-03 Thread Justin Anderson
those who don't. -- On Tue, Aug 3, 2010 at 2:18 PM, Justin Anderson wrote: > *> 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 t

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 n

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" 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 Aug 3, 10:39 am, Wal

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

2010-08-03 Thread Justin Anderson
don't. -- On Tue, Aug 3, 2010 at 12:58 PM, Justin Anderson wrote: > 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 wi

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

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 wh

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

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] ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-02 Thread Justin Anderson
I have been providing help on this group for well over a year now... The only reason I am really able to do this is because it is a mailing list... I get an email for every post on this group and I do my best to answer every one that I can. Is there a similar functionality with StackOverflow? I l

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 b

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

2010-07-30 Thread Justin Anderson
3:58 PM, Victoria Busse wrote: > Awesome,thanks Justin! > > On 30 Jul 2010 22:42, "Justin Anderson" 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 they

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] 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] Re: How can my app let people pick a picture that I use as background in my app?

2010-07-29 Thread Justin Anderson
uld - 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 > wrote: > >> > Step 4: >> That would be onActivityResult

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] 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] 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" wrote: Call finish(): http://developer.android.com/reference/android/app/Activity.html#finish()

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

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

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

2010-07-28 Thread Justin Anderson
ge their visibility >>> from >>> code. >>> >>> -- >>> Kostya Vasilyev --http://kmansoft.wordpress.com >>> >>> 27.07.2010 21:11 пользователь "ethan" написал: >>> >>> Ok. So in this case, is there a way to dynamical

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

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

2010-07-28 Thread Justin Anderson
I couldn't see anything wrong offhand... I will try to load it up in Eclipse when I get a chance and see if I can figure out what is wrong. It might be a couple days though... -- There are only 10 types of people in the world...

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

2010-07-27 Thread Justin Anderson
Use startActivityForResult instead of startActivity. Then when you get back to the listView you can add the item and update there. There are some very specific things you need to do to get startActivityForResult to work properly and return the stuff you want to return to the main activity, so you

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

2010-07-27 Thread Justin Anderson
actually solve a problem > myself because it feels good and makes me think that I actually understood > something, if you know what I mean :) > > > And thank you :) > > > > > > On Tue, Jul 27, 2010 at 6:02 PM, Justin Anderson > wrote: > >> No worries. Glad

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: http://dev

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

2010-07-27 Thread Justin Anderson
The code I use is the following and it works for me: Window mainWindow = getWindow(); //Set Blur mainWindow.addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); //Set Dim int dimAmt = 50; //In my application this is actually a setting stored in preferences... mainWindow.addFlags(WindowManager.

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

2010-07-27 Thread Justin Anderson
t;> >> <http://stackoverflow.com/questions/2911925/activity-ignore-intents-extra-fields>but >> I couldn't get it working... >> >> On Tue, Jul 27, 2010 at 5:24 PM, Justin Anderson > > wrote: >> >>> H

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] Re: Loading images in android

2010-07-27 Thread Justin Anderson
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 wrote: > > Unless I am misunderstanding, you would only need one ImageV

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

2010-07-27 Thread Justin Anderson
f flowers can vary from 1 to 4. > > So do i first need to create 4 imageviews in my layout and then call > each one out separately using setimageResourse ? > > > > On Jul 27, 3:26 am, Justin Anderson wrote: > > When you say "load an image" do you mean just displ

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 w

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 wrote: > Hmmm... that is interesting. Why can't you just do it through the

Re: [android-beginners] Re: Imagebutton layout

2010-07-26 Thread Justin Anderson
> does not have the weight param. > > > > On Jul 26, 10:56 am, Justin Anderson wrote: > > Use a LinearLayout or RelativeLayout and set the weight of each item to > the > > same value... like 1. > > > >

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] 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" wrote: Hi, I was trying to create a scrolling list view for an android home screen widget with the following layout http://sche

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

2010-07-24 Thread Justin Anderson
x27;t. -- On Thu, Jul 8, 2010 at 5:20 PM, Ribcakes wrote: > Unfortunately, removing those attributes and adding/removing > declarations in code did nothing. > > > On Jul 8, 5:32 pm, Justin Anderson wrote: > > I'v

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] 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: 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 gl

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

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

2010-07-22 Thread Justin Anderson
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 > wrote: > >> And why would you

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

2010-07-22 Thread Justin Anderson
Not really sure... One thing I know that I do differently is how I handle the Editor object. The way I do it with my code is as follows: SharedPreferences myPrefs = PreferenceManager.getDefaultPreferences(); Editor prefEditor = myPrefs.edit(); prefEditor.putInt("Some_String",someInt); prefEditor.

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

2010-07-22 Thread Justin Anderson
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 > wrote: > >> Not really

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] SharedPreferences editor commit() returning false

2010-07-22 Thread Justin Anderson
I don't know for sure, but have you perhaps changed the datatype for that key at some point? If you have then that would definitely cause it to return false. You might want to try completely uninstalling your application and reinstalling to see if that fixes it... If that is the case, then you w

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] listview dropdown

2010-07-21 Thread Justin Anderson
ps, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Jul 21, 2010 at 11:23 PM, Justin Anderson wrote: >

Re: [android-beginners] listview dropdown

2010-07-21 Thread Justin Anderson
Have you done any research yourself on this? Just doing a simple search for "android listview onclick" gave me several results: *Searching Google: *http://www.androidpeople.com/android-listview-onclick/* * http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ * Search

Re: [android-beginners] android tutorial question

2010-07-21 Thread Justin Anderson
*> I was just going through the below tutorial * The link you gave isn't a tutorial... It is just a class. There is a huge difference. *> got a little confused on how to use this code because the class in the below example url is not extended by activity base class* You are correct. It inherits

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

2010-07-21 Thread Justin Anderson
wrap_content" > android:layout_height="wrap_content"> > > android:id="@+id/btnImage" > android:src="@drawable/imgbutton" > android:layout_width="match_parent" > > android:layout_height="wrap_content&q

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 type

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] problem in creating options menu

2010-07-21 Thread Justin Anderson
mplete email , > > many thnaks indeed > > On Wed, Jul 21, 2010 at 1:26 PM, Justin Anderson > wrote: > > 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 w

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" wrote: Hi , I tried the tutorials at http://www.droidnov

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

2010-07-19 Thread Justin Anderson
ne 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 wrote: > > Your call to setOnClickListener is missing a closing parent

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

2010-07-19 Thread Justin Anderson
x27;t. -- On Mon, Jul 19, 2010 at 5:07 PM, Justin Anderson wrote: > As an example: > > ... > android:id="@+id/my_relative_layout_id" > ... > /> > > Then you would use setContentView(R.id.m

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
x27;t. -- On Mon, Jul 19, 2010 at 5:06 PM, Justin Anderson wrote: > You need to specify an id in that method... and you need to set an id in > your xml layout. > > > > ---

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] 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 9:29 PM, Justin Anderson > wrote: > >> Where is the code for the select statement? Is it the fetchAll() method? >> >> -- >> There are only 1

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

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] Re: Java Keyword This and Button Listeners.

2010-07-16 Thread Justin Anderson
d you 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

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

2010-07-16 Thread Justin Anderson
a user clicks. > > Thanks > > On Mon, Jul 12, 2010 at 9:23 PM, Justin Anderson > wrote: > >> 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

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 cou

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 i

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 can'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 wo

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] Digest for android-beginn...@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 wh

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

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: http://developer.android.com/resources/articles/faster-screen-orienta

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

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

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 vou

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 aff

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 was

Re: [android-beginners]

2010-07-12 Thread Justin Anderson
who don't. -- On Sun, Jul 11, 2010 at 10:54 PM, Raul Martinez wrote: > Thanks for the info, I'm a Noob and sorry, I'm not trying to get people to > write code for me im just completely lost > > On Jul 11, 201

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 mo

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 se

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

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

2010-07-07 Thread Justin Anderson
> > > > On Thu, Jul 8, 2010 at 1:40 AM, Justin Anderson > wrote: > >> *> 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.* >>

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] Re: Application not scrolling

2010-07-07 Thread Justin Anderson
Why do you have the ScrollView nested inside a LinearLayout? I would make the ScrollView the top-level layout item... -- There are only 10 types of people in the world... Those who know binary and those who don't. ---

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" 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 EditText is partially on- s

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] 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] Re: Context Menu pops-up twice

2010-07-03 Thread Justin Anderson
I did a quick comparison between your code and mine and found a few differences between my code and yours... Try removing this line of code: *registerForContextMenu(getExpandableListView());* And replace it with this: getExpandableListView().setOnCreateContextMenuListener(this); In theory you sh

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

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

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] Re: closing multiple activities

2010-07-02 Thread Justin Anderson
veloped by me. >> The NEW SEARCH button will be in all 3 activities. >> B is launched from A. C is launched from B by the user (based on >> button clicks). >> >> On Jul 2, 2:13 pm, Justin Anderson wrote: >> >> >>> Are all three activities dev

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

2010-07-02 Thread Justin Anderson
aware of something that it doesn't exist. > While out of topic subjects are annoying, a dose a caution is > warranted for something as vast as Android :) > > Xav > > On Thu, Jul 1, 2010 at 11:

  1   2   3   4   5   6   7   8   >