[android-developers] Re: Error generating final archive

2010-06-03 Thread Daniel
Did you try Project -> Clean? Not even sure if its relevant, but something similar happened to me a few weeks ago and that helped. On Jun 3, 1:00 pm, Matthew Patience wrote: > I am trying to add some updates to an already released application but > something has happened with my workspace that

Re: [android-developers] Re: Developing sotfkeyboard

2010-06-03 Thread Galbayar D
http://code.google.com/p/android-greek-ime/ Gala On Fri, Jun 4, 2010 at 3:30 PM, Indicator Veritatis wrote: > 'The sample soft keyboard'? Which one? And will it work even on phones > that have no localization for Amharic? > > On Jun 3, 10:52 pm, andu wrote: >> how are you all? >> >> I am trying

[android-developers] Re: Multiple notifications, single icon on notification bar?

2010-06-03 Thread Zsolt Vasvari
Can't you do what GMail does and shows the # of items in parantheses? On Jun 4, 8:51 am, TreKing wrote: > On Thu, Jun 3, 2010 at 5:30 PM, Mark Wyszomierski wrote: > > Is there a way to use only one icon on the notification bar, but still keep > > three entries in the pull down? > > Don't think s

[android-developers] Re: Developing sotfkeyboard

2010-06-03 Thread Indicator Veritatis
'The sample soft keyboard'? Which one? And will it work even on phones that have no localization for Amharic? On Jun 3, 10:52 pm, andu wrote: > how are you all? > > I am trying to develop soft keyboard in my language, Amharic > (Ethiopian language). I start developing the soft keyboard by using >

Re: [android-developers] Re: Android Dev Phone with 2.x?

2010-06-03 Thread Chi Kit Leung
By the way, Google has shutdown their online phone shop ( as I remember). I don't think you can get Nexus One directly from Google anymore. 2010/6/3 Tomáš Hubálek > I'm trying to put this question to the top again as I would like to > know the answer from Google. For me as owner of ADP1 is star

[android-developers] Developing sotfkeyboard

2010-06-03 Thread andu
how are you all? I am trying to develop soft keyboard in my language, Amharic (Ethiopian language). I start developing the soft keyboard by using the sample soft keyboard with is included in the android SDK. But I have the following questions to ask: 1. How can I include keyboard setting opt

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-03 Thread Samsyn
For what it's worth, I started having the identical problem this evening, after changing my app to use API4 instead of API3 (where the glGenTextures() was working fine) Now I get the exact same list of goofy texture Ids when I use my phone (Droid 2.1), but it's fine in the emulator. At first I th

[android-developers] Re: issue with dynamic Multi selection alter dialog

2010-06-03 Thread Jake
solution found by making CharSequence[] friendsNames = new CharSequence[friendArray.length]; simple thing.. but did not strike me.. coz i am php developer lol !!... On Jun 3, 10:04 pm, Jake wrote: > hi there, > > i wanted to create a dynamic multi selection alert dialog, currently > it only sup

Re: [android-developers] Regarding enter key on virtual keyboard

2010-06-03 Thread Rajiv
Hi ameya, I think u may have did little bit mistake in your application, if you will implement these things in the following way, offcource you will got the solution. Suppose you are using Layout as *account* and Activity as *AccountActivity*, you need to do the following modification in there ac

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-03 Thread nikhil
I am not sure about the exact reason but I feel it was because of mishandling of partial wakelock. Like your app, I had a service which remained active all time and for that I had to hold on to the wakelock. The phone did not restart if I commented out my wakelock code. Interesting thing is it neve

[android-developers] Re: No value being returned with ksoap calling web service

2010-06-03 Thread Soumya
Are you running this inside the emulator or on a device ? On Jun 3, 11:54 am, benjamin schultz wrote: > I have a .Net Web Service which returns a single integer value. When i > call upon it from my application, no value is returned. Nothing at all > really happens. I set up breakpoints and watc

[android-developers] Re: Creating an Android VN

2010-06-03 Thread EwanG
OK, so... question was too broad? No such examples exist? No one here who would be interested in such a thing if it were written? :-) On May 30, 10:04 pm, EwanG wrote: > I am looking for an example of how to setup a screen with a > background, an overlay image (my character), and over that a fra

[android-developers] How to link libc.so.6

2010-06-03 Thread Karteek N
Hi, I have created a shared library using arm tool chain. I implemented a c program in which iam using functions like fgets,strcpy. So for that we need to give support of arm cross compiled glibc I generated the .so using the following commands #arm-none-linux-gnueabi-gcc -fpic -c sample.c #arm-non

[android-developers] Re: how to enable onItemClick for custom list view

2010-06-03 Thread prachi
hey hiii I have already set the click listener for the button in each list item and that is working fine. But my requirement is that i want the listener for the button(which is a part of list item) as well as for the whole list item.In this case if i implement the listener for button my list item

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-03 Thread Maps.Huge.Info (Maps API Guru)
Don't forget that it doesn't work well indoors either... -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to an

[android-developers] Creating a hidden partition

2010-06-03 Thread surendra
hi, I am new to android platform. Please give me some pointers on how to "make partitions invisible and provide access to few applications only on this invisible partition" Regards, Surendra -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

Re: [android-developers] GPS/LocationManager does not give a fix in my app

2010-06-03 Thread TreKing
Again ... On Thu, Jun 3, 2010 at 8:00 PM, TreKing wrote: > Location listener never gets called or it gets called with bad values? How long are you waiting? GPS can vary from a few seconds to a few minutes depending on many variables. ---

[android-developers] Re: Default Paint size too small on new device; is there a better source?

2010-06-03 Thread eehouse
Thanks everybody. I'm using the following, inspired by the replies above, that seems to work on 1.5 as well without reflection. I define MIN_FONT_DIPS to be 14.0f. final float scale = getResources().getDisplayMetrics().density; m_defaultFontHt = (int)(MIN_FONT_DIPS * scale + 0.5f

[android-developers] Re: Two articles on Android app development

2010-06-03 Thread Ivan
Thanks for your feedback guys. The experience I shared there was practical - and there are times and requirements when you do need to start a service at the boot time, and it's really better to run it in a separate process. For example, any mail-like application would have such requirements. It's

RE: [android-developers] Re: List of all instantiated Activities

2010-06-03 Thread Ted Neward
I could do what you're suggesting (which I already said I didn't want to do) much more simply from within a default constructor: public class RegisteredActivity extends Activity { public static List getAllActivities() { // make sure clients can't modify the contents return Collec

[android-developers] Play 2 sounds at once with different apps?

2010-06-03 Thread bschuhma
Is it possible to play audio via an app like slacker.com or pandora.com or your personal audio files and simultaneously play another audio track over the top of it with a second app? My question is whether the sound hardware gets locked by the first app that accesses the audio hardware or whether

[android-developers] Why my logger can`nt record mos t log info?

2010-06-03 Thread Boern
Hi,all: The below is my logger define: private final static String SERV_LOG_PATH = "/data/data/com.mid/serv%u.log"; private final static String ERR_LOG_PATH = "/data/data/com.mid/error.log"; static { try { // init to error logger servLogger = Logger.getLogger("s

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-03 Thread Charly
Thank you for the prompt answer. This is how I call LocationListener: private LocationListener location_listener = new LocationListener() { @Override public void onLocationChanged(Location location) { some code here...

[android-developers] Re: Sprint Hero Android 2.1 Lost Copy Protected Apps Access

2010-06-03 Thread Craigo
Thanks Guy. Looks like I was misinformed by a user. Just switched my copy protection back on. Cheers. On Jun 4, 4:57 am, Guy Cole wrote: > I have copy protected apps and a Sprint Hero recently upgraded to 2.1 > > All of my copy protected apps came back after the update. > > On Jun 2, 6:36 pm,

[android-developers] How to export mediaplayer on 2.2?

2010-06-03 Thread lch1721
Hi every one. I found one change of mediaplyer in froyo. Older version, medialplaer can't play stream if mp4 moov data located behind of mdata in froyo, It can~! my country, lot's of mp4 on web, moov data located behind, so i can't play mp4 stream. device update to froyo not yet. so i want export m

[android-developers] Re: Code repository to learn by examples

2010-06-03 Thread Maps.Huge.Info (Maps API Guru)
Try here: http://code.google.com/hosting/search?q=label%3AAndroid This is a great place to find quality examples of full apps. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

Re: [android-developers] GPS/LocationManager does not give a fix in my app

2010-06-03 Thread TreKing
On Thu, Jun 3, 2010 at 4:21 PM, Charly wrote: > I'm developing an app which makes use of the GPS and I am not able to get a > fix. > Location listener never gets called or it gets called with bad values? Have you tried the network provider? Does that work? --

Re: [android-developers] Multiple notifications, single icon on notification bar?

2010-06-03 Thread TreKing
On Thu, Jun 3, 2010 at 5:30 PM, Mark Wyszomierski wrote: > Is there a way to use only one icon on the notification bar, but still keep > three entries in the pull down? > Don't think so - each icon represents an entry in the pull down - having one icon represent multiple entries wouldn't really

Re: [android-developers] Two articles on Android app development

2010-06-03 Thread Mark Murphy
Dianne Hackborn wrote: > - Running the service in a separate process, just because. The vast > majority of apps should keep their service in the same process. This > greatly the interaction with the service (no IPC), and is generally a > lighter-weight solution. There are certain cases where usi

[android-developers] Multiple notifications, single icon on notification bar?

2010-06-03 Thread Mark Wyszomierski
Hi, If I do: for (int i = 0; i < 3; i++) { NotificationManager.notify(i, notification); } I'll get three notification icons on the notification bar, and three list items in the pull down. Is there a way to use only one icon on the notification bar, but still keep three entries in th

Re: [android-developers] Two articles on Android app development

2010-06-03 Thread Dianne Hackborn
On Thu, Jun 3, 2010 at 4:56 AM, Ivan wrote: > One is called "Developing an App with a Background Service (using > IPC)" > > http://mindtherobot.com/blog/37/android-architecture-tutorial-developing-an-app-with-a-background-service-using-ipc/ Sorry, but I think this service example promotes a cou

[android-developers] Multicast through virtual router of the emulator

2010-06-03 Thread Tobias
Hello, I am trying to set up a application that sends out a multicast message. The problem is, that the virtual router of the emulator cant handle the multicast packet and drops it. What can I do? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] GPS/LocationManager does not give a fix in my app

2010-06-03 Thread Charly
Hi everyone, I'm developing an app which makes use of the GPS and I am not able to get a fix. Some useful facts that might help: - The device is running Android 2.1. - GPS is obviously enabled through the device settings, actually the icon shows up on the notification bar. - GPS works fine when usi

[android-developers] Re: Two articles on Android app development

2010-06-03 Thread Ben
Thanks! Looking forward to reading your blog. On Jun 3, 7:56 am, Ivan wrote: > Fellow developers! > > I wrote two articles about Android app development, based on my own > experience. I think they might be interesting to you. > > One is called "Developing an App with a Background Service (using

[android-developers] Re: Best way to live demo apps

2010-06-03 Thread Lance Nanek
All the ones I saw at Google I/O had "WolfVision" on them, which I guess is another company making them. On May 30, 5:49 am, "Ted Neward" wrote: > Aw, and here I was hoping for a much better story. So prosaic. ;-) > > Ted Neward > Java, .NET, XML Services > Consulting, Teaching, Speaking, Writing

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-03 Thread Nathan
On Jun 3, 12:47 pm, nikhil wrote: > Nathan, > > I had similar issue long time back when I had implemented the service > architecture. I had observed few things: > > 1. My phone (Nexus One) used to restart (with my service running in > background) when I tried to change the call forward setting o

[android-developers] Re: Publishing Issues

2010-06-03 Thread SkySte
Apparently so, it seems to be working now :) Thanks for the reply Steve On May 26, 8:39 pm, TreKing wrote: > On Wed, May 26, 2010 at 11:30 AM, SkySte wrote: > > Any help would be greatly appreciated, I have absolutely no idea what's > > wrong, seems like I've tried everything I can think of inc

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-03 Thread nikhil
Nathan, I had similar issue long time back when I had implemented the service architecture. I had observed few things: 1. My phone (Nexus One) used to restart (with my service running in background) when I tried to change the call forward setting or I tried to use the google car navigator app. 2.

Re: [android-developers] Code repository to learn by examples

2010-06-03 Thread Nando Android
Correct. TreKing. On Thu, Jun 3, 2010 at 12:49 PM, TreKing wrote: > On Thu, Jun 3, 2010 at 11:03 AM, Nando Android wrote: > >> Is there any source code repository for Android apps so one can learn by >> example? > > > You mean aside from the samples in the documentation and the source code > its

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread mp6800
Sorry, I meant /double/ the margins on older versions of Android. On Jun 3, 3:33 pm, mp6800 wrote: > Upon closer examination it looks like the older versions of Android > are using exactly half of the margin declared, but only for views that > are center aligned (vertically or horizontally).  Fo

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread mp6800
Upon closer examination it looks like the older versions of Android are using exactly half of the margin declared, but only for views that are center aligned (vertically or horizontally). For example, if I anchor an imagebutton to the right, then set a right margin of 10, it works. But if I cente

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread mp6800
I guess the better question to ask is, how do I make the layout work on older versions of Android after I fix the margins for 2.2? Do I have to create a separate XML and put it in a "v8" layout dir? On Jun 3, 12:35 pm, Romain Guy wrote: > > > > > They're not going too far. From what I can tell,

[android-developers] Re: Sprint Hero Android 2.1 Lost Copy Protected Apps Access

2010-06-03 Thread Guy Cole
I have copy protected apps and a Sprint Hero recently upgraded to 2.1 All of my copy protected apps came back after the update. On Jun 2, 6:36 pm, Craigo wrote: > Can somebody please confirm that the Spring Hero used to have access > to copy protected apps, however, after the upgrade to Android

[android-developers] Using a ListView and an Adapter: How to use notifyDataSetChanged()?

2010-06-03 Thread Mariano Kamp
Hi. Just watched Google IO's "World Of ListView" presentation [1]. Awesome stuff. I think every Android dev should watch it. One gotcha for me was to use BaseAdapter.notifyDataSetChanged[2]. I checked code that I have written more than a year ago and found that I did try to use that, but commente

Re: [android-developers] Code repository to learn by examples

2010-06-03 Thread TreKing
On Thu, Jun 3, 2010 at 11:03 AM, Nando Android wrote: > Is there any source code repository for Android apps so one can learn by > example? You mean aside from the samples in the documentation and the source code itself? --

[android-developers] Re: Android graphical capabilities

2010-06-03 Thread Neilz
Hi Anders. Do you have the code for part 3 available? The first two are great, but really it's not so great without the finishing touches from part 3! On Jun 3, 2:18 pm, "Ericson, Anders" wrote: > The reference app on market has minSdkVersion set to 4 (=1.6) and the main > reason is to enable

[android-developers] Re: Load https requests with Webview.

2010-06-03 Thread psaltamontes
I'm very lucky. I have found this link with a solution that works. http://r3gis.fr/blog/index.php?post/2009/11/17/Android-WebView-and-ssl-self-signed-certificates&pub=1 I hope this will be useful to somebody. On 3 jun, 17:55, psaltamontes wrote: > Ups, I think another little problem, I'm using

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-03 Thread Nathan
After a few weeks, I've narrowed this down somewhat. But what to do, I'm not sure. I suspected that frequent notification updates were clogging up the phone. As another developer pointed out, the Incredible won't give foreground priority to services that follow that procedure - this could be relat

Re: [android-developers] APIs to access email accounts or SMS/MMS messages

2010-06-03 Thread Yuvi
Hi, to get the received sms take a look here: http://www.anddev.org/novice-tutorials-f8/recognize-react-on-incoming-sms-t295.html Unfortunately there is no analogous way to listen for sent messages...AFAIK. Yuvi On Thu, Jun 3, 2010 at 6:02 PM, Nando Android wrote: > I am interested on that too

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread mp6800
Ah, so I /am/ doing something wrong. What is the proper way to center align with an offset? I've yet to find anything in the docs. On Jun 3, 12:35 pm, Romain Guy wrote: > They're not going too far. From what I can tell, your layout was > relying on a broken behavior in previous versions of And

[android-developers] issue with dynamic Multi selection alter dialog

2010-06-03 Thread Jake
hi there, i wanted to create a dynamic multi selection alert dialog, currently it only supports for hard coded values i think ?... i have tried several ways and very much unsuccessful till now .. i am fetching the values in JSON format and converting to JSONArray. but how to input this to builder

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread Matthew Patience
I should walk through here more often. I had no idea TextView had a marquee feature, Nice! On Jun 3, 12:42 pm, Romain Guy wrote: > There's even easier, just use the marquee feature of TextView. > > > > On Thu, Jun 3, 2010 at 9:40 AM, arnouf wrote: > > Use a RelativeLayout for your app and a spe

[android-developers] Error generating final archive

2010-06-03 Thread Matthew Patience
I am trying to add some updates to an already released application but something has happened with my workspace that prevents me from Running or Exporting the application. I keep getting the following: Error generating final archive: duplicate entry: res/drawable-hdpi/ icon.pngTwitocTwo

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread dillipk
Thanks for your replies.. The problem with using marquee is, the TextView has to be in focus all the time. My requirement is I have multiple controls in the same activity and the text scrolling should be continuing through out . How do I apply animation to a TextView in simplest way..? Thanks,

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread arnouf
right ! the marquee ! I forgot it ! :) (it's just avoiding to use animation, not to place your component at bottom) On Jun 3, 6:42 pm, Romain Guy wrote: > There's even easier, just use the marquee feature of TextView. > > > > > > On Thu, Jun 3, 2010 at 9:40 AM, arnouf wrote: > > Use a RelativeLa

Re: [android-developers] Re: HttpUrlConnection and Sleeping Phones

2010-06-03 Thread Brad Gies
Daniel, The fact that the CPU is working and the phone is not asleep when the HttpUrlConnection starts doesn't mean it's going to still be that way by the time it finishes That's why you need the wakelock while the HttpUrlConnection is running.. to make sure it can finish. Just make sure

Re: [android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread Romain Guy
There's even easier, just use the marquee feature of TextView. On Thu, Jun 3, 2010 at 9:40 AM, arnouf wrote: > Use a RelativeLayout for your app and a specific layout aligned on > bottom of your main layout. > So you're banner is based at the bottom :) > Now to scrolling a text inside this banner

[android-developers] Re: how to change the background of the menuitem

2010-06-03 Thread arnouf
Hi, OptionMenu can't be personnalized :( You must implement your own menu if you want a specific background for example. Regards On Jun 3, 3:54 pm, grace wrote: > Hi, > > I want  to change the background of the optionmenuitem and have my > custom theme for the menu items > is it possible?? > pl

[android-developers] Re: How to create kind of admob banner or scrolling text?

2010-06-03 Thread arnouf
Use a RelativeLayout for your app and a specific layout aligned on bottom of your main layout. So you're banner is based at the bottom :) Now to scrolling a text inside this banner : use animation, it's the simplest. Best On Jun 3, 4:36 pm, dillipk wrote: > Hello, >   Is there any widget which w

[android-developers] Re: Do scheduled alarms persist between app upgrades?

2010-06-03 Thread arnouf
Hi, The alarm is registered in system. So, it isn't removed. BR On Jun 3, 4:53 pm, Mark Wyszomierski wrote: > Hi, > > My app schedules an alarm, like: > >   AlarmManager mgr = (AlarmManager)context.getSystemService( >       Context.ALARM_SERVICE); >   mgr.setRepeating(...); > > with the alarm s

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-03 Thread Brad Gies
It should work fine using localhost for the service address. Just use the real IP address of your machine when calling the service from Android. Are you calling it from the emulator or from a cell phone? How are you connected to your PC from your Android app? I just want to be sure I am unders

Re: [android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread Romain Guy
They're not going too far. From what I can tell, your layout was relying on a broken behavior in previous versions of Android. On Thu, Jun 3, 2010 at 9:33 AM, mp6800 wrote: > Thanks for the reply.  What about the positive margins?  They're doing > the same thing (going too far in 2.2) > > > On Ju

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread mp6800
Thanks for the reply. What about the positive margins? They're doing the same thing (going too far in 2.2) On Jun 3, 12:26 pm, Romain Guy wrote: > You are using negative margins, which has an unspecified behavior. > > > > > > On Thu, Jun 3, 2010 at 5:48 AM, mp6800 wrote: > > Some more info on

[android-developers] Froyo Wi-Fi hotspot mode and server apps

2010-06-03 Thread asicwizard
How do I find the IP address of my Android device when it is in Froyo's Wi-Fi hotspot mode? My Ubuntu netbook finds the SSID: AndroidAP. When I connect to Froyo's DHCP server it assigns my netbook an IP address of 10.42.43.1 Broadcast 10.42.43.255 Mask 255.255.255.0 If I run a server app on my And

Re: [android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-03 Thread Romain Guy
You are using negative margins, which has an unspecified behavior. On Thu, Jun 3, 2010 at 5:48 AM, mp6800 wrote: > Some more info on this - Turns out it /does/ affect top & bottom as > well as left & right.  I posted screenshots and a sample Eclipse > project here: > > http://www.anddev.org/view-

[android-developers] Where is ACCESS_COARSE_UPDATES permission ?

2010-06-03 Thread arnouf
Hi all, I want to use the following method from TelephonyManager : public List getNeighboringCellInfo () Documentation says : Since: API Level 3 Returns the neighboring cell information of the device. Returns List of NeighboringCellInfo or null if info unavailable. Requires Permission: (@link and

[android-developers] Code repository to learn by examples

2010-06-03 Thread Nando Android
All, Is there any source code repository for Android apps so one can learn by example? 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 th

Re: [android-developers] APIs to access email accounts or SMS/MMS messages

2010-06-03 Thread Nando Android
I am interested on that too. But what I want to do is to know how many SMS messages were sent and received. That is, I need to know stats. Is it possible? Thanks. On Mon, May 24, 2010 at 6:54 PM, sojan P.R. wrote: > What you want to do..reading emails and doing something automatically? I > th

[android-developers] Re: Android Library Project

2010-06-03 Thread Didier Girard
Xavier, I was just in front of the same problem. If you could just add a note about restarting eclipse in the following page it could help a lot : http://developer.android.com/guide/developing/eclipse-adt.html Thanks in advance, Didier On May 23, 9:06 pm, Xavier Ducrohet wrote: > When you do the

[android-developers] Re: Load https requests with Webview.

2010-06-03 Thread psaltamontes
Ups, I think another little problem, I'm using Android 1.5 and maybe the actual browser has another source code... On 3 jun, 17:32, psaltamontes wrote: > Nobody know how the browser process the https requests? > > This is a fragment of the source code of the BrowserActivity class : > > (onCreate

[android-developers] No value being returned with ksoap calling web service

2010-06-03 Thread benjamin schultz
I have a .Net Web Service which returns a single integer value. When i call upon it from my application, no value is returned. Nothing at all really happens. I set up breakpoints and watched it's progress and it seems the problem is coming from when i get to this line: androidHttpTransport.call(SO

[android-developers] Re: HttpUrlConnection and Sleeping Phones

2010-06-03 Thread Daniel Lew
Well, I can tell you the process... 1. AlarmManager fires an intent to a Service. 2. That Service creates an HttpUrlConnection. 3. That connection fails every other time. Not sure what more information you would need to be helpful. I'm not using a wakelock currently, but I guess I'm not sure w

[android-developers] Augmented Reality framework to display geoloc point

2010-06-03 Thread olivier
Hi, I have to integrate to my app an augmented reality framework to display some geolocalised point. Does it exist a framework or an open source project ? I have looked to NyARToolKit but it does not seem to have the fonction I need. Regards, Oliveir -- You received this message because you

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-03 Thread Lamia Hannoun
I tried also to change the adress of my endpoints :s but it didn't work :(. I want to know if i changed the adresse of my service (different that loacalhost) it will work perfectly isn't it, this pb is only caused by this local address ??? Am i right? Has anyone test this before? cuz till now i'm d

[android-developers] Re: Load https requests with Webview.

2010-06-03 Thread psaltamontes
Nobody know how the browser process the https requests? This is a fragment of the source code of the BrowserActivity class : (onCreate method) . . . if (urlData.isEmpty()) { if (mSettings.isLoginInitialized()) { webView.loadUrl(mSettings.getHomePage());

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-03 Thread Lamia Hannoun
U mean using it instead of using 10.0.2.2 or in the adress endpoint of the wcf, i did the first option it didn't work :s :s 2010/6/3 Brad Gies > Try using the real IP address of your machine. That works (for me at > least). > > > On 03/06/2010 5:50 AM, Lamia Hannoun wrote: > >> Hello! >> I hoste

[android-developers] Focus rect in home widgets (aka launcher widgets)

2010-06-03 Thread TAKEphONE
Hi all, I have a home widget with 4x2 ImageButton controls in it. All works great besides one thing - when I use the dpad to navigate to the widget, it seems to be working, but there is no focus rectangle drawn around the ImageButton that seems to have the focus. If I press the center dpad butto

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-03 Thread Brad Gies
Try using the real IP address of your machine. That works (for me at least). On 03/06/2010 5:50 AM, Lamia Hannoun wrote: Hello! I hosted my service WCF (.net) using a windows service, i can access to the service from any browser but when i tried to call it from android it doesn't respond. it

Re: [android-developers] Re: SMS database access

2010-06-03 Thread Nando Android
What does allow for access to SMS regardless? Would that require program the underlining SDK instead of doing it via the Java API? I would like to have an agent on the phone that has access to that SMS database. Is it possible to do so? Thanks. On Thu, Jun 3, 2010 at 8:58 AM, Mike dg wrote: >

[android-developers] Re: SMS database access

2010-06-03 Thread Mike dg
There are undocumented content providers that allow "access" to SMS databases. However they are subject to change, and can, and do differ between devices. On Jun 3, 10:41 am, Nando Android wrote: > Hello all, > > I believe the Java API does not give full access to the SMS database and > other dat

[android-developers] Exchange server usage and settings

2010-06-03 Thread Nando Android
Hello all, Is there any way to log how the Exchange server is being used on the device? What can be obtained about Corporate email traffic and usage? Is it possible to change settings programatically for those accounts? Say, a domain is changed or a server is changed. Can I do those settings ch

[android-developers] Do scheduled alarms persist between app upgrades?

2010-06-03 Thread Mark Wyszomierski
Hi, My app schedules an alarm, like: AlarmManager mgr = (AlarmManager)context.getSystemService( Context.ALARM_SERVICE); mgr.setRepeating(...); with the alarm scheduled, what happens if I release a new version of my app, and the user upgrades the app? Will this alarm be removed? Or will

Re: [android-developers] Re: Handling Orientation Changes that occur in another Activity

2010-06-03 Thread peeyush varshney
Hi Jeff, Whenever you change the configuration of device. you ll get onConfigurationChanged() call madatory. there you need to change the layout if you define different layout for landscape and portrait mode else system will take care. No need for onConfigurationChanged(). On Thu, Jun 3, 2010 a

[android-developers] SMS database access

2010-06-03 Thread Nando Android
Hello all, I believe the Java API does not give full access to the SMS database and other databases. Is there any way to have root access to some of those databases such as SMS and phone settings so that I can fetch some information out of it? Thanks -- You received this message because you ar

[android-developers] How to create kind of admob banner or scrolling text?

2010-06-03 Thread dillipk
Hello, Is there any widget which would help me to create kind of admob banner or scrolling text at the top of my app? Thanks, DK -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@goog

RE: [android-developers] how to enable onItemClick for custom list view

2010-06-03 Thread Ericson, Anders
Hi, The way it works is that if your list item (or a part of your list item) is clickable (like the button) it will "steal" the touch event from the ListView, so the ListView will not be able to call onItemClick(). One way to solve it is to set a click listener to the button in each item view.

Re: [android-developers] Maven and Android

2010-06-03 Thread Shane Isbell
On Thu, Jun 3, 2010 at 2:13 AM, Ted Neward wrote: > Yeah. Don’t use Maven. > > > > I don’t know if Android artifacts are published to the Maven repos yet; > I’ve not heard anyone as of yet doing so, and I think doing so might be in > violation of Google’s license agreement that you clicked when

[android-developers] Screen switch callback?

2010-06-03 Thread Dmitry Suzdalev
Hi! I wonder if there's a way to know that user started switching from one virtual screen to another (i.e. at home screen)? And also i'd be interested to know when this switch ends :) Maybe some callback or event or whatever it can be :) Quick grepping through API docs and googling didn't reve

[android-developers] how to enable onItemClick for custom list view

2010-06-03 Thread prachi
Hey hiii all I hav a list view,each list item has a text view and a button. My onItemClick() for list item is not responding.But if i remove the button from list item it is responding.. Pl helppp bcoz i want both to function :(:(:( Any help would be appreciated:):):) -- You

Re: [android-developers] Re: Handling Orientation Changes that occur in another Activity

2010-06-03 Thread Jeff Thorn
I have not defined these settings. I just want the WebView to fill the entire screen. Until the camera is launched, the default layout and scaling settings work just fine. It looks like somewhere the Scale setting gets changed from 1.5 to 1.0 after I call WebView.restoreState(). I don't want to ha

[android-developers] how to change the background of the menuitem

2010-06-03 Thread grace
Hi, I want to change the background of the optionmenuitem and have my custom theme for the menu items is it possible?? pls help.. thanx in advance, Grace. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] Handling Orientation Changes that occur in another Activity

2010-06-03 Thread Jeff Thorn
Yes, I understand that. But my problem is that I don't want to make any changes! :) Yet somehow, the scale is changing somewhere along the line between and I don't know the correct way to set it back. I don't want to hard code any scale settings. On Thu, Jun 3, 2010 at 9:39 AM, Rajiv wrote: >

[android-developers] Re: Handling Orientation Changes that occur in another Activity

2010-06-03 Thread greg
You didn't mention if you've defined separate layout-land and layout- port for your activity. On Jun 3, 9:11 am, Jeff wrote: > I am having an interesting problem and would appreciate any advice. My > app uses WebView as its primary view. Using a javascript hook, it can > launch the camera so the

[android-developers] Regarding enter key on virtual keyboard

2010-06-03 Thread ameya dandekar
Hi, I am currently working on sdk 1.5, in which i want capture the Click event of Enter key on Virtual Keypad. My requirement is, for my Username/Password Login screen. Click on Username field. Cursor is displayed in Text entry box. Click on Enter key on Virtual Keypad. Cursor should be displayed i

Re: [android-developers] Handling Orientation Changes that occur in another Activity

2010-06-03 Thread Rajiv
Hi Jeff, When you change the Phones orientations Activity onConfigurationChanged method got called, so you need to make changes in there. for ex. public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); //get Instance of the Browser say browser //set

[android-developers] Re: Android to PC communication trough USB

2010-06-03 Thread asicwizard
Using MySQL With Java http://dev.mysql.com/usingmysql/java/ On Jun 1, 11:11 am, Felipe Ovalle wrote: > Hello, > anybody knows a code example for communicate one android application to a > desktop java application to do something like update one desktop mysql > database for example? -- You rece

[android-developers] Re: Maven and Android

2010-06-03 Thread ko5tik
http://code.google.com/p/maven-android-plugin/ You can always take android jar, and just deploy it ti your local repo. (or use system scope) reme,ber that android jars contains just a a stubs, suitable to compile against but nithing more. you will have to heavy mock your test classes ( jmock

Re: [android-developers] Handling Orientation Changes that occur in another Activity

2010-06-03 Thread Jeff Thorn
Hi Rajiv, What changes should I make? I am saving the state in onSaveInstanceState and I am restoring the state in onCreate. I would think that the Bundle I saved the state to should preserve all the WebView settings, but that does not appear to be the case. Jeff On Thu, Jun 3, 2010 at 9:19 AM, R

Re: [android-developers] Handling Orientation Changes that occur in another Activity

2010-06-03 Thread Rajiv
Hi Jeff, I think your Browser won't get refressed. You need to make changes in *onConfigurationChanged* in that Activity. Regards, Rajiv On Thu, Jun 3, 2010 at 6:41 PM, Jeff wrote: > I am having an interesting problem and would appreciate any advice. My > app uses WebView as its primary view.

RE: [android-developers] Re: Android graphical capabilities

2010-06-03 Thread Ericson, Anders
The reference app on market has minSdkVersion set to 4 (=1.6) and the main reason is to enable the support for different screen sizes (mdpi, ldpi, hdpi). The code itself has very little (if any) dependencies to 1.6 specific APIs. You can always download the code and just rename the directories f

  1   2   >