[android-developers] Re: Live Wallpaper WIN DEATH upon restart

2010-09-14 Thread HaMMeReD
I should say my solution to this problem was to create a new project and move the code into it. I didn't change any code at all, I just moved it all into another project and there is no more crash at shutdown. The only thing that has changed slightly is the manifest and wallpaper.xml which I

[android-developers] Is there any good code coverage tool apart from EMMA?

2010-09-14 Thread Amit Dixit
Hi, Is there any good code coverage tool apart from EMMA which cane be easily configurable? Best Regards, -- Amit Dixit -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] binding to a service from a separate class

2010-09-14 Thread bagelboy
Hello Android Devs, I've created a timer service (because I want the timer to accessible, persistent, and run when the activity is not up), tested using a basic front-end activity. The service and call backs all work fine, now what I want to do is marry the service up to my timer view class. My

[android-developers] Can't create multiple alarms

2010-09-14 Thread George
I can't seem to create multiple alarms. In the code below, the last alarm's onReceive gets fired but not the first one. AlarmManager sleepAlarm = (AlarmManager) getSystemService(ALARM_SERVICE); AlarmManager wakeupAlarm = (AlarmManager)

[android-developers] Problem with installing Android SDK

2010-09-14 Thread radster
I am having trouble installing the Android SDK. I have assured that the proxy settings are correct. I am getting the following error for all tools: Server returned HTTP response code: 403 for URL: http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip My company reads .zip

[android-developers] About ad hoc mode in Antroid

2010-09-14 Thread Patrick
Dear Antroid Developers: I am an university student currently woking on a Final Year Project. Our group is planning to use Antroid to implement our system. However, our proposed scheme requires switching between ad hoc mode and client mode for a certain of time. Does Antroid has any APIs that

[android-developers] Want to develop develop droid application

2010-09-14 Thread anand hariyani
Hi, I want to develop droid application which is work on other device as well like Google nexus one. so what is the perfect emulator or AVD settings to develop such application which is work on all screen resolution and all device. Please give me reply will wait for response. Thanks in

[android-developers] Re: about android Reversepengineering !!!!

2010-09-14 Thread C
Actually most obfuscators will make your code faster and smaller. It's also not any more difficult to maintain, as it only changes the compiled version, not the original source code. As for effectiveness, it will definitely slow people down and make it less worthwhile, but of course nothing is

[android-developers] camera preview with graphics on top

2010-09-14 Thread cjayant
I am making an Android application that uses the camera- and also draws on the screen. Basically, I want to start out with the camera preview mode- and then when i double tap, take a photo. After the photo is taken, i want the screen to show a bitmap that i created from the photo. (i can

[android-developers] Tween animation deactivates button

2010-09-14 Thread Losk
Hey I have made a tween animation that moves one of my buttons around on the screen, this is working. However as long as the animation is running i cant press the button, either through onclick in main.xml or via onclicklistener in java. When the animation is done my button is working as it

[android-developers] Android SDK components download fails

2010-09-14 Thread Lomesh
I am trying to add Android SDK components. After installing Android SDK Starter Package and setting up proxy when I click on Available Packages Android SDK and AVD Manager fails to fetch from repository. I tried with both https and http. I tried to access this site (http://

[android-developers] Re: about android Reversepengineering !!!!

2010-09-14 Thread C
Look at this site, http://android-developers.blogspot.com/ Search for Securing Android LVL Applications (about 1/2 way down the page) for a good description of some ways to secure your application. On Sep 5, 9:38 pm, xc s sxchao2...@gmail.com wrote: My English is just so-so .   I dont 'want

Re: [android-developers] Re: Can android support more than one sdcard?

2010-09-14 Thread Spidey
It should be a case by case approach, make a switch case structure to define paths, if this is the only reliable way to find it. Also, try to use the APIs functions to find the first SDCard path whenever possible. Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr

[android-developers] More AsyncTask - Simultaneous Downloads

2010-09-14 Thread Spidey
Ok, so in a project I'm in, we are implementing a service to handle connection changes and downloads. The service handles a queue of AsyncTasks, each representing a download task. This way, we can cancel/pause tasks when connection drops, and also restore them when connection is reestablished.

[android-developers] listactivity with default preferenceactivity style

2010-09-14 Thread lorenx
hi all. i'm trying to create a list to display some informations and i'd like to have the same style as the default preference/settings activities, main entries with smaller summaries. i wonder then if anyone knows the default android:textsize values, android:padding values and anything else that

[android-developers] java.net.SocketException: Operation not permitted

2010-09-14 Thread jag
final int port = 5060; byte[] inviteBytes = sipInvite.getBytes(); DatagramPacket packet = new DatagramPacket(inviteBytes, inviteBytes.length, toInetAddress, port ); DatagramSocket serverSocket = new DatagramSocket(port ); serverSocket.send(packet); 09-10

[android-developers] [JOB] Android Developer at Trulia!

2010-09-14 Thread Cassy Rowe, Trulia
Trulia.com, the innovation leader in the online real estate industry is looking for a rock star developer with a passion for and talent in developing for Android. In this role, you will be at the heart of delivering on our core mission: ‘’revolutionizing the real estate industry”, playing a

[android-developers] About ad hoc mode in Antroid

2010-09-14 Thread Patrick
Dear Antroid Developers: I am an university student currently woking on a Final Year Project. Our group is planning to use Antroid to implement our system. However, our proposed scheme requires switching between ad hoc mode and client mode for a certain of time. Does Antroid has any APIs that

[android-developers] Activity ID Runnning

2010-09-14 Thread Benjamin Cervera
I'm trying to call MediaPlayer since an application , I can launch it with a Button with an StartActivity(intent), so if i push the button twice the application is launched again and restart the music the question is, How can identify which activities are currently running to avoid launched it

[android-developers] Draw a circle with a stroke color different than the fill color

2010-09-14 Thread Baran Ozgul
Hi, Is there a way to draw a Circle, with a fill color and a stroke color different from each other? There seems to be a fill style enum entry called FILL_AND_STROKE, but the api doesn't allow me to specify the fill color and the outline (stroke) color separately, as far as I can see. -- You

[android-developers] Sending APDU messages during start and shutdown.

2010-09-14 Thread datapig
Greetings. I have been struggling with a design for a couple of weeks now and I cannot make any headway towards a solution. I am hoping someone can provide some insight. I want to send an APDU message to my SIM card after the phone boots, when it goes to sleep (pushing power button, no

[android-developers] Why is strings.xml being parsed as an integer?

2010-09-14 Thread Math Gym
My Activity doesn't even start because there's an error parsing strings.xml. Logcat shows: E/AndroidRuntime(12581): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime(12581): java.lang.RuntimeException: Unable to start activity

[android-developers] Re: connecting mysql database

2010-09-14 Thread Rosebeat
There are many posts out there. You can try them. I could not achieve any success though. If you want those links then let me know. i just forgot those links atm... On Aug 21, 7:47 pm, crajesh crajesh2...@gmail.com wrote: Hi All,   I am new in android. I want to know to connect the mysql

[android-developers] MySQL Connectivity

2010-09-14 Thread Rosebeat
Hello, I have this code that I want to make on android. Here is the PHP code ?php mysql_connect(localhost,username,password); mysql_select_db(game); echo Database has been selected; $a=mysql_query(SELECT * from game1 where id'.$_REQUEST['id'].'); while($b=mysql_fetch_assoc($a)) $output[]=$b;

[android-developers] anr happened in SystemServer

2010-09-14 Thread sharon.hou
Hi, Could you help check if any abnormal in below /data/anr/trace.txt ? This SystemServer anr is reported by watchdog, then another SystemServer anr reported by watchdog, broadcast receiver timeout anr reported in ActivityManagerService, final SystemServer is finally killed by watchdog and do not

[android-developers] Get bookmark Thumbnail (not favicon)

2010-09-14 Thread Liorry
Hi everybody, I know this seems like a question more suitable in the beginners group or Stackoverflow but believe me, I've tried there before I came here :) I'm trying to retrieve a bookmark thumbnail (not FAVICON) in order to show it in an image view or gallery I've found

[android-developers] Adding Business Location Data to Maps

2010-09-14 Thread Kevin
Hi All, Does anyone know of any class or web service which maps business locations to Google Maps for 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

[android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-09-14 Thread Mathieu - gpmoo7
I had the same issue trying to parse this date string: Sat, 04 Sep 2010 01:50:17 + with this: SimpleDateFormat(EEE, dd MMM HH:mm:ss ). That was working perfectly on Android 2.2. I tried the app on a non-english Android 1.5 device and that didn't work any more. I fixed my problem by

[android-developers] The specifics of the Nexus One Dev Phone compared to a regular N1 Phone

2010-09-14 Thread Alexander Orlov
I'd like to buy a N1 Dev Phone for dev purposes but also for ordinary everyday usage. So are there any specifics in the Dev Version of N1 I should care about? Is there anything that would inhibit a regular day to day usage and what are the differences to the regular retail version of the Phone?

[android-developers] App Force Closes - Help - Beginer

2010-09-14 Thread Arshad
Hi,I am new to android development and I have made this using help from a website. Please Help,Thanks. The XML files dont have any errors,Here is my Main java code: package com.CFConverter; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import

[android-developers] Re: Ho to take a screenshot of the current activity and email it to a specific email id

2010-09-14 Thread Andreas
Hi DG , it's pretty simple. If you have a conneced Emulator or a Real Device. Make this: 1) Elcipse Windows Views Devices 2) This opens a new Tap in your Ecplise Area for Views (like Console, Problems, etc) 3) You will find your connected device listed there left click it 4) on the Views

[android-developers] Documentation tutorials

2010-09-14 Thread JeremyV
Perhaps I am out of place with all of this but I have reached the height of exasperation and this seemed the best place to call out for assistance. I understand the tremendous work behind providing high quality, detailed documentation and tutorials for frameworks, and I have a great deal of

[android-developers] ScriptForAndroidTemplate.apk by default dies in emulator and on phone.

2010-09-14 Thread S.A. Ridley
Hello, I compiled the ScriptForAndroidTemplate (com.dummy.fooforandroid) to just dry-run the compilation and installation process before I continued with my personal application. Upon launching it (from emulator and my phone) I get the The Application Dummy Script (process

[android-developers] Re: Adding button style to GridView children

2010-09-14 Thread Jurnell Cockhren
My response assumes that you're using a custom Adapter to draw the buttons. There are two ways. 1. As you may already know, the getView method creates the buttons. You can't style the buttons by ways of the parent activity in the onCreate method like all the docs demonstrate. And if you trying,

[android-developers] Connect two android phones

2010-09-14 Thread Rosebeat
I am new to Android. I want to know how we can connect two android mobiles. Why I want to do that??? Here is the idea. I want two players to log in with the help of android device. The device sends the request to the server. The server authenticates them and they both are now connected. These both

[android-developers] Re: Adding button style to GridView children

2010-09-14 Thread Jurnell Cockhren
My response assumes that you're using a custom Adapter to draw the buttons. There are two ways. 1. As you may already know, the getView method creates the buttons. You can't style the buttons by ways of the parent activity in the onCreate method like all the docs demonstrate. And if you trying,

[android-developers] developing blogger in android

2010-09-14 Thread blogger
hello i m developing blogger application for android. It will access the google blogger. I have completed the authentication but not getting how to proceed , to retrieve posts send posts etc. can anybody help me. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: ListView with VideoThumbs and Name

2010-09-14 Thread Jurnell Cockhren
I guess it's safe to say that you're generating the thumbs during runtime. First, I would subclass BaseAdapter for the Item creation and to listener creation. There are three ways to achieve what you want: 1. Populate ListView's Adapter with a LinearLayout. Within the LinearLayout

Re: [android-developers] custom font

2010-09-14 Thread mahesh singh
Hi You need to add one ALGER.TTF file in assets folder . Use this link http://www.filestube.com/3J8NxckcEj7erQxmtSwxt5/ALGER-TTF.html. On Wed, Sep 8, 2010 at 11:14 PM, nishu nishuk...@gmail.com wrote: hi! i want to use Algerian font in my application. i have tried TextView txt =

[android-developers] Re: Adding button style to GridView children

2010-09-14 Thread Jurnell Cockhren
My response assumes that you're using a custom Adapter to draw the buttons. There are two ways. 1. As you may already know, the getView method creates the buttons. You can't style the buttons by ways of the parent activity in the onCreate method like all the docs demonstrate. And if you trying,

[android-developers] how to access dot net web service ..?

2010-09-14 Thread Rubin
Hi. How to access and create object asp.net web service (i.e) .asmx page. Please provide me sample code Cheers, Rubin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Getting Transit information from google maps

2010-09-14 Thread Wordlet
Hi, I'm trying to write a widget that will determine where the closest light rail stop is in my city, there's only 13 so it's not too hard to do those manually. But I also want it to show the next departure time of the eastbound and westbound trains at that stop. This is difficult since there's

[android-developers] HTML5 video played in the same window

2010-09-14 Thread Sanjay Mistry
Hi Is there a way to play a HTML5 video in the same window. I have a test setup but when I play the video on my desire the video is lanched in a video player rather than playing string in the web page -- like it does in chrome Thanks Sanjay -- You received this message because you are

[android-developers] Open proper app with intent

2010-09-14 Thread Bryan Parks
Forgive me if this is a topic that has already been discussed, but I've searched for hours and can't seem to find the answer I'm looking for. I'm trying to cut my teeth on Android programming with a simple file manager app and currently have most all functions working, but I can't seem to open a

Re: [android-developers] Setting desktop icon

2010-09-14 Thread Kevin Dunaway
I've found that you may have to delete the generated icon line in the R.java file and force it to refresh before a new icon will display. On Mon, Sep 13, 2010 at 12:04 PM, Bret Foreman bret.fore...@gmail.comwrote: I've got a line in my manifest that looks like this: application

[android-developers] invoke pdf viewer from inside webview

2010-09-14 Thread June
Did anyone manage to invoke a pdf viewer to display the file from a pdf hyperlink displayed inside webview? If so, could you share how it is done? Thanks, June -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Samsung Galaxy S front facing camera.

2010-09-14 Thread Itamar
I would like to join in on this question. On Aug 5, 3:25 pm, HP harshap...@gmail.com wrote: I would like to know if the APIs for accessing the front facing camera of this phone are available. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to include progress dialogue..?

2010-09-14 Thread Rubin
Hi I have to show progress dialog while button click. Is there any sample code to show this. Cheers, Rubin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Changing Features of Buttons Dynamically

2010-09-14 Thread Heshan Perera
Hi, I am really new to Android development. I was working on event handling and using the onFocusChange events to change features of other views in the activity. For example, I make the text on EditText objects change as focus changes from one to the other. Similarly, I tried changing the text

Re: [android-developers] Getting compass values and use it on map overlay

2010-09-14 Thread Carlos Silva
Hi Pedro, you can check how I do it in Farmácias (don't know if you know it). Here's the relevant source file: http://goo.gl/3vrj Check the onDraw Method. On Mon, Sep 13, 2010 at 21:30, Pedro Teixeira pedroteixeir...@gmail.comwrote: Hi there, I have a marker on the map using an Overlay.. I

[android-developers] Get Location

2010-09-14 Thread Rubin
Hi. I am new android development. My new requirement is location details. I need to find, device current location in the form of lattitude and longitude. cheers, Rubin -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] How can I avoid sending Notification if my Activity is currently on top?

2010-09-14 Thread spartygw
I have a server socket bound to a port and I want to send notifications using NotificationManager when a client connects. This all works well. What I want to avoid is sending notifications if a specific activity is currently being used by the user. E.g., I'm trying to avoid something like GMail

[android-developers] Internet connection is not working in emulator

2010-09-14 Thread viral
Hi, I am not able to run the internet from my android emulator. whenever I try to run my browser i am getting following error on various platforms Following are some of the entries in log window. Android emulator 2.2: ERROR/ActivityThread(269): Failed to find provider info for

[android-developers] Browser resume downloads?

2010-09-14 Thread John Moser
I have Android 1.5 on the Cliq and don't know anything about 2.1 or 2.2 or whatever, so I'm asking this here. I've noticed a LOT of HTTP software is stuck in the 80s. HTTP RESUME never happens-- not in Chrome (5), not in Firefox (3.6), not in IE. On Android, 3G can fail and then downloading a

[android-developers] I am a newbie;need Yahoo Messenger for Android 1.6

2010-09-14 Thread Mohit
Hi, I am newbie to Android, i am looking for Yahoo Messenger for version 1.6. Please help. Thanks, Mohit -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Samsung Galaxy S front facing camera.

2010-09-14 Thread Itamar
Found this posted in Samsung Java ME forum.. Yes the front face camera is accessible in the following way: Camera camera = Camera.open(); Camera.Parameters parameters = camera.getParameters(); parameters.set(camera-id, 2); camera.setParameters(parameters); This is the normal way a camera is

[android-developers] Running activity from my local service

2010-09-14 Thread Shahar Rubin
Hi, I'm trying to create a program with a service that runs every 10 seconds, puts the camera preview, taking a picture and then leaving the user to continue his work (closing down). Currently I have two problems: 1. After I'm taking the picture, the preview still there. There's no function like

[android-developers] Re: How to get Latitude and longitude information

2010-09-14 Thread evident
Hi, I haven't done it in the emulator yet (I connected it to the phone directly to get gps data and test my app), but you simply need to use the LocationManager... http://d.android.com/reference/android/location/LocationManager.html Just add a LocationListener:

[android-developers] How to get Location values..?

2010-09-14 Thread Rubin
Hi I am new to android development, My new requirement is find Latitude and longitude for current position where device is present. how I get this. Cheers, Rubin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How do I refer to a drawable with a variable

2010-09-14 Thread nextgen
I am doing an app related to football. I have a list view that will have various rows representing teams. In my custom array adapter I want to write some code that will present an icon for the team represented by the row. I have a drawable resource for each team (for instance for Indianapolis,

[android-developers] AES Decrypt and Encrypt problem

2010-09-14 Thread Alin
I have generated on my android application a pair of RSA Keys. I receive from a web service - an AES Key, encrypted with my RSA public key - a String encoded with the AES key. So I must do the following: - decrypt the AES Key - decrypt the string with the obtained AES Key. To generate the RSA

[android-developers] Creating a file inside my own directory

2010-09-14 Thread Great
I am using following to code to create a directory private static final String TRIAL_DIR_NME=trial; File dir = getDir(TRIAL_DIR_NME, MODE_PRIVATE); Now I want to create a custom file inside this directory. Basically I want to write trial start date for app and then compare that date to

[android-developers] Post about SSLEngine

2010-09-14 Thread Octro
I had posted a topic about a problem I was having using SSLEngine on Android to this forum. But, unfortunately I can't even find that message anywhere. Is it still in the moderation queue or did you find something offending there, and it didn't pass the moderation? If this is not the right

[android-developers] Android real time sound spectrum analyzer

2010-09-14 Thread Muhammad Ali
Hi All, I am new for multimedia in java and I am going to develop an application which can analyze the sound spectrum. I don't know how to get a real time sound from the mic of the android and analyze it. If someone know about any API and method that how to get real time sound and get the

[android-developers] should i be reusing the same location manager?

2010-09-14 Thread dadada
Hi all, I have a few activities within an app. Should i be reusing the same location manager or should i call (LocationManager) this.getSystemService(Context.LOCATION_SERVICE) for each new activities? Thanks Bryan -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Disabling the USB port?

2010-09-14 Thread FrankG
Yes .. but the question if, whether it is allowed for hiim, that the mobile can still be seen in the devise manager ? If not then he need a special usb gadget with null mode, means, which does not enumerate .. And disable mass storage allone maybe will not help him, if his devise supports other

Re: [android-developers] MySQL Connectivity

2010-09-14 Thread Miguel Morales
Try adding e.printStackTrace() in your catch method. On Sun, Sep 12, 2010 at 12:51 AM, Rosebeat rosebeat2...@gmail.com wrote: Hello, I have this code that I want to make on android. Here is the PHP code ?php mysql_connect(localhost,username,password); mysql_select_db(game); echo Database

[android-developers] Re: How do I refer to a drawable with a variable

2010-09-14 Thread KANTESH BABANNAVAR
I think it may help you.. getresources().getDrawable(TeamArray[position]); Where TeamArray[position] = { R.drawable.drawable1, R.drawable.drawable2, . . R.drawable.drawableN, } These links may help you.. http://developer.android.com/resources/tutorials/views/hello-gridview.html

[android-developers] Re: How to include progress dialogue..?

2010-09-14 Thread KANTESH BABANNAVAR
please refer this link. http://developer.android.com/guide/topics/ui/dialogs.html On Sep 14, 8:24 am, Rubin jeff.rubi...@gmail.com wrote: Hi                     I have to show progress dialog while button click. Is there any sample code to show this. Cheers, Rubin -- You received this

[android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-14 Thread BoD
Anybody please? I saw this question was asked several times in the past but never answered. The official documentation doesn't help either. The ability to add a custom contact sync provider is somewhat useless if users then cannot edit the contacts - so I really think it's an important question.

[android-developers] App icon not working after upgrade, but reboot fixes the problem...

2010-09-14 Thread Chister Nordvik
Hi. I have an app with about 200.000 users and recently upgraded it. This has worked fine before but now I suddenly got 30-40 emails and lot of 1* because the app icon didn't work anymore. It said the program wasn't installed. If they went to My Downloads in the Android Market they could open the

Re: [android-developers] Post about SSLEngine

2010-09-14 Thread Kostya Vasilyev
Up until Android 2.2, SSLEngine crashes with a null pointer exception while creating a session object. Is that what you are seeing? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 14.09.2010 11:14 пользователь Octro saur...@octro.com написал: I had posted a topic about a problem I was

Re: [android-developers] Re: Fine-tuning the WebView

2010-09-14 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/14/10 07:24 , Maps.Huge.Info (Maps API Guru) wrote: The webview renders like a browser so if you pass it html formatted with css, it will display that way. I suppose you're passing html directly to webview instead of using a file. I haven't

Re: [android-developers] Why is strings.xml being parsed as an integer?

2010-09-14 Thread Rocky
Hey dude, don't put @ string string name=dbDisplayColumnsDate NumOps Time Score/string On Sat, Sep 11, 2010 at 5:17 AM, Math Gym and...@gmail.com wrote: My Activity doesn't even start because there's an error parsing strings.xml. Logcat shows: E/AndroidRuntime(12581): Uncaught

Re: [android-developers] Re: Android Market, google checkout minimal sum to be collected before payment.

2010-09-14 Thread YuviDroid
I haven't tried it myself, but I believe so. On Tue, Sep 14, 2010 at 12:47 AM, sblantipodi perini.dav...@dpsoftware.orgwrote: If I set monthly, I will receive only one big payment with all transactions? On Sep 2, 11:51 am, YuviDroid yuvidr...@gmail.com wrote: Under Settings -- Financials

Re: [android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-09-14 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/13/10 00:32 , Mathieu - gpmoo7 wrote: Hope it helps someone else. 12% are still using Android 1.5 ;( I can confirm that there's a locale problem on some gear with 1.5. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s.

Re: [android-developers] MySQL Connectivity

2010-09-14 Thread Kostya Vasilyev
ADB and USB settings are accessible from standard Android UI. The former can be read, but not changed by regular applications. The latter is often device-specific. This means the user can change it at any time. Relying on either setting for anti-piracy or security is not going to work. Custom

Re: [android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-14 Thread Kostya Vasilyev
This came up on this list before - use search. Basically, the idea is that custom contacts are assumed to be sufficiently different from standard ones, and so the built-in contact editor wouldn't know how to edit them anyway. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 14.09.2010 11:48

[android-developers] Re: App icon not working after upgrade, but reboot fixes the problem...

2010-09-14 Thread Mark Carter
This usually happens if you rename the Activity (or move it to a different package). The system get confused because its cached the old name somewhere. A reboot usually fixes this but not always. The workaround is to add a dummy Activity at the old location (which is a subclass of the new

[android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-14 Thread BoD
custom contacts are assumed to be sufficiently different from standard ones, and so the built-in contact editor wouldn't know how to edit them anyway. How disappointing. Is there a mechanism to inject your own contact editing Activity into the Contact app? BoD PS: I did use search thank you

[android-developers] Which is the best method to post the Android Bitmap object from Application to Service ?

2010-09-14 Thread Dilip Dilip
Hi All, Which is the best method to post the Android Bitmap object from Application to Service ? I am using interface (myservice.aidl) it works fine but it takes lot of time for larger bitmap. Please suggest me some good method for sending the Bitmap from application to service. Thanks and

[android-developers] path appearing twice on map canvas

2010-09-14 Thread dadada
hi all, I have a Main_Overlay class that extends Overlay. I added This overlay to the mapview and override the Draw method as of below: public void draw(android.graphics.Canvas canvas, MapView mapView, boolean shadow ) { mPath = new Path();

[android-developers] Re: App icon not working after upgrade, but reboot fixes the problem...

2010-09-14 Thread Chister Nordvik
This usually happens if you rename the Activity (or move it to a different package). The system get confused because its cached the old name somewhere. A reboot usually fixes this but not always. The workaround is to add a dummy Activity at the old location (which is a subclass of the new

Re: [android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-14 Thread Kostya Vasilyev
I believe there was some info on this in the old thread. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 14.09.2010 12:21 пользователь BoD bodl...@gmail.com написал: custom contacts are assumed to be sufficiently different from standard ones, and so the built-in... How disappointing. Is

[android-developers] path appearing twice on map canvas

2010-09-14 Thread dadada
Hi all, I have a Main_Overlay that extends Overlay. Inside Main_Overlay i override the draw method: public void draw(android.graphics.Canvas canvas, MapView mapView, boolean shadow ) { mPath = new Path(); mPath.moveTo(0, -240); mPath.lineTo(-50,

[android-developers] How to Access Web service..!

2010-09-14 Thread Gold
HI..! I need to access web method..! How to accesss web service..! Thanks in Advance, Gold -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] ADT master version

2010-09-14 Thread snpe
Hi, I have noticed that you change version of ADT plugin from 0.9.8 to 8.0.0. Is it mistake ? I suppose that it would be 0.9.9, 0.10.0 or if ADT is stable 1.0.0. Regards, Peco -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] communication to oracle

2010-09-14 Thread Gold
Hi.. How to implement communication with oracle...! Thanks in advance, Gold -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] ADT master and aapt

2010-09-14 Thread snpe
Hi, ADT master execute aapt with the --debug-mode option. aapt in Android SDK 07 doesn't support this option. Is there Windows build of SDK which support this ? Thanks, Peco -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Where has hierarchyviewer.bat gone?

2010-09-14 Thread repDetect()
On Sep 13, 6:29 pm, Rick Deckard n6mba50...@gmail.com wrote: On Mon, Sep 13, 2010 at 3:19 PM, repDetect() n6mba50...@gmail.com wrote: Would it work to restore an old hierarchyviewer.bat or download one to start the hierarchy viewer? It worked. Maybe it's just my luck to get this issue

[android-developers] Is it worth writing a ContentProvider and using CursorAdapter for this case?

2010-09-14 Thread Samuh
We are connecting to a number of WebServices and fetching a lot of structured data(XML). We are parsing this data and storing them into SQLite tables. This part of the application runs periodically in the back ground. On the foreground, the data fetched is displayed in ListViews. We have used

[android-developers] How do I change the contents of a preference dialog when it is tapped?

2010-09-14 Thread MathiasL
I have implemented the onPreferenceClick(Preference) callback interface [code] public boolean onPreferenceClick(Preference arg0) { if (arg0 instanceof ListPreference){ addListPreferenceEntriesFromStore((ListPreference) arg0, getSharedPreferences(cfn_preferences,

[android-developers] how do i get the sensor data on mapoverlay?

2010-09-14 Thread dadada
hi all, since map overlay is not activity, how do i get the sensor data so that i can draw on the map overlay? like the direction arrow. Thanks! Bryan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Share on Droid Incredible doesn't list Messaging

2010-09-14 Thread Mark Wheadon
Hi guys -- I have a user using a Droid Incredible, and he tells me that when he shares images from my app (Photo Enhance), all the usual suspects are listed (Twitter, Facebook and so on) but not messaging. This isn't the case for my on my N1, nor on the emulator -- any idea what I have to do

[android-developers] Re: we need SVG... now

2010-09-14 Thread walterc
+1000 com'on, even ie has it!! On Aug 9, 10:58 am, gord justg...@gmail.com wrote: I'm YADWSFSVGOA - 'yet another developer who is screaming forSVGon Android'  ! Just do the right thing, turn it on, and release it now - this one change deserves its own version increase. SVGis an important

[android-developers] SQLite: IN comparison support

2010-09-14 Thread Samuh
I wish to execute the following query on my application's SQliteDatabase. String sql = Select col_1,row_id from Table1 where row_id IN(Select row_id from Table2 where key = 'key') I am using the rawQuery function of the SQLiteDataBase class for the same. The problem is when the inner query

Re: [android-developers] Re: Disabling the USB port?

2010-09-14 Thread Mark Murphy
On Mon, Sep 13, 2010 at 11:56 PM, Tez earlencefe...@gmail.com wrote: Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Yes, you're correct. I was hunting for USB and that one didn't catch my eye. My apologies. Hence, if you are rolling your own

Re: [android-developers] How can I avoid sending Notification if my Activity is currently on top?

2010-09-14 Thread Mark Murphy
On Mon, Sep 13, 2010 at 10:51 AM, spartygw spart...@gmail.com wrote: I have a server socket bound to a port and I want to send notifications using NotificationManager when a client connects.  This all works well. What I want to avoid is sending notifications if a specific activity is

Re: [android-developers] How to get Location values..?

2010-09-14 Thread Mark Murphy
On Mon, Sep 13, 2010 at 11:16 PM, Rubin jeff.rubi...@gmail.com wrote:           I am new to android development, My new requirement is find Latitude and longitude for current position where device is present. how I get this. Use LocationManager. Register for location updates. Process the

[android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-14 Thread BoD
So apparently the answer is no... :( BoD On Sep 14, 10:37 am, Kostya Vasilyev kmans...@gmail.com wrote: I believe there was some info on this in the old thread. -- Kostya Vasilyev --http://kmansoft.wordpress.com 14.09.2010 12:21 пользователь BoD bodl...@gmail.com написал: custom

  1   2   3   4   >