[android-developers] Re: std::map linker error ndk r8c with APP_STL := gnustl_static

2012-12-18 Thread rb
Does anybody have an idea of what I'm doing wrong? Il giorno martedì 11 dicembre 2012 11:00:31 UTC+1, rb ha scritto: > > Hi, > > I have some problem linking the STL in my Native application. Linking > fails with both map::operator[] and map::insert while succeeds with ot

[android-developers] std::map linker error ndk r8c with APP_STL := gnustl_static

2012-12-11 Thread rb
Hi, I have some problem linking the STL in my Native application. Linking fails with both map::operator[] and map::insert while succeeds with other map functions. My Application.mk is : APP_STL := gnustl_static APP_CPPFLAGS := -fexceptions -frtti APP_CPPFLAGS += -g3 APP_CPPFLAGS += -DDEBUG APP_

[android-developers] Re: Setting/Passing values

2010-10-03 Thread rb
rhaps in Java there is a way. Still learning, but for now this is the only way I can think of in order to set and pass values from one screen to another. Once I have figured out different ways using test projects, then I can implement them in my main project. I appreciate all your help and guid

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
Thanks for the handy method. First of all, I have to get this working, then I may try this out. Good thing to know.. :RB On Sep 30, 9:03 pm, davemac wrote: > You should also check out this handy method: > > PreferenceManager.setDefaultValues(Context context, int resId, boolean &g

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
kage="com.calculator" android:versionCode="1" android:versionName="1.0"> Other than the screen layouts, that is it. What could be the error? On Sep 30, 7:41 pm, Mark Murphy wrote: > On Thu, Sep 30, 2010 at 9:15 PM, rb wrote: > &

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
es the name/value pair ("tview1" = "this is a test") then writes it to the preferences by calling the editor.commit(); What am I doing wrong? As I am testing, I am attempting to creating/ retrievie one preference (name/value). Thanks again for all your help. :RB On Sep 30, 4:

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
d to take those values and use them in the main screen for either calculation or display. Any chance you could reply with some code on how I could utilize the preferences activity from the code I have provided? On Sep 30, 4:14 pm, Mark Murphy wrote: > On Thu, Sep 30, 2010 at 6:09 PM, rb wrote:

[android-developers] Setting/Passing values

2010-09-30 Thread rb
How do you set/pass values from one screen (activity) to another? What I have in the R.layout.main view labeled Calculator contains the code for doing calculations. The main.xml contains the layout (view) of the main screen. I have created an options menu which has another screen which shows you

[android-developers] Re: Simple Context Menus -- OPTIONS MENU

2010-09-24 Thread rb
ion. Thanks again for all who has guided me in solving this problem. :RB On Sep 23, 5:40 pm, rb wrote: > Hi, > > I am attempting to create a simple context menu that will show another > screen and have some functionality.  What is happening is that if I > select menu, I get the

[android-developers] Re: Simple Context Menus

2010-09-24 Thread rb
ate the options menu and it works if all is within your "main" class however I was unable to create or not display the options menu on the second screen. Hope this helps you clarify what I am looking for. On Sep 24, 5:48 am, JC wrote: > hello rb, > > You also need to ov

[android-developers] Simple Context Menus

2010-09-23 Thread rb
Hi, I am attempting to create a simple context menu that will show another screen and have some functionality. What is happening is that if I select menu, I get the items (context menu) then when I select one of them, it does nothing. What am I missing here? Once you click on the item, should

[android-developers] Re: How to create TextView without write the XML file

2010-09-01 Thread rb
ViewById(R.id.TextView01); > > Best regards, > Filip Havlicek > > 2010/9/1 rb > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] Re: How to create TextView without write the XML file

2010-09-01 Thread rb
As a newbie, I am just trying to program the various functions to ensure that I am doing things right (gui wise). An example would be to set a default template with textview, editview, buttons, etc and just changing the parameters of those objects either by direct (as by this code) or by calling a

[android-developers] Re: How to create TextView without write the XML file

2010-09-01 Thread rb
Thanks for the suggestions San and Fllip. I have tried the example that San gave but still errors. Here's the revised code in the main.xml file: package com.HelloWorld; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; imp

[android-developers] How to create TextView without write the XML file

2010-08-30 Thread rb
As a newbie, I have been reading posts in learning how to do different functions. Using the Hello World example, I added a textview object to this application but the results come back as false on the screen. Here's my code: main.xml: http://schemas.android.com/apk/res/android";>