Aw: Re: [android-developers] Aw: Re: (2nd try) Segmentation fault when loading a certain class from an OSGi framework under Android 2.2 2.3

2011-05-13 Thread Jan Krueger
Hello, Well, so far you've only shown that it's exactly opposite :) Well, not exactly the opposite... perhaps just 90° in the wrong direction... ;-) 05-09 13:20:20.079: WARN/dalvikvm(13668): VFY: unable to find class referenced in signature (Ljavax/security/auth/Subject;) Android

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Kevin TeslaCoil Software
I mostly agree with the blog post but some additional thoughts: 1) Google just opened up paid apps in more countries. There's potential to turn current pirates into legit users. However if they're already used to downloading your app from the pirate sites then even after you release an update

[android-developers] Re: Transition from solid to transparent

2011-05-13 Thread crios
Thanks for the quick reply. It doesn't work as expected, or maybe I'm missing something :( I need the background of the cell to flash a colour when an update comes, not the whole view. On May 13, 5:32 am, B Lyon bradfl...@gmail.com wrote: it's not something as simple as an alphaanimation from 1

[android-developers] Galaxy S2 problems / tester wanted

2011-05-13 Thread a1
Good day, With recent release of SGS2 I've received several notifications (market comments and mails) that my app crashes on this phone. Unfortunately it's looks like crash in native code so no error report from market, what's more important few user contacted me directly, so I ask them to use

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Zsolt Vasvari
If you are not following Google's advice and blindly copy/paste the LVL code from the sample app, you deserve that a tool cracks your app. Not you, Kevin. No way any tool would crack my app (and incidentally, I do the same as you do -- redirect the user to the Android Market) On May 13, 2:40 

Re: [android-developers] Trade my Android Open Accessory Developer Kit (ADK) trade for your new Sprint Nexus S 4G?

2011-05-13 Thread Robin Talwar
I am ready for it . I want one of those so badly. You can contact me at this mail id or on skype : abhishek.talwar1 even m a mobile app developer but i wanna tweak into hardware for now On Wed, May 11, 2011 at 11:56 AM, Ben ben.metca...@gmail.com wrote: I have one of the first official ADK

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

2011-05-13 Thread Capt Spaghetti
Been out of town or would have responded sooner. My db variable was in fact null. Thanks for bringing me back to reality. It is now working like a champ. Thanks. On May 9, 7:51 am, Mark Murphy mmur...@commonsware.com wrote: If the NullPointerException happens directly on that line, then your

[android-developers] Re: Fragments - crash on restoring spinner state

2011-05-13 Thread Karl Wagner
I should add that I'm using the compatibility library. Karl On May 12, 6:59 pm, Karl Wagner razie...@gmail.com wrote: Hi, I have a fragment that contains a linearlayout with a bunch of controls to make an edit form (edittexts, spinners, buttons, etc). We have a review button that replaces

Re: [android-developers] Fragments - crash on restoring spinner state

2011-05-13 Thread Dianne Hackborn
That kind of stack crawl looks like the view IDs of the fragment's view hierarchy being restored are not consistent with the hierarchy that was saved. That is, the previous view hierarchy saved the state for some view ID of a view that is not an AbsSpinner subclass as is the same ID here where it

[android-developers] Re: Developing image processing project ny interfacing matlab and android phone

2011-05-13 Thread FrankG
Hello, in former time you could use a matlab tool like mcc to convert your matlab model to c .. or toolboxes like real time studio to provide the code to be executable on dsp or something like this. So I would suggest you should check the conversion to c and try to compile them for ARM and

[android-developers] Re: NFC Dispatch

2011-05-13 Thread Michael Roland
Hallo, And Tech_Discovered: intent-filter  action android:name=android.nfc.action.TECH_DISCOVERED meta-data android:name=android.nfc.action.TECH_DISCOVERED android:resource=@xml/nfc_tech_filter / /action/intent-filter This intent filter seems to be wrong. The meta-data should be placed as

[android-developers] Is it true, Paid Aandroid apps from indian origin can not be published?

2011-05-13 Thread mack2978
Could any one from android support please confirm that Paid Aandroid apps from indian origin can not be published, it is true? -- 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] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Kostya Vasilyev
13.05.2011 9:07, Nikolay Elenkov пишет: I see. In the sense that it identifies the publisher, it is indeed a 'signature'. Hmm, are we talking about the same thing here? Isn't the key that the .apk is signed with (which is generated by the developer, and is specific to a particular package)

Re: [android-developers] Change Android market signing key

2011-05-13 Thread Marcin Orlowski
On 12 May 2011 08:56, Entreco entr...@gmail.com wrote: I have been working on a project created by someone else. They send me the source code with the question to make some improvements. Now all my improvements have been implemented, and we want to upgrade the application in the Android

[android-developers] Re: Transition from solid to transparent

2011-05-13 Thread crios
Ok, so now I'm trying to use this transition as the background of the textview: transition xmlns:android=http://schemas.android.com/apk/res/ android item android:drawable=@drawable/transparent/ item android:drawable=@drawable/green_rect/ item android:drawable=@drawable/transparent/

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Shine
The PackageManager GET_SIGNATURES call can be hooked to return the original signature even if the package has been hacked and re-signed. There is a script somewhere on the 'net that does this automatically. Could you kindly provide a link? Do you mean that my check is useless? Anyway, I

[android-developers] Re: passing data from service to activity continously

2011-05-13 Thread pramod.deore
Hi, I had written code but it is not working properly. In my Serivce I have Intent mIntent = new Intent(MyService.this, MarketWatchTest.class); mIntent.putExtras(bundle); mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

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

2011-05-13 Thread Jump
I am familiar with the activity lifecycle. To make myself clear. I am finding the behavior strange in this case. 1. Running the app then bringing it to the background by pressing home and then pushing the lock button does not destroy my activity. 2. Running the app then pushing the lock button

Re: [android-developers] populate spinner from mysql data

2011-05-13 Thread Aitor Mendaza Ormaza
http://tinyurl.com/4yurob5 First entry On Thu, May 12, 2011 at 5:25 PM, charlie_cala charlie_c...@hotmail.comwrote: Hi everyone, I´m new developing app for android can any one help me with a tutorial how to populate spinner from MySQL data- please please i will appreciate it very much.

[android-developers] Re: AutoCompleteTextView with restricted input

2011-05-13 Thread delta42
Perhaps I didn't explain myself very clearly. An example of the control I would like, albeit in another environment, is the Interface Language dropdown for google.com's Search Settings page. Another example, in Windows, would be a read-only ComboBox. In both cases the keyboard can be used to

[android-developers] Re: Help me in detecting sound pulses (basically frequency detection)

2011-05-13 Thread Soumyajit Roy
Hi Pradeep I have transmitted some pulses corresponding to a Morse code pattern. e.g, if the code is ..---.-.---.-- then '.' will have a particular frequency pulse and '-' will have a particular frequency pulse. Thus it is a stream of pulses having two frequency. you can clearly understand that

Re: [android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Nikolay Elenkov
On Fri, May 13, 2011 at 5:33 PM, Kostya Vasilyev kmans...@gmail.com wrote: 13.05.2011 9:07, Nikolay Elenkov пишет: I see. In the sense that it identifies the publisher, it is indeed a 'signature'. Hmm, are we talking about the same thing here? You got me :) Isn't the key that the .apk is

[android-developers] Re: Help me in detecting sound pulses (basically frequency detection)

2011-05-13 Thread Soumyajit Roy
Hi all On May 12, 9:22 am, Prady pradp...@gmail.com wrote: Hi Soumyajit, Can you clarify on a few things on your need, for example: what's the input source for the sound pulses that you will be getting, because If its a hardware connected to your device then I guess your device would need to

[android-developers] Nightmare loading mask bitmap

2011-05-13 Thread delta42
I need to load in a 24-bit PNG mask image into my Android, and it being a mask, I need it to come in exactly as it is on disk, with no resizing or pixel values changed. When I load it from resources using the BitmapFactory, its pixel values are slightly changed, as if it had been resized *twice*:

[android-developers] Re: NFC Secure Element

2011-05-13 Thread Markus
mtk you wrote after call phLibNfc_SE_SetMode(seID,phLibNfc_SE_ActModeWired,nfc_jni_se_set_mode_callback, (void *)nat); your nexus s was in card emulation I called it with mode default phLibNfc_SE_SetMode(seID,phLibNfc_SE_ActModeDefault,nfc_jni_se_set_mode_callback, (void *)nat); and get following

[android-developers] How to reverse camera view?

2011-05-13 Thread Ali
Hi I am working on an app that will show reverse view from camera so user will see constantly reverse view from camera through this app. Please see illustration: http://stackoverflow.com/questions/4874095/how-to-slice-camera-view I am not very sure how to achieve this. Any help or idea would be

[android-developers] Re: Help me in detecting sound pulses (basically frequency detection)

2011-05-13 Thread Yahel
You need to take a look at an algorithm called Fast Fourier Transform. You can find one implementation here : http://www.badlogicgames.com/wordpress/?p=449 Good luck. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to reverse camera view?

2011-05-13 Thread Ali
Correct Illustration URL: http://stackoverflow.com/questions/4874095/how-to-slice-reverse-camera-view On May 13, 3:11 pm, Ali ali.ik...@gmail.com wrote: Hi I am working on an app that will show reverse view from camera so user will see constantly reverse view from camera through this app.

[android-developers] Passing unsigned char* from JNI/C++ to Java

2011-05-13 Thread Vinay Julme
In my code i pass a string and then hash it using HMAC SHA1 algo and then try to return it to Java. But it is not returning. It crashes or stop as VM aborts. The code that aborts is as follows: return env-NewStringUTF((const char*)digest); On this statement VM Aborts. where digest is and

[android-developers] Re: Is it true, Paid Aandroid apps from indian origin can not be published?

2011-05-13 Thread Yahel
Please report to this page to know which countries are able to sell on the market : http://market.android.com/support/bin/answer.py?hl=enanswer=143779topic=1100168 Yahel On 13 mai, 10:16, mack2978 smashmah...@gmail.com wrote: Could any one from android support please confirm that Paid Aandroid

[android-developers] How did you get into Android development

2011-05-13 Thread Knutsford Software
How did people on this list get from learning about Android to getting paid work developing apps. In other words how did you get past the no experience no work stage? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Shine
My point is that in order to make it inconvenient to pirate, you need your LVL to sneak past the tool. Worrying about a human cracking your app is less of an issue as by the time one does that the app has likely been out for a while and you have an update almost ready. But if the tool works

Re: [android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Kostya Vasilyev
This thread has a snippet of modified (hacked) code as well as a link to the script's author: http://groups.google.com/group/android-developers/browse_thread/thread/3d92715cd41208e/ -- Kostya 13.05.2011 14:02, Nikolay Elenkov пишет: The PackageManager GET_SIGNATURES call can be hooked to

Re: [android-developers] Nightmare loading mask bitmap

2011-05-13 Thread Ralf Schneider
Your image is probably convert to 565 and the back to 24bits. This thread discusses a related problem: http://groups.google.com/group/android-developers/browse_thread/thread/e7ce1bec8f97a78b 2011/5/13 delta42 delt...@gmail.com I need to load in a 24-bit PNG mask image into my Android, and it

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Marcin Orlowski
On 13 May 2011 12:24, Knutsford Software i...@knutsford-software.co.ukwrote: How did people on this list get from learning about Android to getting paid work developing apps. In other words how did you get past the no experience no work stage? You miss the point. If you are not a programmer

[android-developers] Call an Activity or a service when phone is locked by clicking two times on the CALL button

2011-05-13 Thread souissi haythem
hi group, can i call an Activity or a service when phone is locked by clicking two times on the CALL button?? 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

[android-developers] Re: Calling an Activity when phone is locked by clicking two times on the END_CALL button

2011-05-13 Thread souissi haythem
listner don't do this. they must be working when the phone is locked? i try to use broadcast i make this code in: return super.onKeyUp(keyCode, event); so igot an error: The method onKeyUp(int, KeyEvent) is undefined for the type BroadcastReceiver c'est quoi le problem?? On 13 mai, 02:17, Bob

[android-developers] Changing application description shown in option list when multiple apps can do same job

2011-05-13 Thread Kacee
Hello there, I have a viewer app. There are other apps installed on my device as well doing same job. So when i open a document, android as usual shows a list of apps that can do that job (which is file open here). In my app, along with App name, just beneath it, package name gets displayed. I

[android-developers] Re: Nightmare loading mask bitmap

2011-05-13 Thread delta42
Very interesting, this is indeed the problem. Thanks for your answer, I would have wasted another 3 hours at least getting here otherwise. My mask identifies 11 distinct regions by using RGB(250,250,250) RGB(225,225,225) RGB(200,200,200) RGB(175,175,175) RGB(150,150,150) RGB(125,125,125)

[android-developers] Logcat not working on eclipse

2011-05-13 Thread Salma hamed
Logcat gives me this error on eclipse: Could not create the view: For input string: In Thread Details about the error java.lang.NumberFormatException: For input string: In Thread at java.lang.NumberFormatException.forInputString(NumberFormatException.java: 65) at

[android-developers] Re: add overlay at my current location

2011-05-13 Thread lbendlin
keep in mind that an overlay is just a container. So adding an overlay at my current location doesn't make much sense. What you do is add an overlay and then you puty an item in that overlay, and the item can be at your current location. As luck has it, Android is even providing a ready made

[android-developers] Re: Passing unsigned char* from JNI/C++ to Java

2011-05-13 Thread DanH
return env-NewStringUTF((const char*)digest); expects a null-terminated string. Any non-text data could have embedded nulls and isn't guaranteed to be terminated by a null, so the function could walk off the end of the string or stop short. More to the point, though, you can't convert arbitrary

[android-developers] Re: Logcat not working on eclipse

2011-05-13 Thread lbendlin
Are you sure you have specified the Android SDK? -- 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: Logcat not working on eclipse

2011-05-13 Thread Salma hamed
Yes the logcat was working perfect with me the past month, I suddenly got this error today On May 13, 1:52 pm, lbendlin l...@bendlin.us wrote: Are you sure you have specified the Android SDK? -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 11:50 PM, Dianne Hackborn hack...@android.comwrote: On Thu, May 12, 2011 at 8:21 PM, TreKing treking...@gmail.com wrote: Just two quick points: 1 - Most, if not all, of the complaining about lack of support is directed squarely at the Android Market. I think you know

[android-developers] Re: Background Task Running Implementation.

2011-05-13 Thread TreKing
Please respond back to the whole group. On Fri, May 13, 2011 at 4:06 AM, Goutham P N pn.gowt...@gmail.com wrote: in database i have a timings list... according to that timings i have to give a notification to the user. What timings list? A notification for what? How to implement this?

Re: [android-developers] Change Android market signing key

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 1:56 AM, Entreco entr...@gmail.com wrote: Is it possible? Anyone has experience? Someone knows how to contact google about this? http://www.google.com/support/androidmarket/developer/bin/answer.py?hl=enanswer=139626

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Knutsford Software
- Original Message - From: Marcin Orlowski To: android-developers@googlegroups.com Sent: Friday, May 13, 2011 12:15 PM Subject: Re: [android-developers] How did you get into Android development On 13 May 2011 12:24, Knutsford Software i...@knutsford-software.co.uk wrote: How did

[android-developers] Re: UI Framework Bug?

2011-05-13 Thread authorwjf
For anyone encountering similar problems Kostya was correct in both of his suggestions. Using the built-in progress bar works, or if you need a custom animated icon you can modify the getView method as in my sample as so: @Override public View getView(int position, View convertView, ViewGroup

[android-developers] Re: How to make an app in Android to add support of Urdu Language in SMS Program of Android

2011-05-13 Thread naveed ahmad
I made an App for SMS .. now tell me how can i add font in it .. On May 10, 2:24 am, Chris crehb...@gmail.com wrote: Your best chance of seeing this happen would be to find an existing SMS app you like, then contact the authors and offer to do the translations so they can integrateUrduinto

Re: [android-developers] SDK Emulator Question

2011-05-13 Thread TreKing
On Wed, May 11, 2011 at 9:37 AM, range...@gmail.com range...@gmail.comwrote: How do I setup the emulator to act as a tablet instead of a phone? Make the screen bigger. - TreKing

[android-developers] question about the Application Licensing page

2011-05-13 Thread Spooky
In the Application Licensing page, I'm confused about the following line: The application provides its package name and a nonce that is later used to validate any response from the server ^^ Is nonce a typo? Or is it a term that I'm not familiar with yet? (serious question). -- You

[android-developers] Holy Quran 4 android

2011-05-13 Thread Ghanem
New source code for a new Android project You can share the code and the App as well http://code.google.com/p/holyquran4android/ -- 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] R: Re: R: Re: menu item disabled, but clickable

2011-05-13 Thread Zanarotti Michele
I wish to thank you all for the suggestions. Anyway i think it's a bug or some design glitch, because the menu items in the first menu (the menu appearing when pressing the menu button) are correctly grayed out and not clickable. The problems seems to affect only items in sub menus. Graying

Re: [android-developers] question about the Application Licensing page

2011-05-13 Thread Mark Murphy
On Fri, May 13, 2011 at 9:25 AM, Spooky spooky1...@gmail.com wrote: In the Application Licensing page, I'm confused about the following line: The application provides its package name and a nonce that is later used to validate any response from the server ^^ Is nonce a typo?  Or is it

[android-developers] Re: question about the Application Licensing page

2011-05-13 Thread Spooky
On May 13, 8:35 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, May 13, 2011 at 9:25 AM, Spooky spooky1...@gmail.com wrote: Is nonce a typo? Or is it a term that I'm not familiar with yet? (serious question). http://en.wikipedia.org/wiki/Cryptographic_nonce Ok, thanks Got

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Kostya Vasilyev
13.05.2011 17:02, Knutsford Software пишет: I am a programmer. The point is how do you get paid Android work if you haven't already done some that you can show people. It is the catch 22 situation. How have other people on the list manages to get out of it. Depends on how exactly you

Re: [android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Nikolay Elenkov
On Fri, May 13, 2011 at 8:02 PM, Kostya Vasilyev kmans...@gmail.com wrote: This thread has a snippet of modified (hacked) code as well as a link to the script's author: http://groups.google.com/group/android-developers/browse_thread/thread/3d92715cd41208e/ Thanks, that blog has some

[android-developers] Re: Logcat not working on eclipse

2011-05-13 Thread Chris
Check this file (found in your Eclipse workspace): .metadata\.plugins\org.eclipse.core.runtime\.settings \com.android.ide.eclipse.ddms.prefs make sure there are no numeric-type preferences set to a string. Based on your stack trace it looks filter-related. Cheers, - C On May 13, 8:08 am,

[android-developers] Jitter in the Gallery widget

2011-05-13 Thread Nik Bhattacharya
I would like to get rid of the snap animation in the Gallery widget (android.widget.Gallery). If you look closely at the way the gallery animates, it looks like it overshoots the position it is going to come to rest to and then animates back to the position. I would like to get rid of this

Re: [android-developers] How did you get into Android development

2011-05-13 Thread TreKing
On Fri, May 13, 2011 at 8:02 AM, Knutsford Software i...@knutsford-software.co.uk wrote: The point is how do you get paid Android work if you haven't already done some that you can show people. It is the catch 22 situation. How have other people on the list manages to get out of it. You

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

2011-05-13 Thread Felix Garcia Lainez
Any help please!! On 11 mayo, 11:26, Felix Garcia Lainez fgarcialai...@gmail.com wrote: It is not unrealistic... Imagine i have stored in a database a route in polyline format (in order to optimize storage), and i get that polyline string from a web service. Imagine i want to show it, or do

[android-developers] Re: Logcat not working on eclipse

2011-05-13 Thread Salma hamed
I had to create a new workspace and import the project for the logcat the work again on eclipse. I don't consider it a solution but a temporary fix :) On May 13, 2:08 pm, Salma hamed salma.7a...@gmail.com wrote: Yes the logcat was working perfect with me the past month, I suddenly got this

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Knutsford Software
- Original Message - From: Kostya Vasilyev kmans...@gmail.com To: android-developers@googlegroups.com Sent: Friday, May 13, 2011 2:45 PM Subject: Re: [android-developers] How did you get into Android development 13.05.2011 17:02, Knutsford Software пишет: I am a programmer. The

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Aitor Mendaza Ormaza
Well, that's the trick to make yourself rich, I guess... thinking of a pretty good application, and do it before no one else :-) On Fri, May 13, 2011 at 4:23 PM, Knutsford Software i...@knutsford-software.co.uk wrote: - Original Message - From: Kostya Vasilyev kmans...@gmail.com To:

[android-developers] Re: help with TextView

2011-05-13 Thread cmt
Thanks guys, Here is my XML: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:id=@+id/tvIntro

[android-developers] Re: MapActivity And Leak : a google team overview ?

2011-05-13 Thread olivier
Thanks for your answer, Ok for point 2, But is it normal, that after calling the garbage after closing a mapActivity, I always see MapActivity,referenced in Memory. I notice this point even if I do a simple project similar to the android tutorial. To do test, I build a two Activities

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Nikolay Elenkov
On Fri, May 13, 2011 at 11:32 PM, Aitor Mendaza Ormaza aitorthe...@gmail.com wrote: Well, that's the trick to make yourself rich, I guess... thinking of a pretty good application, and do it before no one else :-) Not necessarily. Someone can create an that is about the same as yours *after*

[android-developers] facebook sdk login not working on Samsung 9003 but working on htc

2011-05-13 Thread Abhishek Talwar
I am developing an application which is using facebook sdk for android to log in a user. The app is working fine on htc handsets but there is an issue on samsung handsets :- If there is a pre-installed Facebook official application in samsung phone then my facebook log into the app doesnt works.

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Nikolay Elenkov
On Fri, May 13, 2011 at 11:23 PM, Knutsford Software i...@knutsford-software.co.uk wrote: I whd  had wondered about writing one myself if I only I could only think of something. Scratch your own itch to get started. Find something you really need or want, write an app for that, and possibly

Re: [android-developers] add overlay at my current location

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 7:27 PM, ingy abbas ingy.abba...@gmail.com wrote: but seems a problem i cant can any one check what i have to add to my code Buddy, few people have time or desire to wade through a giant blob of unformatted text to debug someone else's code. Use your debugger and

[android-developers] Re: How to reverse camera view?

2011-05-13 Thread Hari Edo
I'm not sure what the value of such a preview would be-- I thought you wanted it mirror-flipped, but you're swapping left and right halves of the image. You may want to read through this thread. The challenge is to keep your processing code lean and efficient enough, since a phone is not going

[android-developers] Controlling allowed orientations at runtime

2011-05-13 Thread John Gaby
I have an application which I want to behave differently depending on whether it is installed on and phone or tablet sized device. On the phone devices, I want to support both portrait and landscape mode. When it is installed on a tablet device, I wish to only support landscape. Now, using the

[android-developers] Re: How to reverse camera view?

2011-05-13 Thread lbendlin
a low cost option is a matrix , possibly via a scale transform. you'd still have two operations, though, one for each half. So you're at least doubling the required memory. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Nightmare loading mask bitmap

2011-05-13 Thread cg-dev
Hi, I face the same issue with opengl. My texture gradient were dirty due to convertion. So I embed libpng in my application using NDK. Regards. On 13 mai, 13:04, Ralf Schneider li...@gestaltgeber.com wrote: Your image is probably convert to 565 and the back to 24bits. This thread discusses a

[android-developers] Re: MapActivity And Leak : a google team overview ?

2011-05-13 Thread lbendlin
don't believe everything you hear about gc. In fact, don't believe anything you hear about gc. As I understand it, Google/Android likes to keep stuff around just in case. Even if you explicitly exit your application you will still see it in the task manager etc. (It even goes as far as static

[android-developers] How to convert dimensions in to dp?

2011-05-13 Thread Brill Pappin
I've got a situation where I have to modify some legacy code that uses dimensions in inches to use dimensions in dip. Essentially this has come about because some of the newer high density screens (like the Atrix) do not handle their scaling properly and their inch values come out half what

Re: [android-developers] Re: help with TextView

2011-05-13 Thread Justin Anderson
I don't see any glaring issues with the XML... Are there any other places in your code that you use the tvIntro text field? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 8:36 AM, cmt chrismt...@gmail.com wrote: Thanks guys,

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Marcin Orlowski
On 13 May 2011 15:02, Knutsford Software i...@knutsford-software.co.ukwrote: I am a programmer. The point is how do you get paid Android work if you haven't already done some that you can show people. It is the catch 22 situation. How have other people on the list manages to get out of it. If

[android-developers] Re: Android renders RGB values wrong.

2011-05-13 Thread cg-dev
Hi, I face the same issue with OpenGL texture. I use gradient texture and this one was damaged due to convertion from 24bit = 565. To solve this issue I embeded libpng in my application using NDK. You said that the screen is 565 so we loose precision : Yes but in OpenGL, glEnable(GL_DITHER)

[android-developers] starting Activity with result calls onActivityResult from calling Activty

2011-05-13 Thread Wall-E
So I have a main Activity, we'll call that Activity A. This Activity calls another Activity (Activity B with just startActivity()). Now Activity B calls a third Activity (Activity C with startActivityForResult(..., ...)). So right after the startActivityForResult() is called, my

[android-developers] Re: Is it true, Paid Aandroid apps from indian origin can not be published?

2011-05-13 Thread lbendlin
http://www.androidcentral.com/android-markets-international-paid-app-footprint-hit-131-countries -- 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

[android-developers] Re: External Jar and Resources

2011-05-13 Thread cg-dev
Hi, If I understand well your issue : What if I want to add some resources to the jar (e.g. a layout for custom notification), is it possible ? No as layout are XML files that are compress when building APK. And there is no API to load an raw XML layout. (except if it changes recently) If

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread Justin Anderson
As the person who accidentally started this whole issue, I would like to formally apologize. In truth I was really hacked off with HTC yesterday because they literally provide Zero developer support. I made my comment quickly without thinking of the ramifications and consequences it would have

Re: [android-developers] How to convert dimensions in to dp?

2011-05-13 Thread Kostya Vasilyev
13.05.2011 19:12, Brill Pappin пишет: Can anyone tell me what the formula would be to convert device inches to dp? - Brill Pappin Ummm, dp is 1/160 of an inch (subject to the device's actual density bucket). Is that what you're asking? -- Kostya Vasilyev --

Re: [android-developers] EditText causes app to crash

2011-05-13 Thread Justin Anderson
* Sometimes, being on the outside, it is easy to remember that there is a lot of effort going on that we can't see* That should have read it is easy to forget... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 9:27 AM, Justin

[android-developers] Re: NFC send Photo

2011-05-13 Thread cg-dev
Hi, As far as I know, I don't think you can put an image into a tag in a standard way. Check with Smart Poster Ndef tag type, maybe you can with this type. If only your application need to read and write the image, you can simply use Ndef type Text and put your image in a raw buffer. Regards.

Re: [android-developers] Changing application description shown in option list when multiple apps can do same job

2011-05-13 Thread Justin Anderson
AFAIK you can't... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 5:38 AM, Kacee komal...@gmail.com wrote: Hello there, I have a viewer app. There are other apps installed on my device as well doing same job. So when i open a

[android-developers] Re: Adding an button to a custom view

2011-05-13 Thread cg-dev
Hi, your custom view should derives from a Viewgroup. (Viewgroup inherit from View) Then simply create the View you want to add and call Viewgroup.addView(). Regards. On 12 mai, 18:32, Kapil kapilsc...@gmail.com wrote: Dear Developers, My name is Kapil and I am trying to write a custom view

[android-developers] Re: help with TextView

2011-05-13 Thread Brill Pappin
Based on what you and others have posted for this thread, my gut feeling is that your layout is hiding the TextView somehow. This could be a colour problem (black text on black background) or a layout problem where it's squashed or covered by another component. Try this: add android:text=Here i

[android-developers] Re: starting Activity with result calls onActivityResult from calling Activty

2011-05-13 Thread Nicholas Johnson
Are your activities run in singleTask launch mode? Nick -- 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: starting Activity with result calls onActivityResult from calling Activty

2011-05-13 Thread Nicholas Johnson
Also, what type of activities are you launching? That is, are you opening a web browser, or are these activities that you implemented? And, what result code is returned in onActivityResult? Is it RESULT_CANCELED? Nick -- You received this message because you are subscribed to the Google

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

2011-05-13 Thread Justin Anderson
* I am familiar with the activity lifecycle. To make myself clear. I am finding the behavior strange in this case.* My point still stands... You can't control the Activity Lifecycle. I think it is strange as well. But that doesn't mean I have any control over it. If you feel it is a bug then

Re: [android-developers] How to convert dimensions in to dp?

2011-05-13 Thread Brill Pappin
Ok, that helps... so the formula (assuming mdpi) would be (correct me if I'm wrong): Xdp=160 * Yin or 32dp=160 * 0.2in - Brill -- 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] Clone Device to sdcard.img

2011-05-13 Thread New Developer
Is there a method (using Mac OS X) would be great That I can connect my Android Device (non-rooted) and clone it to become my sdcard.img so I can use it for the emulator and thus continue developing on the emulator Yet using all the apps and software features of the device? If possible

Re: [android-developers] How to convert dimensions in to dp?

2011-05-13 Thread Kostya Vasilyev
One dp = 1/160 of an inch, for any device density. One inch = 160 dp. Size_in_dp = Size_in_inches * 160; Size_in_inches = Size_in_dp / 160; 32 dp -- 32/160 -- 2/10 -- 0.2 inch -- Kostya 13.05.2011 19:44, Brill Pappin пишет: Ok, that helps... so the formula (assuming mdpi) would be (correct

Re: [android-developers] Re: Optical character recognition

2011-05-13 Thread Tobiah
On 05/04/2011 11:47 AM, Michelle Konzack wrote: Hello Ezine.sbr23, Can you correct the clock of your computer please? Just a spammer that spoofs a bad date in order for the message to appear at the extreme end of a date sort. -- You received this message because you are subscribed to the

[android-developers] Progress circle (NOT indeterminate!)

2011-05-13 Thread Serdel
As mentioned in the topic i do NOT want an indeterminate wheel. Instead I would like to animate a circle progress bard that actually shows how much time is left for a process (e.g. download) to finish. I saw something similar in soundhoud application. I am wondering how to make this - using an

Re: [android-developers] Re: starting Activity with result calls onActivityResult from calling Activty

2011-05-13 Thread Justin Anderson
Take a look at the docs for startActivityForResult: http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int) This mentions a specific case with the singleTask launch mode that seems to be exactly what you are experiencing. My guess is

[android-developers] Re: Android: how to draw an ImageView with the same size regardless of device?

2011-05-13 Thread Ab
DisplayMetrics.density just returns the scaling factor used to calculate pixels from DIP. On the Galaxy it is 1.5, on the Iconia Tab it is 1.0 I continue to believe the issue is that the Galaxy does some sort of mysterious scaling when it renders layouts. It seems to scale them down by about

  1   2   3   >