[android-developers] Re: IWindowManager Not Available

2009-03-19 Thread Lars
Actually you can use some of them. Just add tools\lib\layoutlib.jar to the build path (Eclipse: right click the project, select Build Path/ Add Libraries. Click User Libraries, select Android libs, click Add JARs, browse to layoutlib.jar, click OK, Finish etc.) BR Lars Brange / User Library

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Lars
Could you please explain why? On Mar 20, 6:13 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 19, 2009 at 7:29 AM, Lars lars.bra...@gmail.com wrote: Actually you can use some of them. Just add tools\lib\layoutlib.jar to the build path (Eclipse: right click the project, select

[android-developers] Eclipse problems when adding layoutlib.jar to a project

2009-03-05 Thread Lars
the classes.dex file to contain a copy of layoutlib.jar? I assume I don't need the jar file when running the program on the device, or? I use SDK 1.1_r1 Thanks in advance, Lars --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Uninstall built-in app

2009-03-05 Thread Lars
device since you don't have root access. BR Lars Brange On Mar 5, 3:12 pm, shaddu shad...@gmail.com wrote: Hello Android, We are plannig to write a new music application from scratch. Also we want to uninstall the built-in music application to ensure only our application resides on the phone

[android-developers] Re: Eclipse problems when adding layoutlib.jar to a project

2009-03-05 Thread Lars
I have found the solution myself. These jar files should be added as a User Library. Right click the project in Eclipse, select Build Path and then Add Library. Select User Library and add the jar file there. Lars Brange On Mar 5, 1:34 pm, Lars lars.bra...@gmail.com wrote: Hello, I need

[android-developers] OOM exception with custom imageadapter

2010-04-26 Thread Lars
)); imageView.setBackgroundResource(itemBackground); return imageView; } - Lars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: OOM exception with custom imageadapter

2010-04-29 Thread Lars
)); } imageView.setScaleType(ImageView.ScaleType.FIT_XY); imageView.setLayoutParams(new Gallery.LayoutParams(150, 120)); imageView.setBackgroundResource(itemBackground); return imageView; } else{ return convertView; } } - Lars On 26 Apr., 09:55, Romain

[android-developers] ScrollView listview again again

2010-03-26 Thread Lars
will need scrolling, but adding a scrollview as a root to the RelativeLayout tag, didnt do anything... can anyone help me? - Lars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Getting images from Intents to be showed correctly in imageview

2010-03-30 Thread Lars
)data.getExtras().get(data), new Date().toString(), null)); //Set the ImageView to show the image imgView.setImageURI(currImageURI); Can anyone give me an idea of why this is happening? - Lars -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Getting images from Intents to be showed correctly in imageview

2010-03-30 Thread Lars
Hi Tried removing the maxWidth attribute, it didn't help at all... - Lars On 30 Mar., 20:31, sriharibabu ravi sriandr...@gmail.com wrote: i think this is not problem of camera or gallery pic. even in gallery if u choose pics of different sizes their sizes changes. android:maxWidth=250dip

Re: [android-developers] Is http://developer.android.com down...?

2011-04-15 Thread Lars
Not here On Thursday 14 April 2011 13:59:13 Jitesh dedhiya wrote: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] bitmaps into listview with cursorloader

2012-07-26 Thread Lars
Could someone give me some advice on how i can load a bitmap from a data ase in a listview using a cursor loader. Thanks -- 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] AlertDialog

2012-08-08 Thread Lars
the icon used by default by the alertdialog is white with a white background. i tried to change that by using a custom icon. // nameDialog.setIcon(R.drawable.ic_alert); but this seems to be ignored. and i don't have any idea why.. With kind regards Lars PS: sorry for my terrible english

[android-developers] Listview Selector

2012-09-12 Thread Lars
Hi i got a problem with a listview, how can i get to change the state when my listview item is selected (in the use of multipane view) i only need to change that state the other states like pressed and things i like to keep default Thanks -- You received this message because you are

[android-developers] Android Transaction

2012-09-15 Thread Lars
I wonder what the correct way of handeling a fragment is. the fragment that i have, contain data from the web. each time i switch trough i fragment the fragment get removed so when i switch back the data needs to get downloaded again. how do i preserve the fragment? Thanks in advance! -- You

[android-developers] searchview icon

2012-04-10 Thread Lars
I am creating an android 4.0 application in this application i got tabs with listfragments for each fragment i need a searchview so i generate a new searchview with code in each fragments and that works but the icon is in the style of honeycomb and when i create searchview using xml (here i

[android-developers] Re: SearchView Icon help!!

2012-04-11 Thread Lars
Op zondag 8 april 2012 13:18:15 UTC+2 schreef Lars het volgende: i am creating a android 4.03 application and i am making a searchview with this code @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { MenuItem item = menu.add(Search

[android-developers] Re: Searchview in tabs

2012-04-11 Thread Lars
Any idea??!!! I really need help with it -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Searchview problems

2012-04-16 Thread Lars
I have made a android 4.03 test project with tabs and listfragments, the listfragments contain a searchview there are a few problems with the searchview 1. the searchview still contains the searched data when you switch a tab 2. the listfragment is blank the first instance when the searchview is

[android-developers] searchview theming issue

2012-04-22 Thread Lars
When creating a searchview in an android 4.03 when using the theme holo light with darkactionbar The style of the drawables of the searchview Doesn't match. If have already reported it as a bug. http://code.google.com/p/android/issues/detail?id=29288 Is there a way to set the style of the

[android-developers] searchview theming issue

2012-04-22 Thread Lars
When creating a searchview in an android 4.03 when using the theme holo light with darkactionbar The style of the drawables of the searchview Doesn't match. If have already reported it as a bug. http://code.google.com/p/android/issues/detail?id=29288 Is there a way to set the style of the

[android-developers] Re: searchview theming issue

2012-04-22 Thread Lars
Alright thanks i will try. where do i put it exactly? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: searchview theming issue

2012-04-23 Thread Lars
the SearchView use getThemedContext() instead of getContext(). On Sunday, April 22, 2012 2:48:04 PM UTC-7, Lars wrote: When creating a searchview in an android 4.03 when using the theme holo light with darkactionbar The style of the drawables of the searchview Doesn't match. If have already

[android-developers] styling a searchview widget

2012-04-24 Thread Lars
Is it possible to create a style extending the holo.light.darkactionbar Theme for my searchview widget? because the style for that theme doesn't exist. -- 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] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-12 Thread Lars
: as you can see theres something wrong. but what? please help me. Thanks, Lars. https://lh6.googleusercontent.com/-hF-KuNJLMk8/T9D9_s8LeXI/EdY/_iry-jMFNv4/s1600/Screenshot_2012-06-07-19-05-04.png -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
Okay, I will post the code when I get home. What do you need to see, Java or xml? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
take 1hour. On Tue, Jun 12, 2012 at 5:50 PM, Justin Anderson magouyaw...@gmail.comwrote: Without seeing your code there is no way of knowing... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 7, 2012 at 1:21 PM, Lars lars.breum

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
Thank you very much =). It worked=) But of some reason when i press the dagens_button on my phone it does'nt open the attached(dagensbilde.java) activity(which is a webview activity). Did i do something wrong in the code i already posted. Thank you in advance. Lars. Den onsdag den 13

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-14 Thread Lars
savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } On Wed, Jun 13, 2012 at 11:22 AM, Lars lars.breum...@gmail.com wrote: Here's my activity.java: package lars.browser; import lars.browser.dagensbilde; import android.app.Activity

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
I did as you wrote, and it seems to work. But, when I press the button, the app closes unexpectedly. I have declared the next activity in the android manifest. I can't show you the code till I get home. Thanks for the help:-) -- You received this message because you are subscribed to the

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
tell you the file and the line where the crash happened, along with what the problem is (e.g. NullPointerException, etc...) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jun 15, 2012 at 7:33 AM, Lars lars.breum...@gmail.com wrote: I did

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
/application /manifest Den fredag den 15. juni 2012 19.35.11 UTC+2 skrev Raghav Sood: You haven't declared one of your Activities in your manifest, or it has been declared incorrectly. So yeah, we would need to see your manifest. On Fri, Jun 15, 2012 at 10:58 PM, Lars lars.breum

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-17 Thread Lars
=.dagensbilde android:label=@string/dagens_label android:launchMode=standard /activity /application /manifest On Sat, Jun 16, 2012 at 12:12 AM, Lars lars.breum...@gmail.com wrote: Were you able to see that from the error log? I

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-17 Thread Lars
android:name=.dagensbilde android:label=@string/dagens_label android:launchMode=standard /activity /application /manifest On Sat, Jun 16, 2012 at 12:12 AM, Lars lars.breum...@gmail.com wrote: Were you able to see that from

[android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
i1 = new Intent(BrowserActivity.this, nyestebilde.class);; startActivity(i1); break; } // Perform action on click } {; }{; }};;;{;;;};});}} Den torsdag den 7. juni 2012 21.21.26 UTC+2 skrev Lars: Hello I am

Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 20, 2012 at 10:35 AM, Lars lars.breum...@gmail.com wrote: Hello out there. In my application I have 5 buttons, but i can only make 1 one of them work(well i've only tried with 2 buttons =)) Eclipse doesn't show any errors

Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
clicked on dagens_button... - Need I go on? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 20, 2012 at 12:16 PM, Lars lars.breum...@gmail.com wrote: I would love it if you told me all the errors I made it would really help me

Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
Thank you I really appreciate you post=) I just misunderstood the point of this forum. You know any beginner forums?(english or danish). Den onsdag den 20. juni 2012 21.08.36 UTC+2 skrev Nobu Games: Hey Lars, good to see that you want to learn programming at your young age and picked Android

Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
That's okay dude:-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

RE: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
I have a book it is called: hello, android. By Ed Burnette. Its okay:-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-20 Thread Lars
I know:-) I have learned something, the time i have been trying to learn this;-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Viewpager and fragments

2012-09-30 Thread Lars
Hi, I want to have an ongoing viewpager (something like the calendar app) where i can show the days of the year each fragment represents one day. i like to fill that fragment with data from the web but i don't want it too load it again and again each time i add a fragment to the viewpager, so i

[android-developers] LoaderManager OnLoadFinished();

2013-02-01 Thread Lars
Right now I am experiencing weird behavior from the loadermanager in my app. I got 3 sherlocklistfragments in my app under tabs. when i start up the app it works great the loadermanager does exactly what it should do but when i change the orientation of my app the loadermanager's onloadfinished

[android-developers] Locationmanager is running after removed listner

2009-10-16 Thread Lars Carlsson
Hi I have a service with a location manger and a lister that stores location in the DB. When the client runs stopService the service will remove the listener but for some reason i still get 5 -10 locations update to my listener why do i get this. public void onDestroy() {

[android-developers] Create Connection failed msg like the browser app

2009-10-18 Thread Lars Carlsson
Hi How do i create a message box that says Connection failed this application requires network access to work and in the message box you click Settings or canceled. The same message box you get when you try to use the browser with no Internet connection. I have looked in the Browser code but

[android-developers] DTMF uplink (in phone calls)

2010-12-20 Thread Lars Olsson
Hi, I am looking for an answer if it is possible to send(uplink) DTMF tones from a 3rd party app. to a ongoing phone call. Public API, Internal API? I have not found any direct information about this in the net. All hints are welcome. Cheers, lasse -- You received this message because you

[android-developers] Re: EditText and auto-complete/correct

2010-12-28 Thread Lars-Erik
Actually I had the same problem and found the real solution. autoText is a deprecated feature. However looking more closely on the textAutoComplete function I found that it states that the application will provide the correction list itself. In stead, just use the textAutoCorrect in

[android-developers] 3G data is paused when phone goes to idle/sleep

2011-01-07 Thread Lars Olsson
Hi, In my application I would like to send/receive data even when the phone goes to idle/sleep. For Wifi connections, I use WifiManager.WifiLock to make sure that the connection stays alive even when device goes to sleep. But I have not found anything similar for 3G data connections. The

[android-developers] Is it possible to make a custom mapbackground for google maps, with the use of the old map?

2010-10-21 Thread Lars Frandsen
Hi I'm currently working on a class that's suppose to retrieve data from Google Maps, blur it and posterize it, for a simplified view of the terrain. But, I'm stuck at getting the bitmap data from google maps. I've tried getDrawingCache();, but its not really a good solution. I'm looking for a

[android-developers] Using DISTCC to compile Native Libraries?

2011-02-22 Thread Lars Olsson
into this before? Cheers, Lars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] SearchView Icon help!!

2012-04-10 Thread Lars Werkman
i am creating a android 4.03 application and i am making a searchview with this code @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { MenuItem item = menu.add(Search); item.setIcon(android.R.drawable.ic_menu_search);

[android-developers] SearchView icon help!!

2012-04-10 Thread Lars Werkman
.googleusercontent.com/-t2-aqMI1yDs/T4F00WO5HeI/AD0/mhT5QPfTk2A/s1600/Knipsel.PNG i want the icons to look like the style of the left menu item how can i accomplish that?? thanks Lars -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Searchview in tabs

2012-04-10 Thread Lars Werkman
android:title=@string/Refresh android:showAsAction=ifRoom|withText / /menu also i use for each tab its own xml because i thought maybe that would help. Thanks Lars. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Google Play Games - Content Rating

2016-02-05 Thread Lars Fessen
Hello, I would like to integrate Google Play Games in my app. Do I have to answer the questions about "sharing data with other users" and "sharing personal data" (I do not know if these are the right expressions, I have the german site) with "Yes" if I intgrate Goo

[android-developers] Re: Google Play Games - Content Rating

2016-02-05 Thread Lars Fessen
I meant the questions in the "Content Rating". Am Freitag, 5. Februar 2016 10:24:27 UTC+1 schrieb Lars Fessen: > > Hello, > I would like to integrate Google Play Games in my app. Do I have to answer > the questions about "sharing data with other users" and

[android-developers] Latest Android N OTA brigged my Nexus 6P

2016-04-24 Thread Lars Vonderschmitt
I got the OTA update for the Android N Preview. And after installing it, my device is in a endless loop of booting, crashing, booting etc. I am not able to access the devices via USB cable and ADB. Also getting into the bootloader and trying to make a factory reset is not working. What can I

Re: [android-developers] Latest Android N OTA brigged my Nexus 6P

2016-04-26 Thread Lars Vonderschmitt
There is no way of doing a factory reset. When selecting this option in the bootloader nothing happens. The device just restarts and is again inside the boot loop. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this

[android-developers] Re: 6P stuck after updating

2016-05-19 Thread Lars Vonderschmitt
I have the same issue and until now I haven't found a solution yet :( I already tried to ask several Android Developer "accounts" but until now I haven't heard anything from Google :( My 600€ phone is dead! Thanks Google Am Mittwoch, 18. Mai 2016 23:25:14 UTC+2 schrieb Sebastien Debaenst: > >

[android-developers] Re: 6P stuck after updating

2016-05-20 Thread Lars Vonderschmitt
the menu just press the power button to reboot now. Your device should now boot and you need to set it up completely but at least you are able to use it again. Hope this works for you. Cheers Lars Am Mittwoch, 18. Mai 2016 23:25:14 UTC+2 schrieb Sebastien Debaenst: > > Hi, > > So I tr

[android-developers] Update/alter Android Preferences dynamicaly

2010-05-03 Thread Lars Nielsen Lind
to write to, during runtime programmatically, the XML files placed in the /res directory - and if - how do we do that? Is it possible - programmatically - to create and delete the entries in the preferences - thereby omitting the XML file? Any help is appreciated. Thanks, Lars -- You received

[android-developers] Dynamically update preferences

2010-05-12 Thread Lars Nielsen Lind
can't get the preferences into Android Preferences (like we do when the file is placed in the res/xml directory). Anyone that know if it possible at all and how to do it? thanks, Lars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Dynamically add items to preferences

2010-05-12 Thread Lars Nielsen Lind
are CheckBoxPreferences. Then the user performs some actions in the application and this triggers that two new cities are added to the preferences: America - New York - Los Angeles - Chicago - Seatlle - Washington Anyone that know if it possible at all and how to do it? thanks, Lars -- You received

[android-developers] Location distanceBetween()

2010-06-13 Thread Lars Nielsen Lind
the direction in degrees from on location to another. thanks, Lars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] NFC - missing method getParcelableExtra( ... )

2011-03-14 Thread Lars Nielsen Lind
(this,intent, null, null); Tag tag = (Tag) intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); Here is the error message: The method getParcelableExtra(String) is undefined for the type PendingIntent Anyone that knows why I can't call getParcelable() as shown above? Thanks, Lars -- You received