Re: [android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-10 Thread Xavier Ducrohet
interesting. I've been playing with Eclipse 3.6.2 recently and saw this quite a bit, but I never see it with Eclipse 3.5.2 which is my main development version. I'll do more testing after IO to see what's up. Xav On Sat, May 7, 2011 at 2:52 PM, Kamil kmichal...@gmail.com wrote: I've noticed

Re: [android-developers] setTypeface

2011-05-10 Thread Sakthivel A M
Hi Subha, Can u help me how to search Employee details by typing employee name. Try to send Code. Thank u On Mon, May 9, 2011 at 3:27 PM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! how to implement the following concept Typeface

[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-10 Thread Zsolt Vasvari
Yes, please fix this. This is very large productivity hindrence. Every time I add/remove a resource, I need to Clean and Rebuild twice. It always fails the first time around with an ! showing next to the project name. On May 10, 2:07 pm, Xavier Ducrohet x...@android.com wrote: interesting.

[android-developers] Re: where to put files to be read by jni native code

2011-05-10 Thread Droid
This works for a file on the SDCard: #include string.h #include jni.h #include stdio.h /* This is a trivial JNI example where we use a native method * to return a new VM String. See the corresponding Java source * file located at: * * apps/samples/hello-jni/project/src/com/example/HelloJni/

[android-developers] Re: emulator too slow

2011-05-10 Thread Droid
You can reduce the screen size of the emulator - from SDK Manager and launch button. A small screen size is generally faster all round. On May 10, 2:34 am, bob b...@coolgroups.com wrote: Is there any way to make the emulator faster?  It pretty much runs slow as molasses on my Macbook. -- You

Re: [android-developers] hash functions

2011-05-10 Thread Nikolay Elenkov
On Tue, May 10, 2011 at 2:52 PM, pasamblue1 parulcha...@gmail.com wrote: I am developing an android application for encryption decryption of messages. I need some hash algorithm to generate key from password. I am using SHA1 for the same. Not sure if it is good to use it for security reasons.

[android-developers] Re: hash functions

2011-05-10 Thread gjs
http://developer.android.com/reference/java/security/spec/MGF1ParameterSpec.html SHA256, 384, 512 http://developer.android.com/reference/java/security/MessageDigest.html MD5 is weaker than SHA On May 10, 3:52 pm, pasamblue1 parulcha...@gmail.com wrote: I am developing an android application

Re: [android-developers] Re: ListView - is it possible to limit the fling speed?

2011-05-10 Thread Omar Adobati
than to all the guys who have been replying to me, So, I have understood I can't limit the speed the fling scroll, but it would be at least possible to stop the scroll when I do touch the list? As I wrote, when I do perform a scroll that then come up to be a fling my list scroll to the top or the

[android-developers] How to Override progress bar message i.e.. 0/100

2011-05-10 Thread Jitesh dedhiya
How to Override progress bar message i.e..* 0/100* to say *0 remaining out of 100* -- --Jitesh .V. Dedhiya--- Don't Learn To Hack but Hack To Learn -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Data transfer from WindowManagerService.java to WindowManager.java

2011-05-10 Thread siva prasad
Hi everyone, I have some required data in WindowManagerService.java file (let me say , mWindows). I want to query that data from WindowManager.java file. For example : I want to have the list of Window Objects in WindowManager.java file , I can get the list from WindowManagerService.java

[android-developers] SetTypeface with holder

2011-05-10 Thread subha
Hi! public View getView(int position, View convertView, ViewGroup parent) { View vi=convertView; ViewHolder holder; if(convertView==null){ System.out.println(inside null); vi =

Re: [android-developers] Data transfer from WindowManagerService.java to WindowManager.java

2011-05-10 Thread Dianne Hackborn
You can't do that -- WindowManagerService has an array of WindowState objects, which only inside its process. A Window object only exists inside of the process of that window, and the window manager services knows nothing about it. Further, there is no direct association between a window in the

Re: [android-developers] Re: ListView - is it possible to limit the fling speed?

2011-05-10 Thread Dianne Hackborn
When the user presses on the screen during a fling it stops the screen. This is how list view and other scrolling containers have always working in Android since 1.0. On Tue, May 10, 2011 at 12:07 AM, Omar Adobati omar.adob...@gmail.comwrote: than to all the guys who have been replying to me,

Re: [android-developers] Re: ListView - is it possible to limit the fling speed?

2011-05-10 Thread Omar Adobati
Hi Thanks for your reply... ...but mine dosen't what can I have done to prevent it? I mean, for what reason mine keeps scrolling? *Omar Adobati | omar.adob...@gmail.com | @0m4r http://www.twitter.com/0m4r * On Tue, May 10, 2011 at 09:46, Dianne Hackborn hack...@android.com wrote: When

Re: [android-developers] Re: hash functions

2011-05-10 Thread Nikolay Elenkov
On Tue, May 10, 2011 at 3:59 PM, gjs garyjamessi...@gmail.com wrote: http://developer.android.com/reference/java/security/spec/MGF1ParameterSpec.html SHA256, 384, 512 What does the mask generation function has to do with this? Don't just paste random links.

[android-developers] what these logs specify

2011-05-10 Thread chetan
Hi, Can anybody help me to understand the below logs. 05-10 11:02:23.560 436 436 I am_on_paused_called: com.android.phone.InCallScreen 05-10 11:02:23.560 180 498 I am_failed_to_pause: [1078345632,com.android.phone/.InCallScreen,(none)] 05-10 11:02:23.600 436 436 I

[android-developers] Not finding proxy and port values in the settings.db (Gingerbread)

2011-05-10 Thread Ashok Jeevan
Hi All, I was trying to add the proxy and the port from the APN settings. After pulling the settings.db, I found that the proxy:port values had not been inserted in the 'secure' or 'system' table. I looked in the above two tables since a lot of web queries showed the query to insert the values

Re: [android-developers] what these logs specify

2011-05-10 Thread Magghu India
Dear Chetan, Could you more specific, like from where did you get data. It will help in analysys. Regards, Mani For Technical Help visit at http://www.magghu.com On Tue, May 10, 2011 at 1:23 PM, chetan chetanchauha...@gmail.com wrote: Hi, Can anybody help me to understand the below

[android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-10 Thread Capt Spaghetti
So the basic question remains the same. How do I delete everything in a table without dropping and re-creating the table? Thanks On May 9, 7:51 am, Mark Murphy mmur...@commonsware.com wrote: If the NullPointerException happens directly on that line, then your db variable is null. On

[android-developers] Re: onBackPressed to hide Not destroy activity

2011-05-10 Thread Ali Chousein
I agree with Muhammad. Save your instance state and restore it when necessary, instead of trying to do something against the framework. -Ali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Export contact to vCard

2011-05-10 Thread peleflip
Anyone did something similar using another library or is there another way to do it? Thanks On 7 mayo, 10:44, peleflip jrpele...@gmail.com wrote: Hi everyone, i'm using the library android-vcard(http://code.google.com/p/android-vcard/) to export data contacts to avCard The problem i'm

Re: [android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-10 Thread Kostya Vasilyev
You call db.delete( table name here, null, null); If the value of db is null, you will get a NullPointerException, just like for any other method invocation on a null object, database or not. Check to see where you get the value of db from, and fix it so that db actually is a valid database

Re: [android-developers] Re: Export contact to vCard

2011-05-10 Thread Kostya Vasilyev
Have you looked at the vCard format specs? http://en.wikipedia.org/wiki/VCard http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-19 Even if the library you're using doesn't directly support the items you wish to export, with those specs and examples it should be pretty easy to

[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-10 Thread snpe
It's possible that ApkBuilder locks *.apk file when a exception occurs. ApKBuilder work a lot operation with apk file without closing them when a exception happen. The problem disappear when user refresh (unlock) the file or restart OS. Restarting is obligate on Windows because Linux/Mac don't

Re: [android-developers] Not finding proxy and port values in the settings.db (Gingerbread)

2011-05-10 Thread sippy zenma
u did it from file? On Tue, May 10, 2011 at 1:33 PM, Ashok Jeevan ashokjee...@gmail.com wrote: Hi All, I was trying to add the proxy and the port from the APN settings. After pulling the settings.db, I found that the proxy:port values had not been inserted in the 'secure' or 'system' table.

[android-developers] Re: hash functions

2011-05-10 Thread pasamblue1
How about PBKDF2. This one is as per FIPs standard. Is SHA1 also a standard from FIPs. On May 10, 12:52 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, May 10, 2011 at 3:59 PM, gjs garyjamessi...@gmail.com wrote:

[android-developers] NFC testing rig?

2011-05-10 Thread Marcin Orlowski
Hi, We're going to fight with NFC for the next project and since I saw a few people with much more knowledge on the subject on that list I'd like to ask if anyone got any thoughts to share on building testing environment for such projects. I mostly need Android mobile and some standalone NFC

[android-developers] customlistview not getting click events when there is only one item in list?

2011-05-10 Thread Hitendrasinh Gohil
hi, this code works fine with 1.6 and 2.2 but doesnt work with 2.1 update when there is only one element in list. lvTrackData.setOnItemClickListener(new OnItemClickListener() { @SuppressWarnings(static-access) public void

[android-developers] Register and UnRegister Broadcast Receiver

2011-05-10 Thread Pandi
Hi, I am getting an exception from my application. From the logcat, found below call flow, 1.OnPause is getting called, here we are doing unregister broadcast receiver. 2.Then OnResume is getting called, here we are registering event after 200ms in the separate task. 3.Before 200ms, OnPause is

[android-developers] Does android supports modal dialog box ?

2011-05-10 Thread ABS
Hi Everybody, I am new to android, working on one application in which i am using series of dialog boxes to show alert to user , I have to show dialogs one after another i.e simultaneously but when first dialog comes out the code running behind dialog haven't stop still end of

[android-developers] In a Native C program, how to call java API: ActivityManager::getMemoryInfo()

2011-05-10 Thread linlone9
In Java program, we can use following codes to get the system memory info: === ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); MemoryInfo info = new MemoryInfo();

Re: [android-developers] Does android supports modal dialog box ?

2011-05-10 Thread Kumar Bibek
Hmm. I would say bad approach. Wait for one dialog to be dismissed and then show the next one On May 10, 2011 5:08 PM, ABS ravi.chavan...@gmail.com wrote: Hi Everybody, I am new to android, working on one application in which i am using series of dialog boxes to show alert to user , I have to

[android-developers] Re: How to Override progress bar message i.e.. 0/100

2011-05-10 Thread lbendlin
The progressbar is just that - a bar. You have to code the other view elements yourself. Add them all to a relative layout, use them in the dialog, and then refresh the values during onProgressUpdate. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Local variable type mismatch

2011-05-10 Thread Marco
On 2011-05-09 Igor Prilepov iprile...@gmail.com wrote: According to the message you are trying to set/get variable of type Object using local variable which is defined as [] Object. Check your local arrays and how do you use them. That's a lot of work to check the entire code.

[android-developers] Characters appear out of the screen in the TextView!

2011-05-10 Thread omar
Hey, I've been trying to fix this problem for a long time, The problem is that some characters in the text are out of the screen, here is a screenshot of what I mean: http://i.imgur.com/fDqa6.png xml: ?xml version=1.0 encoding=utf-8? RelativeLayout

Re: [android-developers] Re: Local variable type mismatch

2011-05-10 Thread Kostya Vasilyev
Do you have any machine-generated .class files, or any supplied in compiled form, such as a jar file? (as opposed to compiled on your machine from Java sources) If you do, that'd be the first place to check. -- Kostya 10.05.2011 16:17, Marco пишет: On 2011-05-09 Igor

[android-developers] sending sms from emulator to real device connected on the computer

2011-05-10 Thread Amine KHANCHAR
hi ,i am looking for a solution to send sms from emulator to a real android device connected to the computer through usb cable . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] NFC testing rig?

2011-05-10 Thread Xiaoliang Ding
Nokia C7 support NFC so far. 2011/5/10 Marcin Orlowski webnet.andr...@gmail.com Hi, We're going to fight with NFC for the next project and since I saw a few people with much more knowledge on the subject on that list I'd like to ask if anyone got any thoughts to share on building testing

[android-developers] Re: Local variable type mismatch

2011-05-10 Thread Marco
On 2011-05-10 Kostya Vasilyev kmans...@gmail.com wrote: Do you have any machine-generated .class files, or any supplied in compiled form, such as a jar file? (as opposed to compiled on your machine from Java sources) I have many jar files included. A few of them I compiled on my

Re: [android-developers] Does android supports modal dialog box ?

2011-05-10 Thread Satya Komatineni
Although the dialogs are *almost* modal in Android, they are fundamentally (or practically) asynchronous. Search for modal dialogs and android in google and you will see a lot of write up from this news group. So you have to reorient your programming where you can alert and wait the main thread.

Re: [android-developers] Re: Async Task or Spawn a Thread?

2011-05-10 Thread Satya Komatineni
I would say 1. Understand first how handler/looper/threrading works in android 2. Then you will realize that AsyncTask is just one pattern on top of the above basics 3. Try to use AsyncTask if it can work for your problem as it simplifies the mechanics of threading/handlers. if not then go for

[android-developers] Re: how to unit test drag n drop - honeycomb

2011-05-10 Thread jjoe64
When I try to manually send the motion events, the security exception comes when I send the ACTION_MOVE event: Instrumentation instrumentation = getInstrumentation(); long downTime = SystemClock.uptimeMillis(); long eventTime =

[android-developers] Problem working with SOAP (lib kSOAP2)

2011-05-10 Thread Gorka
Hi, I am trying to access to a web service using SOAP using the ksoap2 libraries. The thing is that I can make some examples work, but I cannot access the service I am interested in. There is the service: http://apli.bizkaia.net/APPS/DANOK/TQWS/TQ.ASMX And that is the method I want to consult:

[android-developers] Re: sending sms from emulator to real device connected on the computer

2011-05-10 Thread Smiley
once your phone is connected run the adb devices command. I think you would see your phone in the list of devices. Try txt to number that appears next to your phone. For example here I would txt 5554 and get the emulator. c:\java\android-sdk-windows\platform-toolsadb devices List of devices

Re: [android-developers] Problem working with SOAP (lib kSOAP2)

2011-05-10 Thread TreKing
On Tue, May 10, 2011 at 8:50 AM, Gorka gork...@gmail.com wrote: I am trying to access to a web service using SOAP using the ksoap2 libraries. This group is for developing Android apps with the Android SDK. I don't see anything in your post that is specifically Android related. You would have

[android-developers] Activity is destroyed than instantly created when pushing the sleep/lock-screen button

2011-05-10 Thread Jump
Hello When I run my game app and then push the sleep/lock-screen button my activity is destroyed (onDestroy is called) and then directly after, onCreate is called. However, if I first put my app in the background then push the sleep/lock-screen button the activity is not destroyed. Can

[android-developers] Re: sending sms from emulator to real device connected on the computer

2011-05-10 Thread Amine KHANCHAR
thank you Smiley but i've already tried that ,the problem is that iam working on both :emulator and real device ; the first is acting like a server and the second where the application is (client) so the real device appear whith a certain ID I5500f1aab23d not a port number like emulator

Re: [android-developers] Re: Long process before a dialog is opened

2011-05-10 Thread Satya Komatineni
I have thought about this a bit further. You should be able to do this with some work. If I am not mistaken what you are wanting to do is a special case of something like a Progress Dialog except it is custom and the user wants to dismiss it explicitly. Also you must not wait for the

Re: [android-developers] Re: Long process before a dialog is opened

2011-05-10 Thread Satya Komatineni
Or (if I understand your context right) better yet, show a progress dialog when the menu is clicked and when the progress dialog finishes show your special dialog thereby fulfilling both requirements of visibility and long running process. On Tue, May 10, 2011 at 10:41 AM, Satya Komatineni

[android-developers] Why is my progress bar not visible?

2011-05-10 Thread Ralph Bergmann
Hi, I have an indeterminate progress bar in the window's title bar. I have also requested it with: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); // ... } But why it

Re: [android-developers] what exact mean by (Void...) in asyntask?

2011-05-10 Thread Kostya Vasilyev
http://today.java.net/pub/a/today/2004/04/19/varargs.html 10.05.2011 18:49, Hitendrasinh Gohil пишет: hi, can anybody tell me wht the three elipses added after Void and this Void is different from void. because if i remove it simply preexecute() then some functionality not working. regards,

[android-developers] what exact mean by (Void...) in asyntask?

2011-05-10 Thread Hitendrasinh Gohil
hi, can anybody tell me wht the three elipses added after Void and this Void is different from void. because if i remove it simply preexecute() then some functionality not working. regards, hitendra gohil -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: ListView - is it possible to limit the fling speed?

2011-05-10 Thread Omar Adobati
OK, it was my bad. I have found the reason, well the stupid reason. Probably, with testing purpose, I did put a notifyDataChange in the getView Adapter method. This was preventing the list to stop scrolling when touched... Sorry for being wasting your time! *Omar Adobati | omar.adob...@gmail.com

[android-developers] Re: what exact mean by (Void...) in asyntask?

2011-05-10 Thread Chris
On May 10, 10:49 am, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, can anybody tell me wht the three elipses added after Void Its called a variable-length argument list. See http://www.deitel.com/articles/java_tutorials/20060106/VariableLengthArgumentLists.html for example.

[android-developers] 3d model loading

2011-05-10 Thread bob
Are there any good examples of loading a 3d model 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] Re: sending sms from emulator to real device connected on the computer

2011-05-10 Thread Amine KHANCHAR
any idea ? On May 10, 3:16 pm, Amine KHANCHAR a.khanc...@gmail.com wrote: thank you Smiley but i've already tried that ,the problem is that iam working on both :emulator and real device ; the first is acting like a server and the second where the application is (client) so the real device

Re: [android-developers] 3d model loading

2011-05-10 Thread Marcin Orlowski
On 10 May 2011 17:15, bob b...@coolgroups.com wrote: Are there any good examples of loading a 3d model on Android? Any file I/O tutorial shall do. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro -

[android-developers] Re: where to put files to be read by jni native code

2011-05-10 Thread Jim
Thanks. Copying from the Assets file list to the sdCard solved my problem in the simplest way. On May 9, 9:07 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, May 10, 2011 at 12:57 PM, Jim j...@harmonicsystems.net wrote: I am trying include a small data file with my package.  I

Re: [android-developers] Re: Async Task or Spawn a Thread?

2011-05-10 Thread Dianne Hackborn
On Tue, May 10, 2011 at 6:30 AM, Satya Komatineni satya.komatin...@gmail.com wrote: Coming to thread pools the latest documentation seem to suggest that after honeycomb the AsyncTask may roll back to a single thread implementation and have the programmer deal with multiple threads

[android-developers] menu item disabled, but clickable

2011-05-10 Thread Zanarotti Michele
I ever thought that a disabled menu item (setEnabled(false)) should appear grayed out (and that works) and furthermore it should not be active as i click on it (it should not close the menu). How can avoid the closing of the menu ? shouldn't this be the default behavior of a disabled menu item

[android-developers] Intent to launch Google Latitude

2011-05-10 Thread cg-dev
Hi all, I'm trying to launch Google Latitude using Intent. I'm using an URI found on the net : latitude://latitude/friends/location/exam...@gmail.com And this code : Intent intent = new Intent(android.content.Intent.ACTION_VIEW, uri); intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);

[android-developers] putExtra not working for a pending intent

2011-05-10 Thread Boozel
Hi i have a widget which runs a service when pressed using the code below Intent intent = new Intent(context, SignalSpotWidgetService.class); intent.putExtra(a, 9); PendingIntent pendingIntent = PendingIntent.getService(context, 0, intent, 0); however in the service

Re: [android-developers] putExtra not working for a pending intent

2011-05-10 Thread TreKing
On Tue, May 10, 2011 at 11:40 AM, Boozel boozelcl...@gmail.com wrote: however in the service intent.hasExtra(a) is always false. why? does this not work for pending intents? How can I pass a a value between the two? Try this:

[android-developers] Bitmap Distortion

2011-05-10 Thread neuromit
I'm loading a png file using Bitmap eBitmap = BitmapFactory.decodeResource(r, R.drawable.pm) ; and then drawing it using: canvas.drawBitmap(eBitmap, x, y, mPaint); The problem I'm experiencing is the bitmap is coming out distorted. The corners are getting rounded and messing up the image. Is

[android-developers] Convert from Polyline to ArrayListLocation

2011-05-10 Thread Felix Garcia Lainez
Hi, I need to convert from google maps polyline to an array of android Location objects. Could anyone tell me if there is some utility function for that? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: NFC testing rig?

2011-05-10 Thread nemik
The ACR122U/Touchatag USB adapter has been pretty great for my purposes so far. The SCL3711 USB adapter is also pretty good. I use those in combination with libnfc. On May 10, 5:02 am, Marcin Orlowski webnet.andr...@gmail.com wrote: Hi, We're going to fight with NFC for the next project and

[android-developers] Re: Bitmap Distortion

2011-05-10 Thread neuromit
I was able to fix most of the distortion by either adding a small amount of noise in photoshop or but placing the image under res/raw/ but the image is still getting clipped. I have a sharp edge that is getting rounded out. The image is about 20x20 pixels and looks fine on my computer but on

[android-developers] Re: Convert from Polyline to ArrayListLocation

2011-05-10 Thread Igor Prilepov
I doubt you would find a ready to use solution because the task seems to be unrealistic (as well as trivial) . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] putExtra not working for a pending intent

2011-05-10 Thread Satya Komatineni
There is enough material on this forum if you search with 'pending intent' especially around its uniqueness criteria. At a high level, pending intents are references to already stored intents. A pending intent uses the input intent as a key to locate previously established pending intent for this

Re: [android-developers] putExtra not working for a pending intent

2011-05-10 Thread Satya Komatineni
Also here are some previous notes I have collected on pending intents Quick intro to pending intents: http://www.satyakomatineni.com/item/3301 How alarmmanager and pending intents interact http://www.satyakomatineni.com/item/3503 At this later link there is a lot of discussion on how pending

[android-developers] ActionBar Tabs

2011-05-10 Thread André
Hi, I'm trying to customize the look of my tabs in the actionbar by following this tutorial: http://androidunlocked.net/archive/customizing-the-action-bar/ But I can't figure out how to change the standard blue line that is a little bit thicker when the tab is selected to a different colour. Any

[android-developers] Password Manager For Ipad and other fPlatforms

2011-05-10 Thread Ezine.sbr23
-- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] Re: Register and UnRegister Broadcast Receiver

2011-05-10 Thread Igor Prilepov
1. Register broadcast receiver in onResume() without any additional 200ms and add some logic inside receiver to ignore intents for the first 200ms after startup. or 2. If you still want to do such weird things (i.e. to register BR in another task?!) then you need to inform this task when

[android-developers] Re: hash functions

2011-05-10 Thread DanH
For your purposes any standard hash algorithm that produces the desired number of bits should be fine. The weakness of hash algorithms has to do mostly with the ability to counterfeit data that produces a given hash value -- this is an important consideration when the hash is being used in a

[android-developers] Re: Convert from Polyline to ArrayListLocation

2011-05-10 Thread Felix Garcia Lainez
I don't understand, sorry... Could you explain me? On 10 mayo, 19:35, Igor Prilepov iprile...@gmail.com wrote:  I doubt you would find a ready to use solution because the task seems to be unrealistic (as well as trivial) . -- You received this message because you are subscribed to the Google

[android-developers] Custom themes on honeycomb

2011-05-10 Thread faah
It is possible to inherit the main theme with Theme.Holo.Light BUT use the dialogs and menu style from Theme.Holo? Can someone explain 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] Status bar area not covered when activity is resumed

2011-05-10 Thread groob
Hello! I'm experiencing very nasty bug trying to implement Admob in my application. I thought the problem is in my code, but after some investigation I found it present also in Android-Banner-Essentials example (available for download here:

[android-developers] Re: Convert from Polyline to ArrayListLocation

2011-05-10 Thread Igor Prilepov
It is unrealistic because people collect points and then show them as polyline, polygon or just dots not the other way around. It is unrealistic because Google MapActivity on Android is different from the full scale Google Map API. It is trivial because any Polyline (or Polygon) should be stored

[android-developers] directly loading dynamically created classes (in dex format)

2011-05-10 Thread Tomasz
Hi friends, I have an application which dynamically creates classes at runtime (in the dex format). Is it possible to load these dex bytes directly without saving them to a dex file, and then zipping it (many such classes are created). An equivalent of ClassLoader.createClass(className,

[android-developers] directly loading dynamically created classes (in dex format)

2011-05-10 Thread Tomasz
Hi friends, I have an application which dynamically creates classes at runtime (in the dex format). Is it possible to load these dex bytes directly without saving them to a dex file, and then zipping it (many such classes are created). An equivalent of ClassLoader.defineClass(className,

[android-developers] Re: directly loading dynamically created classes (in dex format)

2011-05-10 Thread Tomasz
It turns out that VMClassloader defineClass() methods do nothing, but throw the class format error. So how is one supposed to load class bytes directly from a byte array? Hmmm. On May 10, 10:50 pm, Tomasz pulchritud...@gmail.com wrote: Hi friends, I have an application which dynamically

[android-developers] Mapactivity second intent

2011-05-10 Thread ingy abbas
If i have an activity open socket between my client Android and python then i want to go to other activity intent which is MapActivity by clicking on Button ... So is it acceptable to open the second as Mapactivity ?!! any help -- You received this message because you are subscribed to the

Re: [android-developers] Mapactivity second intent

2011-05-10 Thread TreKing
On Tue, May 10, 2011 at 5:18 PM, ingy abbas ingy.abba...@gmail.com wrote: If i have an activity open socket between my client Android and python then i want to go to other activity intent which is MapActivity by clicking on Button ... So is it acceptable to open the second as Mapactivity ?!!

[android-developers] Re: hash functions

2011-05-10 Thread Bob Kerns
The fundamental problem with starting with a human-managed password is that there is not a lot of entropy -- the possible values are not distributed over a huge range, compared to what an attacker could try with trial-and-error. So just doing SHA1 or SHA256 for that matter, is not sufficient

[android-developers] Re: Mapactivity second intent

2011-05-10 Thread TreKing
Please respond to the group. On Tue, May 10, 2011 at 5:32 PM, ingy abbas ingy.abba...@gmail.com wrote: Can i open the first activity normal activty then the second activity MapsActivity?? Yes - you could have figured this out by just trying it ...

[android-developers] Re: NullPointerException in process com.android.inputmethod.latin

2011-05-10 Thread HanWriting
hi, I would like the know the steps to reproduce the crash. Thanks! HanWriting https://market.android.com/developer?pub=Honso -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: directly loading dynamically created classes (in dex format)

2011-05-10 Thread Tomasz
Here is some more illumination from PathClassLoader.java in android (inside the loadClass() method): /* --this doesn't work in current version of Dalvik-- if (data != null) { System.out.println(--- Found class + name + in zip[ + i + ] ' +

Re: [android-developers] Re: hash functions

2011-05-10 Thread Bob Kerns
https://www.kb.cert.org/vuls/id/836068 https://www.kb.cert.org/vuls/id/836068Nothing new should have been using MD5 for a looong time, and people need to know to stay away from it. Fake SSL certs that exploit this have been produced. It's not just a theoretical concern. On Tuesday, May 10,

[android-developers] Re: Mapactivity second intent

2011-05-10 Thread ingy abbas
Done and the first activity work well i make a button to make me view the next activity but it forse close Due to this errors 05-11 02:46:19.823: ERROR/AndroidRuntime(311): Uncaught handler: thread main exiting due to uncaught exception 05-11 02:46:19.843: ERROR/AndroidRuntime(311):

[android-developers] HttpsURLConnection's getResponseCode() returns -1

2011-05-10 Thread John Gaby
I am trying to use HttpsURLConnection to connect to a secure site, and it is failing and getResponseCode() is returning -1. The following is the code that I am using. Note that this very same code works in other cases. Can anyone give me a clue as to why I might get the -1, and how I can get

[android-developers] Adding points automatic

2011-05-10 Thread ingy abbas
Using googlemaps How to add small points or dashes --- between two overlay items on the googlemaps to be added electronics not as overlay added manually i can add a path but i want to add - or points electronics please help -- You received this message because you are subscribed to the

Re: [android-developers] Re: Mapactivity second intent

2011-05-10 Thread TreKing
On Tue, May 10, 2011 at 6:48 PM, ingy abbas ingy.abba...@gmail.com wrote: *05-11 02:46:19.843: ERROR/AndroidRuntime(311): java.lang.NoClassDefFoundError: yaraby.y.Mapy* Did you include the class in you manifest?

[android-developers] Error while Compile Android Gingerbread 2.3.3

2011-05-10 Thread spurwa
When I compile the source android Gingerbread 2.3.3 is that I receive an error message like this: build / core / binary.mk: 25: *** external / stlport: Invalid LOCAL_NDK_VERSION '4 'Choices acres. Stop.) For information I have to download and Compile on 64bit Linux Ubuntu 10.04 Lucid in

Re: [android-developers] Re: hash functions

2011-05-10 Thread Nikolay Elenkov
On Wed, May 11, 2011 at 8:32 AM, Bob Kerns r...@acm.org wrote: https://www.kb.cert.org/vuls/id/836068 Nothing new should have been using MD5 for a looong time, and people need to know to stay away from it. Fake SSL certs that exploit this have been produced. It's not just a theoretical

[android-developers] Serial Number

2011-05-10 Thread New Developer
When I start or connect my Xoom I get in Console [2011-05-10 21:15:29 - eeds] Automatic Target Mode: Unable to detect device compatibility. Please select a target device. [2011-05-10 21:16:20 - eeds] Uploading new.apk onto device '0288...b397' [2011-05-10 21:16:22 - eeds] Installing new.apk...

[android-developers] eCarrel: tech eBook reader and bookstore for Android 3.0 tablets

2011-05-10 Thread jacek
Just shipped today, a new eReading solution mostly for developers, with bookstore filled by all the latest and greatest O'Reilly titles. You will find lots of recent titles very highly relevant to what we do in Android programming, including books on HTML5, SQLite, JavaScript, etc. etc. One book,

Re: [android-developers] Error while Compile Android Gingerbread 2.3.3

2011-05-10 Thread TreKing
On Tue, May 10, 2011 at 8:02 PM, spurwa spu...@gmail.com wrote: When I compile the source Questions regarding building the source should go on a more appropriate list, like porting or platform. -

[android-developers] Re: hash functions

2011-05-10 Thread DanH
Of course, hashing a password, per se, doesn't really make it any stronger. And doing things like using a salt don't do much if the concern is simple trial-and-error cracking of a single encrypted message (unless you're relying on security by obscurity). Salting does help prevent known plaintext

Re: [android-developers] Re: hash functions

2011-05-10 Thread Nikolay Elenkov
On Wed, May 11, 2011 at 7:34 AM, Bob Kerns r...@acm.org wrote: More precisely, you iterate this: hash = f(hash) where f is some function that is expensive, and does not collapse the space of possible values into some smaller set. One way to accomplish this would be: f(hash) = hash xor

Re: [android-developers] Re: hash functions

2011-05-10 Thread Nikolay Elenkov
On Wed, May 11, 2011 at 12:35 PM, DanH danhi...@ieee.org wrote: Of course, hashing a password, per se, doesn't really make it any stronger.  And doing things like using a salt don't do much if the concern is simple trial-and-error cracking of a single encrypted message (unless you're relying

  1   2   >