Re: [android-developers] How can I solve com.google.zxing.NotFoundException exception?

2012-01-10 Thread Mukesh Srivastav
Venu

you first download the

 https://market.android.com/details?id=com.google.zxing.client.android;
and install it on device. things will work proper.


-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.


On Tue, Jan 10, 2012 at 1:15 PM, venu reddy venu.andr...@gmail.com wrote:

 Mukesh ,

 Pls give me  the answer ..

 its bit urgent

 On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote:

 Ok oK how can I ,,,

 Previous it was working right

 How can i install can u tel me please

 On Tue, Jan 10, 2012 at 11:52 AM, Mukesh Srivastav 
 mukicha...@gmail.comwrote:

 Venu,

 The Zingbarcode is uninstalled in your device. so install it again.


 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.

 On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy 
 venu.andr...@gmail.com wrote:

 Hi guys,

 Am is using zxing for barcode reading,

 previous I pasted one sample barcode image in sd card and i read the
 barcode and got barcode information.

 Now same i am trying to run the same program, am getting below error
 in logcat, not even open the application layout in emulator.
 Error is:

 01-10 11:14:23.397: W/System.err(2124):
 com.google.zxing.NotFoundException

 can U please help 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



  --
 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

[android-developers] block application which tries to access internet

2012-01-10 Thread Suganya
i want block applications that are trying to access internet android.
I should decide whether to allow the application to access internet or
not..can i create an application like this

-- 
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: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 4:32 PM, Carl Minden carlmin...@gmail.com wrote:
 when I made the certificate in openssl I did not call X509_sign() to
 sign it...for my use case it didn't need to be signed so I hadn't
 bothered.


I see. If it's not signed, it not technically a certificate, so it's funny
that it worked before. (signatureValue is requried) Android was
probably just ignoring the parse error.

 I changed my code so that I signed the certificate with its private
 key and then added the signed certificate to the STACK_OF(X509)
 certificate authority cert chain used to created the pkcs12
 certificate with pkcs12_create().


Why not use the openssl commands? Those have (some) error
checking and shouldn't produce a malformed PKCS#12 file, etc.

 I believe I didn't have to pass the SSLSocketFactory a truststore
 because that information was included in the pkcs12 certificate via
 the CA cert chain.

Looks like it. Still it probably shouldn't trust it implicitly... Will check
the code later to see what is going on.

-- 
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] block application which tries to access internet

2012-01-10 Thread T.M.S.VIJAYKUMARR
ya u can create.

On Tue, Jan 10, 2012 at 1:51 PM, Suganya suganyalakshmana...@gmail.comwrote:

 i want block applications that are trying to access internet android.
 I should decide whether to allow the application to access internet or
 not..can i create an application like this

 --
 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




-- 




-
Thanks  Regards,
T.M.S.VIJAYKUMARR
BloG:http://iamvijayakumar.blogspot.com/

-- 
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

[android-developers] Re: Application#onCreate() called more than once?

2012-01-10 Thread srihari babu
Is there any remote service kind of thing is there?
Since i have observed this kind of behaviour in my application, in which i 
used to create remote service.
On starting remote service, application onCreate method got executed.

I think it may helpful to u.

Regards,
Srihari babu.R
Hyderabad

-- 
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

[android-developers] Re: need help in coding for flickr integration

2012-01-10 Thread Ali Chousein
I can help you in everything you need, but it depends on the budget of
your project :-)


On Jan 9, 10:53 am, chowdary nani naveenneeli...@gmail.com wrote:
 Hi All,

 Can any one please help me in coding Flickr integration in android

 Thanks
 Naveen.

-- 
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] block application which tries to access internet

2012-01-10 Thread suganya lakshmanan
can you tell me how we can create. can we do it in application level or we
have to customize the android os.

-- 
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

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-10 Thread B.Arunkumar
Hi,

I was unable to understand your idea but I have implemented it in
a different way. You can get the current thumb position from
OnSeekBarChangeListener using sk.getProgress(). This can be translated
into LayoutParams depending on the width and max progress you set for
the seekbar.From the seekbar.OnTouchListener() you can get the
position of the current touch event as touching the thumb or
progressdrawable.

Thank you,
B.Arunkumar

On Jan 9, 12:46 pm, skink psk...@gmail.com wrote:
 On 9 Sty, 08:28, B.Arunkumar awsnetworkrecor...@gmail.com wrote:

  Hi,

     How do you check thumb drawable bounds? As far as I have tried out,
  I am able to get only the progressdrawable bounds as follows:

  seekbar.getProgressDrawable().getBounds()

  and I am currently finding no difference in this method when the thumb
  is moved or the progressDrawable is clicked?

  Thank you,
 B.Arunkumar

 you have to check thumb drawable not progress drawable.

 see AbsSeekBar sources:

 http://www.netmite.com/android/mydroid/frameworks/base/core/java/andr...

 and search for mThumb - it's thumb drawable

 find a place where mThumb is left assigned and everything should be
 clear what needs to be done

 pskink

-- 
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: Application#onCreate() called more than once?

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 5:33 PM, srihari babu hisriharib...@gmail.com wrote:
 Is there any remote service kind of thing is there?
 Since i have observed this kind of behaviour in my application, in which i
 used to create remote service.
 On starting remote service, application onCreate method got executed.


No, no remote services. This doesn't happen all the time, just sometimes,
and I haven't been able to reproduce it on my devices.

-- 
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: Application#onCreate() called more than once?

2012-01-10 Thread Mukesh Srivastav
Instead of starting the service on onCreate(), you need to do the following
things.

1. start the service onPause.

2. check if service is not started.

-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

On Tue, Jan 10, 2012 at 2:03 PM, srihari babu hisriharib...@gmail.comwrote:

 Is there any remote service kind of thing is there?
 Since i have observed this kind of behaviour in my application, in which i
 used to create remote service.
 On starting remote service, application onCreate method got executed.

 I think it may helpful to u.

 Regards,
 Srihari babu.R
 Hyderabad

 --
 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] block application which tries to access internet

2012-01-10 Thread T.M.S.VIJAYKUMARR
application level we can do (using receiver and service)

On Tue, Jan 10, 2012 at 2:10 PM, suganya lakshmanan 
suganyalakshmana...@gmail.com wrote:

 can you tell me how we can create. can we do it in application level or we
 have to customize the android os.

 --
 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




-- 




-
Thanks  Regards,
T.M.S.VIJAYKUMARR
BloG:http://iamvijayakumar.blogspot.com/

-- 
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

[android-developers] Lack of clarity in image

2012-01-10 Thread aru padam
Hi all,

  I am developing an app, in this the selected image from the
album have no clarity when set it to an image view. How i  can avoid
this problem.. Please help me

Thanks
Deepesh

-- 
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] Lack of clarity in image

2012-01-10 Thread Ratheesh Valamchuzhy
check the image is thumbnail or full sized.

-- 
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] Lack of clarity in image

2012-01-10 Thread Mukesh Srivastav
Make sure, you pass all the required parameters, below is the Imageview
which i have used it after selecting an image from the album.


ImageView android:id=@+id/iv_photo
android:layout_marginTop=5dp android:layout_marginBottom=5dp
android:layout_marginLeft=2dp android:layout_marginRight=2dp
android:layout_gravity=center_horizontal
android:layout_width=fill_parent
android:layout_height=fill_parent/


Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

On Tue, Jan 10, 2012 at 2:27 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:

 check the image is thumbnail or full sized.

 --
 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: Permission Denial: starting Intent when launching my activity from my widget

2012-01-10 Thread Kostya Vasilyev
From those logcat messages, I'd think that you have android:permission
attributes on the activity or application in your manifest.

http://developer.android.com/guide/topics/manifest/activity-element.html#prmsn



The name of a permission that clients must have to launch the activity or
otherwise get it to respond to an intent. If a caller of
startActivity()http://developer.android.com/reference/android/content/Context.html#startActivity(android.content.Intent)
 or 
startActivityForResult()http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent,
int) has not been granted the specified permission, its intent will not be
delivered to the activity.


-- Kostya

10 января 2012 г. 10:30 пользователь Dirk Vranckaert 
dirkvrancka...@gmail.com написал:

 Yes ok but it doesn't make much sense that I should set the export-
 property for 2 of my 3 activities that I'm calling from my widget,
 certainly not that it worked before... The android:exported property
 is only ment to be set to true if other components (so from other
 applications) must be able to call the activity.

 Any ideas?

 Kind Regards,

 Dirk

 On Jan 9, 11:43 pm, Jonathan S xfsuno...@gmail.com wrote:
  Look inhttps://
 developer.android.com/guide/topics/manifest/activity-element

 --
 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: Ice Cream Sandwich networking problems

2012-01-10 Thread Kostya Vasilyev
A bug report against your own code? Yes, please do :)

10 января 2012 г. 6:52 пользователь Aaron aobrien...@gmail.com написал:

 Thans for the reply.

 I guess all go ahead file a bug report then.

 -Aaron

 On Jan 9, 3:47 pm, Kostya Vasilyev kmans...@gmail.com wrote:
  And so it does:
 
 
 
  kman@minty ~/Android/proj-new/AquaMail $ wget -S
 --post-data=hello=therehttp://www.google.com
  --2012-01-10 01:47:02--  http://www.google.com/
  Resolvingwww.google.com(www.google.com)... 74.125.232.80, 74.125.232.81,
  74.125.232.82, ...
  Connecting towww.google.com(www.google.com)|74.125.232.80|:80...
  connected.
  HTTP request sent, awaiting response...
HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD
Date: Mon, 09 Jan 2012 21:47:03 GMT
Content-Type: text/html; charset=UTF-8
Server: gws
Content-Length: 11816
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
  2012-01-10 01:47:03 ERROR 405: Method Not Allowed.
  
 
  -- Kostya
 
  10 января 2012 г. 1:27 пользователь Kostya Vasilyev kmans...@gmail.com
 написал:
 
 
 
 
 
 
 
   Follow up: taking out setDoOutput(true) makes it work
 forwww.google.comaswell.
 
  http://stackoverflow.com/questions/8587913/what-exactly-does-urlconne.
 ..
 
   The link above explains that setDoOutput(true) forces an HTTP POST
 request.
 
   So maybe it's just that the Google search server responds to to POST
   requests with a 404 unless they contain all proper search parameters
 (as
   they do when you actually use search)?
 
   -- Kostya
 
   10 января 2012 г. 1:22 пользователь Kostya Vasilyev 
 kmans...@gmail.comнаписал:
 
   I don't have the answer, but tried out your code on a Galaxy Nexus and
 got
   the same exception.
 
   Amazingly enough, it works with http://www.apple.com; and 
  http://www.microsoft.com; :)
 
   So I'd say, go ahead a file a bug.
 
   -- Kostya
 
   10 января 2012 г. 1:04 пользователь Aaron aobrien...@gmail.com
 написал:
 
   I have a couple of apps on Market that seem to be having issues
   related to Ice Cream Sandwich.
 
   The following code snippet will throw a FileNotFoundException on both
   the Android Emulator and the the Samsung Nexus:
   URL url = new URL (http://www.google.com;);
   URLConnection connection = url.openConnection();
   connection.setDoOutput(true);
   byte[] bytes = new byte[1024];
   InputStream is = connection.getInputStream();
 
   Here is the stack trace that is logged:
   D/AddNewTitleActivity(12424): java.io.FileNotFoundException:
  http://www.google.com
   D/AddNewTitleActivity(12424):   at
 
  
 libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl
 .java:
   177)
   D/AddNewTitleActivity(12424):   at
 
  
 com.flyingspheres.android.inventory.network.NetworkManager.callService(Netw
 orkManager.java:
   130)
   D/AddNewTitleActivity(12424):   at
 
  
 com.flyingspheres.android.inventory.network.NetworkManager.retrieveHtmlCont
 ent(NetworkManager.java:
   299)
   D/AddNewTitleActivity(12424):   at
  
 com.flyingspheres.android.inventory.activities.add.AddNewTitleActivity
   $3$3$1.doInBackground(AddNewTitleActivity.java:336)
   D/AddNewTitleActivity(12424):   at
  
 com.flyingspheres.android.inventory.activities.add.AddNewTitleActivity
   $3$3$1.doInBackground(AddNewTitleActivity.java:1)
   D/AddNewTitleActivity(12424):   at android.os.AsyncTask
   $2.call(AsyncTask.java:264)
   D/AddNewTitleActivity(12424):   at java.util.concurrent.FutureTask
   $Sync.innerRun(FutureTask.java:305)
   D/AddNewTitleActivity(12424):   at
   java.util.concurrent.FutureTask.run(FutureTask.java:137)
   D/AddNewTitleActivity(12424):   at
 
  
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
   1076)
   D/AddNewTitleActivity(12424):   at
   java.util.concurrent.ThreadPoolExecutor
   $Worker.run(ThreadPoolExecutor.java:569)
   D/AddNewTitleActivity(12424):   at java.lang.Thread.run(Thread.java:
   856)
 
   There is a pretty easy work around by using the
   org.apache.http.client.HttpClient but the HttpURLConnection method
   works in all versions of android,
   with the except Ice Cream Sandwich.  This is a breaking change that
   gives users a bad experience when upgrading their phone or
   experiencing apps for the first time,
   if they're coming from a different platform.
 
   Is this a known issue intended to force app developers to use a
   specific API or should I log this as a bug report?
 
   Thanks,
 
   -Aaron
 
   --
   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, 

[android-developers] reading CDATA from xml?

2012-01-10 Thread android developer
 i have to read CDATA from xml, so please help 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

[android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Carl Minden
Hmm, if there was a parse error I wonder why no exception was thrown,
as far as I can tell it just silently failed and didn't send the cert
to the server.

The reason I am not using the openssl tool is because I am creating
the certificate on the phone using an RSA keypair generated at
runtime.  I know it probably sounds like i'm doing something wrong/
stupid :), but without getting into the details of my system the only
thing I need this cert for is to use the keypair to perform SSL client
auth and it really doesn't matter if it is signed.



On Jan 10, 12:25 am, Nikolay Elenkov nikolay.elen...@gmail.com
wrote:
 On Tue, Jan 10, 2012 at 4:32 PM, Carl Minden carlmin...@gmail.com wrote:
  when I made the certificate in openssl I did not call X509_sign() to
  sign it...for my use case it didn't need to be signed so I hadn't
  bothered.

 I see. If it's not signed, it not technically a certificate, so it's funny
 that it worked before. (signatureValue is requried) Android was
 probably just ignoring the parse error.

  I changed my code so that I signed the certificate with its private
  key and then added the signed certificate to the STACK_OF(X509)
  certificate authority cert chain used to created the pkcs12
  certificate with pkcs12_create().

 Why not use the openssl commands? Those have (some) error
 checking and shouldn't produce a malformed PKCS#12 file, etc.

  I believe I didn't have to pass the SSLSocketFactory a truststore
  because that information was included in the pkcs12 certificate via
  the CA cert chain.

 Looks like it. Still it probably shouldn't trust it implicitly... Will check
 the code later to see what is going on.

-- 
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: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 6:14 PM, Carl Minden carlmin...@gmail.com wrote:
 Hmm, if there was a parse error I wonder why no exception was thrown,
 as far as I can tell it just silently failed and didn't send the cert
 to the server.

Because the framework code swallowed it? Did you see anything suspicious
in logcat (warnings, etc.)?


 The reason I am not using the openssl tool is because I am creating
 the certificate on the phone using an RSA keypair generated at
 runtime.  I know it probably sounds like i'm doing something wrong/
 stupid :), but without getting into the details of my system the only
 thing I need this cert for is to use the keypair to perform SSL client
 auth and it really doesn't matter if it is signed.


I see. Probably easier to do in Java (using Bouncy Castle APIs) though.
Still, client authentication should involve the server checking if it trusts
the client certificate (even if it is self-signed), and it should verify that
it's not been modified. How do you verify it's not modified if it's not
signed?

-- 
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] How can I solve com.google.zxing.NotFoundException exception?

2012-01-10 Thread venu reddy
OK I understood mukesh...

But I developed my own customized barcode applciation using ZXING api...

No need to install the ZXING Barcode application in  my device...

On Tue, Jan 10, 2012 at 1:30 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 Venu

 you first download the

  https://market.android.com/details?id=com.google.zxing.client.android;
 and install it on device. things will work proper.


 --

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


 On Tue, Jan 10, 2012 at 1:15 PM, venu reddy venu.andr...@gmail.comwrote:

 Mukesh ,

 Pls give me  the answer ..

 its bit urgent

 On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote:

 Ok oK how can I ,,,

 Previous it was working right

 How can i install can u tel me please

 On Tue, Jan 10, 2012 at 11:52 AM, Mukesh Srivastav mukicha...@gmail.com
  wrote:

 Venu,

 The Zingbarcode is uninstalled in your device. so install it again.


 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.

 On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy 
 venu.andr...@gmail.com wrote:

 Hi guys,

 Am is using zxing for barcode reading,

 previous I pasted one sample barcode image in sd card and i read the
 barcode and got barcode information.

 Now same i am trying to run the same program, am getting below error
 in logcat, not even open the application layout in emulator.
 Error is:

 01-10 11:14:23.397: W/System.err(2124):
 com.google.zxing.NotFoundException

 can U please help 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



  --
 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] How can I solve com.google.zxing.NotFoundException exception?

2012-01-10 Thread Raghav Sood
Have you included their library in your build path?

On Tue, Jan 10, 2012 at 3:07 PM, venu reddy venu.andr...@gmail.com wrote:

 OK I understood mukesh...

 But I developed my own customized barcode applciation using ZXING api...

 No need to install the ZXING Barcode application in  my device...


 On Tue, Jan 10, 2012 at 1:30 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 Venu

 you first download the

  https://market.android.com/details?id=com.google.zxing.client.android;
 and install it on device. things will work proper.


 --

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


 On Tue, Jan 10, 2012 at 1:15 PM, venu reddy venu.andr...@gmail.comwrote:

 Mukesh ,

 Pls give me  the answer ..

 its bit urgent

 On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote:

 Ok oK how can I ,,,

 Previous it was working right

 How can i install can u tel me please

 On Tue, Jan 10, 2012 at 11:52 AM, Mukesh Srivastav 
 mukicha...@gmail.com wrote:

 Venu,

 The Zingbarcode is uninstalled in your device. so install it again.


 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.

 On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy 
 venu.andr...@gmail.com wrote:

 Hi guys,

 Am is using zxing for barcode reading,

 previous I pasted one sample barcode image in sd card and i read the
 barcode and got barcode information.

 Now same i am trying to run the same program, am getting below error
 in logcat, not even open the application layout in emulator.
 Error is:

 01-10 11:14:23.397: W/System.err(2124):
 com.google.zxing.NotFoundException

 can U please help 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



  --
 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




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

-- 
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

[android-developers] webservice response parsed data

2012-01-10 Thread arun kumar
Hello,

  i am able to get the data from the server.the parsed data i has to show
into  Two activities in the first as text... and in the  second activity as
list ..am able to show in the text field but am unable to show in the list
view (in the first activity i will have a abutton when i click on that
in the second activity a list has to appear.



first activity

handler =*new* XMLhandler();

Xml.*parse*(sb.toString(), handler);

tv1.setText(ItemStructure.*name*);

myList= handler.retrieveItemStructureList();

Log.*i*(List :,R:+handler.retrieveItemStructureList());

Log.*i*(Res:,R:+sb.toString());



second activity




XMLhandler handler=(XMLhandler) getIntent().getSerializableExtra(handler);

ArrayList ItemStructure *items*=handler.retrieveItemStructureList();

 ArrayAdapterString adapter = new ArrayAdapterString(this,
android.R.layout.simple_list_item_1);
setListAdapter(adapter);



so can anyone give me guidance 

-- 
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] How can I solve com.google.zxing.NotFoundException exception?

2012-01-10 Thread venu reddy
Yes I included , yesterday itself I was able to run the application, today
Its not working..
google.zxing.NotFoundException exception getting


On Tue, Jan 10, 2012 at 3:13 PM, Raghav Sood raghavs...@androidactivist.org
 wrote:

 Have you included their library in your build path?


 On Tue, Jan 10, 2012 at 3:07 PM, venu reddy venu.andr...@gmail.comwrote:

 OK I understood mukesh...

 But I developed my own customized barcode applciation using ZXING api...

 No need to install the ZXING Barcode application in  my device...


 On Tue, Jan 10, 2012 at 1:30 PM, Mukesh Srivastav 
 mukicha...@gmail.comwrote:

 Venu

 you first download the

  https://market.android.com/details?id=com.google.zxing.client.android;
 and install it on device. things will work proper.


 --

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


 On Tue, Jan 10, 2012 at 1:15 PM, venu reddy venu.andr...@gmail.comwrote:

 Mukesh ,

 Pls give me  the answer ..

 its bit urgent

 On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote:

 Ok oK how can I ,,,

 Previous it was working right

 How can i install can u tel me please

 On Tue, Jan 10, 2012 at 11:52 AM, Mukesh Srivastav 
 mukicha...@gmail.com wrote:

 Venu,

 The Zingbarcode is uninstalled in your device. so install it again.


 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.

 On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy 
 venu.andr...@gmail.com wrote:

 Hi guys,

 Am is using zxing for barcode reading,

 previous I pasted one sample barcode image in sd card and i read the
 barcode and got barcode information.

 Now same i am trying to run the same program, am getting below error
 in logcat, not even open the application layout in emulator.
 Error is:

 01-10 11:14:23.397: W/System.err(2124):
 com.google.zxing.NotFoundException

 can U please help 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



  --
 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




 --
 Raghav Sood
 http://www.androidactivist.org/ - Author
 http://www.appaholics.in/ - Founder

  --
 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] How can I solve com.google.zxing.NotFoundException exception?

2012-01-10 Thread Mukesh Srivastav
hmmm.

you developed the apps , but you forget to call it  :(


Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

On Tue, Jan 10, 2012 at 3:13 PM, Raghav Sood raghavs...@androidactivist.org
 wrote:

 Have you included their library in your build path?


 On Tue, Jan 10, 2012 at 3:07 PM, venu reddy venu.andr...@gmail.comwrote:

 OK I understood mukesh...

 But I developed my own customized barcode applciation using ZXING api...

 No need to install the ZXING Barcode application in  my device...


 On Tue, Jan 10, 2012 at 1:30 PM, Mukesh Srivastav 
 mukicha...@gmail.comwrote:

 Venu

 you first download the

  https://market.android.com/details?id=com.google.zxing.client.android;
 and install it on device. things will work proper.


 --

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


 On Tue, Jan 10, 2012 at 1:15 PM, venu reddy venu.andr...@gmail.comwrote:

 Mukesh ,

 Pls give me  the answer ..

 its bit urgent

 On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote:

 Ok oK how can I ,,,

 Previous it was working right

 How can i install can u tel me please

 On Tue, Jan 10, 2012 at 11:52 AM, Mukesh Srivastav 
 mukicha...@gmail.com wrote:

 Venu,

 The Zingbarcode is uninstalled in your device. so install it again.


 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.

 On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy 
 venu.andr...@gmail.com wrote:

 Hi guys,

 Am is using zxing for barcode reading,

 previous I pasted one sample barcode image in sd card and i read the
 barcode and got barcode information.

 Now same i am trying to run the same program, am getting below error
 in logcat, not even open the application layout in emulator.
 Error is:

 01-10 11:14:23.397: W/System.err(2124):
 com.google.zxing.NotFoundException

 can U please help 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



  --
 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




 --
 Raghav Sood
 http://www.androidactivist.org/ - Author
 http://www.appaholics.in/ - Founder

  --
 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

[android-developers] Re: webservice response parsed data

2012-01-10 Thread arun kumar
below is the xml file i has to show name and total in textview which am
able to do but i has to show the Monthname in the list in next activity
where am struck...so plzz can any one give guindance on this .





NameAndMontotal
item
NameArjun/Name
Total406/Total
Unit$/Unit
item

Monthlist
item
MonthnameFEB/Monthname
/item
MonthnameMAR/Monthname
/item
itemMonthnameAPRI/Monthname
/item
item
MonthnameMAY/Monthname
/item

-- 
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

[android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Carl Minden
There certainly were no exceptions. I guess I might have missed a
warning but I don't think so.

as far as trusting the certificate we have an out of band method for
verifying the certificate when you first create the keypair, then
after that the server can check if the cert is the one it expects for
that user.  We do not care about any information contained in the cert
just that we are talking to the same phone (keypair)

On Jan 10, 1:36 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
 On Tue, Jan 10, 2012 at 6:14 PM, Carl Minden carlmin...@gmail.com wrote:
  Hmm, if there was a parse error I wonder why no exception was thrown,
  as far as I can tell it just silently failed and didn't send the cert
  to the server.

 Because the framework code swallowed it? Did you see anything suspicious
 in logcat (warnings, etc.)?



  The reason I am not using the openssl tool is because I am creating
  the certificate on the phone using an RSA keypair generated at
  runtime.  I know it probably sounds like i'm doing something wrong/
  stupid :), but without getting into the details of my system the only
  thing I need this cert for is to use the keypair to perform SSL client
  auth and it really doesn't matter if it is signed.

 I see. Probably easier to do in Java (using Bouncy Castle APIs) though.
 Still, client authentication should involve the server checking if it trusts
 the client certificate (even if it is self-signed), and it should verify that
 it's not been modified. How do you verify it's not modified if it's not
 signed?

-- 
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: webservice response parsed data

2012-01-10 Thread Mukesh Srivastav
OMG, Arun, where are you setting the last parameter of the list.do you see
the below example which i have shown in bold letters.

ListAdapter adapter = new ArrayAdapterString(this,
android.R.layout.simple_list_item_multiple_choice,*list*);

The above list should be filled by your xml parser. hope you understand.

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.


On Tue, Jan 10, 2012 at 3:29 PM, arun kumar arun.kata...@gmail.com wrote:



 below is the xml file i has to show name and total in textview which am
 able to do but i has to show the Monthname in the list in next activity
 where am struck...so plzz can any one give guindance on this .





 NameAndMontotal
 item
 NameArjun/Name
 Total406/Total
 Unit$/Unit
 item

 Monthlist
 item
 MonthnameFEB/Monthname
 /item
 MonthnameMAR/Monthname
 /item
 itemMonthnameAPRI/Monthname
 /item
 item
 MonthnameMAY/Monthname
 /item

 --
 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

[android-developers][eclipse-adt plugin] How to make eclipse-adt graphical layout editor work independent of path

2012-01-10 Thread Dave
Hello,
it seems that the graphical layout editor of eclipse-adt only renders
properly if the xml layout file is in the folder
project root\res\layout

I am using:
Eclipse 3.7.1 maintenance build M20111214-1406
JDK6_30
eclipse-adt plugin ADT 16.0.1

How can I make it work independent of the location of the folder
e.g.
project root\src\main\res\layout
I see the graphical layout tab but is doesn't render well

Same if I copy res to gen e.g.
project root\src\main\res\layout
and open an layout xml file with Open With Android Layout Editor
I do see Graphical Layout tab but widgets of the graphical layout
editor are uninitialized and layout of the xml file is not rendered.

Can this be done by configuration or is it a bug/ not yet implemented
feature in the eclipse-adt plugin?

Any hints/ideas are welcome.

-- 
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


[android-developers] Re: Installing SDK problems with eclipse

2012-01-10 Thread Jamel Toms
You don't need to install eclipse.  Just extract the program in your
program files directory and create a shortcut.  The only thing that
needs to be installed per-se is the JDK.  The SDK is sort of
independent of both of these.  Once you open Eclipse go to Help/About
(can't remember) and go to install new software.  There are directions
on how to set the available software for installing ADT.  A google
search should yield some results.

On Jan 5, 6:43 pm, Corbin enter...@gmail.com wrote:
 I am trying to get the android SDK installed on my Windows 7 64-bit
 machine. I have downloaded the SDK manager , JDK, and eclipse. I get
 the folder with the eclipse in it on my machine I can open eclipse but
 I cannot get the program to install on my machine.  I have the newest
 SDK package on my machine but I can't get eclipse to install and work
 with the SDK. I am experienced with c++ in MS Visual 2010. So this is
 a new area for me to enter any help with this issue will be of great
 help.

-- 
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] Fast, efficient usage of an object pool

2012-01-10 Thread eihero
Mr. Guy,
Thanks for your information. I had looked the related code and I found the 
implementation of Pools.finitePool might acquire more elements than the 
limit we set for it, if we successively acquire elements without releasing 
them. Is this design purposely? 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

[android-developers] Android - Make make surfaceview larger than parent

2012-01-10 Thread Alexander Davidson
I have a 'Portrait mode' tabbed based application that contains a
SurfaceView (with a camera preview on it) within one of the tabs. I have
been creating my camera code from the Android API Demos and I have it all
set-up working correctly bar one thing. The resulting camera preview is
stretched and scaled making the preview look off.

Ideally I want to render the SurfaceView at the native preview size defined
by the camera within the tab. However that would involve making the
contents of the tab larger than its parent! (Or rather larger than the
FrameLayout the tab activities are contained in).

How can I go about Achieving this?

Image of problem: http://img215.imageshack.us/img215/1152/problemle.jpg

-- 
-Alex Davidson (aldavid...@gmail.com)

-- 
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: Giving away my book: Genius Android Marketing

2012-01-10 Thread John-Marc Desmarais
I'll play.

Sign me up.
-jm

On Mon, Jan 9, 2012 at 3:45 PM, YuviDroid yuvidr...@gmail.com wrote:
 Looks very interesting! Count me in!  :)

 Yuvi


 On Mon, Jan 9, 2012 at 6:04 PM, PhotoSteve dfwgoph...@gmail.com wrote:

 Add me too...I'm so new to Android I don't even know what I don't know
 even to ask questions or how to phrase them right for you nice people
 to understand what I'm asking. Any help for the noob is great.

 Steve

 On Jan 5, 10:50 am, scp89 jayvanbui...@gmail.com wrote:
  I've recently finished writing the first full-length, android-specific
  book on Android Marketing. It covers tips, tricks, strategies,
  competitive analysis, and so much more. Everything I've learned in 2
  years selling android apps, I've put into this book. It is available
  via e-book OR softcover:
 
 
  E-book:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...
 
 
  Softcover:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...
 
  GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
  reply to this thread, and 1 week from today I will randomly select 3
  members and PM you a link to your free download of the 130 page book.

 --
 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




 --
 YuviDroid
 Check out Launch-X (a widget to quickly access your favorite apps and
 contacts!)
 http://android.yuvalsharon.net

 --
 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


[android-developers] How to optimize rendering speed in webview

2012-01-10 Thread Marco Schaer
Hi there,

Is there a possibility to enhance the rendering speed in the webview? With 
a simple javascript innerHTML it takes close to 1 second to display the 
content (10 divs). With IOS, exactly the same code is running swiftly and 
perfectly, even with less performant hardware.

Tested under Android: 2.3, 3.2, 4.0 (Desire HD, Galaxy Nexus, Galaxy Tab)
IOS: 4, 5 (iPhones 3s, 4)

Appreciate any good responses!

-- 
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

[android-developers] Android samples command line build error

2012-01-10 Thread Allan
I used the following command to create the ant build.xml file for the
SoftKeyboard sample:

android update project -s -n MyKeyBoard -t 10 -p K:\DEV\Andriod\samples
\android-15\SoftKeyboard

I run ant debug install, but I get BUILD FAILED?


-- 
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


[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread Igor Popov
Hi! Thank you for your generous offer :)

I would be very interested to read such a book!

-- 
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

[android-developers] Get MMS Info.

2012-01-10 Thread Lenbin
Hey guys,

 i'm working for Android MMS(APP Level).but i got some matters.

my code:
AndroidManifest.xml
   
  receiver
android:name=.SMSReceiver
android:permission=android.permission.BROADCAST_WAP_PUSH

intent-filter android:priority=1000 
action
android:name=android.provider.Telephony.WAP_PUSH_RECEIVED /

data android:mimeType=application/vnd.wap.mms-
message /
/intent-filter
/receiver

service android:name=.MMSNotificationService 
intent-filter 
action android:name=com.local.service.MMS /
/intent-filter
/service
  ...
uses-permission android:name=android.permission.RECEIVE_MMS /
uses-permission
android:name=android.permission.RECEIVE_WAP_PUSH /
uses-permission
android:name=android.permission.RECEIVE_BOOT_COMPLETED /
uses-permission android:name=android.permission.INTERNET /
uses-permission
android:name=android.permission.BROADCAST_WAP_PUSH/

My BroadcastReceiver:
public class SMSReceiver extends BroadcastReceiver {
private static final String action =
android.provider.Telephony.WAP_PUSH_RECEIVED;
@Override
public void onReceive(Context arg0, Intent arg1) {

if(arg1.getAction().equals(action)){
Intent startService=new Intent(com.local.service.MMS);
arg0.startService(startService);
}
}
}

but in my Services when MMS Coming

Cursor cursor = getContentResolver().query(Uri.parse(content://mms/
inbox), null, null,null, null);
the matter is :
cursor.getCount() = 0 always!


Cursor cPart = getContentResolver().query(Uri.parse(content://mms/
part),null, mid= + id, null, null);
the matter is :
cPart.getCount()  the count will be =0  always!

-- 
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


[android-developers] ImageView

2012-01-10 Thread abhijeet tomar
I have define a imageview  in main.xml and a image store in drawable
and set the path.Image is displaying properly on the screen but i
want, image working as a resizeable like map.when we using map then we
have stretch the map or zoom in map easily .How is it possible with
image view.

Thanks i 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


[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread nolanbri
I Just read the sample on the amazon site, im liking what i see, and
your right there is noother book which goes into this subject. Please
count me in forthe free book.

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


[android-developers] Re: emulator: WARNING: Unable to create sensors port: Unknown error

2012-01-10 Thread DougLeary
In my case the problem has nothing to do with the Hello app. The
emulator doesn't seem to fully start up. The command window gives the
unable to create sensors port warning and the emulator just sits
there displaying the ANDROID logo on a black background. The phone's
home screen never appears.

-- 
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


[android-developers] Looking for a helping hand

2012-01-10 Thread Keith
Can someone please tell me why I keep getting this error. This is
literally a copy of a working package and i do not understand how to
fix this. I have searched and read this error from logcat and have not
been able to relate.I am beneath novice and have been working on this
for 6 man hours.

01-09 18:47:55.245: E/AndroidRuntime(303): Caused by:
java.lang.ClassNotFoundException: go.to.bed3.ElectronicSafelocks in
loader dalvik.system.PathClassLoader[/data/app/go.to.bed3-1.apk]

package go.to.bed3;

import go.to.bed3.R.id;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ElectronicSafeLocks extends Activity {
/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

// Button 1
Button link1Btn = (Button)findViewById( id.button1 );
link1Btn.setOnClickListener( new View.OnClickListener()
{
public void onClick(View v)
{
Uri uri = Uri.parse( http://w3.securitytechnologies.com/Services
/TechSupport/Pages/home.aspx?ps=Electronic%20Securitypc=
Electronic%20Lockspl=AD-   Series%20Locks#  );
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
}
Button link1Btn = (Button)findViewById( id.button1 );
});
// Button 2
Button link2Btn = (Button)findViewById( id.button2 );
link2Btn.setOnClickListener( new View.OnClickListener()
{
public void onClick(View v)
{
Uri uri = Uri.parse( http://www.kaba-ilco.com/access_control/
literature/literature_grid_eplex.aspx?id=14  );
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
}
Button link2Btn = (Button)findViewById( id.button2 );
});
// Button 3
Button link3Btn = (Button)findViewById( id.button3 );
link3Btn.setOnClickListener( new View.OnClickListener()
{
public void onClick(View v)
{
Uri uri = Uri.parse( http://www.kaba-  ilco.com/access_control/
literature/literature_grid_
mechanical_pushbutton_locks.aspx?id=13 );
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
}
Button link3Btn = (Button)findViewById( id.button3 );
});
//Button 15
Button link15Btn = (Button)findViewById( id.button15 );
link15Btn.setOnClickListener( new View.OnClickListener()
{
public void onClick(View v)
{
Uri uri = Uri.parse(
http://consumer.schlage.com/Project%20Documents/P515-858.pdf; );
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
}
Button link15Btn = (Button)findViewById( id.button15 );
});
}}

main.xml

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent
android:orientation=vertical 

ScrollView android:id=@+id/ScrollView01
android:layout_width=fill_parent
android:layout_height=wrap_content

TableLayout
android:layout_width=fill_parent
android:layout_height=wrap_content
Button
android:id=@+id/button2
android:layout_width=fill_parent
android:layout_height=fill_parent
android:text=Kaba Eplex/
Button
android:id=@+id/button3
android:layout_width=fill_parent
android:layout_height=fill_parent
android:text=Kaba Push Button/
Button
android:id=@+id/button1
android:layout_width=fill_parent
android:layout_height=fill_parent
android:text=Schlage/Locknetics/
Button
android:id=@+id/button15
android:layout_width=fill_parent
android:layout_height=fill_parent
android:text=Schlage Residental BE365.PDF/
/TableLayout
/ScrollView
/LinearLayout

manifest.xml
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=go.to.bed3
android:versionCode=2
android:versionName=2 
uses-sdk android:minSdkVersion=8 /
uses-permission android:name=android.permission.INTERNET /
application
android:icon=@drawable/uglylock
android:label=@string/app_name android:debuggable=true 
activity
android:label=@string/app_name
android:name=go.to.bed3.ElectronicSafelocks 
intent-filter 
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
/manifest

logcat


01-09 18:46:43.334: I/Process(280): Sending signal. PID: 280 SIG: 9
01-09 18:47:55.183: D/AndroidRuntime(303): Shutting down VM
01-09 18:47:55.183: W/dalvikvm(303): threadid=1: thread exiting
with uncaught exception enter code here`(group=0x4001d800)
01-09 18:47:55.245: E/AndroidRuntime(303): FATAL EXCEPTION: main
01-09 18:47:55.245: E/AndroidRuntime(303): java.lang.RuntimeException:
Unable to`enter code here`instantiate activity
``ComponentInfo{go.to.bed3/go.to.bed3.ElectronicSafelocks}
:`enter code here`java.lang.ClassNotFoundException: go.to.bed3.
ElectronicSafelocks in loader`enter code
   `dalvik.system.PathClassLoader[/data/app/go.to.bed3-1.apk]
01-09 18:47:55.245: E/AndroidRuntime(303):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
01-09 18:47:55.245: E/AndroidRuntime(303):

[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread Jamel Toms
I would take a shot at it.

On Jan 5, 11:50 am, scp89 jayvanbui...@gmail.com wrote:
 I've recently finished writing the first full-length, android-specific
 book on Android Marketing. It covers tips, tricks, strategies,
 competitive analysis, and so much more. Everything I've learned in 2
 years selling android apps, I've put into this book. It is available
 via e-book OR softcover:

 E-book:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...

 Softcover:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...

 GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
 reply to this thread, and 1 week from today I will randomly select 3
 members and PM you a link to your free download of the 130 page book.

-- 
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


[android-developers] Animation in ExpandableListView

2012-01-10 Thread dileep
HI,

 How can i add animation effect in subitems of an
ExpandableListView

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


[android-developers] Problems about ICS multiparty or conference call

2012-01-10 Thread Wang Junju
Hi,

When you initiate a call, you can see the phone screen.

Now let's say you want to initiate another call (multiparty, or conference 
call) - you can type the new number, but the instant you hit the call button, 
the calling screen freezes and doesn't update anything (including the call 
timer). The screen buttons work - but nothing updates on the screen.

Hanging up works - but it'll hang up the second call (note - you can't choose 
which call you want to take right now cause the screen doesn't update, so 
you're stuck with the second call), and still no update on the screen.

Pressing hang up will hang up the original call - and everything is back to 
normal.

Do you guys face this problem too?

-- 
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


[android-developers] Android remove desktop shortcut

2012-01-10 Thread Live Happy
How can I make an android application remove it's desktop shortcut when the
user deletes the application? How can I make an android application that
does this automatically?
i use this code to add shortcut to the desktop :
 Intent shortcutIntent = new Intent(Intent.ACTION_MAIN);
 shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
 final Intent intent = new Intent();
 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent)
 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, myShortcut);
 intent.setAction(com.android.launcher.action.INSTALL_SHORTCUT);
so how can i delete this shortcut when user delete main application
 thanks for reply roid

-- 
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: adding menu to Linear layout

2012-01-10 Thread syed ali
 public boolean onCreateOptionsMenu(Menu menu) {
boolean result = super.onCreateOptionsMenu(menu);
menu.add(0, 1, 0, R.string.create_restaurant);
menu.add(0, 2, 0, R.string.create_customer);
menu.add(0, 3, 0, R.string.create_menu);
return result;
}


public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == 1) {
createRestaurantList();
return true;
}
if (item.getItemId() == 2) {
createCustomerList();
return true;
}
if (item.getItemId() == 3) {
createMenuList();
return true;
}
return super.onOptionsItemSelected(item);
}
try this u can get ur result

-- 
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


[android-developers] Android Market says that some devices not compatible with my app.

2012-01-10 Thread Vasily Laushkin
Hi,

I have a issue. If I install my app for some devices (for example Galaxy S 
II) this works correctly, but if I try to download my app from market I see 
a message that this app not compatible with this device.

My app build with API Level 7 and android:minSdkVersion defined as 7. I use 
native (JNI part) and build it for armeabi and armeabi-v7a.

Thanks for help!

-- 
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

[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread teodora papp
Thanks!

I'm sure this book will help a lot in marketing the apps, which is
more important than the technical development.
I'm interested in it.

Regards,
Teodora


On Jan 5, 6:50 pm, scp89 jayvanbui...@gmail.com wrote:
 I've recently finished writing the first full-length, android-specific
 book on Android Marketing. It covers tips, tricks, strategies,
 competitive analysis, and so much more. Everything I've learned in 2
 years selling android apps, I've put into this book. It is available
 via e-book OR softcover:

 E-book:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...

 Softcover:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...

 GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
 reply to this thread, and 1 week from today I will randomly select 3
 members and PM you a link to your free download of the 130 page book.

-- 
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


[android-developers] drag shadow

2012-01-10 Thread Skip
Hello everybody, let me ask you following:

I am creating a drag and drop application, what I want to do is
changing the drag shadow on the fly, while the dragging process is
happening. Is there any chance to do that?

-- 
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


[android-developers] Android File transfer / sharing APIs

2012-01-10 Thread San
Are there any file transfer or file sharing APIs available in Android.
Tried to look around but could not figure it out, which is why I am
asking this question on this forum.

-- 
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


[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread shadrxninja
Looks great!

-- 
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


[android-developers] multi level master detail with fragments

2012-01-10 Thread sell.bergstr
Hello all,

I am writing my first fully fragment-based app, which should show
multiple master/detail levels, basically as the google mail app does.
I did not find any applicable examples online, and my experiments so
far have failed, so I am asking this here:

My app is currently only targeting tablets with the ability to show
multiple fragments. It basically navigates 2 trees, switching between
the trees via tabs. Each tree has multiple levels, of which I want to
show 2 at a time. On the left side, there will be the usual list, and
on the right side there will be either some kind of list (if the leaf
level has not been reached), or some kind of leaf detail page.

My understanding so far is, that I will have to manage the position in
the tree, and the display of the appropriate fragments. This means the
activity will replace the fragment (remove + add) for the current
detail level, and reinitialize the left list fragment with new
content.

I started out by creating a layout XML with 2 fragments. I then went
on trying to replace them with other fragments when switching tabs.
With this, I get very strange results. When removing the details
fragment and adding a new one, the removed one still shows on screen.
When removing the left list fragment, I get a NullPointerException in
a paint routine that queries the removed list fragment for its
activity, which is null.

My question: is my overall approach correct? What am I doing wrong?
Can XML-based fragment layouts be manipulated in code via
fragmentTransaction? Does anyone know sample code for the kind of
scenario I am describing?

thanks in advance,
chris

-- 
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


[android-developers] Customize Home Screen

2012-01-10 Thread Reji Joseph
Hi,

I want to create an app which changes the home screen  after launch.
Home screen will be
screen with only the default icons. Contacts, texts, voicemails and
phone history would be blank. All texts and calls incoming would be
blocked as well.That Means this will act as a new profile . Can
anybody help 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


[android-developers] ContactsContract.RawContacts.SYNC2 can't be successfully updated on real device, works fine on SDK Emulator

2012-01-10 Thread mots
Hey, I have a weird problem: I'm writing timestamps into
ContactsContract.RawContacts.SYNC2 in my SyncAdapter and try to read
them out at a later point. But somehow, the update seems to not do
anything on my Galaxy Nexus (I've checked the db, it's empty). On the
emulator, everything works fine. Does anyone know what could cause
that or (even better) how to fix it?

This post at stackoverflow has more info as well as code snippets.
http://stackoverflow.com/questions/8780550/contactscontract-rawcontacts-sync2-is-always-null-on-real-device-works-fine-on

Would appreciate your help,
mots

-- 
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


[android-developers] Japanese application name garbles only when uploaded to the market

2012-01-10 Thread taizo shibuya
Dear all,

I would like to use Japanese character in the application name, which is 
defined in app_name in strings.xml.
When I transfer an apk file directly to the real device, the application 
name is fine. However, when I upload it to the market, 
the application name garbles and look like 

Is it known problem?

Best Regards,

-- 
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

[android-developers] need help in coding for animation

2012-01-10 Thread syam sanker


Hi,

   I'm developing a simple application in android.in that i require an
image to move from left to right.can anyone provide code for this.



Thanks

syam





-- 
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: Giving away my book: Genius Android Marketing

2012-01-10 Thread Elnoxvie Elnoxvie
Hi,

I am developing for a company with a feature app in the market but in
this growing market, Marketing becomes essential part of success. i would
love to learn more provided given the chance.

Thanks.

On Tue, Jan 10, 2012 at 9:16 AM, Samuel jrl...@gmail.com wrote:

 Hi,

 I'm interested to get that book.

 Thanks  God bless.

 Samuel

 On Jan 9, 7:32 pm, Ali Chousein ali.chous...@gmail.com wrote:
  I would happily read your book.
 
  -
  Ali Chouseinhttp://
 www.codeproject.com/KB/android/PayGol-Android.aspxhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddyhttp://geo-filtered-assistant.blogspot.comhttps://marketplace.cisco.com/apphq/products/994
 
  On Jan 5, 5:50 pm, scp89 jayvanbui...@gmail.com wrote:
 
 
 
 
 
 
 
   I've recently finished writing the first full-length, android-specific
   book on Android Marketing. It covers tips, tricks, strategies,
   competitive analysis, and so much more. Everything I've learned in 2
   years selling android apps, I've put into this book. It is available
   via e-book OR softcover:
 
   E-book:
 http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...
 
   Softcover:
 http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...
 
   GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
   reply to this thread, and 1 week from today I will randomly select 3
   members and PM you a link to your free download of the 130 page book.

 --
 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

[android-developers] C2DM Question

2012-01-10 Thread ken
We have some questions regarding the Android Cloud to Device Messaging
Framework (C2DM) services.



1.Regarding to enabling C2DM section in 
http://code.google.com/intl/zh-TW/android/c2dm/,



°ßIf the registration is successful, the C2DM server broadcasts a
REGISTRATION Intent which gives the application a registration ID.

The application should store this ID for later use. Note that Google
may periodically refresh the registration ID, so you should design
your application with the understanding that the REGISTRATION Intent
may be called multiple times. Your application needs to be able to
respond accordingly.°®



Can we know exactly how long may Google refresh the registration ID,
by one day or a week? And how can Google refresh the registration ID?
Or our application need to fire off a registration intent to C2DM
servers for refreshing the registration ID in a particular time?



2.When we send out our messages to C2DM servers (i.e.
https://www.google.com/accounts/ClientLogin), we found that the
connection speed varies and can differs by several times (from ~25
messages/seconds to ~100 messages/second).



Is the variation of connection speed to C2DM servers normal?

-- 
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


[android-developers] android.hardware.cts.CameraTest fail issue (testJpegThumbnailSize)

2012-01-10 Thread paul zeng
Hi All,

I am checking camera cts these days, and I meet one failed issue.
Would you please give me some suggestion to fix this issue.
Many Thanks!


/Test
Test endtime=Fri Jan 06 11:50:15 CST 2012
name=testJpegThumbnailSize result=fail starttime=Fri Jan 06
11:50:13 CST 2012
FailedScene message=junit.framework.AssertionFailedError at
android.hardware.cts.CameraTest.testJpegThumbnailSizeByCamera(CameraTest.java:
753)
StackTraceat
android.hardware.cts.CameraTest.testJpegThumbnailSizeByCamera(CameraTest.java:
753)
at
android.hardware.cts.CameraTest.testJpegThumbnailSize(CameraTest.java:
740)
at java.lang.reflect.Method.invokeNative(Native Method)
at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:
204)
at android.test.InstrumentationTestCase.access
$000(InstrumentationTestCase.java:36)
at android.test.InstrumentationTestCase
$2.run(InstrumentationTestCase.java:184)
at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:
1466)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
at
android.hardware.cts.CameraTest.testJpegThumbnailSizeByCamera(CameraTest.java:
753)
at
android.hardware.cts.CameraTest.testJpegThumbnailSize(CameraTest.java:
740)
at java.lang.reflect.Method.invokeNative(Native Method)
at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:
204)
at android.test.InstrumentationTestCase.access
$000(InstrumentationTestCase.java:36)
at android.test.InstrumentationTestCase
$2.run(InstrumentationTestCase.java:184)
at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:
1466)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
/StackTrace
/FailedScene
/Test

-- 
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


[android-developers] new Developer

2012-01-10 Thread Astik Patel
Helllo
languae known php,jquery
i m a starting in android developer
please help me for which software requirement for android application in


Thanks  regards
Astik patel

-- 
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

[android-developers] Problem with Android Market Filters

2012-01-10 Thread xavibq
Dear All,

I have some problems with Android Market filtering system. I have been
reading the documentation about Android Market Filters in
developer.android.com, and I suppose the problem is related with
screen or density restrictions.

The manifest of my application contains the following:
  uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION/
  uses-permission android:name=android.permission.INTERNET/
  uses-permission
android:name=android.permission.READ_PHONE_STATE/
  uses-permission android:name=android.permission.SEND_SMS/
  uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION/
  uses-permission
android:name=android.permission.ACCESS_COARSE_UPDATES/
  uses-permission android:name=android.permission.RECEIVE_SMS /

  uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE /
  uses-permission android:name=android.permission.WAKE_LOCK /
  uses-permission
android:name=android.permission.WRITE_EXTERNAL_STORAGE /
  uses-sdk android:minSdkVersion=7 /

Looking to this uses permissions it is clear that Android Market will
restrict the app to those devices which don't have either GPS, 3G/
WiFi, Telephony or SD storage.

However, I have a Motorola Xoom tablet (Android 3.1) which has all
these hardware capabilities and it is unable to see my app in the
Android Market.

I'm not declaring any supported screen by means of supports-screens
element, because when the android:minSdkVersion is set to 4 or higher,
the application is considered to support all screen sizes by default.
But my application is based on API level 7 and android:xlargeScreens
attribute doesn't appear until API level 9.

Any idea?

Thanks in advance.

Xavi Barrera Quintanilla

-- 
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


[android-developers] how to be a game developers in android

2012-01-10 Thread nomikhan
hi i am new in programming and i want to make a game for my final
project and i need help how i can start as i don't know any thing
about androids can u guide me how i can become a good game developers
in android. i will be very thankgul to you if u guide me and help me
for achieving my goal.

-- 
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


[android-developers] I want to start with Gis Application For Android... From where i should start???

2012-01-10 Thread ripal hiral
I want to start with Gis Application For Android...

From where i should start???
Which Api is required?  will it be done by GoogleApi or ArcgisApi Or
Any Other??

Just newbie in android. Somebody help me to find out how to make a
gis(Geographic Information System) application in android.

PLZ. Help Us...

-- 
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


[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-10 Thread skink


B.Arunkumar wrote:
 Hi,

 I was unable to understand your idea but I have implemented it in
 a different way. You can get the current thumb position from
 OnSeekBarChangeListener using sk.getProgress(). This can be translated
 into LayoutParams depending on the width and max progress you set for
 the seekbar.From the seekbar.OnTouchListener() you can get the
 position of the current touch event as touching the thumb or
 progressdrawable.

 Thank you,
 B.Arunkumar


too complicated, why don't you just override setThumb in your class
and store thumb drawable in some field?

-- 
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 File transfer / sharing APIs

2012-01-10 Thread Mukesh Srivastav
Hi San,

Can you answer below of the questions.

1. What type of file transfer you are looking for , i mean client server or
Direct Android client, if it is Direct Android client, you can use
FTPClient class.

2.File sharing: Facebook and Twitter api's are already there you can make
use of it.

3. The other soultion would be, have a  Server or middle tier (PHP) which
uploads  the files to the server. you need to use httpclient to send a
request to your php server.


Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.


On Tue, Jan 10, 2012 at 5:53 AM, San satof...@gmail.com wrote:

 Are there any file transfer or file sharing APIs available in Android.
 Tried to look around but could not figure it out, which is why I am
 asking this question on this forum.

 --
 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: webservice response parsed data

2012-01-10 Thread arun kumar
hey thanks for reply 


ArrayAdapterString adapter = new ArrayAdapterString(this,
android.R.layout.simple_list_item_1,items);

if i add like that am getting the below error...


The constructor ArrayAdapterString(Year, int, int,
ArrayListItemStructure) is undefined
On Tue, Jan 10, 2012 at 3:38 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 OMG, Arun, where are you setting the last parameter of the list.do you see
 the below example which i have shown in bold letters.

  ListAdapter adapter = new ArrayAdapterString(this,
 android.R.layout.simple_list_item_multiple_choice,*list*);

 The above list should be filled by your xml parser. hope you understand.

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


  On Tue, Jan 10, 2012 at 3:29 PM, arun kumar arun.kata...@gmail.comwrote:



 below is the xml file i has to show name and total in textview which am
 able to do but i has to show the Monthname in the list in next activity
 where am struck...so plzz can any one give guindance on this .





 NameAndMontotal
 item
 NameArjun/Name
 Total406/Total
 Unit$/Unit
 item

 Monthlist
 item
 MonthnameFEB/Monthname
 /item
 MonthnameMAR/Monthname
 /item
 itemMonthnameAPRI/Monthname
 /item
 item
 MonthnameMAY/Monthname
 /item

 --
 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: webservice response parsed data

2012-01-10 Thread Mukesh Srivastav
Arun,

fill your items with the data.



On Tue, Jan 10, 2012 at 3:59 PM, arun kumar arun.kata...@gmail.com wrote:

 hey thanks for reply 


 ArrayAdapterString adapter = new ArrayAdapterString(this,
 android.R.layout.simple_list_item_1,items);

 if i add like that am getting the below error...


 The constructor ArrayAdapterString(Year, int, int,
 ArrayListItemStructure) is undefined
 On Tue, Jan 10, 2012 at 3:38 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 OMG, Arun, where are you setting the last parameter of the list.do you
 see the below example which i have shown in bold letters.

  ListAdapter adapter = new ArrayAdapterString(this,
 android.R.layout.simple_list_item_multiple_choice,*list*);

 The above list should be filled by your xml parser. hope you understand.

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


  On Tue, Jan 10, 2012 at 3:29 PM, arun kumar arun.kata...@gmail.comwrote:



 below is the xml file i has to show name and total in textview which am
 able to do but i has to show the Monthname in the list in next activity
 where am struck...so plzz can any one give guindance on this .





 NameAndMontotal
 item
 NameArjun/Name
 Total406/Total
 Unit$/Unit
 item

 Monthlist
 item
 MonthnameFEB/Monthname
 /item
 MonthnameMAR/Monthname
 /item
 itemMonthnameAPRI/Monthname
 /item
 item
 MonthnameMAY/Monthname
 /item

 --
 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




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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

[android-developers] Re: Problem with Android Market Filters

2012-01-10 Thread patrick
Hello,

You use the SMS permission, so the telephony feature is by default set
to mandatory. As the Xoom doesnt have the telephony feature, it cant
see your app.

If you add uses-feature android:name=android.hardware.telephony“
android:required=false /  in your manifest, you should be able to
see your app.

Regards,
Patrick

On Jan 9, 10:34 am, xavibq xav...@gmail.com wrote:
 Dear All,

 I have some problems with Android Market filtering system. I have been
 reading the documentation about Android Market Filters in
 developer.android.com, and I suppose the problem is related with
 screen or density restrictions.

 The manifest of my application contains the following:
       uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/
       uses-permission android:name=android.permission.INTERNET/
       uses-permission
 android:name=android.permission.READ_PHONE_STATE/
       uses-permission android:name=android.permission.SEND_SMS/
       uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION/
       uses-permission
 android:name=android.permission.ACCESS_COARSE_UPDATES/
       uses-permission android:name=android.permission.RECEIVE_SMS /

       uses-permission
 android:name=android.permission.ACCESS_NETWORK_STATE /
       uses-permission android:name=android.permission.WAKE_LOCK /
       uses-permission
 android:name=android.permission.WRITE_EXTERNAL_STORAGE /
       uses-sdk android:minSdkVersion=7 /

 Looking to this uses permissions it is clear that Android Market will
 restrict the app to those devices which don't have either GPS, 3G/
 WiFi, Telephony or SD storage.

 However, I have a Motorola Xoom tablet (Android 3.1) which has all
 these hardware capabilities and it is unable to see my app in the
 Android Market.

 I'm not declaring any supported screen by means of supports-screens
 element, because when the android:minSdkVersion is set to 4 or higher,
 the application is considered to support all screen sizes by default.
 But my application is based on API level 7 and android:xlargeScreens
 attribute doesn't appear until API level 9.

 Any idea?

 Thanks in advance.

 Xavi Barrera Quintanilla

-- 
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


[android-developers] Activities

2012-01-10 Thread bt
Hi,

I have a problem I can't solve, please help me.

My application has an Activity A for example.

I have an activity D with dialog theme. This activity starts an other
activity with startActivityForResult.
I would like to open this activity D from an appwidget from the home
screen.

If I click on the widget then it is possible that D opens on the top
of A. I would like to avoid it but I
can't find a way to do that. FLAG_ACTIVITY_CLEAR_TASK cannot be used
because it needs API 11.

launchMode=singleInstance doesn't work because it doesn't enable to
call startActivityForResult.

Is there any way to launch D with a clear stack and to call
startActivityForResult from it?

Thanks,
Tamás

-- 
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


[android-developers] Re: [eclipse-adt plugin] How to make eclipse-adt graphical layout editor work independent of path

2012-01-10 Thread Dave
So in short my question is:
I like to be able to freely choose the location of res and assets
folders and AndroidManifest.xml file while the eclipse-adt plugin must
still work with that.

On 9 jan, 16:07, Dave dave.mahabiers...@hotmail.com wrote:
 Hello,
 it seems that the graphical layout editor of eclipse-adt only renders
 properly if the xml layout file is in the folder
 project root\res\layout

 I am using:
 Eclipse 3.7.1 maintenance build M20111214-1406
 JDK6_30
 eclipse-adt plugin ADT 16.0.1

 How can I make it work independent of the location of the folder
 e.g.
 project root\src\main\res\layout
 I see the graphical layout tab but is doesn't render well

 Same if I copy res to gen e.g.
 project root\src\main\res\layout
 and open an layout xml file with Open With Android Layout Editor
 I do see Graphical Layout tab but widgets of the graphical layout
 editor are uninitialized and layout of the xml file is not rendered.

 Can this be done by configuration or is it a bug/ not yet implemented
 feature in the eclipse-adt plugin?

 Any hints/ideas are welcome.

-- 
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: Giving away my book: Genius Android Marketing

2012-01-10 Thread Abhijeet Kinjawadekar
Hi
thanks for the offer...

Me too interested in that book

On Tue, Jan 10, 2012 at 8:43 AM, Elnoxvie Elnoxvie eln...@gmail.com wrote:

 Hi,

 I am developing for a company with a feature app in the market but in
 this growing market, Marketing becomes essential part of success. i would
 love to learn more provided given the chance.

 Thanks.


 On Tue, Jan 10, 2012 at 9:16 AM, Samuel jrl...@gmail.com wrote:

 Hi,

 I'm interested to get that book.

 Thanks  God bless.

 Samuel

 On Jan 9, 7:32 pm, Ali Chousein ali.chous...@gmail.com wrote:
  I would happily read your book.
 
  -
  Ali Chouseinhttp://
 www.codeproject.com/KB/android/PayGol-Android.aspxhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddyhttp://geo-filtered-assistant.blogspot.comhttps://marketplace.cisco.com/apphq/products/994http://www.codeproject.com/KB/android/PayGol-Android.aspxhttp://weatherbuddy.blogspot.com%7Chttp://twitter.com/weather_buddyhttp://geo-filtered-assistant.blogspot.comhttps://marketplace.cisco.com/apphq/products/994
 
  On Jan 5, 5:50 pm, scp89 jayvanbui...@gmail.com wrote:
 
 
 
 
 
 
 
   I've recently finished writing the first full-length, android-specific
   book on Android Marketing. It covers tips, tricks, strategies,
   competitive analysis, and so much more. Everything I've learned in 2
   years selling android apps, I've put into this book. It is available
   via e-book OR softcover:
 
   E-book:
 http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...
 
   Softcover:
 http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...
 
   GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
   reply to this thread, and 1 week from today I will randomly select 3
   members and PM you a link to your free download of the 130 page book.

 --
 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

[android-developers] hi

2012-01-10 Thread chowdary nani
Hi All,
I am working with json parsing
Following is my json object will please any one help me how to parse id
from that object in android

{data:[{id:38314877099_10150452362217100}]}


Thanks
Naveen

-- 
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] hi

2012-01-10 Thread Robinns
private void parseJson(String j){
  JSONObject jObj = new JSONObject(j);
 JSONArray jArray - jObj.getJSONArray(data);
for(int i=0;ijArray.length();i++){
   JSONObject post = jArray.getJSONObject(i);
  System.out.print(post.getString(id));
}

}

Hope it helps

On Tue, Jan 10, 2012 at 5:33 PM, chowdary nani naveenneeli...@gmail.comwrote:


 Hi All,
 I am working with json parsing
 Following is my json object will please any one help me how to parse id
 from that object in android

 {data:[{id:38314877099_10150452362217100}]}


 Thanks
 Naveen

 --
 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




-- 
Robin

-- 
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] hi

2012-01-10 Thread T.M.S.VIJAYKUMARR
Hi
 try like this
JSONObject jObject = new JSONObject(result);
JSONArray Array = jObject.getJSONArray(data);
String id = currentjobsArray.getJSONObject(0).getString(id);




On Tue, Jan 10, 2012 at 5:18 PM, chowdary nani naveenneeli...@gmail.comwrote:


 Hi All,
 I am working with json parsing
 Following is my json object will please any one help me how to parse id
 from that object in android

 {data:[{id:38314877099_10150452362217100}]}


 Thanks
 Naveen

 --
 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




-- 




-
Thanks  Regards,
T.M.S.VIJAYKUMARR
BloG:http://iamvijayakumar.blogspot.com/

-- 
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

[android-developers] Re: hi

2012-01-10 Thread skink


chowdary nani wrote:
 Hi All,
 I am working with json parsing
 Following is my json object will please any one help me how to parse id
 from that object in android

 {data:[{id:38314877099_10150452362217100}]}


 Thanks
 Naveen

http://developer.android.com/reference/org/json/JSONObject.html

pskink

-- 
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] Customize Home Screen

2012-01-10 Thread Mark Murphy
On Mon, Jan 9, 2012 at 7:41 AM, Reji Joseph rejijose...@gmail.com wrote:
 I want to create an app which changes the home screen  after launch.

Fortunately, this is not possible. While you are welcome to create a
home screen, the user will have to choose to make the app the home
screen. You cannot force a home screen upon a user.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.3
Available!

-- 
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] block application which tries to access internet

2012-01-10 Thread Mark Murphy
On Tue, Jan 10, 2012 at 3:21 AM, Suganya suganyalakshmana...@gmail.com wrote:
 i want block applications that are trying to access internet android.
 I should decide whether to allow the application to access internet or
 not..can i create an application like this

Fortunately, this is not possible, except perhaps on a rooted device
and/or with custom firmware.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.3
Available!

-- 
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] hi

2012-01-10 Thread T.M.S.VIJAYKUMARR
id array mean try this
JSONObject jObject = new JSONObject(result);
JSONArray Array = jObject.getJSONArray(data);
for(int i=0;iArray.length();i++){
   JSONObject post = Array.getJSONObject(i);
 String id = currentjobsArray.getJSONObject(i).getString(id);
}

*else*
JSONObject jObject = new JSONObject(result);
JSONArray Array = jObject.getJSONArray(data);
String id = currentjobsArray.getJSONObject(0).getString(id);


On Tue, Jan 10, 2012 at 5:27 PM, T.M.S.VIJAYKUMARR iamvijayaku...@gmail.com
 wrote:

 Hi
  try like this







 On Tue, Jan 10, 2012 at 5:18 PM, chowdary nani 
 naveenneeli...@gmail.comwrote:


 Hi All,
 I am working with json parsing
 Following is my json object will please any one help me how to parse id
 from that object in android

 {data:[{id:38314877099_10150452362217100}]}


 Thanks
 Naveen

 --
 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




 --




 -
 Thanks  Regards,
 T.M.S.VIJAYKUMARR
 BloG:http://iamvijayakumar.blogspot.com/







-- 




-
Thanks  Regards,
T.M.S.VIJAYKUMARR
BloG:http://iamvijayakumar.blogspot.com/
Mob.No:09048382536(Kerala)
Mob.No:09751076707(TN)

-- 
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] hi

2012-01-10 Thread chowdary nani
Hi Robinns

Thanks for your help
thanks for response.
your code help me a lot





On Tue, Jan 10, 2012 at 5:25 PM, Robinns librain.ro...@gmail.com wrote:

 private void parseJson(String j){
   JSONObject jObj = new JSONObject(j);
  JSONArray jArray - jObj.getJSONArray(data);
 for(int i=0;ijArray.length();i++){
JSONObject post = jArray.getJSONObject(i);
   System.out.print(post.getString(id));
 }

 }

 Hope it helps

 On Tue, Jan 10, 2012 at 5:33 PM, chowdary nani 
 naveenneeli...@gmail.comwrote:


 Hi All,
 I am working with json parsing
 Following is my json object will please any one help me how to parse id
 from that object in android

 {data:[{id:38314877099_10150452362217100}]}


 Thanks
 Naveen

  --
 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




 --
 Robin

 --
 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

[android-developers] plz help close application

2012-01-10 Thread Dhaval Varia
how can we close app/activity?

-- 
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

[android-developers] Re: hi

2012-01-10 Thread Robin Thapa
Glad it helped you but that piece of code is not helping me,
I have an error which says A JSONObject text must beging with {.

Its funny though.

On Jan 10, 5:03 pm, chowdary nani naveenneeli...@gmail.com wrote:
 Hi Robinns

 Thanks for your help
 thanks for response.
 your code help me a lot







 On Tue, Jan 10, 2012 at 5:25 PM, Robinns librain.ro...@gmail.com wrote:
  private void parseJson(String j){
    JSONObject jObj = new JSONObject(j);
   JSONArray jArray - jObj.getJSONArray(data);
  for(int i=0;ijArray.length();i++){
         JSONObject post = jArray.getJSONObject(i);
        System.out.print(post.getString(id));
  }

  }

  Hope it helps

  On Tue, Jan 10, 2012 at 5:33 PM, chowdary nani 
  naveenneeli...@gmail.comwrote:

  Hi All,
  I am working with json parsing
  Following is my json object will please any one help me how to parse id
  from that object in android

  {data:[{id:38314877099_10150452362217100}]}

  Thanks
  Naveen

   --
  You received this message because you are subscribed to the Google
  Groups Android Developers group. To post to this group, send email 
  toandroid-develop...@googlegroups.com
  To unsubscribe from this group, send email 
  toandroid-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  --
  Robin

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group. To post to this group, send email 
  toandroid-develop...@googlegroups.com
  To unsubscribe from this group, send email 
  toandroid-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: hi

2012-01-10 Thread Mark Murphy
On Tue, Jan 10, 2012 at 7:10 AM, Robin Thapa librain.ro...@gmail.com wrote:
 Glad it helped you but that piece of code is not helping me,
 I have an error which says A JSONObject text must beging with {.

That means you are not passing a JSON object to the JSONObject.
JSONObject parses JSON objects. If your JSON is an array, pass it to
JSONArray.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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


[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread sell.bergstr
congratulations to this plot to push your self-advertising post
without putting hands to it. Really neat. Count me in, too

-- 
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] plz help close application

2012-01-10 Thread Mark Murphy
On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com wrote:
 how can we close app/activity?

Your activity can close itself by calling finish().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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


[android-developers] Re: new Developer

2012-01-10 Thread sell.bergstr
why dont you start with reading the android docs? Theres plenty.

-- 
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] plz help close application

2012-01-10 Thread Ankit Kasliwal
just put
android.os.Process.killProcess(android.os.Process.myPid());
to close all activity related with your appliction

On Tue, Jan 10, 2012 at 4:19 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com
 wrote:
  how can we close app/activity?

 Your activity can close itself by calling finish().

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 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




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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

[android-developers] Re: How to make eclipse-adt graphical layout editor work independent of path

2012-01-10 Thread sell.bergstr
simple answer: no way. Resources have their fixed place for android,
and eclipse goes with that, obviously

-- 
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


[android-developers] hi all

2012-01-10 Thread chowdary nani
Hi All,
I am working with json parsing
Following is my json object will please any one help me how to parse id
from that object in android

 {data:[{id:38314877099_10150452362217100,from:{name:Incipio
Technologies}}]}


Thanks
Naveen

-- 
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

[android-developers] Hi

2012-01-10 Thread chowdary nani
chowdary nani
6:01 PM (0 minutes ago)

to android-develo.
Hi All,
I am working with json parsing
Following is my json object will please any one help me how to parse name
from that object in android

 {data:[{id:38314877099_
10150452362217100,from:{name:Incipio Technologies}}]}


Thanks
Naveen

-- 
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: hi

2012-01-10 Thread Robinns
Its a JSONArray and i got it.
Thanks
Mark Murphy

On Tue, Jan 10, 2012 at 6:03 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Jan 10, 2012 at 7:10 AM, Robin Thapa librain.ro...@gmail.com
 wrote:
  Glad it helped you but that piece of code is not helping me,
  I have an error which says A JSONObject text must beging with {.

 That means you are not passing a JSON object to the JSONObject.
 JSONObject parses JSON objects. If your JSON is an array, pass it to
 JSONArray.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 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




-- 
Robin

-- 
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: Giving away my book: Genius Android Marketing

2012-01-10 Thread Christopher Van Kirk

Genius marketing indeed.

Count me in also.

On 1/10/2012 8:19 PM, sell.bergstr wrote:

congratulations to this plot to push your self-advertising post
without putting hands to it. Really neat. Count me in, too



--
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


[android-developers] Re: Difference between fragment add and replace

2012-01-10 Thread Doug Gordon
Yes I did, and it is not clear why I would want to use one vs. the
other in many cases since the end behavior seems to be the same. The
add method also implies that you're adding the fragment to the
activity, whereas replace talks about removing and adding to the
container.

In general, the Android documentation is good, but sometimes
inconsistent in terminology when read closely.

On Jan 9, 11:38 am, TreKing treking...@gmail.com wrote:
 On Mon, Jan 9, 2012 at 9:27 AM, Doug Gordon gordo...@gmail.com wrote:
  So what is the difference behind the scenes between these two methods?

 Did you try reading the documentation for each function ... ?

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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] plz help close application

2012-01-10 Thread Mark Murphy
On Tue, Jan 10, 2012 at 7:24 AM, Ankit Kasliwal
kasliwalankit2...@gmail.com wrote:
 just put
 android.os.Process.killProcess(android.os.Process.myPid());
 to close all activity related with your appliction

Please do not use this in production applications.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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: hi

2012-01-10 Thread chowdary nani
Hi Robin,
i again need small help

in the same thing i.e, to parse name from this object


 {data:[{id:38314877099_10150452362217100,from:{
name:Incipio Technologies}}]}



Thanks
Naveen.




-- 
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: hi

2012-01-10 Thread Ricardo Santos
I would suggest you to use a regular expression and create a String array
from the input String, so you can get whatever you want from the array.

It has been a while since I used this technique, but I believe this link
will help:

http://www.regular-expressions.info/java.html

On Tue, Jan 10, 2012 at 10:48 AM, chowdary nani naveenneeli...@gmail.comwrote:

 Hi Robin,
 i again need small help

 in the same thing i.e, to parse name from this object


  {data:[{id:38314877099_10150452362217100,from:{
 name:Incipio Technologies}}]}



 Thanks
 Naveen.



  --
 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: hi

2012-01-10 Thread Mark Murphy
Use JSONObject.

On Tue, Jan 10, 2012 at 7:48 AM, chowdary nani naveenneeli...@gmail.com wrote:
 Hi Robin,
 i again need small help

 in the same thing i.e, to parse name from this object


  {data:[{id:38314877099_10150452362217100,from:{
 name:Incipio Technologies}}]}



 Thanks
 Naveen.



 --
 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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


[android-developers] Sony Ericsson Smart Extension SDK for SmartWatch and Smart Wireless Headset pro

2012-01-10 Thread Johan Abramsson
Hi Developers out there,
Last night we at Developer World released the Smart Extension SDK
which you can use to develop Android applications for accessories
supporting the Smart Extras API. As of today that is SmartWatch and
Smart Wireless Headset pro.

To download and get more information please see:
http://developer.sonyericsson.com/wp/2012/01/10/new-smart-extras-announced-and-a-new-sdk-to-create-apps-for-them/

Feel free to drop comments and questions about the Smart Extensions
SDK in this thread. We will monitor and try to answer questions as
soon as possible.

Kind regards
  /Johan, Developer World

-- 
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


[android-developers] Re: new Developer

2012-01-10 Thread Robert Massaioli
Here is where you should start: 
http://developer.android.com/guide/basics/what-is-android.html

Follow that and it gives you everything that you need to know.

-- 
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: hi

2012-01-10 Thread skink


chowdary nani wrote:
 Hi Robin,
 i again need small help


again, read this:

http://developer.android.com/reference/org/json/JSONObject.html

pskink

-- 
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: Difference between fragment add and replace

2012-01-10 Thread TreKing
On Tue, Jan 10, 2012 at 6:44 AM, Doug Gordon gordo...@gmail.com wrote:

 Yes I did, and it is not clear why I would want to use one vs. the
 other in many cases since the end behavior seems to be the same.


In your particular use case perhaps. I have not used Fragments yet, but
reading the description implies to me that if you add() you are leaving the
exist list of Fragments in a given container within the Activity alone and
adding your new Fragment to that list. With replace() you are wiping the
container of all its existing Fragments and replacing them all with your
new Fragment.

I could very well have that wrong. This shouldn't be too hard for you to
verify if you're already working with Fragments.


  The add method also implies that you're adding the fragment to
 the activity, whereas replace talks about removing and adding to
 the container.


It says Add a fragment to the activity state. Not the Activity itself but
its state.
This fragment may optionally also have its view (if
Fragment.onCreateViewhttp://developer.android.com/reference/android/app/Fragment.html#onCreateView(android.view.LayoutInflater,%20android.view.ViewGroup,%20android.os.Bundle)
returns
non-null) into a container view of the activity.

So you also have the option to place the Fragment in a specific container.
Then if you use replace() specifying that container, those Fragments in
that container would go away.

Again, I haven't used Fragments and that's just what I'm gathering from
reading the function definitions. YMMV. You should be able to test this.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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

[android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread niko20

Well i did buy the book. A lot of it I already knew from studying
other marketing books. But it was still pretty good and has a nice
honest frankness style. Some spelling errors here and there but that
isnt a big deal. Good work.



-niko20

On Jan 10, 6:42 am, Christopher Van Kirk
christopher.vank...@gmail.com wrote:
 Genius marketing indeed.

 Count me in also.

 On 1/10/2012 8:19 PM, sell.bergstr wrote:







  congratulations to this plot to push your self-advertising post
  without putting hands to it. Really neat. Count me in, too

-- 
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


  1   2   >