[android-developers] Re: Message Dialog appears, The market billing service is not available, Dungeons Sample, Although i have followed the steps given in documents.

2011-04-12 Thread Zsolt Vasvari
No, the whole point of a dynamically linked service is that you don't need to add permissions. On Apr 12, 1:53 pm, muhammad mahmood muhammad.rash...@gmail.com wrote: I have confirmed the market version that is 2.3,4 on my device, also added this line  uses-permission

[android-developers] Re: Why self-signed digital signatures?

2011-04-12 Thread gjs
Hi, The value is that self signing is free, trusted CA is not. This was one of the major impediments of developing for j2me, Android removed this barrier. Regards On Apr 12, 1:44 am, Bob Kerns r...@acm.org wrote: If you protect your signing key, then it *does* prove that it was signed by

[android-developers] Re: Supporting xlarge screens in sdk 8

2011-04-12 Thread Zsolt Vasvari
You are compiling with the Level 11 libraries, right? On Apr 12, 10:41 am, Brill Pappin bpap...@sixgreen.com wrote: I'm trying to allow support for xlarge screens using the compatibility library. The app is at min level 8 with a target of 11 (as per the Optimizing app for android 3 article).

[android-developers] Re: move view on touch

2011-04-12 Thread Fina Perez
In this link http://blahti.wordpress.com/2011/02/10/moving-views-part-3/ you will have a really good tutorial about that. On Apr 11, 1:35 pm, Y@g*E!s^H SARKAR yog16pa...@gmail.com wrote: i am using android-2.1, is it possible to move one view over other view with finger touch on one screen? i

Re: [android-developers] Enquiry

2011-04-12 Thread Marcin Orlowski
On 10 April 2011 20:40, rakshith raj matrix...@gmail.com wrote: Hey good start is to in throgh the pro android and professional android development book, download from 4shared.com So you simply recommend stealing?! Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you

Re: [android-developers] Re: Using Google Calendar API

2011-04-12 Thread Marcin Orlowski
On 11 April 2011 22:55, New Developer secur...@isscp.com wrote: I have managed to get the Calendar.apk from my android phone Note, there's CalendarProvider.apk too. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... WebnetMobile on *Facebook

[android-developers] static variable set to null

2011-04-12 Thread Christophe
hello everybody, I use a static variable to share data across all the activities of my apps. The problems is that sometimes this variable is set to null, which cause the others activities to crash (nullPointersException) ... does somebody have an idea of what could set the static variables to

[android-developers] Re: Reusable HttpResponse in android network programming?

2011-04-12 Thread Jens
You can wrap the HttpEntity in a BufferedHttpEntity and reuse that. DefaultHttpClient client = new DefaultHttpClient(); HttpGet get = new HttpGet(http://www.somearbitraryurl.com;); HttpResponse response = client.execute(get); HttpEntity reusableEntity = new

[android-developers] Re: Read send sms

2011-04-12 Thread Mochamad Basofi
Could you give me more details? I don't have any clue of which intent I should use. btw thank you for the reply On Apr 12, 10:15 am, XiaoXiong Weng xiaoxiong.w...@gmail.com wrote: Um. I believe the intent for sms allows you to see the status, so you would get a status code for every message

Re: [android-developers] Re: Why self-signed digital signatures?

2011-04-12 Thread Dianne Hackborn
On Mon, Apr 11, 2011 at 10:44 PM, Bob Kerns r...@acm.org wrote: When a trusted CA signs a cert, they have done some leg work to verify that you are indeed who you say you are. Other than that, they're not adding value -- though I'd argue that's an important defense against malicious apps!

Re: [android-developers] error with Trafficstats

2011-04-12 Thread Dianne Hackborn
You are probably running on an older version of the platform where the class does not exist. On Mon, Apr 11, 2011 at 8:16 PM, Sarath Krishna sarathkrishn...@gmail.comwrote: Hi, When I tried to use the TrafficStats class of android.net package in the following way long sent =

[android-developers] Re: regarding imports for rsa implementation with sms module

2011-04-12 Thread gjs
Hi, Start here - http://developer.android.com/reference/java/security/spec/package-summary.html Regards On Apr 12, 9:06 am, vivekdriffer driffe...@gmail.com wrote: hi i am new here i just want to know what imports should be done for implementation of rsa(encryption) in my android apps. i am

[android-developers] Re: Message Dialog appears, The market billing service is not available, Dungeons Sample, Although i have followed the steps given in documents.

2011-04-12 Thread ishihata
Well, the market application might possibly not operate normally. Please try followings by way of experiment. 1. Restart your device. 2. Settings - Application - Application management - Market - Erase data. 3. Run the market application and approve the agreement. 4. You will see the list of

Re: [android-developers] Canvas problem using drawing square around face

2011-04-12 Thread 昱全��
how to attach your contact with bluetooth,like: Intent intent = new Intent(Intent.ACTION_SEND); intent.setClassName(com.android.bluetooth, com.android.bluetooth.opp.BluetoothOppLauncherActivity);

[android-developers] Re: static variable set to null

2011-04-12 Thread appel
If you don't set them to null somewhere it is most likely because your application process has been killed and restarted. -- 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] In app payments, how to give a user a managed item for free

2011-04-12 Thread rudas
Hi, Is there any way to give a user an item that usually is sold using in-app billing? I'm using the in-app billing system to enable users to upgrade and remove ads from the application, hence the item is managed. I would like to be able to give some users this upgrade for free, how can I do

Re: [android-developers] In app payments, how to give a user a managed item for free

2011-04-12 Thread Kostya Vasilyev
There isn't really, unless you build something yourself. And there is no way that I could find to refund a managed item without canceling, despite what the documentation says and the sample code does. 12.04.2011 12:09 пользователь rudas rasmus.andersso...@gmail.com написал: Hi, Is there any

[android-developers] FileContentProvider

2011-04-12 Thread perumal316
Hi All, How do I specify com.android.htmlfileprovider as one of the android authorities in the AndroidManifest file. I am getting, Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER. It has been used by another program. Is there any workaround for this? Thanks In Advance, Perumal -- You

[android-developers] Re: Is possible to Use the 3.5mm JACK

2011-04-12 Thread Thibaud Ringenbach
Yes Thank you, I think i see what do you mean, i'll try to find a Documentation. On 12 avr, 03:57, Mark Murphy mmur...@commonsware.com wrote: On Mon, Apr 11, 2011 at 8:43 AM, Thibaud Ringenbach thibaud.ringenb...@gmail.com wrote: Hello All, being a french developer, i need in my app to

Re: [android-developers] Re: Help me to realize preferences scheme to use it between activities

2011-04-12 Thread Sergey K
Thank you for your answers. I was able to use the preferences in one Activity, and between them could not -- 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: 3d engine advices

2011-04-12 Thread elix
Cool. Tank Recon was one of the first 3d games I tried in android. Yes I agree that libgdx seems to be best option. It seems that it is mature enough and have enough documentation. This is a video of the flight game I wrote using jmonkey 3-4 years ago http://www.youtube.com/watch?v=1eh4sINvIdA

[android-developers] Regarding Page Curl...

2011-04-12 Thread yogendra G
Hi All, Can Any one help me in Page Curl Coding by proiding me Some sample codes Plz...I need it to implement it in my App so... Regards, Yogi -- 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] URI Scheme

2011-04-12 Thread perumal316
Hi All, I have registered my app in the Android system as a URI using the following code: data android:scheme=startapp / action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT/category category

[android-developers] Re: static variable set to null

2011-04-12 Thread Christophe
that's probably the case. They should mention in the documentation that static variable can be set to null at anytime, since they explicitely state that static variable can be use to pass data between activities ... (http://developer.android.com/resources/faq/ framework.html#3) What the best way

[android-developers] disadvantages of Date Picker

2011-04-12 Thread pramod.deore
Hi All, I want to know that is there is any disadvantages of using date picker widget? In my application I am using date picker widget. And I heared that if you use date picker then many times it will create problem in future. Is it true? Should I used edittext to enter date? -- You received

Re: [android-developers] Re: static variable set to null

2011-04-12 Thread Ashish Raut
Hi, You can use static variable but you have check null before use *if(obj != null) Or you can use Shared preference for sharing data to all activities: http://developer.android.com/guide/topics/data/data-storage.html#pref *Regards, AshishR Use On Tue, Apr 12, 2011 at 2:26 PM, Christophe

Re: [android-developers] static variable set to null

2011-04-12 Thread Samson Akisanya
your code force closing is preventable by a simple null check.. if(yourvariable != null){ do something}else{do something else or do nothing and display an error message}. The question about whether youwant to share global variable between activities is something you should really ask yourself...

[android-developers] Re: static variable set to null

2011-04-12 Thread Christophe
hello Ashish, since the data in the static variable is mandatory when I load the activity, the null check will not be enough. And I can't use Shared preference because the data is a complex Object. On Apr 12, 11:09 am, Ashish Raut ashishr.andr...@gmail.com wrote: Hi, You can use static

Re: [android-developers] Re: static variable set to null

2011-04-12 Thread Kostya Vasilyev
Static variables aren't set to null. The process gets killed and reinitialized again when/if the user comes back. If you use a static to only pass data between activities, then don't reference it past that. Have the receiving activity store the data somewhere more persistent: a database, a data

Re: [android-developers] disadvantages of Date Picker

2011-04-12 Thread Marcin Orlowski
On 12 April 2011 10:56, pramod.deore deore.pramo...@gmail.com wrote: Hi All, I want to know that is there is any disadvantages of using date picker widget? In my application I am using date picker widget. And I heared that if you use date picker then many times it will create problem in

[android-developers] Re: static variable set to null

2011-04-12 Thread Christophe
hello Kostya, yes I think I going to use a lazy initialization, and retrieve the data from the database if it's null. It's a bit more work but it should works :) On Apr 12, 11:24 am, Kostya Vasilyev kmans...@gmail.com wrote: Static variables aren't set to null. The process gets killed and

Re: [android-developers] Re: static variable set to null

2011-04-12 Thread Kostya Vasilyev
Ok. Just one more thought on this: in-memory data isn't really persistent in any case, Android or not. If the data in question is something that should persist - something the user enters and then expects to come back and view or edit - then it should be persisted in some way. This would also

[android-developers] Re: disadvantages of Date Picker

2011-04-12 Thread pramod.deore
Ok Thanks Marcin Orlowski for your response. On Apr 12, 2:32 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 12 April 2011 10:56, pramod.deore deore.pramo...@gmail.com wrote: Hi All, I want to know that is there is any disadvantages of using date picker widget? In my application I am

[android-developers] is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Hitendrasinh Gohil
hi, I have need in my app that files must not used by any other application and these are mp3 files.for that i have tried encryption of files but each time i have to do read/write operation for encryption and decryption, Because each time i have to decrypt the file while playing and then

[android-developers] Re: Message Dialog appears, The market billing service is not available, Dungeons Sample, Although i have followed the steps given in documents.

2011-04-12 Thread muhammad mahmood
Is it can be a issue that a country does not allow in-app billing due to that i am not residing in a country that does not support in app billing. If so then how can i get out of this problem to test sample app to see either it is working perfect for in app billing. Just need a trick/solution to

[android-developers] how to stop calling Monkey Runner device connection every time

2011-04-12 Thread abhilash pujari
Hi, i am working on Monkey Runner. I am taking screenshots of device after every time.But to minimize time frame of the functionality of MonkeyRunner i want to avoid the device connection call everytime. # Connects to the current device, returning a MonkeyDevice object device =

[android-developers] implementing bluetooth printer

2011-04-12 Thread Rocky
Hi all, I'm trying to implement bluetooth printer into my apps, but dont know how to implement, please share some tutorial or example. -- Thanks Regards Rakesh Kumar Jha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Getting a delay between starting current activity after returning from startActivityForResult()

2011-04-12 Thread Kacee
Removed Cleartop flag, no luck. ... Problem is second activity is getting finished, before the first actvity can resume, which is creating a delay. Any more suggestions... On Apr 8, 9:41 pm, TreKing treking...@gmail.com wrote: On Fri, Apr 8, 2011 at 5:44 AM, Kacee komal...@gmail.com wrote:

Re: [android-developers] Re: DatabaseUtils.InsertHelper SQLiteConstraintException when executing insert

2011-04-12 Thread Kostya Vasilyev
Yes, that makes sense. I'd double check the data you're trying to insert and how exactly it's bound to that SQL statement - in other words, check that the code really does what you think it does. -- Kostya 12.04.2011 5:20, Art пишет: Oops, I was a bit too imprecise there. The ID from the

[android-developers] Re: implementing bluetooth printer

2011-04-12 Thread lbendlin
http://lmgtfy.com/?q=android+bluetooth+printer -- 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] swf in String base64

2011-04-12 Thread sleith
Hi, is it possible to load swf file as String base64 to webview? (i tried but not working) The problem is that i need the swf saved into sdcard (in .xyz package file). But when need to play, i have to extract the swf to sdcard and load to webview, which is low in security that people can copy the

[android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Yahel
Simply implement your own media player inside your app. Files that are stored in the asset folder of your app are by default private and not accessible by any other app. No need to encrypt them except if you're afraid of people manually unpacking your apk. Yahel -- You received this message

Re: [android-developers] Re: 3D Image

2011-04-12 Thread Khaled Anaqwa
Thanks Rin , but i will draw it on android (coding) On Sun, Apr 10, 2011 at 11:40 PM, Rin ito.tamas...@gmail.com wrote: i think this would help http://www.opentutorial.com/Make_3d_images On Apr 10, 5:28 am, khaled anaqwa khaled.adnan.ana...@gmail.com wrote: any one have a good tutorial

Re: [android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Hitendrasinh Gohil
hi, thankx for replying. i am storing mp3 files(number of files user want to download from server) ,and these files must not play by other app by anymean. so what is the size limit of apk file? -- Regards, Hitendrasinh Gohil -- You received this message because you are subscribed to the

[android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread appel
Is it important that they cannot be read by another application? Or is it enough that they do not appear in apps that use the media scanner like the built-in music app? If the latter then you can just rename your files or put a file called .nomedia in the same directory as your mp3 files. --

Re: [android-developers] No such file or directory when storing a file in sdcard.

2011-04-12 Thread Alaeddine Ghribi
The strange thing that when i debug(or log) the file in /data/data and sdcard i have exactly the right paths. I have a file in /data/data... it can browse it, then i want to create a file in sdcard it gives the right path but i don't see it in DDMS, it's not created! Perhaps the code to

Re: [android-developers] FileContentProvider

2011-04-12 Thread Mark Murphy
On Tue, Apr 12, 2011 at 4:11 AM, perumal316 perumal...@gmail.com wrote: How do I specify com.android.htmlfileprovider as one of the android authorities in the AndroidManifest file. You can't. I am getting, Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER. That is because it has been

Re: [android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Hitendrasinh Gohil
hi, yes it cant be read by any other application. -- Regards, Hitendrasinh Gohil -- 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,

[android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Yahel
The limit for an apk is 50 meg. Yahel -- 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: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Yahel
Rereading your questions, I'm not sure I understand your problem. You seem to have find a decent workaround using this encrypt/decrypt scheme. Can you tell us what is going wrong ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] FATAL EXCEPTION

2011-04-12 Thread Atif Musaddaq
** *Hi, All* ** I have some FATAL EXCEPTION which i could not figure it out. Can any one help me. here is the log cat. will be very thankful to you. 04-12 12:05:17.069: DEBUG/AndroidRuntime(296): AndroidRuntime START 04-12 12:05:17.079: DEBUG/AndroidRuntime(296): CheckJNI is ON 04-12

Re: [android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Hitendrasinh Gohil
hi, I am working on music application that has a option to download songs from server and store it to media card.These songs must not access by any other applicaiton. For that i need to use encryption scheme. If i use encryption for mp3 files,one i encrypt the file after that whenever i play

Re: [android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Marcin Orlowski
If i use encryption for mp3 files,one i encrypt the file after that whenever i play this song(encrypted file) i need to decrypt it and after playing song i suppose to encrypt it or just leave encrypted file as it is and delete the decrypted file. You may want to read about DRM perhaps or

Re: [android-developers] No such file or directory when storing a file in sdcard.

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 6:44 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Perhaps the code to creating the file in sdcard is wrong :\ ! Is it ? I don't know. Honestly, I got bored of reading the giant blob of unformatted code. Which (small) part creates the file on the SD card?

Re: [android-developers] No such file or directory when storing a file in sdcard.

2011-04-12 Thread Alaeddine Ghribi
Here is the code that creates he file in SDCARD, in fact it's a copyfile function: InputStream in = new FileInputStream(f2); OutputStream out = new FileOutputStream(file); byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) != -1){

Re: [android-developers] No such file or directory when storing a file in sdcard.

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 7:34 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Here is the code that creates he file in SDCARD, in fact it's a copyfile function: InputStream in = new FileInputStream(f2); OutputStream out = new FileOutputStream(file); I don't know what

Re: [android-developers] Re: Getting a delay between starting current activity after returning from startActivityForResult()

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 6:07 AM, Kacee komal...@gmail.com wrote: Problem is second activity is getting finished, before the first actvity can resume, which is creating a delay. Any more suggestions... Well, yeah. That's the order of execution so it's always going to be that way. Maybe I

[android-developers] NoClassDefFoundError in Google Maps

2011-04-12 Thread Michael Schollmeyer
Hi, I am getting a NoClassDefFoundError when starting a MapActivity. It works fine on all but one device with the fingerprint generic/wwe10/wwe10/:2.2/FRF85B/eng.flyrea.20110316.112313:user/test-keys. Seems to be a device from efirstview.com. I tried to add the missing class but this leads to

Re: [android-developers] Re: is there any idea that files are only used by application those are stored on media card?

2011-04-12 Thread Mark Murphy
On Tue, Apr 12, 2011 at 8:24 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: I am working on music application that has a option to download songs from server and store it to media card.These songs must not access by any other applicaiton. Those concepts are mutually contradictory.

Re: [android-developers] disadvantages of Date Picker

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 3:56 AM, pramod.deore deore.pramo...@gmail.comwrote: And I heared that if you use date picker then many times it will create problem in future. Is it true? No, unless where you heard this was from someone with actual knowledge about the future of the code. Should I

[android-developers] java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

2011-04-12 Thread rashmi
Hi, I am using Asymmetric Cipher RSA algorithm for encryption and decryption. I am generating private and public keys and using them for encryption and decryption respectively. Following is the code snippet. KeyPair keypair = KeyPairGenerator.getInstance(RSA).generateKeyPair(); private Cipher

Re: [android-developers] NoClassDefFoundError in Google Maps

2011-04-12 Thread Mark Murphy
That class used to exist in Android but does not anymore. If I had to guess, the device manufacturer may not have licensed Google Maps and are using one that is inconsistent with their version of the OS. The workaround would be to try to wrap your call to super.onCreate() in a try/catch block,

Re: [android-developers] NoClassDefFoundError in Google Maps

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 7:44 AM, Michael Schollmeyer mich...@mictale.comwrote: Any ideas how to find a workaround? Put in your app description: Does not support the crappy, non-standard efirstview device. If you have this device, go get your money back. Or use reflection to determine if this

Re: [android-developers] FATAL EXCEPTION

2011-04-12 Thread Mark Murphy
You are referring to org.me.sfBackendClient.SpinnerDemo which does not exist. On Tue, Apr 12, 2011 at 8:21 AM, Atif Musaddaq atif.musad...@gmail.com wrote: Hi, All I have some FATAL EXCEPTION which i could not figure it out. Can any one help me. here is the log cat. will be very thankful to

Re: [android-developers] NoClassDefFoundError in Google Maps

2011-04-12 Thread Mark Murphy
On Tue, Apr 12, 2011 at 8:53 AM, TreKing treking...@gmail.com wrote: Or use reflection to determine if this class exists and is available for use. That's a better solution than my try/catch block idea. In the end, for random devices like this, it may not be worth the effort to do anything. --

Re: [android-developers] No such file or directory when storing a file in sdcard.

2011-04-12 Thread Alaeddine Ghribi
Absoluetely true! I created the specified directory with mkdir() then the file with createnewfile() and the export is made. Thank you very much for your help. 2011/4/12 TreKing treking...@gmail.com On Tue, Apr 12, 2011 at 7:34 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Here is

[android-developers] Re: executing code while screen is black because of power button

2011-04-12 Thread sotcha
Ok I found it, android:configChanges=orientation on manifest solves the problem On Apr 8, 9:12 pm, sotcha sot...@gmail.com wrote: I have a landscape game. So when I press power button, screen turns to black abd game's activity executed onPause() and onDestroy(). After a while it is

Re: [android-developers] java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

2011-04-12 Thread Marcin Orlowski
Blind shot - String != byte[] for UTF-8 and I suspect this false assumption nukes your code. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... WebnetMobile on *Facebook http://webnetmobile.com/fb/* and *Twitterhttp://webnetmobile.com/twitter/ *

[android-developers] Re: MiFare Classic detection

2011-04-12 Thread androidom
Dear Michael, Many thanks for your reply. I tried it, Of course every MIFARE tag uses the RF technology NfcA, so a filter like this will also work: resources xmlns:xliff=urn:oasis:names:tc:xliff:document:1.2     tech-list         techandroid.nfc.tech.NfcA/tech        

[android-developers] Re: NoClassDefFoundError in Google Maps

2011-04-12 Thread JP
On Apr 12, 5:53 am, TreKing treking...@gmail.com wrote: Or use reflection to determine if this class exists and is available for use. Or a wrapper class. Here's a blog post that helped me figure it out a bit quicker:

[android-developers] Image not displaying from MySQL database

2011-04-12 Thread Ian Menzies
Hey guys, I have an external database set up and it works fine with the required fields returning the values wanted. When I then try to select a BLOB image from the database it doesnt appear to be displaying on my application. The php file works fine I believe. For the PHP file I add the

[android-developers] Setting Widget Background via RemoteView

2011-04-12 Thread Jake Colman
I have yet to figure this out so I though I'd try posting again. Given a widget with a background image specified in its layout, how can one set the background's transparency at runtime? I have tried Kostya's suggestion of calling the RemoteView.setInt() method and passing in setAlpha as the

Re: [android-developers] disadvantages of Date Picker

2011-04-12 Thread Kostya Vasilyev
12.04.2011 16:49, TreKing ?: In the OP's defense, Android has, unfortunately, overloaded this term which leads to confusion. DatePicker is in the android.widget namespace and the class descriptions starts This class is a widget for selecting a date. That's because there is two of them.

Re: [android-developers] Can any point me which widget is this?

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 8:19 AM, Jitesh dedhiya jitesh.dedh...@gmail.comwrote: Whats the name of the widget? PopupWindow, I think. - TreKing http://sites.google.com/site/rezmobileapps/treking -

Re: [android-developers] NoClassDefFoundError in Google Maps

2011-04-12 Thread Michael Schollmeyer
try-catch doesn't really help because the NoClassDefFoundError bubbles from MapActivity.onCreate and when I swallow it, I see a SuperNotCalledException. I guess I have to add an uncaughtExceptionHandler and then check for the device fingerprint and follow TreKing's suggestion. I am just

Re: [android-developers] Image not displaying from MySQL database

2011-04-12 Thread Marcin Orlowski
On 12 April 2011 15:13, Ian Menzies bumde...@gmail.com wrote: For the PHP file I add the following lines of code:- { $array=$e; $array['Paintingpic']=base64_encode($row['Paintingpic']); $output[]=$array; } These aren't equivalent codes so comparing is pointless. First, check if what you

Re: [android-developers] Re: MiFare Classic detection

2011-04-12 Thread Michael Roland
Hallo Domnic, I've just re-read through the code you posted before and found another problem: Did you place the action inside an intent-filter? Like this: intent-filter action android:name=android.nfc.action.TECH_DISCOVERED / /intent-filter meta-data

[android-developers] Regarding Screen Switching

2011-04-12 Thread yogendra G
Hi All, How Can I Switch my two screens that in the form of Home Screen Effect...?? Plz Help Me out By Giving suggestions and links so that i can implemnt that in my app a bit... Regards, Yogi -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to check network is present or not

2011-04-12 Thread Rainbowbreeze
However that doesn't actually mean you have a valid connection outside the network your on. For that you'r going to have to actually attempt to make a connection and transfer some data. Take a look at this code:

[android-developers] Framework Unit Testing Issues

2011-04-12 Thread vishwa
I want to run the test code available with the android framework source. If I try to run these tests from following commandline, adb shell am instrument -w com.android.frameworktest.tests/ android.test.InstrumentationTestRunner I am receiving errors such as , INSTRUMENTATION_STATUS:

Re: [android-developers] Regarding Screen Switching

2011-04-12 Thread Marcin Orlowski
On 12 April 2011 15:31, yogendra G yogi2...@gmail.com wrote: Hi All, How Can I Switch my two screens that in the form of Home Screen Effect...?? Plz Help Me out By Giving suggestions and links so that i can implemnt that in my app a bit... Why not taking a peek at launcher source code?

Re: [android-developers] Can any point me which widget is this?

2011-04-12 Thread Jitesh dedhiya
Here what i found.. http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/ On Tue, Apr 12, 2011 at 6:54 PM, TreKing treking...@gmail.com wrote: On Tue, Apr 12, 2011 at 8:19 AM, Jitesh dedhiya jitesh.dedh...@gmail.comwrote: Whats the name of the widget? PopupWindow, I

Re: [android-developers] Setting Widget Background via RemoteView

2011-04-12 Thread Kostya Vasilyev
12.04.2011 17:19, Jake Colman пишет: I have yet to figure this out so I though I'd try posting again. Given a widget with a background image specified in its layout, how can one set the background's transparency at runtime? I have tried Kostya's suggestion of calling the RemoteView.setInt()

[android-developers] Change Button Function and name when clicked

2011-04-12 Thread Gabriel
I want to make a two-function button. When I click it makes a function and transform into another button, with other name and function. When I click it again it comes back to the first one. Is it possible?? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Create custom bar

2011-04-12 Thread Nick
I saw this bar (http://i133.photobucket.com/albums/q43/ chiliberto_photos/TitleBar-sidebyside.png) in iphone GUI PSD collection and want to add it in my android application. I created transparent png image (for shadow) and use this png like a tiled background for my layout: bitmap

Re: [android-developers] Change Button Function and name when clicked

2011-04-12 Thread TreKing
On Tue, Apr 12, 2011 at 8:51 AM, Gabriel gab...@gmail.com wrote: Is it possible?? Yup. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for

Re: [android-developers] Change Button Function and name when clicked

2011-04-12 Thread Marcin Orlowski
If by name you mean label, then yes. As for different function - handle this in your code, no big deal. PS: http://developer.android.com/resources/tutorials/views/hello-formstuff.html Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... WebnetMobile

[android-developers] How to Access Gmail Account Contact in Android

2011-04-12 Thread Jons Jean
Hi Dears ; I am working on a messenger type application where I need to access all contacts (gmail-ID) related to a specific user , Anyone can give me the hint how I can do this ? Can I use google contact API for this ? Waiting for kind reply from bright community . . . -- You received this

[android-developers] Re: Change Button Function and name when clicked

2011-04-12 Thread Gabriel
it would be the Toggle Button? On 12 abr, 11:02, Marcin Orlowski webnet.andr...@gmail.com wrote: If by name you mean label, then yes. As for different function - handle this in your code, no big deal. PS:http://developer.android.com/resources/tutorials/views/hello-formstuf... Regards,

[android-developers] usb-serial controller

2011-04-12 Thread Giorgio Ascani
Hi, i'd like to send/receive data from a device connected by USB- Serial Controller. When I connect the cable Android seems to recognize it because the logcat show: usb 1-2.2: new full speed USB device using ehci-omap and address 11 usb 1-2.2: New USB device found, idVendor=067b, idProduct=2303

[android-developers] usb-serial controller

2011-04-12 Thread Giorgio Ascani
Hi, i'd like to send/receive data from a device connected by USB- Serial Controller. When I connect the cable Android seems to recognize it because the logcat show: usb 1-2.2: new full speed USB device using ehci-omap and address 11 usb 1-2.2: New USB device found, idVendor=067b, idProduct=2303

Re: [android-developers] Re: Change Button Function and name when clicked

2011-04-12 Thread Marcin Orlowski
Depends on what you really need it for. Toggle is rather on/off type. if you want to execute different actions it would be normal button with some if() in you onClickListener to determine which action shall be called for this button (and this shall depend on internal state of your app). Something

Re: [android-developers] How to Access Gmail Account Contact in Android

2011-04-12 Thread Marcin Orlowski
On 12 April 2011 16:19, Jons Jean tonasirin...@gmail.com wrote: Hi Dears ; I am working on a messenger type application where I need to access all contacts (gmail-ID) related to a specific user , Anyone can give me the hint how I can do this ? Can I use google contact API for this ? Whoever

Re: [android-developers] Create custom bar

2011-04-12 Thread Marcin Orlowski
Of course it works... but the question is how to make it resizable? All I want is to draw different labels using this layouts (with different text size)...so it has to have wrap_cotent height. Is it possible? Please, help... use 9patch PNG to make your image scale correctly

[android-developers] usb serial controller

2011-04-12 Thread Giorgio Ascani
Hi, i'd like to send/receive data from a device connected by USB- Serial Controller. When I connect the cable Android seems to recognize it because the logcat show: usb 1-2.2: new full speed USB device using ehci-omap and address 11 usb 1-2.2: New USB device found, idVendor=067b, idProduct=2303

Re: [android-developers] Re: Read send sms

2011-04-12 Thread saurabh patil
which email client u are using.. On Tue, Apr 12, 2011 at 12:56 PM, Mochamad Basofi moch.bas...@gmail.comwrote: Could you give me more details? I don't have any clue of which intent I should use. btw thank you for the reply On Apr 12, 10:15 am, XiaoXiong Weng xiaoxiong.w...@gmail.com wrote:

[android-developers] Programatically unchecking items in a dialog

2011-04-12 Thread Akshay Goel
Hello, I am displaying a list with checkboxes in a dialog. The list looks something like- Item 1 Item 2 All with a checkbox beside each item. Now the requirements is- If Item 1 or Item 2 or both are already checked, and All is selected, Item 1 2 should be unchecked. To accomplish this, I

[android-developers] Re: The Blinking Activity of Death

2011-04-12 Thread BoD
Ps: I realize my problem is a bit vague, and that I unfortunately have few details to share to help understanding what's going on. Maybe somebody can give me hints on what would be the best course of action to follow the next time I encounter this problem (like look at some specific logs, or put

[android-developers] Re: NFC question: card emulation is not supported in the Android SDK yet, right?

2011-04-12 Thread joe.scheidegger
Hi JornC Here is the link to the spec: http://source.android.com/compatibility/ndef-push-protocol.pdf cheers joe On Mar 29, 11:40 am, JornC jorncruij...@gmail.com wrote: Apologies for digging up this withering discussion, but is there any ETA on that com.android.npp spec? - Jorn On Mar 1,

Re: [android-developers] How to Access Gmail Account Contact in Android

2011-04-12 Thread Me
Hi Marcin Orlowski; * else you all are in my contacts -:)P, It means s/he have hotmail contact as you also have hotmail contact -:)P , * On Tue, Apr 12, 2011 at 6:57 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 12 April 2011 16:19, Jons Jean

  1   2   >