Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 10:11 PM, Johan wrote: > When I click on it it toasts me with "Application is not Installed". I don't know, I believe that should work. Here's a SO post found via a Google search for 'android "application not found"' stackoverflow.com/questions/4226132/application-not-i

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
getting seriously confusing... Back to basics: I have a live wallpaper, it has an icon in the Apps folder. When I click on it it toasts me with "Application is not Installed". How do I get it to open anything from clicking the icon. I have the following in the manifest and it does nothing for

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 9:31 PM, Johan wrote: > There's not many places it can go, or am I wrong? > As the error indicates, your ListView in your layout must have it's ID set to "android.R.id.list". The ID attribute for your ListView would be found in your layout file, not your manifest. Googl

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 9:24 PM, Johan wrote: > java.lang.RuntimeException: *Your content must have a ListView whose id > attribute is 'android.R.id.list'* * *Um ... it tells you the exact problem. -

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
There's not many places it can go, or am I wrong? On Monday, November 26, 2012 1:25:00 PM UTC+11, TreKing wrote: > > On Sun, Nov 25, 2012 at 8:57 PM, Johan > > wrote: > >> Only thing is, now the icon dissipated I can only access the >> wallpaper vi

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
Yea that Icon keeps toasting me with "Application is not Installed". I added setContentView(R.layout.activity_main); to the onCreate function of LiveWallpaperSettings.java, but now the wallpaper stops with the following error: 11-26 02:18:52.815: E/AndroidRuntime(14345): FATAL EXCEPTION: main

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 8:57 PM, Johan wrote: > Only thing is, now the icon dissipated I can only access the > wallpaper via Settings. That sounds like the CATEGORY_LAUNCHER flag is missing or in the wrong place.

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan
Yea it seems I bs'd on the fact that it errors when I move the intent filters to the Settings activity (or I may have changed something in the mean time that makes it work). Only thing is, now the icon dissipated I can only access the wallpaper via Settings. If I can figure out how to ge

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 5:19 PM, Johan Wasserman wrote: > To my defence I didn't "bump" after 3 hours, it was more like 27 hours > I thought that math was a little funky :) > I have the following activities (after setting up the stock standard > wallpaperservice): > android:name="com.clock.

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Johan Wasserman
Apologies for being impatient, I'm pulling my last hair out on this issue. To my defence I didn't "bump" after 3 hours, it was more like 27 hours (not sure if living in Australia where the time is now 9am on the 26th of Sept has anything to do with the thought that I bumped after 3 hours, anyw

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Todd Grigsby
Sorry, this is Abuse. Tech Support is down the hall. (obligatory Monty Python reference) On Nov 25, 2012 8:54 AM, "TreKing" wrote: > On Sun, Nov 25, 2012 at 2:12 AM, Johan Wasserman < > johan.wasser...@gmail.com> wrote: > >> Really? No one? And I thought this is the place where the clever peopl

Re: [android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread TreKing
On Sun, Nov 25, 2012 at 2:12 AM, Johan Wasserman wrote: > Really? No one? And I thought this is the place where the clever people > are to come for advice... > Nope, this is the place entitled people come to demand "urgent" help, free code, and hand-holding. Sit tight, I'm sure someone will be al

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-25 Thread Lew
Johan Wasserman wrote: > Really? No one? And I thought this is the place where the clever people > are to come for advice... > Relax. Smoke a pipe. Have a beer. Enjoy life for a minute. If the problem were urgent, you'd've gone somewhere else for advice. You only allowed, what, three hours se

[android-developers] Re: newbie question: Open settings on desktop icon for wallpaper

2012-11-24 Thread Johan Wasserman
Really? No one? And I thought this is the place where the clever people are to come for advice... On Saturday, November 24, 2012 7:56:08 PM UTC+11, Johan Wasserman wrote: > > Hi, > I wrote a live wallpaper and would like to open the settings when clicking > on the App icon. It should still be s

[android-developers] Re: newbie question

2012-07-14 Thread ideaman
Problem solved I uninstalled Eclipse and SDK and reinstalled it, and now it works. Thanks, Daniel On Wednesday, July 11, 2012 2:43:29 PM UTC+3, ideaman wrote: > > Hi, > I have installed Eclipse Juno 4.2 > the Android SDK > the Eclipse plugin > and have Java 7 update 3 and Java 6 update 30 > Ever

[android-developers] Re: newbie question

2012-07-14 Thread ideaman
Hi, thanks for your reply. I've tried this already. I read somewhere else to clean it and rebuild it. I can clean it, it doesn't hep, but I cannot rebuild it (it is grey and cannot be clicked). Daniel On Thursday, July 12, 2012 10:30:44 AM UTC+3, Ali Chousein wrote: > > Try cleaning your proj

[android-developers] Re: newbie question

2012-07-12 Thread Ali Chousein
Try cleaning your project (Project->Clean) and see if it fixes the errors. If you're getting errors right after you create a project, cleaning it helps in most of the cases. - Ali Chousein https://play.google.com/store/apps/details?id=com.apps.s

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hi, It's a Content Provider that use SQLite Database. I want pass data of one table to another with Insert-Select sintax and/or check that data not exist in second table. I Found that SQLite permit sintax: Insert into Table(t1, t2) Select tx, ty >From Table --To insert select from one tab

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread A. Elk
Are you talking about a content provider or an SQLite database? They aren't equivalent. A content provider *may* use an SQLite database as its database repository, but it doesn't have to, and you can't assume that it does. *If it's a content provider:* You can do an insert followed by a query.

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hi, I see the example and I did not find where using insert - Select to put data into database. I assume then that this can not be done, as I searched many examples and have not found anything like. Thanks, for your help. On 20 ene, 06:02, Ricardo Santos wrote: > Do the notepad tutorial, on

[android-developers] Re: Newbie Question About Eclipse and SDk

2011-10-12 Thread cellurl
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/ -- 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 t

[android-developers] Re: Newbie Question About Eclipse and SDk

2011-10-12 Thread 刘家豪
The 32 bits program should works for 64bits machines too, although I haven't tested for eclipse. In this case, the problem might be for the emulators, which could run a bit slower. Why don't you try it? You can always uninstall it later if you don't like it. On Oct 6, 3:49 am, Mark Phillips wrote

[android-developers] Re: Newbie question about SimpleAdapter and ViewBinder

2011-09-26 Thread Chen Ming Wei
The methods I used for my major project is to get the values from another string array, an example: [The coding may be wrong as I currently don't have a eclipse software to debug] ///

[android-developers] Re: Newbie question about SimpleAdapter and ViewBinder

2011-09-24 Thread gageller
Hi everyone, I was able to get this to work. Set cOptionSet; Integer iSortOrder = null; Iterator cOptionIterator; TreeMap> tmSortOptions = new TreeMap>(); ArrayList> alData = new Array

[android-developers] Re: Newbie Question for phone and tablet apps

2011-09-20 Thread Mik
If the app should provide the same functionality for both platforms I'd say go for doing one app for both and just tweak the interface to adapt to different screen sizes. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: Newbie Question for phone and tablet apps

2011-09-20 Thread blake
Greg, You really should be able to customize the appearance of your app, for just about any kind of device. There's good information on how to do it here: http://android-developers.blogspot.com/2009/02/android-layout-tricks-2-reusing-layouts.html http://developer.android.com/guide/topics/resou

[android-developers] Re: Newbie question: What is "this" in the code?

2011-05-16 Thread Streets Of Boston
'this' in Java is much like 'self' in XCode. (there are some subtle differences, though...) -- 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 gr

[android-developers] Re: Newbie question: What is "this" in the code?

2011-05-16 Thread DanH
Yeah, the concept of "this" is fundamental to object-oriented programming, and pretty much all OO languages will have something similar. It means the object whose instance method is currently executing. It's called "this" in Java and C++, "self" in Objective C, and probably a few other terms in o

[android-developers] Re: Newbie question: What is "this" in the code?

2011-05-16 Thread Hari Edo
On May 15, 6:33 am, tyliong wrote: > I am a newbie developer and have done iphone coding. I just don't > understand how some code works as it is not explained in my book. An Android book probably doesn't teach you programming, or programming in the Java language. Read up on the basics of Java p

[android-developers] Re: newbie question on onDraw

2010-01-23 Thread schwiz
to force onDraw to call you must call invalidate. On Jan 22, 10:23 am, bhupesh wrote: > All references so far I have seen is that the "framework" will call > onDraw.  Which part of the framework specifically calls onDraw.  Can I > control when onDraw gets called or can I call it myself without >

[android-developers] Re: newbie question

2009-01-16 Thread Stoyan Damov
Take a look at the flags of Paint's constructor for antialiasing, dithering, etc. When you draw a bitmap you pass a paint parameter to the Canvas.drawImage method. HTH, Stoyan On Fri, Jan 16, 2009 at 5:59 PM, Romkin wrote: > > Argh, i see it is simple as well, drawBitmap does it automatically,

[android-developers] Re: newbie question

2009-01-16 Thread Romkin
Argh, i see it is simple as well, drawBitmap does it automatically, the only problem it doesn't do anti-alising like iphone does it. On 13 Jan, 15:20, Sundog wrote: > ImageViews are capable of scaling themselves... see > > http://code.google.com/android/reference/android/widget/ImageView.Sca...

[android-developers] Re: newbie question

2009-01-13 Thread Sundog
ImageViews are capable of scaling themselves... see http://code.google.com/android/reference/android/widget/ImageView.ScaleType.html On Jan 13, 7:55 am, Romkin wrote: > if i have created a bitmap of 240x320, what would be the best way to > scale it to the android's screen resolution and how? >