ImageView with graphic from the www ?

by Marco Alexander Schmitz » Sat, 27 Feb 2010 18:36:18 GMT


Sponsored Links
 Hello,

I want to show a graphic inside my activity. A graphic thats from the
www. Just like  http://www.google.de/logos/olympics10-sskating-hp.png. 

Wenn, in general I would download the graphic, convert it (maybe with
photoshop or something), rename it (if neccassary) and copy it to my
drawable folder. Then I can use its id inside my xml layout.

Now I want this procedure dynamically.

Which is the quickest way to do so?

Btw: I dont want to use WebView for this...

Greetings,
Marco

--



ImageView with graphic from the www ?

by skink » Sat, 27 Feb 2010 18:40:30 GMT


 


what you mean "dynamically" ?

pskink

--


Sponsored Links


ImageView with graphic from the www ?

by Fred Grott(Android Expert, http://mobilebytes.word » Sat, 27 Feb 2010 21:22:53 GMT


 not possible

On Feb 27, 4:36am, Marco Alexander Schmitz



--



Other Threads

1. Draw a dashed line on Canvas()

Hi, i am new developer in Android. How can we draw a dashed line on
Canvas()??

--

2. TabWidget Control

when i am in Eclipse and i modify tha main.xml file to add a TabWidget
control in the layout design i get the following error on the form:
NullPointerException : Null
and the following error in Console Window
"[2009-12-03 15:24:51 - LunchList]1 error; aborting
[2009-12-03 15:24:51 - LunchList]Conversion to Dalvik format failed
with error 1
java.lang.NullPointerException
        at android.widget.TabWidget.dispatchDraw(TabWidget.java:105)
        at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
        at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
        at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
        at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
        at android.view.View.draw(View.java:5465)
        at android.widget.FrameLayout.draw(FrameLayout.java:324)
        at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:338)
        at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.computeLayout
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.recomputeLayout
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.onXmlModelChanged
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelChanged
(Unknown Source)
        at com.android.ide.eclipse.adt.internal.editors.AndroidEditor
$XmlModelStateListener.modelChanged(Unknown Source)
        at
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.fireModelChanged
(AbstractStructuredModel.java:553)
        at
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.internalModelChanged
(AbstractStructuredModel.java:887)
        at
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.changedModel
(AbstractStructuredModel.java:382)
        at
org.eclipse.wst.xml.core.internal.document.DOMModelImpl.changedModel
(DOMModelImpl.java:167)
        at
com.android.ide.eclipse.adt.internal.editors.AndroidEditor.editXmlModel
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.addNewTreeElement
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.addElement
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.doAdd
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.doAdd
(Unknown Source)
        at
com.android.ide.eclipse.adt.internal.editors.layout.UiContentOutlinePage
$1.run(Unknown Source)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent
(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3880)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:194)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)"

Any Idea?

-- 

3. Eclipse/Android/Mac OS x problem with HelloAndroid

4. gridview, array, xml

5. r cannot be resolved and other Eclipse/Android oddities

6. creating "Family of apps"

7. Insert into sql Db from EditText Fields with Button?