Re: [android-developers] Facebook Integration issue

2011-07-16 Thread Nasif Noorudeen
are using fbconnect
On Sat, Jul 16, 2011 at 12:53 PM, gaurav gupta gaurav.gupta...@gmail.comwrote:

 HI Guys,
 M trying to integrate facebook in my application. I have to simple publish
 my status using facebook application.
 but its not working and giving me this in logcat. (in a particular device),
 but in my nexus same code working fine.
 Please suggest me .
 My facebook doesnot work and gives following warning in Logcat.

 07-16 12:40:42.594: VERBOSE/PlayerDriver(83): status=5
 07-16 12:40:42.614: INFO/ActivityManager(142): Start proc
 com.facebook.katana for activity com.facebook.katana/.ProxyAuth: pid=1844
 uid=10012 gids={3003, 1015}
 07-16 12:40:42.724: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.LoggingProvider:
 com.facebook.katana.provider.LoggingProvider
 07-16 12:40:42.854: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.NotificationsProvider:
 com.facebook.katana.provider.NotificationsProvider
 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.KeyValueProvider:
 com.facebook.katana.provider.KeyValueProvider
 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.ChatHistoryProvider:
 com.facebook.katana.provider.ChatHistoryProvider
 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.UserValuesProvider:
 com.facebook.katana.provider.UserValuesProvider
 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.FriendsProvider:
 com.facebook.katana.provider.FriendsProvider
 07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.PagesProvider:
 com.facebook.katana.provider.PagesProvider
 07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.MailboxProvider:
 com.facebook.katana.provider.MailboxProvider
 07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.UserStatusesProvider:
 com.facebook.katana.provider.UserStatusesProvider
 07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.PhotosProvider:
 com.facebook.katana.provider.PhotosProvider
 07-16 12:40:42.904: INFO/ActivityThread(1844): Publishing provider
 com.facebook.katana.provider.EventsProvider:
 com.facebook.katana.provider.EventsProvider
 07-16 12:40:43.014: ERROR/Facebook-ProxyAuth(1844): Failed to read calling
 package's signature.
 07-16 12:40:43.084: INFO/ActivityManager(142): Starting activity: Intent {
 act=android.intent.action.VIEW flg=0x400
 cmp=com.facebook.katana/.LoginActivity (has extras) }

 Please suggest me on this topic.


 Thanks  Regards
 Gaurav Gupta


 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: help/ Captcha Image in Android

2011-06-20 Thread Nasif Noorudeen
generate text in randow bu using srandom random , convert nuber to text

draw the text as a bitmap

On Mon, Jun 20, 2011 at 2:03 PM, Look cibin.p.oom...@gmail.com wrote:

 @Zsolt Vasvari: Thankyou for helping me

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Stack overflow

2011-05-20 Thread Nasif Noorudeen
stacke overflow is the rigth choice

On Sat, May 21, 2011 at 8:18 AM, DanH danhi...@ieee.org wrote:

 You post your questions.  Use the right keywords, the right title,
 explain yourself well, and you'll get some reasonable responses.

 On May 20, 9:27 pm, Julius Spencer jul...@msa.co.nz wrote:low i sthe
 right chioic
  Hi,
 
  After attending IO and talking to the engineers, I was told to put
 questions on stack overflow.  I was wondering - how do I get people to look
 at these?
 
  Regards,
  Julius.

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ListView Divider not showing when color changed

2011-05-15 Thread Nasif Noorudeen
use your own list view
don't use built in inside android


change


ListView android:id=@id/android:list//
android:id=@+id/som_id
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:layout_below=@id/free_shopping_title
  android:layout_above=@id/free_shopping_total_price
  /ListView




On Sun, May 15, 2011 at 10:55 PM, luiX_ lui...@gmail.com wrote:

 Hi,

 I have this layout for a ListView:

ListView android:id=@id/android:list
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:layout_below=@id/free_shopping_title
   android:layout_above=@id/free_shopping_total_price
   /ListView

 and the divider shows fine at the bottom, but if I try to change the color
 of the divider like this:

ListView android:id=@id/android:list
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:layout_below=@id/free_shopping_title
   android:layout_above=@id/free_shopping_total_price
   android:divider=#FF
   /ListView

 then the divider is never shown. Any idea?

 Also, I'd like to change the color of the glowing that shows up at the
 bottom/head of the ListView when you're at the last/firts item, does anyone
 how can I change that gradient color?

 Thanks guys! :D

 Luis.

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to make an app in Android to add support of Urdu Language in SMS Program of Android

2011-05-14 Thread Nasif Noorudeen
eiteher you have to make a databses which contain all the words in urdu

On Sat, May 14, 2011 at 12:06 PM, Aitor Mendaza Ormaza 
aitorthe...@gmail.com wrote:

 http://developer.android.com/guide/topics/resources/localization.html

 http://developer.android.com/guide/topics/resources/localization.html
 http://developer.android.com/resources/tutorials/localization/index.html
  http://developer.android.com/resources/tutorials/localization/index.html

 On Fri, May 13, 2011 at 3:05 PM, naveed ahmad navidu...@gmail.com wrote:

 I made an App for SMS .. now tell me e to make of datahow can i add font
 in it ..


 On May 10, 2:24 am, Chris crehb...@gmail.com wrote:
  Your best chance of seeing this happen would be to find an existing
  SMS app you like, then contact the authors and offer to do the
  translations so they can integrateUrduinto their app.  Learning Java
   Android, writing an entire SMS app just to have anUrduSMS app
  seems like overkill to me.
 
  On the other hand if you really want to do this, use Google to find
  good Android programming tutorials  examples, examples of sending/
  receiving SMS, and how to localize Android apps.  Tons of links on the
  internet.
 
  Cheers,
  - C
 
  On May 9, 1:58 pm, naveed ahmad navidu...@gmail.com wrote:
 
   Hi every one.. plz guide me how can i make an app forUrdusupportin
   SMS programmm of Android.
 
   guide me plz.. i am new in Android development.
 
   Regards Naveed

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 ---
 http://aitorTheRed.blogspot.com
 http://www.last.fm/user/aitorTheRed/

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] In App purchase Google Checkout Testing In Pakistan

2011-05-14 Thread Nasif Noorudeen
need android market version morethan 3.2
is the reason

On Fri, May 13, 2011 at 12:04 PM, Piyasa nadirhussain.cpr...@gmail.comwrote:

 I am implementing In App purchase through Google CheckOut in my app. I
 live in Pakistan
 I can test In App billing only on Sprint CDMA device but not on Nexus
 S, Milestone II ,HTC desire and T Mobile G1. What is the logical
 reason. Is there any method , so that I can be able to test this
 feature on Milestone II or HTC Desire?. Any help will be appreciated.

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] parsing an image from an xml file from a network

2011-04-23 Thread Nasif Noorudeen
pass values through bundle and intent

On Sat, Apr 23, 2011 at 11:11 PM, Siva Kannabiran sivasanka...@gmail.comwrote:

 in my app  when i click a button it goes on to a url and it returns back an
 xml file. The xml file recieved is opened in a new activity called B as a
 list view. The xml file is as follows
 Search
   Searchdata
   id1/id
   First_nameRaj/First_name
   Last_nameKan/Last_name
   latitude38/latitude
   longitude129/longitude
   DatebirthApr 15, 2011/Datebirth
  image
 http://demo.greatinnovus.com/restingspot/img/add_photo.png/image
   /Searchdata
   Searchdata
id2/idnt
First_nameR/First_name
Last_nameR/Last_name
latitude37/latitude
longitude122/longitude
DatebirthApr 15, 2011/Datebirth
image
 http://demo.greatinnovus.com/restingspot/img/add_photo.png/image
   /Searchdata
 Search

 From this xml file i am listing out all the first name's in activity B.
 When i click on any of the first name i am moving on to a new activity C
 where i want to display the last name,dob of the selected first name. In
 activity C i have a button image. When i click on it i am moving to a new
 activity D where i want to show the image of the selected first name.

 How to do this, please help me.

 --
 Siva Shankar K

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android+Google Docs

2011-04-16 Thread Nasif Noorudeen
oauth core .jar

On Sat, Apr 16, 2011 at 3:31 PM, Reptil christophepeix...@gmail.com wrote:

 How can i develop a Android Application that allow someone to login in
 his Google Docs account?
 And which library i much use?

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Programatically unchecking items in a dialog

2011-04-13 Thread Nasif Noorudeen
you ahve to use onch
eckchanedListener

On Wed, Apr 13, 2011 at 10:31 PM, Akshay Goel xpectro...@gmail.com wrote:

 OnCreate of what? The dialog? I want to uncheck the item as soon as
 the user checks All, without dismissing the dialog.

 Thanks,
 Akshay

 On Apr 13, 5:44 pm, harsh chandel harshdchan...@gmail.com wrote:
  write the setitemchecked method withinin oncreate method.
 
  On Apr 13, 9:56 am, Akshay Goel xpectro...@gmail.com wrote:
 
 
 
   But I am manipulating the data by calling setItemChecked(). When I
   said updating the UI, I meant updating data that results in refreshing/
   changing the UI.
 
   Thanks,
   Akshay
 
   On Apr 12, 10:32 pm, lbendlin l...@bendlin.us wrote:
 notifyDataSetChange sounds like the best solution, but for that you need to
actually change the data set, not the UI. So you would need to
 manipulate
the checked flag in the data.

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Can we create UI component in a seperate XML file and load it

2011-04-13 Thread Nasif Noorudeen
By using LayoutInflater

On Wed, Apr 13, 2011 at 10:27 PM, usher usher...@gmail.com wrote:

 So I have created this activity, and setContentView() with mail.xml
 layout file.
 Now I want to add some textView dynamically into this screen. I
 already have these text view defined in a seperate xml file named
 view.xml.

 How can I instantiate these textview components and add them into
 screen?
 In
 I know we have inflate method, but once we call inflate, this view.xml
 will be added to screen automaticallyhow can we achieve this?

 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@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Mac phone

2011-04-03 Thread Nasif Noorudeen
use  lsusb

check  it is detcting in usb after enabling usb-debugging..

On Sun, Apr 3, 2011 at 2:46 AM, Oliver Crow cro...@gmail.com wrote:

 I found I had this problem with my xperia x10, I installed PDAnet, which
 installs further drivers for your individual phone.



 On 2 Apr 2011, at 22:03, lbendlin l...@bendlin.us wrote:

 as long as you have checked the development box on your phone it will work
 with an Intel Mac and OSX 10.6.5 plus

 Sometimes you have to reboot your phone while leaving it connected for ADB
 to see it again.

 --
 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
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 http://groups.google.com/group/android-developers?hl=en

  --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: C/C++ Integration With Android...

2011-04-03 Thread Nasif Noorudeen
use ndk-android

On Sat, Apr 2, 2011 at 11:47 PM, SJ boris.iva...@gmail.com wrote:

 Check here:

 http://smartctl.net/android/ndk-r5.php

 On Apr 1, 1:59 pm, iliTheFallen gurcan.il...@gmail.com wrote:
  Hi All,
 
  I want to integrate C/C++ to Android Platform. Java Virtual Machine
  has a native support for calling C/C++ methods or importing dll files.
  My question is Does Dalvik Virtual Machine(DVM) have the same
  support?.
 
  If it has; would you mind letting me know about the technique or the
  resource depicting the case i mentioned?
 
  Thanks in advance.

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Vertical text

2011-03-30 Thread Nasif Noorudeen
there is one vertivcal label view sample code there in google code

On Thu, Mar 31, 2011 at 10:22 AM, a a harvey.a...@gmail.com wrote:

 the name of the vertical text is texture is it?

 2011/3/31 lbendlin l...@bendlin.us:
  Why not just rotate the canvas for that view?
 
  --
  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 more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Developing app to connect with websites

2011-03-27 Thread Nasif Noorudeen
you have to call thier webservices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: bitmap size exceeds VM budget on BitmapFactory.decodeResource

2011-03-23 Thread Nasif Noorudeen
you have to make resize image basedon the sampling factor.


i saw in stack overflow same question is answrered by some guys


On Wed, Mar 23, 2011 at 2:44 PM, Pent supp...@apps.dinglisch.net wrote:

 I have to stop answering queries, someone else always comes along with
 a much better answer :-)

 Pent

 On Mar 22, 10:03 am, String sterling.ud...@googlemail.com wrote:
  As someone who's done a bunch of similar work, I'm afraid the short
 answer
  is: you can't do that.
 
  The slightly longer answer: As your math shows, simply loading the
  WVGA-scale bitmaps blows out the 16MB limit. Now, my understanding is
 that a
  Galaxy S should have 24MB of heap, but still - you're pushing it. Between
  the unavoidable couple of MB that all Android apps use, whatever else
 your
  code needs, and (most crucially for you) a bit of room to assemble the
 final
  wallpaper image, you're still going well over the limit.
 
  A few things you might try to mitigate the situation:
  - Rearrange your code so that you only load one source image at a time,
 do
  what you need to with it, then clear it from RAM with a recycle() call.
  - Avoid the ARGB_ config. If you need transparency, use ARGB_,
  otherwise go with RGB_565.
  - As Pent suggested, downsample your images. But that essentially just
  decreases the resolution, with a corresponding increase in pixellation.
 
  String

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android Library for Azure?

2011-03-04 Thread Nasif Noorudeen
you have to ask this question in there website

On Sat, Mar 5, 2011 at 3:56 AM, Shane Isbell shane.isb...@gmail.com wrote:

 Does anyone on this list know of a Windows Azure library for Android? I've
 looked around but only found http://www.windowsazure4j.org/ which has a
 dom4j dependency (and an number of transitives dependencies on that, with
 some licenses that I can't use).

 Thanks,
 Shane

 --
 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 more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] database values to string[]

2011-02-03 Thread Nasif Noorudeen
you have to iterate the cursor...

On Sun, Jan 30, 2011 at 12:52 AM, André pha...@hotmail.com wrote:

 Is there a simple way to get all my values from a column in my
 database to a String[] without having to use simpleCursorAdapter?

 When I try:

 String[] from = new String[]{dbManager.NAME};

 I only get the name of the column.
 I'd appreciate any suggestions!

 //André

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to convert a image into Base64 string?

2011-02-03 Thread Nasif Noorudeen
First get the Bitmap of Image , copy to Byte array , get the Base 64 of the
byte by using codec.jar from apache


   1. ByteArrayOutputStream baos = new ByteArrayOutputStream();
   2. bm.compress(Bitmap.CompressFormat.PNG, 100, baos);
   //bm is the bitmap object
   3. byte[] b = baos.toByteArray();
   4. Base64.encode(b) () // return char[], which can covert to String




On Sun, Jan 30, 2011 at 12:51 AM, saex elpablos...@gmail.com wrote:

 thanks to all!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en