Re: [android-developers] how to get info from a clicked textView?

2012-05-08 Thread Shah Faizal CJ
set on click listener to the text  that enough

On 5/8/12, Andreas Bratfisch  wrote:
> Simply implement a ArrayList with all your TextViews included,
> ArrayLists does have fast access through Iterators, this is the way
> as GridViews are working with. In your TableView add the TextViews
> with the index parameter and get the TextView with the index.
> Give your TextView the index key as tag and later you know what index
> you have to get from your ArrayList.
>
> Another idea i have is to implement a ArrayAdapter, its the same way.
>
> Its a idea only, no clue if its fast enough ;)
>
>
> -Ursprüngliche Nachricht-
> From: Eran
> Sent: Monday, May 07, 2012 6:14 PM
> To: Android Developers
> Subject: [android-developers] how to get info from a clicked textView?
>
> i set up a TagActivity that has 4 tags, each tag sets the content of
> a large tableView that holds about 15 textViews
>
> Im trying to find a way to get the tag info aswell as the textView
> info as a return String
> now i can basicly compare all of the 60 ids one by one, but it seems
> too long. is there any other way?
> there was no getText from the selected view, and i cant do much with
> the id unless i compare it to the r.id
>
> so how can i know which textView i'v clicked?
>
> --
> 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] working on certificates

2012-05-08 Thread chowdary nani
Hi all,
I am working on parsing the xml feed . My xml file is in secure server
for parsin this secure xml feed i need to add certificates
i have added the certificates to my activty
but i am unable to get response from  xml feed but getting ssl error

following is my code

String shopapi = "
https://api.shopvisible.com/ProductService.asmx/CreateBasicProduct?ClientName=IncipioBespoke&guid=fa63b21c-115a-e011-96ff-0026b95352bb&InboundProductXML=%3CProduct%3E%3CProductPartNo%3EBCC-IPH-5449%3C/ProductPartNo%3E%3CProductUPC%3Ebespoke%3C/ProductUPC%3E%3CProductCode%3Ebespoke%20Custom%20Case%3C/ProductCode%3E%3CName%3ECustomized%20Case%3C/Name%3E%3CBrand%3E23%3C/Brand%3E%3CSubCategory%3E1%3C/SubCategory%3E%3CImageName%3Ehttp://ncpo.cc/android/bespokecaseimages/6409072.jpg%3C/ImageName%3E%3CPrice%3E29.99%3C/Price%3E%3COrderable%3Etrue%3C/Orderable%3E%3CQuantity%3E50%3C/Quantity%3E%3CWeight%3E0.0%3C/Weight%3E%3CSubWeight%3E3%3C/SubWeight%3E%3CCustomText%3E%3C/CustomText%3E%3CXtra2%3E%3C/Xtra2%3E%3C/Product%3E
";
URL sourceUrl = new URL(shopapi);




/**
 * Create handler to handle XML Tags ( extends
DefaultHandler )
 */
try {

XmlhandlerForShopapi myXMLHandler = new
XmlhandlerForShopapi();
Log.d("sdfgf", "shopapi   1" + shopapi);
xr.setContentHandler(myXMLHandler);
Log.d("sdfgf", "shopapi 2" + shopapi);
xr.parse(new InputSource(sourceUrl.openStream()));
Log.d("sdfgf", "shopapi3" +
shopapi);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}



please anyone help me

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] Re: MapView - getMapCenter() not accurate?

2012-05-08 Thread Schurl
Thank you for the answer. But i don't understand why the circle in my 
example moves when i scroll horizontal when i call getMapCenter() at every 
draw() call.

On Wednesday, May 2, 2012 4:52:56 PM UTC+2, Schurl wrote:
>
> Hi, 
>
> I'll try to break down my problem to a simple example. I tried to draw 
> a circle which stays exactly in the middle of the view. For this i 
> used the following code in the draw method of my Overlay: 
>
>  
>
> GeoPoint mapCenter = mapView.getMapCenter(); 
> Projection projection = mapView.getProjection(); 
>
> int centerLat = mapCenter.getLatitudeE6(); 
> int centerLong = mapCenter.getLongitudeE6(); 
>
> Point pCircleCenter = new Point(); 
>
> GeoPoint circleCenter = new GeoPoint(centerLat, centerLong); 
>
> projection.toPixels(circleCenter, pCircleCenter); 
>
> canvas.drawCircle(pCircleCenter.x, pCircleCenter.y, 30, testPaint); 
>
> - 
>
> When i run the code the circle is exactly in the middle of the screen. 
> It also stays in the mid when i scroll vertical but when i scroll 
> horizontal the circle moves slightly in the scrolled direction. The 
> circle is completely out of position after a few scrolls instead of 
> staying in the mid. 
>
> (This is just a simplified version of my problem but i need to get the 
> mid this way instead of just sticking it to the middle of the view.)

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

[android-developers] Sync contacts

2012-05-08 Thread Tarilo
Hi
 
We need to implement a contact sync. When a contact is adden on the phone 
or updated, we need to make action. This is implemented by whatsapp. I read 
about intents.
 
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] Fwd: Video Live streaming between android devices

2012-05-08 Thread kavitha chidambaram
-- Forwarded message --
From: kavitha chidambaram 
Date: Tue, May 8, 2012 at 12:04 PM
Subject: Video Live streaming between android devices
To: android-developers@googlegroups.com


Hi,
 I am trying to implement video live streaming between android
devices. Can I get any idea.. Darwin streaming server for PC to mobile,
same thing can i do it between android devices.
Thanks in advance.
Regards,
Kavitha

-- 
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: List in appwidget going blank suddenly, Error in updateMetaData

2012-05-08 Thread arne.jans
By looking at the ICS-code, this error suggests you have a 
nullpointerexception somewhere in your RemoteViewsFactory.

Am Samstag, 9. Juli 2011 16:58:24 UTC+2 schrieb Padma:
>
> This issue is mainly coming up when the RemoteViewsService is killed 
> automatically by android. And when we change the orientation from 
> portrait to landscape or vice versa, the RemoteViewsService is getting 
> created, the RemoteVIewsFactory is getting instantiated. 
> However the getViewsAt is not getting called. 
>
> And in the logs, I am seeing the error: 
>
> Error in updateMetaData: null 
>
> Could anyone please help me with this issue. 
>
> On Jul 7, 5:55 pm, Padma  wrote: 
> > Hi, 
> > 
> > I have created an appwidget with a listview on Honeycomb 3.1. I am 
> > using the RemoteViewsService and RemoteViewsFactory. However sometimes 
> > I see that the listview suddenly becomes empty. The logs dont have 
> > anything specific to my application. However I see the following in 
> > the logs: 
> > 
> > E/RemoteViewsAdapter(  873): Error inupdateMetaData: null 
> > 
> > Did anyone see a similar issue previously? If so, could you please 
> > suggest a solution to this. 
> > 
> > Regards, 
> > Padma.

-- 
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 Proguard scheme breaks Log message removal

2012-05-08 Thread Eric Lafortune
Removing Log calls still works for me. You have to make sure
optimization is not disabled though (as is done by default in the SDK
tools rev. 19). Also, the current version of ProGuard might not
optimally remove all code in the arguments of the Log calls (like
String concatenations).

Eric

On 23 apr, 21:33, jtoolsdev  wrote:
> One of the techniques that I have been using to remove Log messages is to
> use:
>
> -assumenosideeffects class android.util.Log {
>     public static int v(...);
>     public static int i(...);
>     public static int w(...);
>     public static int d(...);
>
> }
>
> This is a very useful way of leaving Log messages intact until you ship.
> So according to the instructions for the new way of using Proguard I put
> the above in the proguard-project.txt file.  For some reason it no longer
> removes the calls to Log.  To be sure that the proguard-project.txt
> commands got processed I added a line of junk afterwards and indeed
> Proguard stopped on that line issuing an error.  So why isn't this working
> any more?

-- 
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: All APK has cracked by apkcracks.net

2012-05-08 Thread Eric Lafortune
We're finishing up an Android-specific tool that goes further than
ProGuard. It should become available in the coming few weeks.

Eric (developer of ProGuard)

On 6 mei, 12:43, Jxn  wrote:
> > They could do much better than usingProguard.
>
> Any suggestions on a better tool?

-- 
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] client server socket: a beginners question

2012-05-08 Thread kavitha chidambaram
Hi,
  I am trying streaming live video between android phones using
darwin server.
can you give idea?
Thanks in advance...
Regards,
Kavitha
On Wed, Apr 18, 2012 at 2:48 PM, ikimattsu noob wrote:

> Hello everyone,
> im terribly sorry if this happens to be a repost.
> Im new to android development and i have been assigned a project
> about  live video streaming fron android to a server.
> My question is very simple:
> In theory you need to run the server java file before running the
> client side. But if u are using wowza or dss.. Is there a need to have
> a server side in the java file?
> Also can VLC be my server without having to use the precedent two? If
> so, can you tell me how?
> Thank you very much.
> 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

-- 
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: live video streaming

2012-05-08 Thread kavitha chidambaram
Hi,
   I am trying the same thing, got any idea? can we use Darwin
streaming server for streaming live video between android phone.
Thanks,
Kavitha

On Thu, Apr 19, 2012 at 8:45 AM, Hassan  wrote:

> Luis Tiago  gmail.com> writes:
> Hi all,
> > >   i need help on live video streaming. I want to do the following
> > > things in live video streaming.
> > >   1. I want to broadcast the live video which is recording by camera
> > > from one android mobile directly to a particular ip address.
> > >  2. now i want to play that video to another android mobile from that
> > > ip address without storing that video.
>  I have to do the same in my project.If you have done this so kindly 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

[android-developers] Re: [Android LVL] Sporadic false negatives on client devices

2012-05-08 Thread albnok
I get this on my own app, also having LVL. Quite embarrassing to try to 
demonstrate the app to a friend and then it occasionally says that my copy 
is not licensed - I have purchased it (since it was published using a 
different account.)


On Monday, May 7, 2012 9:07:23 PM UTC+8, Florin wrote:
>
> Hello, 
>
> I have an Android developer account and a couple of paid apps 
> published on the Market since a while now. I have decided to use 
> Android LVL for copy protection from the start on all of my apps, I 
> found it pretty straightforward to use so I told myself why not? extra 
> security is better than no security, right? 
>
> However, after almost one year since my apps have been out in the 
> wild, I keep getting from time to time unsatisfied customers which 
> after purchasing one app constantly get NOT_LICENSED replies from 
> Android licensing servers. And I'm not talking only about occasional 
> NOT_LICENSED caused either by lack of network coverage etc. but about 
> clients which try for days and days(yes, there are clients like this, 
> and they are right, since they paid for their apps!) and still get 
> NOT_LICENSED. 
>
> Now, here goes my questions: 
> 1) For Android dev and apps publishers out there: have you noticed any 
> wave of false negatives complaints from your clients lately? The above- 
> mentioned symptom occurs in my case since the beginning, but since 2 
> weeks now it happens at a much higher frequency. 
> 2) For any Google representative who might see this: are there any 
> kind of License Validation statistics on the Android Licensing server 
> side? Like for instance validation attempts per application, with 
> timestamp and Android Market client version and client ID(not email 
> for security reasons but "something")?  And with some extra message 
> giving a reason for NOT_LICENSED?(apart the obvious didn't buy reason, 
> could there be others?) 
> I think this should be implemented at LVL level and not at app level 
> due to permissions requirement(an app implementing statistics would 
> definitely require network access which for some apps does not 
> justify). So, can we have access to these statistics? If not now, 
> maybe sometimes in the future? 
>
> Florin.

-- 
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: Custom UI rotating control

2012-05-08 Thread albnok
I've written something like this before - you want a few icons arranged in 
a circle, and each icon is clickable?

I created a custom layout, extending the ViewGroup, overriding onMeasure 
and onLayout. In the Activity I made a listener that implements 
View.OnTouchListener. It checks if the area which you've touched is within 
the 'donut' which the icons circle around.

I assume you want to click on the icon, if you touch the icon and have not 
moved more than 10 pixels (Pythagoras distance) when you detect 
MotionEvent.ACTION_UP.

However I have not resumed work on this and it is closed source since it 
was developed for my employer. I'm not sure how you'd continue animating it 
when you fling it.

On Monday, May 7, 2012 4:51:38 AM UTC+8, Bernie Eng wrote:
>
> Does anyone have any ideas on how to create a rotating control? Something 
> that looks like this: 
> http://www.raywenderlich.com/9864/how-to-create-a-rotating-wheel-control-with-uikit
>
> I came across 2 blog posts which is pretty close to what I need but, not 
> quite:
>
>- 
>
> http://mindtherobot.com/blog/534/android-ui-making-an-analog-rotary-knob/and
>- 
>
> http://mobile.tutsplus.com/tutorials/android/android-sdk-creating-a-rotating-dialer/
>
> The first one doesn't really animate when rotating, and while the second 
> one does animate, it uses one large bitmap and rotates it. Because the 
> control I'm looking for should actually be container for a few buttons 
> (they each need to react to clicks), I can't really use one large bitmap. 
>
>

-- 
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] Voice recognition

2012-05-08 Thread anup Jaipurkar
Hi Venkat,
Even I am getting the same error on emulator.
Most probably it will work on the actual device. Not sure though.

On Mon, Apr 30, 2012 at 8:12 PM, venkat v  wrote:

> Hi,
> I'm developing an application based in Text to Speech and Speech to Text
> using Eclipse and I tried by getting code, VoiceRecognition.java from
> developer website. But it Says the
> message "Recognizer not present".
>
> Is it possible to convert Speech to Text?
> 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

-- 
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] Voice recognition

2012-05-08 Thread Narendra Singh Rathore
On Mon, Apr 30, 2012 at 8:12 PM, venkat v  wrote:

> Hi,
> I'm developing an application based in Text to Speech and Speech to Text
> using Eclipse and I tried by getting code, VoiceRecognition.java from
> developer website. But it Says the
> message "Recognizer not present".
>
> Is it possible to convert Speech to Text?
> Can anybody help me?
>

Yes, I guess NDK will help you out.
Try searching pocket Sphinx.
I hope that will help you, getting what you need.

-- 
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: why am I receiving location updates without WakeLock if the device is put to sleep?

2012-05-08 Thread lbendlin
your location provider is network. Network means WiFi or cellular.  One of 
the two is on while the device is asleep, and possibly you have another 
application that uses location updates (so you may be getting them 
passively)

On Monday, May 7, 2012 2:32:25 AM UTC-4, ste1024 wrote:

> In developing an app that needs to get periodic location fixes, I ran 
> across several issues that are unclear to me.
>
> The application currently does not use any WakeLocks.
> Yet even if the device is put to sleep (e.g. via pressing the power 
> button), I seem to be able to get location fixes.
>
> I have built a counter into the app that increments on each location fix.
> I reset the counter, press the power button power to put the device to 
> sleep, move it to a differen location and let it sit there for several 
> minutes.
> After several minutes I come back, wake up the device and check the 
> counter. And it often is not zero, but shows that multiple location updates 
> were received while it was supposed to be "sleeping".
>
> Location provider is network, update distance and interval are 1 meter / 1 
> minute.
> The device (HTC Desire HD with Android 2.3.5) has no SIM card. WiFi is 
> enabled and the device is _not_ connected via USB
> (USB debugging is enabled, though).
>
> So my first question is: why does this happen without a WakeLocks being 
> held?
>
> Also on the topic of WakeLocks, assuming the first issue has been cleared 
> up and I really have to use WakeLocks:
> Can I have something that periodically wakes up the CPU to get a new 
> location fix, keeps the device awake while we try to get the fix
> (or until a max. timeout has been reached), then goes back to sleep, then 
> wakes up later, gets the next fix, sleeps, etc.?
> Or do I have to hold the WakeLocks all time (which I can imagine has 
> adverse effects on battery life)?
>
>

-- 
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: [Android LVL] Sporadic false negatives on client devices

2012-05-08 Thread Kostya Vasilyev
Not specifically a NOT_LICENSED response, but I recently had two users 
where the LVL check was consistently, repeatedly timing out.


My LVL code is basically stock, based on next-to-last LVL version.

Based on logcat traces (both users were kind enough to provide these), 
my code was able to request Market license checks just fine, but there 
was no answer of any kind within the standard 15 second timeout.


Both users recently received official 4.0.* firmware upgrades, and both 
have other devices with the same Google account configured in Market.


Go figure.

-- K

08.05.2012 14:28, albnok ???:
I get this on my own app, also having LVL. Quite embarrassing to try 
to demonstrate the app to a friend and then it occasionally says that 
my copy is not licensed - I have purchased it (since it was published 
using a different account.)



On Monday, May 7, 2012 9:07:23 PM UTC+8, Florin wrote:

Hello,

I have an Android developer account and a couple of paid apps
published on the Market since a while now. I have decided to use
Android LVL for copy protection from the start on all of my apps, I
found it pretty straightforward to use so I told myself why not?
extra
security is better than no security, right?

However, after almost one year since my apps have been out in the
wild, I keep getting from time to time unsatisfied customers which
after purchasing one app constantly get NOT_LICENSED replies from
Android licensing servers. And I'm not talking only about occasional
NOT_LICENSED caused either by lack of network coverage etc. but about
clients which try for days and days(yes, there are clients like this,
and they are right, since they paid for their apps!) and still get
NOT_LICENSED.

Now, here goes my questions:
1) For Android dev and apps publishers out there: have you noticed
any
wave of false negatives complaints from your clients lately? The
above-
mentioned symptom occurs in my case since the beginning, but since 2
weeks now it happens at a much higher frequency.
2) For any Google representative who might see this: are there any
kind of License Validation statistics on the Android Licensing server
side? Like for instance validation attempts per application, with
timestamp and Android Market client version and client ID(not email
for security reasons but "something")?  And with some extra message
giving a reason for NOT_LICENSED?(apart the obvious didn't buy
reason,
could there be others?)
I think this should be implemented at LVL level and not at app level
due to permissions requirement(an app implementing statistics would
definitely require network access which for some apps does not
justify). So, can we have access to these statistics? If not now,
maybe sometimes in the future?

Florin.

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


--
Kostya Vasilyev

--
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] Sync contacts

2012-05-08 Thread asheesh arya
juzz go thru this link might be it helpful to you.
http://www.pocketmagic.net/?p=1864

-- 
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] Voice recognition

2012-05-08 Thread asheesh arya
just go through this link
http://developer.android.com/resources/samples/TtsEngine/index.html

-- 
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: Allow button inside listview to be clickable

2012-05-08 Thread Juliano Nunes
Outside a listview it works on both XML layout file and java code.


On Tuesday, May 8, 2012 1:56:36 AM UTC-3, Zsolt Vasvari wrote:
>
> Is the same Drawable shows a button clicked OUTSIDE of a list view? 
>  Because I have many list views with buttons and I don't have any problems 
> showing state changes.
>
> On Tuesday, May 8, 2012 6:55:48 AM UTC+8, Juliano Nunes wrote:
>>
>> The click event is occurring as I tested with a toast message.
>>
>> The problem seems to be with Background Resource.
>>
>> Here is the code that I use to create the button:
>>
>> Button button = new Button(this.mContext);
>> button.setId(1+columnIndex);
>> button.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 20);
>> button.setGravity(Gravity.CENTER);
>> button.setText(item);
>> button.setLayoutParams(new 
>> ViewGroup.LayoutParams(LayoutParams.WRAP_CONTENT, 
>> LayoutParams.WRAP_CONTENT));
>> button.setBackgroundDrawable(this.mButtonBackground);
>> button.setTextColor(Color.WHITE);
>> button.setClickable(true);
>> button.setFocusable(true);
>> button.setOnClickListener(new OnClickListener() {
>> 
>> public void onClick(View arg0) {
>> Toast toast = Toast.makeText(arg0.getContext(), 
>> "Clicked", 5);
>> toast.show();
>> 
>> }
>> });
>> container.addView(button);
>>
>> Here is how I get the drawable:
>> this.mButtonBackground = 
>> this.mResources.getDrawable(R.drawable.schedule_button);
>>
>>
>> And here is the code from schedule_button.xml:
>>
>> 
>> http://schemas.android.com/apk/res/android";>
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> 
>>
>>
>> How can I give any visual feedback to the button's click event?
>>
>>
>> Thanks.
>>
>>
>>
>> On Monday, May 7, 2012 1:30:31 PM UTC-3, MagouyaWare wrote:
>>>
>>> The problem is, the button is not clickable and doesn't change its state 
 (at least visually as configured on Background Resource).

>>>
>>>- Try setting the android:focusable and android:focusableInTouchMode 
>>>attributes to false.  
>>>- Also, have you verified the button is not clickable?  Put a simple 
>>>click listener on the button that displays a toast message to be sure... 
>>> It 
>>>may just be a problem with your background resource.  
>>>- Lastly, it may be a problem with having a horizontal scrolling 
>>>widget inside a vertically scrolling widget but again, I'm not sure 
>>> about 
>>>that.  The horizontal scrollview may be stealing the touch events from 
>>> the 
>>>buttons...
>>>
>>>
>>> Thanks,
>>> Justin Anderson
>>> MagouyaWare Developer
>>> http://sites.google.com/site/magouyaware
>>>
>>>
>>> On Mon, May 7, 2012 at 10:13 AM, Raffaele Sgarro <
>>> raffaelesga...@gmail.com> wrote:
>>>
 If I understand correctly, you should simply add 
 android:clickable="true" to your list item

 On Monday, May 7, 2012 3:43:31 PM UTC+2, Juliano Nunes wrote:
>
> Hi,
>
> I needed to create kind of a sub-list that allows horizontal 
> scrolling, so I created the following structure inside my ListViewItem 
> template:
>
> 
> 
> 
>
>
> 
> 
>
> And I added dynamically several buttons to this LinearLayout 
> (schedule_minutes), which uses a Background Resource to indicate the 
> button 
> state. The problem is, the button is not clickable and doesn't change its 
> state (at least visually as configured on Background Resource).
>
> How can I fix 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

>>>
>>>

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

2012-05-08 Thread Tarilo
Hi
 
We need to implement a chat options in our android app.
 
We need to make a bar and pie charts from xml data.
 
Exist some libraries to implement this?
 
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] Lunch child apps app only from launcher app

2012-05-08 Thread Bunty syed
Hi,

I have one launcher app  & one child app.

I want my child app to be launched only from the Launcher app.
To achieve this ,I have used one permission attribute in the child app
manifest file as follows--



Both launcher app & child apps are signed with same certificate.

I have one more app which is signed with different certificate & using
this app, I tried to launch previous child app & child app is
successfully launched.

Can anybody tell me why child app is launched from unknown app which
is signed with different certificate or I am
android:protectionLevel="signature" wrong way???

Regards,
Bunty Sayyad

-- 
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] Google lost vs Oracle.

2012-05-08 Thread sblantipodi
As title.
I think that we need to start learning C# to develop on Android.
Do you think that android will continue using java in the future?

-- 
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] Google lost vs Oracle.

2012-05-08 Thread Daniel Drozdzewski
You mean that Oracle won on the front that does not matter at all and
carries no weight.

http://www.groklaw.net/article.php?story=20120507122749740


Daniel



On 8 May 2012 13:52, sblantipodi  wrote:
> As title.
> I think that we need to start learning C# to develop on Android.
> Do you think that android will continue using java in the future?
>
> --
> 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



-- 
Daniel Drozdzewski

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

2012-05-08 Thread Bunty syed
You can refer  hicharts or
 achartengine

http://code.google.com/p/achartengine/

On 8 May 2012 17:54, Tarilo  wrote:

> Hi
>
> We need to implement a chat options in our android app.
>
> We need to make a bar and pie charts from xml data.
>
> Exist some libraries to implement this?
>
> 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

-- 
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] Bluetooth chat application problem

2012-05-08 Thread Save My Life!
thanks sir
solved.
On May 7, 2012 3:34 PM, "Jason Teagle"  wrote:

> I have installed "Bluetoothchat"  Example on my phone.
>> when i run "Connect Secure/Insecure" then it always show
>>
> ...
>
>> I have debugged application. i found the error is : javaIO exception
>> Service Discovery failed
>>
>
> See if this link helps:
> http://stackoverflow.com/**questions/3397071/service-**
> discovery-failed-exception-**using-bluetooth-on-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

-- 
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: Confirmation with pressing back button

2012-05-08 Thread Fran
Thanks a lot Jason and Justin. My game works fine on 1.6+, at least on
simulator. AFAIK that's API level 4, so I cannot use this method if I
wan to keep that compatibility:

@Override
public void onBackPressed() {
   return;
}

So I will use the keyevent based method (JFTR again):

@Override
public boolean onKeyDown(int keyCode, KeyEvent event)  {
if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() ==
0) {
// do something on back.
return true;
}

return super.onKeyDown(keyCode, event);
}


On 7 mayo, 18:46, Justin Anderson  wrote:
> Depending on the version of Android you are targeting, this will also be
> very 
> helpful:http://android-developers.blogspot.com/2009/12/back-and-other-hard-ke...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
>
>
>
>
>
>
> On Mon, May 7, 2012 at 7:28 AM, Jason Teagle  wrote:
> >  One of these is that when the user press the back button of the phone -
> >> I mean that with a curved arrow-, the application is closed, so I want
> >> to ask for confirmation or something similar so, is there anyway to
> >> easy control this?
>
> > I believe this link will help you considerably:http://stackoverflow.com/*
> > *questions/4779954/disable-**back-button-in-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

-- 
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] Music notation application

2012-05-08 Thread Simon Giddings
I am researching the writing of a "simple" music notation program which 
will permit simple actions such as

   - Display
   - Transposition
   - Annotation
   - etc

My first hurdle is how to display the music.

The majority of desktop apps use music fonts, which makes zooming and 
resizing quite "simple". However, it would appear that I would need to be 
able to access the individual glyphs to do this - which is not possible in 
android as far as I understand.

Should I stick with a music font and try to find a way to get the 
information needed ?

Should I abandon this and be looking at using svg files or transparent PNGs 
?

Can anyone advise here, please ?

-- 
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] Fitting image to a screen

2012-05-08 Thread Mohamed ElSanousi
Hi Jason,
Can you provide me with a link that could hlp me find the correct
orientation of Bitmap image, then upon finding this orientation i will
rotate the image.

Thanks

On Sun, May 6, 2012 at 11:52 PM, Jason Teagle wrote:

> I don't think my rotation is code is executing very well, because I was
>> testing now.
>> I took a picture in an Upright Position and when i loaded it it was
>> sideways and
>> stretched.
>>
>
> Oh dear! Hopefully the image without manipulation will be a good point to
> re-start figuring it out.
>
>
>
>  One other thing is that when I load the picture I can't move any of the
>> handlers.
>> When I comment out the picture code, the handlers move weird.
>>
>
> OK, well, let's concentrate on one problem at a time. When the rotation
> issue is fixed, you can have a fresh look at the next problem and see if
> you can see what's wrong. Getting a good night's sleep in between certainly
> wouldn't hurt!
>
> Good luck.
>
>
>
> --
> 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: create a component (switch button)

2012-05-08 Thread Lisa
Hi dede (^o^)/, thanks for respond.
I to saw link, but I want the button to move.
Any idea?

-- 
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] viewport size A4 ?

2012-05-08 Thread Jags
Hi All,

I am trying to render a html page in WebView in my app, everything works 
fine, but the content is wraped arounf width of browser. But my requirement 
is that the content be rendered in A4 size even if i have to deal with 
horizontal and vertical screen. I tried meta tag with view port with width 
= 595 but it still it wraps around device width

Can I get some suggestions please ?

thanks and regards
jags

-- 
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: All APK has cracked by apkcracks.net

2012-05-08 Thread JP
Hi Eric,
Thank you - is this third party or headed for the SDK?
Also, is this going to cover resources, finally? Just do drive the
point home, check this out:
http://theotigerblog.wordpress.com/2012/04/07/squareskimmer/
This guy apparently ripped Square's drawables from the apk and created
a credit card skimmer app with it.
JP

On May 8, 2:48 am, Eric Lafortune  wrote:
> We're finishing up an Android-specific tool that goes further than
> ProGuard. It should become available in the coming few weeks.
>
> Eric (developer of ProGuard)
>
> On 6 mei, 12:43, Jxn  wrote:
>
>
>
>
>
>
>
> > > They could do much better than usingProguard.
>
> > Any suggestions on a better tool?

-- 
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] Google lost vs Oracle.

2012-05-08 Thread sblantipodi
As title.
Do you think that we can continue using Java on Android in the future?

-- 
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] Google lost vs Oracle.

2012-05-08 Thread Raghav Sood
This discussion is already going on in
https://groups.google.com/forum/#!msg/android-discuss/_Jjk9PPt7Bs/R7hP1daarAAJ
.

Thanks

On Tue, May 8, 2012 at 7:52 PM, sblantipodi wrote:

> As title.
> Do you think that we can continue using Java on Android in the future?
>
> --
> 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
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
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] Intent with action ACTION_SEND to send name of a location and either address or geolocation

2012-05-08 Thread Rutton
  Hello,
I have a small app that deals with concrete locations (points-of-interest). 
One functionality of this app is to well known Sharing to send one POI to 
an external app via an Intent with ACTION_SEND parameter. That works, but 
what not works is to send the address or geolocation of that poi so that 
the receiving app knows that a parameter is a concrete location information.

What I have read now is, that ACTION_SEND can be augmented with a 
EXTRA_TEXT oder EXTRA_STREAM parameter.

 How can the location information (either address or geo-location) added as 
parameter?

R.

-- 
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: All APK has cracked by apkcracks.net

2012-05-08 Thread Kristopher Micinski
I would guess from his @cornell email address it will most certainly
be third party... :-)

kris

On Tue, May 8, 2012 at 10:02 AM, JP  wrote:
> Hi Eric,
> Thank you - is this third party or headed for the SDK?
> Also, is this going to cover resources, finally? Just do drive the
> point home, check this out:
> http://theotigerblog.wordpress.com/2012/04/07/squareskimmer/
> This guy apparently ripped Square's drawables from the apk and created
> a credit card skimmer app with it.
> JP
>
> On May 8, 2:48 am, Eric Lafortune  wrote:
>> We're finishing up an Android-specific tool that goes further than
>> ProGuard. It should become available in the coming few weeks.
>>
>> Eric (developer of ProGuard)
>>
>> On 6 mei, 12:43, Jxn  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > > They could do much better than usingProguard.
>>
>> > Any suggestions on a better tool?
>
> --
> 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] Fitting image to a screen

2012-05-08 Thread Justin Anderson
>
> Can you provide me with a link that could hlp me find the correct
> orientation of Bitmap image, then upon finding this orientation i will
> rotate the image.
>
Nope, sorry... I've never done that before and I'm not going to do your
homework for you...  I would just be using google to find answers.  You can
do that just as easy as I can.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, May 8, 2012 at 7:50 AM, Mohamed ElSanousi wrote:

> Hi Jason,
> Can you provide me with a link that could hlp me find the correct
> orientation of Bitmap image, then upon finding this orientation i will
> rotate the image.
>
> Thanks
>
>
> On Sun, May 6, 2012 at 11:52 PM, Jason Teagle wrote:
>
>>  I don't think my rotation is code is executing very well, because I was
>>> testing now.
>>> I took a picture in an Upright Position and when i loaded it it was
>>> sideways and
>>> stretched.
>>>
>>
>> Oh dear! Hopefully the image without manipulation will be a good point to
>> re-start figuring it out.
>>
>>
>>
>>  One other thing is that when I load the picture I can't move any of the
>>> handlers.
>>> When I comment out the picture code, the handlers move weird.
>>>
>>
>> OK, well, let's concentrate on one problem at a time. When the rotation
>> issue is fixed, you can have a fresh look at the next problem and see if
>> you can see what's wrong. Getting a good night's sleep in between certainly
>> wouldn't hurt!
>>
>> Good luck.
>>
>>
>>
>> --
>> 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] touch screen calibration app

2012-05-08 Thread olivia mckenzy
Hi, i wanted to know if someone could tell me how does a touch screen
calibration app works, i mean, how do i process the coordinates from
the touch screen in an application and adapt it to any display. i
really need help with this, i don't even know how to start. Thanks in
advanced.

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


Re: [android-developers] Fitting image to a screen

2012-05-08 Thread Justin Anderson
Ha, I thought you were talking to me (Justin) and that you just got my name
wrong... Didn't notice the post from Jason.  But still... you should do
your own research first.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, May 8, 2012 at 9:10 AM, Justin Anderson wrote:

> Can you provide me with a link that could hlp me find the correct
>> orientation of Bitmap image, then upon finding this orientation i will
>> rotate the image.
>>
> Nope, sorry... I've never done that before and I'm not going to do your
> homework for you...  I would just be using google to find answers.  You can
> do that just as easy as I can.
>
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Tue, May 8, 2012 at 7:50 AM, Mohamed ElSanousi wrote:
>
>> Hi Jason,
>> Can you provide me with a link that could hlp me find the correct
>> orientation of Bitmap image, then upon finding this orientation i will
>> rotate the image.
>>
>> Thanks
>>
>>
>> On Sun, May 6, 2012 at 11:52 PM, Jason Teagle wrote:
>>
>>>  I don't think my rotation is code is executing very well, because I was
 testing now.
 I took a picture in an Upright Position and when i loaded it it was
 sideways and
 stretched.

>>>
>>> Oh dear! Hopefully the image without manipulation will be a good point
>>> to re-start figuring it out.
>>>
>>>
>>>
>>>  One other thing is that when I load the picture I can't move any of the
 handlers.
 When I comment out the picture code, the handlers move weird.

>>>
>>> OK, well, let's concentrate on one problem at a time. When the rotation
>>> issue is fixed, you can have a fresh look at the next problem and see if
>>> you can see what's wrong. Getting a good night's sleep in between certainly
>>> wouldn't hurt!
>>>
>>> Good luck.
>>>
>>>
>>>
>>> --
>>> 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: Confirmation with pressing back button

2012-05-08 Thread Justin Anderson
>
> Thanks a lot Jason and Justin. My game works fine on 1.6+, at least on
> simulator. AFAIK that's API level 4, so I cannot use this method if I
> wan to keep that compatibility:
>
> @Override
> public void onBackPressed() {
>   return;
> }
>

That's not true... Set your target API level to something high enough that
you can use the onBackPressed.  Did you read the link I gave you?  It
specifically addresses this and tells you how to use both depending on the
API level.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, May 8, 2012 at 7:01 AM, Fran  wrote:

> Thanks a lot Jason and Justin. My game works fine on 1.6+, at least on
> simulator. AFAIK that's API level 4, so I cannot use this method if I
> wan to keep that compatibility:
>
> @Override
> public void onBackPressed() {
>   return;
> }
>

-- 
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] Google lost vs Oracle.

2012-05-08 Thread Justin Anderson
Oracle didn't win... Google really so far is winning.  See the article
referenced by Daniel.  Also, there is already a discussion on this in the
Android-Discuss forum...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, May 8, 2012 at 6:55 AM, Daniel Drozdzewski <
daniel.drozdzew...@gmail.com> wrote:

> You mean that Oracle won on the front that does not matter at all and
> carries no weight.
>
> http://www.groklaw.net/article.php?story=20120507122749740
>
>
> Daniel
>
>
>
> On 8 May 2012 13:52, sblantipodi  wrote:
> > As title.
> > I think that we need to start learning C# to develop on Android.
> > Do you think that android will continue using java in the future?
> >
> > --
> > 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
>
>
>
> --
> Daniel Drozdzewski
>
> --
> 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] Customizing Android's default contacts app

2012-05-08 Thread Justin Anderson
>
> yes
>
Sorry, no...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, May 7, 2012 at 11:03 PM, asheesh arya wrote:

> yes

-- 
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 to fetch access token for google api.Authenticating with OAuth 2.0 in android

2012-05-08 Thread Justin Anderson
>
> it is showing the error "The method getAccountManager() is undefined for
> the type GoogleAccountManager".
>

Umm... What code are you using?  The link you referenced never mentions a
getAccountManager() method on the GoogleAccountManager class.  That could
be a problem.

The link you are using does give the following lines of code for using
GoogleAccountManager though:

GoogleAccountManager googleAccountManager = new GoogleAccountManager(activity);
Account[] accounts = googleAccountManager.getAccounts();

If you try using that code, it will probably work...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sun, May 6, 2012 at 11:50 PM, Abhishek UB  wrote:

> getAccountManager()

-- 
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: Music notation application

2012-05-08 Thread JackN
you might want to consider procedure based rendering. Should scale well 
(and easy).
 
I wish you luck and I would get you app when it is done.
 

On Tuesday, May 8, 2012 6:43:08 AM UTC-7, Simon Giddings wrote:

> I am researching the writing of a "simple" music notation program which 
> will permit simple actions such as
>
>- Display 
>- Transposition 
>- Annotation 
>- etc
>
> My first hurdle is how to display the music. 
>
> The majority of desktop apps use music fonts, which makes zooming and 
> resizing quite "simple". However, it would appear that I would need to be 
> able to access the individual glyphs to do this - which is not possible in 
> android as far as I understand.
>
> Should I stick with a music font and try to find a way to get the 
> information needed ?
>
> Should I abandon this and be looking at using svg files or transparent 
> PNGs ?
>
> Can anyone advise here, please ?
>

-- 
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: Music notation application

2012-05-08 Thread Simon Giddings
Thank you for taking the time to reply.
Can you point me in the direction for what this "procedure based rendering" 
is about ?

On Tuesday, 8 May 2012 17:38:30 UTC+2, JackN wrote:
>
> you might want to consider procedure based rendering. Should scale well 
> (and easy).
>  
> I wish you luck and I would get you app when it is done.
>  
>
> On Tuesday, May 8, 2012 6:43:08 AM UTC-7, Simon Giddings wrote:
>
>> I am researching the writing of a "simple" music notation program which 
>> will permit simple actions such as
>>
>>- Display 
>>- Transposition 
>>- Annotation 
>>- etc
>>
>> My first hurdle is how to display the music. 
>>
>> The majority of desktop apps use music fonts, which makes zooming and 
>> resizing quite "simple". However, it would appear that I would need to be 
>> able to access the individual glyphs to do this - which is not possible in 
>> android as far as I understand.
>>
>> Should I stick with a music font and try to find a way to get the 
>> information needed ?
>>
>> Should I abandon this and be looking at using svg files or transparent 
>> PNGs ?
>>
>> Can anyone advise here, please ?
>>
>

-- 
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 change adapter of a viewpager

2012-05-08 Thread Mike
i'm using a viewpager(android.support.v4.view.ViewPager) to display
some fragment. Now i want to add some buttons to chanage the
viewpager's content, and i added some adapter and used
viewpager.setAdapter() to display new content when button clicked. But
the  viewpager displayed same all the time.

So i want to ask how to change the viewpager's display when i click a
button.

Thx very much!

-- 
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: Intent with action ACTION_SEND to send name of a location and either address or geolocation

2012-05-08 Thread Rutton
Found it.

ACTION_SEND does not allow to add a location parameter. Useful workaround 
is to send an URL that can be interpreted by the Mail Programm or Google+
Alternatively ACTION_VIEW with geo:x,y parameter is possible, but only apps 
that are understanding a geolocation (e.g. Google Maps etc.) can be 
requested by 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] platform open source code of 3.2.1 for xoom

2012-05-08 Thread fan zhang
Hi:

Where I could get platform open source code of version 3.2.1 for xoom?

Thanks

Fan

-- 
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] Fitting image to a screen

2012-05-08 Thread Mohamed ElSanousi
Its okay. I did the research but I didn't find what I'm looking for exactly.
I'm still looking though, btw do other mobiles that support android have
the same problem when loading an image?

On Tue, May 8, 2012 at 7:10 PM, Justin Anderson wrote:

> Ha, I thought you were talking to me (Justin) and that you just got my
> name wrong... Didn't notice the post from Jason.  But still... you should
> do your own research first.
>
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Tue, May 8, 2012 at 9:10 AM, Justin Anderson wrote:
>
>> Can you provide me with a link that could hlp me find the correct
>>> orientation of Bitmap image, then upon finding this orientation i will
>>> rotate the image.
>>>
>> Nope, sorry... I've never done that before and I'm not going to do your
>> homework for you...  I would just be using google to find answers.  You can
>> do that just as easy as I can.
>>
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/magouyaware
>>
>>
>> On Tue, May 8, 2012 at 7:50 AM, Mohamed ElSanousi 
>> wrote:
>>
>>> Hi Jason,
>>> Can you provide me with a link that could hlp me find the correct
>>> orientation of Bitmap image, then upon finding this orientation i will
>>> rotate the image.
>>>
>>> Thanks
>>>
>>>
>>> On Sun, May 6, 2012 at 11:52 PM, Jason Teagle wrote:
>>>
  I don't think my rotation is code is executing very well, because I
> was testing now.
> I took a picture in an Upright Position and when i loaded it it was
> sideways and
> stretched.
>

 Oh dear! Hopefully the image without manipulation will be a good point
 to re-start figuring it out.



  One other thing is that when I load the picture I can't move any of
> the handlers.
> When I comment out the picture code, the handlers move weird.
>

 OK, well, let's concentrate on one problem at a time. When the rotation
 issue is fixed, you can have a fresh look at the next problem and see if
 you can see what's wrong. Getting a good night's sleep in between certainly
 wouldn't hurt!

 Good luck.



 --
 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] Re: All APK has cracked by apkcracks.net

2012-05-08 Thread Thomas
Now you are making me feel bad.  I thought for sure someone would want to 
steal the "Vampire of Needham" ;-}
Tom B

On Thursday, May 3, 2012 12:04:16 PM UTC-4, Giuseppe wrote:
>
> In our app we use Proguard and License system from Google.
>
> Our app and other thousand of apps are published on this web site 
> http://apkcracks.net
>
> Can Google explain what else we must do to protect our night, Sunday and 
> holiday's job ?
>
> Giuseppe
>

-- 
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] Music notation application

2012-05-08 Thread Jonas Petersson

Hi Simon,

On 2012-05-08 15:43, Simon Giddings wrote:

I am researching the writing of a "simple" music notation program which
will permit simple actions such as

  * Display
  * Transposition
  * Annotation
  * etc

My first hurdle is how to display the music.


Cool, I've written a fairly simple music notation app called "Zap's abc" 
a few years back. You may already know that the abc notation has been 
around for a pretty long time so in fact, my exceedingly simple approach 
is actually to just provide a simple text editor and then bounce that 
text to my own server where it is transformed to either PDF or Midi 
which is displayed/played on the phone with the standard apps.


Perhaps not ideal for people who need it offline, but pretty simple once 
you get the hang of abc (the original target audience was folk music so 
it is pretty straight forward for simple stuff, but with a bit of effort 
you can create symphonies if you like).


This may not be what you need, but I though you might want to try it.
https://play.google.com/store/apps/details?id=se.petersson.abc

Good luck / Jonas

--
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: client server socket: a beginners question

2012-05-08 Thread Jonathan S
http://developer.android.com/guide/appendix/media-formats.html this would 
help

On Wednesday, April 18, 2012 5:18:07 AM UTC-4, ikimatsu noob wrote:
>
> Hello everyone, 
> im terribly sorry if this happens to be a repost. 
> Im new to android development and i have been assigned a project 
> about  live video streaming fron android to a server. 
> My question is very simple: 
> In theory you need to run the server java file before running the 
> client side. But if u are using wowza or dss.. Is there a need to have 
> a server side in the java file? 
> Also can VLC be my server without having to use the precedent two? If 
> so, can you tell me how? 
> Thank you very much. 
> 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

Re: [android-developers] Re: live video streaming

2012-05-08 Thread Jonathan S
http://developer.android.com/guide/appendix/media-formats.html

On Tuesday, May 8, 2012 6:20:08 AM UTC-4, kavitha chidambaram wrote:
>
> Hi,
>I am trying the same thing, got any idea? can we use Darwin 
> streaming server for streaming live video between android phone.
> Thanks,
> Kavitha
>
> On Thu, Apr 19, 2012 at 8:45 AM, Hassan  wrote:
>
>> Luis Tiago  gmail.com> writes:
>> Hi all,
>> > >   i need help on live video streaming. I want to do the following
>> > > things in live video streaming.
>> > >   1. I want to broadcast the live video which is recording by camera
>> > > from one android mobile directly to a particular ip address.
>> > >  2. now i want to play that video to another android mobile from that
>> > > ip address without storing that video.
>>  I have to do the same in my project.If you have done this so kindly 
>> 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

[android-developers] Re: All APK has cracked by apkcracks.net

2012-05-08 Thread Eric Lafortune
ProGuard and the new tool are my own developments. The Android team
includes ProGuard in the SDK.

The new tool currently focuses on dalvik bytecode, with automated
string encryption, class encryption, and reflection. Developers can
always encrypt/obfuscate resource files themselves. Automating general
resource encryption will be challenging.

Eric

On 8 mei, 16:02, JP  wrote:
> Hi Eric,
> Thank you - is this third party or headed for the SDK?
> Also, is this going to cover resources, finally? Just do drive the
> point home, check this 
> out:http://theotigerblog.wordpress.com/2012/04/07/squareskimmer/
> This guy apparently ripped Square's drawables from the apk and created
> a credit card skimmer app with it.
> JP
>
> On May 8, 2:48 am, Eric Lafortune  wrote:
>
>
>
>
>
>
>
> > We're finishing up an Android-specific tool that goes further than
> >ProGuard. It should become available in the coming few weeks.
>
> > Eric (developer ofProGuard)
>
> > On 6 mei, 12:43, Jxn  wrote:
>
> > > > They could do much better than usingProguard.
>
> > > Any suggestions on a better tool?

-- 
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] list view doubt

2012-05-08 Thread Jagadeesh
Hi

in my list view i need to expand clicking on item need expand

List
samsung-another page should populate ---here i need specify one hyperlink
philips  -another page should populate here i need specify one
hyperlink


can any one give idea how i need to do

/// here my code

public class CompaniesActivity extends ListActivity {
public ListView lv;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setListAdapter(new ArrayAdapter(this,
android.R.layout.simple_list_item_1, LISTITEMS));

lv = getListView();
lv.setTextFilterEnabled(true);

lv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View view, int
position,long id) {


}
});
}
static final String[] LISTITEMS = new String[] {
"Philips Healthcare", "samsung", "siemens Healthcare", 
"mindtree"
};


}

-- 
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] list view doubt

2012-05-08 Thread Jim Graham
On Wed, May 09, 2012 at 07:49:41AM +0530, Jagadeesh wrote:
> 
> in my list view i need to expand clicking on item need expand
> 
> List
> samsung-another page should populate ---here i need specify one hyperlink
> philips  -another page should populate here i need specify one
> hyperlink

If I understand correctly, you want the selection of one item to select
one link, and another item selects another link (and so on, I assume).
Ok.  Well, unless you left some bits in this code out, here's the problem:

>  lv.setOnItemClickListener(new OnItemClickListener() {
> public void onItemClick(AdapterView parent,
>   View view, int position,long id) {


Where's the code that should be here, getting and reacting to the
selection made by the user?  Did you just leave this out?  Or is it
just not there in the first place?  If the former, something is wrong
in the code that goes here, but nobody can tell you more than that, as
you left it out, and nobody (as far as I know...) can read your mind.
If the latter, u...well, that would be THE problem.


> }
> });

> static final String[] LISTITEMS = new String[] {
>   "Philips Healthcare", "samsung", "siemens Healthcare", "mindtree"
> };

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997  < Running FreeBSD 7.0 >
spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

"sigh, once upon a time T-1 was fast"
   --seen in alt.sysadmin.net-abuse.email

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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: View Pager performance hit when inflating views

2012-05-08 Thread Varun Tewari
Thanks for your reply.

Actually there are some more items below List, per page.
Now i have to create another ViewPager and sync scrolls between them
I know that doesn't look very clean, but looks like no other option for me..

Br,
Varun



On Mon, May 7, 2012 at 6:31 PM, Jason Teagle  wrote:

> But as soon as i add a linear or relative layout as parent to list view
>> ...i am
>> able to see the lag while scrolling
>>
>
> Although I can't really help you reach an answer that will help, I will
> just say that using layouts as the parent *will* decrease speed performance
> due to having to do the extra work to lay everything out according to the
> rules.
>
> Why were you trying to add a parent layout to the list view? Is the list
> view not the only item on the screen, per page?
>
>
> --
> 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] Calendr

2012-05-08 Thread Jagadeesh
Hi
How to make calender based on day of the week i need open .one word file
can any one help me this

Thanks
Jagadeesh

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

2012-05-08 Thread TreKing
On Tue, May 8, 2012 at 11:59 PM, Jagadeesh  wrote:

> How to make calender based on day of the week i need open .one word file
> can any one help me this


http://www.catb.org/~esr/faqs/smart-questions.html

-
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] setting context menu for a button

2012-05-08 Thread kampy
hi ,
 i have to set context menu to the a button

i tried with registerForContextMenu(button ). and setting onConext
Menu Listerner also but it did nt work .
anybosy who have worked please suggest me how to do that .

Thanks in advance

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


[android-developers] How to show map in android apps

2012-05-08 Thread Yogeshkumar Tiwari
Hi all,
 i'm developing an android apps for restaurant in that i have to
display a maps in that i have to show different branches of the
restaurants. so pls help me how to show the map in android apps.

-- 
With Regards:
Yogesh Tiwari
(Android Developer)

-- 
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 to show map in android apps

2012-05-08 Thread asheesh arya
juzz go through this link might be it helpful to you for building your
application!!!
http://eagle.phys.utk.edu/guidry/android/MapOverlayDemo
http://eagle.phys.utk.edu/guidry/android/mappingDemo.html

-- 
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 to show map in android apps

2012-05-08 Thread TreKing
On Wed, May 9, 2012 at 12:42 AM, Yogeshkumar Tiwari <
yogeshtiwari2...@gmail.com> wrote:

> so pls help me how to show the map in android apps.


http://lmgtfy.com/?q=how+to+show+map+in+android

-
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: viewport size A4 ?

2012-05-08 Thread Jags
basically, i want to render html in A4 size, no matter what is the webview 
size. please help



On Tuesday, May 8, 2012 7:27:36 PM UTC+5:30, Jags wrote:
>
> Hi All,
>
> I am trying to render a html page in WebView in my app, everything works 
> fine, but the content is wraped arounf width of browser. But my requirement 
> is that the content be rendered in A4 size even if i have to deal with 
> horizontal and vertical screen. I tried meta tag with view port with width 
> = 595 but it still it wraps around device width
>
> Can I get some suggestions please ?
>
> thanks and regards
> jags
>

-- 
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] setting context menu for a button

2012-05-08 Thread Jason Teagle

i tried with registerForContextMenu(button ). and setting onConext
Menu Listerner also but it did nt work .


Did you override onCreateContextMenu() to actually build the menu?

Define 'did not work'? What *did* happen - anything at all?

Try this link as an example of how to build one:
http://www.stealthcopter.com/blog/2010/04/android-context-menu-example-on-long-press-gridview/


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