[android-beginners] Re: How do I get a view's height to fill the space in between two other views?

2009-10-25 Thread Justin Anderson
If you are using XML layouts, there are a couple things you could try... 1) Set the layout to use fill_parent instead of wrap_content 2) Give the layout a weight... android:layout_weight Thanks, Justin -- There are only 10

[android-beginners] Re: How to Align button to button of screen???

2009-10-26 Thread Justin Anderson
Depending on what you want to do, with the space in the middle, you could create a view that acts as an empty space holder and set its layout_height attribute to fill_parent. One simple way of doing this would be to use a TextView that only displays an empty string

[android-beginners] Re: Error: run repo init has error.

2009-10-26 Thread Justin Anderson
This forum is only for SDK applications. You might have better luck if you post in the Android Developers group... -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: How can I develop application using C/C++

2009-10-26 Thread Justin Anderson
This question has been answered on this forum a few times already. Just do a simple search for C++ -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-26 Thread Justin Anderson
Are you able to debug your app on the phone or is this broken as well? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: rega

2009-10-27 Thread Justin Anderson
Have you read the docs? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Oct 26, 2009 at 10:10 PM,

[android-beginners] Re: Book recommendation

2009-10-27 Thread Justin Anderson
There have been several recommendations on this forum with other posts... Have you tried searching this group before posting? -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-28 Thread Justin Anderson
Had you by chance connected your phone to your computer once before having it set up to debug? There is a known issue on Windows when this is the case. If this is your problem, try following these steps: Try this link:

[android-beginners] Re: rega

2009-10-28 Thread Justin Anderson
at 12:27 AM, balanagu sabareesh bsabare...@gmail.comwrote: ya i have read the document i little bit understood about bundle if you have any brief idea please tell. On Tue, Oct 27, 2009 at 11:36 AM, Justin Anderson janderson@gmail.com wrote: Have you read the docs

[android-beginners] Re: What does the Home button do?

2009-10-29 Thread Justin Anderson
You don't have to intercept the home button Just call finish() in onPause(), onStop(), or onDestroy() depending on what fits your behavior the best. Thanks, Justin -- There are only 10 types of people in the world... Those

[android-beginners] Re: How to Replace existing default Application by the Application created by me without a user intervention

2009-10-29 Thread Justin Anderson
AKAIK that can't be done, and even if it could, why would you want to do that? As a user of an app that does that, I would find it extremely annoying... Thanks, Justin -- There are only 10 types of people in the world... Those

[android-beginners] Re: How to set clickable areas of a single image?

2009-10-29 Thread Justin Anderson
Use View.OnTouchListener... It provides an onTouch() method with a MotionEvent object... This should give you the information you need... -- There are only 10 types of people in the world... Those who know binary and those who

[android-beginners] Re: Please help me with starting program

2009-10-29 Thread Justin Anderson
Do you have a file named main.xml in your res/layout folder? -- There are only 10 types of people in the world... Those who know binary and those who don't. --

Re: [android-beginners] how you structure your Java code inside /src/

2009-11-02 Thread Justin Anderson
In packages. Classes in those packages are set up just like normal java classes. Check out the tutorials... they should get you started -- There are only 10 types of people in the world... Those who know binary and those who

Re: [android-beginners] Starting a service from top-level launcher

2009-11-02 Thread Justin Anderson
Not that I am aware of. However, you can create an activity that doesn't display a UI... Just give it a transparent theme and set it to not display the title bar. Then it appears to the user as if nothing happened. However, I wouldn't recommend that unless it is absolutely necessary... Seems

Re: [android-beginners] Installing Eclipse and Android etc WOES!!!

2009-11-02 Thread Justin Anderson
Try using http instead of https -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Fri, Oct 30, 2009 at 4:13

Re: [android-beginners] Is that compulsory to use Java developing android apps????

2009-11-02 Thread Justin Anderson
Ummm yes you have to use Java. Have you read the docs? Also, there are several threads already about integrating (to a certain degree) C/C++ code using the NDK. Just search for C++. Thanks, Justin -- There are only 10

Re: [android-beginners] Can't start apps in emulator

2009-11-02 Thread Justin Anderson
Look at the logcat output -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Nov 2, 2009 at 7:56 AM,

Re: [android-beginners] Re: I need to talk to a LIVE PERSON

2009-11-03 Thread Justin Anderson
I may be wrong but I am pretty sure that Apple charges just as much, if not more, for applications sold on their store. Plus their initial developer fee is 4 times as much at $99! Good luck with that... -- There are only 10

Re: [android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread Justin Anderson
Remember that when an orientation change occurs your app is completely destroyed and then recreated. Are you forgetting to set the text inside the textview? Can't really help out too much without seeing some code -- There

Re: [android-beginners] Re: TimePicker Hour Dissapears on Rotate

2009-11-03 Thread Justin Anderson
On Nov 3, 12:44 pm, Justin Anderson janderson@gmail.com wrote: Remember that when an orientation change occurs your app is completely destroyed and then recreated. Are you forgetting to set the text inside the textview? Can't really help out too much without seeing some code

Re: [android-beginners] R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Justin Anderson
Do you have a res/layout/main.xml file? R.layout.main is a resource that points to a file named main.xml in the res/layout folder... If that file is named something else, say test.xml, then you need to use R.layout.test instead

Re: [android-beginners] alive voice

2009-11-03 Thread Justin Anderson
Could you give a little more info? I'm not sure what you are asking... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: Rotate Activity screen

2009-11-03 Thread Justin Anderson
Please clarify your question... I don't really understand what you are wanting to do. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Launch App on bootup?

2009-11-03 Thread Justin Anderson
Not as an SDK app... At least not without some user interaction. You can replace the home application, but the user has to decide if they want it to be the default home app or not. If you want to modify the existing android source then you could do it. But then the question would be a better

Re: [android-beginners] Serial port communication in Android OS

2009-11-03 Thread Justin Anderson
I may be wrong, but it seems that this question would be better-suited for the Android Developers group. The beginners group is designed for SDK applications and it seems like you are working on modifying/porting the Android source.

Re: [android-beginners] Re: R.layout.main Not Found when running WebView Tutorial

2009-11-03 Thread Justin Anderson
When Eclipse gives the Your project contains errors... message when building, what shows up in the problems tab? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How do i get BackgroundColor of Button???

2009-11-03 Thread Justin Anderson
You are wanting to get the background color of a standard android button or some custom button that you have created? The standard android button uses a combination of a 9-patch .png image and a selector so trying to get the background color of it is probably not going to yield anything useful.

Re: [android-beginners] Re: Rotate Activity screen

2009-11-04 Thread Justin Anderson
Hmmm... that does sound a little strange. I don't know for sure but it may be that the only thing you can do is save the instance state of your application... There are some methods that you can override that will allow you to save needed info in a bundle. Then when your activity is restarted,

Re: [android-beginners] Widget update with Context.sendBroadcast()

2009-11-04 Thread Justin Anderson
I believe that interested BroadcastReceivers means the ones that match the intent. Given your sample code it seems to me that only your widget will be updated. Thanks, Justin -- There are only 10 types of people in the world...

Re: [android-beginners] Newbie how to run my image in emulator

2009-11-04 Thread Justin Anderson
It sounds like you are talking about the android source... If so, then this question is more suited for the Android Developers group. This forum is for SDK applications. Thanks, Justin -- There are only 10 types of people in

Re: [android-beginners] start activity when the application icon is clicked

2009-11-05 Thread Justin Anderson
* my problem is when ever i run the application from eclipse the emulator* Exactly you are RUNNING your application from Eclipse in the emulator. AFAIK, there is no way to stop this behavior, but I might be wrong. Essentially the emulator is just simulating a click of the icon as a

Re: [android-beginners] Starting an activity from a service

2009-11-05 Thread Justin Anderson
startActivity() is not defined where you are trying to call it from. It is a method on the Context class. Create a constructor for your CallStateListener class that takes a Context object as a parameter and store it as a member variable. When you create a new instance of your class, you can do

Re: [android-beginners] Re: I need to talk to a LIVE PERSON

2009-11-05 Thread Justin Anderson
AM, Tim tdh...@gmail.com wrote: On Nov 3, 9:52 pm, Justin Anderson janderson@gmail.com wrote: I may be wrong but I am pretty sure that Apple charges just as much, if not more, for applications sold on their store. Plus their initial developer fee is 4 times as much at $99! True

Re: [android-beginners] Re: Can't start apps in emulator

2009-11-05 Thread Justin Anderson
Device 'Android1.1' but the app doesn't start in the emulator. On Nov 3, 12:03 am, Justin Anderson janderson@gmail.com wrote: Look at the logcat output -- There are only 10 types of people in the world... Those who know

Re: [android-beginners] How to add a refresh button to a webview app?

2009-11-05 Thread Justin Anderson
Override the following methods in the Activity class: - onCreateOptionsMenu() - onPrepareOptionsMenu() - onOptionsItemSelected() http://developer.android.com/reference/android/app/Activity.html#onCreateOptionsMenu%28android.view.Menu%29 Good luck, Justin

Re: [android-beginners] Keep a service waiting for an event from an activity

2009-11-05 Thread Justin Anderson
It seems a better route would be to do something like the following: - Have a preference to allow the user to specify if they want to have auto-update checks - Have a way for the user to manually check for updates, perhaps via a menu option - If auto-update is enabled: - When the app is

Re: [android-beginners] ListView Header

2009-11-05 Thread Justin Anderson
Try setting the height of your header TextView to wrap_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 hide keyboard when done typing

2009-11-07 Thread Justin Anderson
Press the back button On Nov 7, 2009 2:03 AM, Marton Kodok pentiu...@gmail.com wrote: Hello, Whenever a keyboard shows up, how can I hide it after I finished my typing. For example when I run the SkeletonActivity, I can type in some text, but how do I hide the keyboard when I'm done -- Márton

Re: [android-beginners] Re: Image buttons changing position based on orientation of phone.

2009-11-07 Thread Justin Anderson
will manage this for you. The problem with your pictures is probably that they have the wrong aspect ration...they are portrait pictures that you are showing in Landscape, so they are reduced in size. Good Luck John On Nov 6, 1:23 pm, Justin Anderson janderson@gmail.com wrote: What I did

Re: [android-beginners] Re: Suggestions on tutorials

2009-11-09 Thread Justin Anderson
Perhaps if you hadn't been so rude about not using XML from your very first post you wouldn't have gotten such a smattering of responses about XML. The use of all caps like you were yelling at us and using a sweeping generalization to say that XML has no benefits and if you think it does then you

Re: [android-beginners] This class was probably produced by a broken compiler.

2009-11-09 Thread Justin Anderson
We're going to need more information... perhaps some code and the logcat output. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] extending PreferenceScreen with SeekBar

2009-11-09 Thread Justin Anderson
Here is a link that can probably get you started in the right direction... This class extends PreferenceDialog, but gives the general idea...

Re: [android-beginners]

2009-11-09 Thread Justin Anderson
A pending intent essentially gives something that is not your application permissions to do stuff as if it were your application. This is most often used with notifications in the status bar or with views that are part of a widget. The intent is executed when some action takes place, such as a

Re: [android-beginners] Re: modular programming (design pattern)

2009-11-09 Thread Justin Anderson
Are you going to be the only person developing these modules, or are you planning on creating some sort of a framework that other developers will be able to tap into? -- There are only 10 types of people in the world... Those who

Re: [android-beginners] Re: Suggestions on tutorials

2009-11-09 Thread Justin Anderson
Self-fulfilling prophecy * I had hoped not to have the XML zealots trying to push the koolaid on me. * Not true. From the very beginning you were egging us XML zealots on... Had you been a little (ok, a LOT) nicer, maybe you would have gotten what you wanted. But know, I think you were

Re: [android-beginners] getApplicationContext() AlertDialog.Builder

2009-11-10 Thread Justin Anderson
That's interesting. I've never run into that problem before. It probably has something to do with what classes you are in or something like that. Here's a question... did you try the Toast in the same place where using AlertDialog.Builder gives an error or were they in different parts of your

Re: [android-beginners] Mobile web pages

2009-11-10 Thread Justin Anderson
This isn't really the place for this type of question But essentially all you need to do is design your website to look good on small screen resolutions. You probably don't want to have too many images, etc... Here are some links that may help:

Re: [android-beginners] Re: getApplicationContext() AlertDialog.Builder

2009-11-10 Thread Justin Anderson
Nov., 21:53, Justin Anderson janderson@gmail.com wrote: Shoot... I was kinda hoping they were in different parts of your code. I'm going to have to punt this one off to someone else... Anyone? -- There are only

Re: [android-beginners] Re: how to hide keyboard when done typing

2009-11-11 Thread Justin Anderson
Again press the back button -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Sat, Nov 7, 2009 at 9:10

Re: [android-beginners] Kindly unsubscribe my id ram...@agilees.com

2009-11-11 Thread Justin Anderson
Click the link in any message you get that says: To unsubscribe from this group, send email to -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] unable to build source code....

2009-11-11 Thread Justin Anderson
If you are trying to build Android source code, you should post in the Android Developers group -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: how to hide keyboard when done typing

2009-11-11 Thread Justin Anderson
On the G1 the menu button doesn't toggle the onscreen keyboard... If the hard keyboard is not open you have to click on the textbox to get it to show up. To hide it, you press the back button. Perhaps other models of phones are different.

Re: [android-beginners] Close ContextMenu and Option menu

2009-11-11 Thread Justin Anderson
Context Menu: I'm not sure Options Menu: AFAIK, I don't think you can change that -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Changing an image when clicked

2009-11-11 Thread Justin Anderson
You could just hide image A and show image B by using View.setVisibility() -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] R.java is not getting created

2009-11-11 Thread Justin Anderson
Since you are building the android source and running into this problem, you should probably try the Android Developers group -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Desktop Widget Woes...

2009-11-11 Thread Justin Anderson
Anyone? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Nov 9, 2009 at 8:36 PM, MagouyaWare

Re: [android-beginners] Re: Image buttons changing position based on orientation of phone.

2009-11-11 Thread Justin Anderson
. -- On Sat, Nov 7, 2009 at 9:32 AM, ElPollo Diablo hackas...@gmail.com wrote: Excellent! Thanks for the help guys! On Nov 7, 9:20 am, Justin Anderson janderson@gmail.com wrote: Interesting I did not know about the layout-land folder! On Nov 7, 2009 6:01 AM, jbrohan jbro

Re: [android-beginners] binding to the search key

2009-11-11 Thread Justin Anderson
Here is how I did it: Put this in your AndroidManifest.xml: activity android:name=.SearchLaunchActivity android:theme=@android:style/Theme.Translucent.NoTitleBar intent-filter action android:name=android.intent.action.SEARCH_LONG_PRESS / category

Re: [android-beginners] string.xml

2009-11-11 Thread Justin Anderson
Ummm... have you tried searching the group? I searched the group with XML array and the very first result gave me the answer. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: string.xml

2009-11-11 Thread Justin Anderson
types of people in the world... Those who know binary and those who don't. -- On Wed, Nov 11, 2009 at 2:49 PM, android darioamor...@gmail.com wrote: where is the answer?? On 11 Nov, 22:43, Justin Anderson janderson@gmail.com

Re: [android-beginners] Re: string.xml

2009-11-11 Thread Justin Anderson
. -- On Wed, Nov 11, 2009 at 2:53 PM, Justin Anderson janderson@gmail.comwrote: 1) Search this group with the following: XML Array 2) Click on the very first result. It should be called Using XML array in program 3) Do some

Re: [android-beginners] Re: Using XML array in program

2009-11-11 Thread Justin Anderson
* I have to pass array to a ListView activity??* Are you asking how to do this or if you have to do it this way? You have to have an instance of the Context class, because that class has the getResources() method. Any Activity and any service inherits from Context so they ARE instances of

Re: [android-beginners] unsubscribe

2009-11-12 Thread Justin Anderson
You need to unsubscribe yourself... Click the link in your email after the line that says To unsubscribe... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Re: how to hide keyboard when done typing

2009-11-12 Thread Justin Anderson
that they are accustomed to apps automatically showing the keyboard for them.) I haven't gotten around to writing the logic to determine whether or not to automatically unhide the keyboard, and I'm not necessarily looking forward to it. On Nov 11, 12:08 pm, Justin Anderson janderson

Re: [android-beginners] Re: Image buttons changing position based on orientation of phone.

2009-11-12 Thread Justin Anderson
I don't think so. If you want a landscape only app, I believe you can set some value (no idea what though) in the manifest. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Changing view then sleeping does not show up on screen.

2009-11-12 Thread Justin Anderson
The UI won't update until after you leave the onClick method... Either spawn a new thread or start a background service to do the waiting for you... On Nov 12, 2009 4:23 PM, ElPollo Diablo hackas...@gmail.com wrote: I have a simple app that just changes the state of an image when you press a

Re: [android-beginners] Getting layouts to share space

2009-11-12 Thread Justin Anderson
Create a parent layout (LinearLayout, RelativeLayout, GridLayout, etc...) and just make both of your calcs have the same layout weight On Nov 12, 2009 4:23 PM, AliasXNeo joshuagil...@gmail.com wrote: Hello, I'm working on my first Android application which is basically a specialized calculator

Re: [android-beginners] appwidget query

2009-11-12 Thread Justin Anderson
What exactly do you mean by launching and starting an AppWidget? AppWidgets can't be launched or started... they can be updated. On Nov 12, 2009 4:23 PM, anand anand.ramasw...@wipro.com wrote: Hi all, I am trying to launch an app widget from another application. On click of a button in an

Re: [android-beginners] Getting layouts to share space

2009-11-12 Thread Justin Anderson
I forgot to mention that the calcs need to be children of the parent layout. I would suggest reading the Dev guide on layouts and looking at some of the Hello Views samples... On Nov 12, 2009 4:23 PM, AliasXNeo joshuagil...@gmail.com wrote: Hello, I'm working on my first Android application

Re: [android-beginners]

2009-11-17 Thread Justin Anderson
Have you read the docs? http://developer.android.com/reference/android/app/PendingIntent.html The very first paragraph on the page explains what it is. It is an intent that doesn't get executed until another time. Typically it is another application that executes the intent, and the

Re: [android-beginners] Asynchronous Tasks

2009-11-17 Thread Justin Anderson
Take a look at Android lifecycles... Unless you are using a service, your app stops running when it is no longer in the foreground. http://developer.android.com/guide/topics/fundamentals.html#lcycles Thanks, Justin -- There

Re: [android-beginners] Re: appwidget query

2009-11-17 Thread Justin Anderson
class. Is it possible to do this? Regards, Anand On Nov 13, 9:28 am, Justin Anderson janderson@gmail.com wrote: What exactly do you mean by launching and starting an AppWidget? AppWidgets can't be launched or started... they can be updated. On Nov 12, 2009 4:23 PM, anand

Re: [android-beginners] Show a image when program is loading

2009-11-17 Thread Justin Anderson
I'm sure it is possible, but it might be better to write it so that the download happens as a background service so the user can do other stuff while waiting. -- There are only 10 types of people in the world... Those who know

Re: [android-beginners] Re: binding to the search key

2009-11-17 Thread Justin Anderson
would there be ACTION_SEARCH_LONG_PRESS but no ACTION_MENU_LONG_PRESS? i mean, wouldnt it be more logical for AppSwipe to bind to that, aren't you replacing that default functionality and not google search? (argh) On Nov 11, 1:41 pm, Justin Anderson magouyaw...@gmail.com wrote: Here

Re: [android-beginners] layout for half screen

2009-11-17 Thread Justin Anderson
You can make it look like that is what is happening, but AFAIK you can't actually do that and make the other items clickable... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] AlertDialog from AppWidget

2009-11-17 Thread Justin Anderson
You could have the AppWidget start an activity that is styled to look like an AlertDialog I may be wrong, but I don't think it is possible to make it actually display an AlertDialog. Or, you could make the AppWidget start an Activity that does nothing except display a dialog... If you give

Re: [android-beginners] how to start in SDK

2009-11-17 Thread Justin Anderson
http://developer.android.com/guide/topics/fundamentals.html http://developer.android.com/guide/tutorials/hello-world.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Desktop Widget Woes...

2009-11-17 Thread Justin Anderson
. -- On Wed, Nov 11, 2009 at 11:24 AM, Justin Anderson magouyaw...@gmail.comwrote: Anyone? -- There are only 10 types of people in the world... Those who know binary and those who don't

Re: [android-beginners] Hello Android

2009-11-18 Thread Justin Anderson
The emulator takes an EXTREMELY long time to load up. Just keep waiting and it should be eventually load. Then, just keep the emulator running between debugs and things should run pretty quickly. BTW, this exact same question has been asked and answered numerous times on this group. Please try

Re: [android-beginners] (Hello World) tutorial help!

2009-11-18 Thread Justin Anderson
The emulator takes an EXTREMELY long time to load up (I've heard cases of it taking 10-15 minutes). Just sit tight and eventually it should work. Keep the emulator running while making changes to your app and then things will go pretty quick because it doesn't have to start up... it only has to

Re: [android-beginners] Very basic text display question

2009-11-18 Thread Justin Anderson
Look at the LogCat info... it will give you the real reason why your app is force closing... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Capture key events while in background

2009-11-18 Thread Justin Anderson
I'm not sure, but I don't think that is possible... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed,

Re: [android-beginners] new to Android

2009-11-18 Thread Justin Anderson
Sprint will determine when your phone can be upgraded to 1.6 or 2.0 Unless you root your phone you are at your carrier's mercy. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] API setMargins() not working

2009-11-18 Thread Justin Anderson
I've never done layout-type stuff programmatically. I've always done it via XML. However, I noticed that TextView has a setPadding method. I know it isn't exactly the same thing as the margin, but in a lot of cases you can get the desired look using either.

Re: [android-beginners] Communication between AppWidgetProvider and Configuration Activity

2009-11-18 Thread Justin Anderson
You could use SharedPreferences... I have a Widget that displays multiple pages of info to the user. I use the SharedPreferences class to store what page I am currently displaying, so that when the Widget is updated, it knows which page to update.

Re: [android-beginners] Re: Communication between AppWidgetProvider and Configuration Activity

2009-11-19 Thread Justin Anderson
in Widget.java? On Nov 19, 1:16 am, Justin Anderson janderson@gmail.com wrote: You could use SharedPreferences... I have a Widget that displays multiple pages of info to the user. I use the SharedPreferences class to store what page I am currently displaying, so that when the Widget is updated

Re: [android-beginners] Re: Communication between AppWidgetProvider and Configuration Activity

2009-11-19 Thread Justin Anderson
the SharedPreferences objet, how does it pass that object back to the code running in Widget.java? On Nov 19, 1:16 am, Justin Anderson janderson@gmail.com wrote: You could use SharedPreferences... I have a Widget that displays multiple pages of info to the user. I use

Re: [android-beginners] ActivityManager: - exec '/system/bin/sh' failed: Bad address (14) -

2009-11-19 Thread Justin Anderson
Have a look at the logcat info... There might be some more information there. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] ActivityManager: - exec '/system/bin/sh' failed: Bad address (14) -

2009-11-19 Thread Justin Anderson
line: ??-?? ??:??:??.???: INFO/unknown(unknown): - exec '/system/bin/sh' failed: Bad address (14) - 2009/11/19 Justin Anderson janderson@gmail.com Have a look at the logcat info... There might be some more information

Re: [android-beginners] ActivityManager: - exec '/system/bin/sh' failed: Bad address (14) -

2009-11-19 Thread Justin Anderson
spend 1 hour each day to launch it properly, with debugger attached, with 3G connection. It does hurt a lot. I don't have a real device yet. 2009/11/19 Justin Anderson janderson@gmail.com It looks like you are installing on an emulator, correct? Is the emulator responsive at this point

Re: [android-beginners] imagebutton pressed image not showing ?

2009-11-19 Thread Justin Anderson
Try making the default item the last one in the list... seems weird, I know, but I have always run into unexpected behavior if the default item is not last. -- There are only 10 types of people in the world... Those who know

Re: [android-beginners] Offering App Design Services

2009-11-19 Thread Justin Anderson
I might be interested. I currently have an application on the Market and have been wanting to make it look a little prettier. I also would be interested in finding out how it fares so far on a 2.0 device... The app is called AppSwipe! and is a task manager that allows quickly switching between

Re: [android-beginners] Installing custom built SDK

2009-11-19 Thread Justin Anderson
Seems like this would be a better fit for the Android Developers group since you are building your own SDK from source... -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] random problem

2009-11-19 Thread Justin Anderson
Um, what is previousIndex? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Nov 18, 2009 at 9:00 AM,

Re: [android-beginners] Re: How to change application theme at runtime

2009-11-19 Thread Justin Anderson
According to the Dev Guide this is not possible. Changing the theme requires your app to be restarted. -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] onUpdate() isn't running when called

2009-11-20 Thread Justin Anderson
Offhand, the only big difference I see between your code and mine is that you are calling super.onUpdate() and I am not. Try commenting out that line and seeing if that helps... I don't think that is the problem, so I will take a look at my code when I get home from work today and see if I

Re: [android-beginners] tabs

2009-11-20 Thread Justin Anderson
Have you even bothered to look for yourself? Please at least do some research before asking for help... http://developer.android.com/guide/tutorials/views/hello-tabwidget.html http://developer.android.com/reference/android/widget/TabHost.html

Re: [android-beginners] Hello World not even running in Emulator

2009-11-20 Thread Justin Anderson
The emulator takes extremely long to load. If you have a phone, you would notice that the second android image that you reference is the initial boot up screen for the phone. Just wait longer. Depending on your machine speed, os, etc... I have heard the emulator startup time can take any where

Re: [android-beginners] Re: onUpdate() isn't running when called

2009-11-20 Thread Justin Anderson
for the suggestion, but as you expected it didn't change the outcome. With so many widgets on the market, I'm perplexed that I'm unable to make this work. =\ If you do get a chance to compare it to your code, I'd be much obliged. Thanks! S On Nov 20, 10:01 am, Justin Anderson janderson

<    1   2   3   4   5   6   7   >