• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

set layout as view

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i havint been programming in a while and lost old log in details and am trying to make a launcher but am stuck on setting the array adaptor it wants a resource id to alist view but for some reason it wont accept the code below any help would be great thanks

 
Saloon Keeper
Posts: 7100
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

it wont accept the code


What does this mean? What does or does not happen when you run the code? If there are error messages, post the full stack trace from the logcat.
 
ed edwards
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the code wont compile the error states (cannot resolve method) as it requires int but if i try .getId() of the view then the error in in constructor as it requires a view ?? which is what its getting when i pass the layout to it but it has to be an int ?
 
ed edwards
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry maybe this woukd help this is the full code of app well thus far


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic