[android-developers] Calling image from the server using json format

2011-07-04 Thread umar zia
Hello please help me about this link how we can solve this problem easily http://stackoverflow.com/questions/6538255/image-retrieval-using-json-format-in-android -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Camera Preview to RGB565

2010-02-01 Thread Zia
g the size of rgb array. The preview size is 480*320. What should be the correct size of rgb[] that I should be passing? http://blog.tomgibara.com/post/132956174/yuv420-to-rgb565-conversion-in-android Any ideas/suggestions? Thanks, Zia -- You received this message because you are subscribed

[android-developers] Official Widget Design Guidelines outdated for SDK 1.6

2009-10-11 Thread Asad Zia
Hi, I'll like to point out that Widget Design Guidelines lists standard cell sizes in pixels. However, in launcher source code in Donut branch (SDK 1.6) cell sizes are in dip. This results in different pixel values on different density screens. I'll suggest documentation should be updated with

[android-developers] Re: system privileges on emulator

2009-08-24 Thread Asad Zia
in the emulator that is signed with your own > platform cert. > > > > On Fri, Aug 21, 2009 at 4:02 AM, Asad Zia wrote: > > > Hi, > > > There seems to be two levels of uses-permission, user level and system > > level. When I declare to use  INTERNET or BATTERY

[android-developers] system privileges on emulator

2009-08-21 Thread Asad Zia
Hi, There seems to be two levels of uses-permission, user level and system level. When I declare to use INTERNET or BATTERY_STATS, in my AndroidManifest.xml file it works without problem. However when I try to use INSTALL_PACKAGES, BIND_APPWIDGET it does not work. According to a [android-beginn

[android-developers] Re: Creating Custom Widgets and defining properties in XML for them

2009-07-29 Thread Zia
L, not defining new attributes. Does it make sense? Zia On Jul 29, 2:09 pm, greg wrote: > Have you watched the video at > >    http://www.youtube.com/watch?v=PAMtKVO2ch8 > > about creating a custom view? > > - Greg > > On Jul 29, 4:46 pm, Zia wrote: > > >

[android-developers] Creating Custom Widgets and defining properties in XML for them

2009-07-29 Thread Zia
butes. The notepad sample code does carry some pointers to this problem, however, it defines a XML layout with the component as View, inside LinearLayout, which is not really what I'm trying to achieve here. Any suggestions or pointers for my question? Th

[android-developers] Re: ExampleAppWidget won't run

2009-05-08 Thread Zia
Got it! Thanks! On May 7, 7:22 pm, Jeff Sharkey wrote: > So you don't really "launch" AppWidgets.  Once you've installed them, > they will appear in the long-press menu on the home screen. > > j > > > > On Thu, May 7, 2009 at 6:54 PM, Zia wrote:

[android-developers] Re: ExampleAppWidget won't run

2009-05-07 Thread Zia
lator? Thanks, Zia On Apr 15, 5:24 pm, Jeff Sharkey wrote: > Looks like there were some other things that needed to be fixed in > that example.  There's a full fix coming in the final 1.5, but here's > a quick diff: > > http://pastebin.com/f1a0f7408 > > j > >

[android-developers] Is it possible to set focus to a component programmatically?

2009-03-16 Thread Zia
Wondering if we have few buttons on a LinearLayout, is it possible to set focus to a button programmatically? Please advice. Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Is it possible to draw contents of ViewGroup on SurfaceView/ SurfaceHolder canvas? I've a control that needs to be ontop of layout (with buttons and etc) and also requires fast drawing. I wonder if implementing it as SurfaceView and then calling ViewGroup.draw(canvas) on the layout with the S

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Wanted to know if its possible to draw ViewGroup contents on SurfaceView/SurfaceHolder canvas? I'm trying to achieve fast 2D animation (using SurfaceView) alongside Android UI components on the screen. Since SurfaceView punches a hole in the app window, I tried creating SurfaceView, and ins

[android-developers] Drawing ViewGroup content on a SurfaceView/SurfaceHolder Canvas

2009-03-14 Thread Zia
Hi, Is it possible to draw contents of ViewGroup on SurfaceView/ SurfaceHolder canvas? I've a control that needs to be ontop of layout (with buttons and etc) and also requires fast drawing. I wonder if implementing it as SurfaceView and then calling ViewGroup.draw(canvas) on the layout with the S