[android-developers] Re: Sqlite and SimpleCursorAdapter

2010-04-05 Thread elham
Thank you for your help . On Apr 1, 4:54 pm, Mark Murphy mmur...@commonsware.com wrote: elham wrote:  Hello , I want to create a table whose primary key will  be some other field and not _id . The below table gets created but the value of _id remains null  : create table accounts

[android-developers] Re: AudioTrack in streaming mode

2010-04-05 Thread ani
You can use audiomanager apis to do what you are trying to do... -- 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] virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi All, I am new in android, i am having problem in Virtual Keyboard. I am having text field. if user click the text field then virtual keyboard need to appear. how to do this. please help me Thanks C.Rajesh -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: virtual keyboard problem

2010-04-05 Thread Nithin
This is the default behaviour of Android. If user click on the EditText, virtual keyboard will appear.. Nithin On Apr 5, 11:52 am, rajesh chandrasekaran crajeshdanger...@gmail.com wrote: Hi All, I am new in android, i am having problem in Virtual Keyboard. I am having text field. if user

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
why do you think i am not being serious?! On Apr 4, 9:28 pm, ~ TreKing treking...@gmail.com wrote: On Sun, Apr 4, 2010 at 9:38 PM, HeHe cnm...@gmail.com wrote: my apk stills gets a *false* Config.DEBUG value. Are you being serious? Which part of Xavier's post did you not understand? So

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
i set debuggable flag in manifest.xml. i launched my apk using Run Debug As menu cmd of Eclipse IDE. could you or Xavier please elaborate what extra procedure (detailed steps, please) i need to follow to get a true Config.DEBUG value? thanks a lot! On Apr 4, 9:28 pm, ~ TreKing

[android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Bob Kerns
I've been holding off on replying to this only because I haven't fully collected my thoughts. I hope to write up my recommendations for build approaches, especially for free/paid apps, before really wrapping my mind around it. But since that's taking me a while, I thought I should chime in, yes,

[android-developers] Remember Password

2010-04-05 Thread Chirayu Dalwadi
If user clicks on remember password than how to remeber username and password on client ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread Bob Kerns
TreKing -- He doesn't understand what a debug build is. The flag indicates that the DEVICE, not your APPLICATION is a debug build. HeHe -- That's why you can't get at it with Config.DEBUG -- you'd need to reflash your device. You don't make this in Eclipse -- or at least not using the SDK. What

[android-developers] Streaming of Wav Files using Native Player

2010-04-05 Thread Kamal Hasan
Hi, Our application needs streaming of audio files.I have done with streaming of mp3 files by calling the native player and passing the url to it. Whereas the default player is not able to play the wav format files from remote server. The following code worked for mp3 files.

[android-developers] Re: Behavior of Just In in Market

2010-04-05 Thread patbenatar
Makes perfect sense. Making it so all updates to apps show up at the top of the list opens up a wide door for fraud--as in people posting updates to their app on a daily basis simply to get it to the top of the list and increase their presence [with or without any notable code changes]. On Apr

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-05 Thread patbenatar
A so sorry about taking this thread all off topic and what-not.. I need to figure out how this works. I hit Reply to author for the above email and for some reason it went straight to the whole group.. Seems like incorrect behavior considering there is a generic Reply option as well...? On

[android-developers] Re: Moving a graphic on different screen sizes with the right ratio?

2010-04-05 Thread Bevor
Hello, thanks for your answer. Using heightPixels is a good idea. With it I could achieve my intent. I wonder if game developers would do that in the same manner because on the bottom of the screen I have buttons. These buttons have different heights on the different screen sizes (small, normal,

[android-developers] Re: virtual keyboard problem

2010-04-05 Thread Kumar Bibek
This is a default behaviour in Portrait mode only when there is a hardware keyboard. If there is no physical keyboard, then the on screen keyboard should show up in both orientations. This is a default behaviour and you don't need to do anything special for it. Make sure that you are using the

[android-developers] Re: Remember Password

2010-04-05 Thread Kumar Bibek
Save the password somewhere in a file or preferences, ecrypted of course. And then retrieve it when you need it. Thanks and Regards, Kumar Bibek On Apr 5, 12:23 pm, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: If user clicks on remember password than how  to remeber username and password

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread Kumar Bibek
Get handles to all listviews and show/hide the list views by setting the visibility to View.GONE or View.VISIBLE. Thanks and Regards, Kumar Bibek On Apr 5, 10:11 am, javame_android su...@softwebsolutions.com wrote: Hi, I want to have multiple listviews in single activity. But only one

[android-developers] Re: Splash Screen Appears only once

2010-04-05 Thread Kumar Bibek
Well, you cannot run two Activities simultaneously. When one Activity is in the foreground, the next activity will be in paused/stop state. Only when your foreground activity finishes, you background activity will come alive. Show your splash screen for 5 secs. Then start the next activity and

[android-developers] Re: Fastest and most reliable Location provider

2010-04-05 Thread patbenatar
Hey guys- Thanks again for the feedback. My app has two reasons for knowing the location: the first is to fetch data from a web API when the app loads, this one does not need a super-accurate location fix as I'm initially fetching a large enough radius of data to make any 10,000 meter error

[android-developers] Re: new service: link to android market from device and computer

2010-04-05 Thread patbenatar
So on the Web side, check the user_agent request header to determine if the user is on Android and if so do a direct link to market, if not display instructions to download on Market or an option to email? Sounds about right... On Apr 3, 8:18 am, ko5tik kpriblo...@yahoo.com wrote: Just

[android-developers] Re: Web Browser die when request cached geolocation position.

2010-04-05 Thread Kumar Bibek
Interesting log debuggerd committing suicide to free the zombie! You can report this as an issue. Seems to be a memory problem to be. Thanks and Regards, Kumar Bibek On Apr 5, 8:09 am, oslim tobeapr...@gmail.com wrote:    Does anyone know about this problem?    When I run Browser and create

[android-developers] problem in large screen resolution

2010-04-05 Thread rajesh chandrasekaran
Hi all, In android, to support all the screen resolution, i have created the layout, layout-small, layout-large folder in res folder, and i have .xml file in all the folder. I can get the output in normal screen and small screen resolution, but in large screen emulator i am getting the

[android-developers] Re: virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi Kumar Bibek, Thanks for your replay.. how to focus the editText Thanks C.Rajesh On Apr 5, 12:47 pm, Kumar Bibek coomar@gmail.com wrote: This is a default behaviour in Portrait mode only when there is a hardware keyboard. If there is no physical keyboard, then the on screen

[android-developers] Re: virtual keyboard problem

2010-04-05 Thread rajesh chandrasekaran
Hi Nithin, Thanks for your replay.. Thanks C.Rajesh On Apr 5, 11:56 am, Nithin nithin.war...@gmail.com wrote: This is the default behaviour of Android. If user click on the EditText, virtual keyboard will appear.. Nithin On Apr 5, 11:52 am, rajesh chandrasekaran

[android-developers] Re: Forcing the Symbols Soft Keyboard

2010-04-05 Thread Kumar Bibek
For your edit text, use this property. android:inputType=number This will pop up the keyboard with numbers only. But in this case you will not be able to enter anything other than numbers. Thanks and Regards, Kumar Bibek On Apr 5, 12:57 am, Nmix nepean...@gmail.com wrote: I have an EditText

[android-developers] Not able to access the contact birthday events in Android 1.6

2010-04-05 Thread Girish
Hi, Using Contact.Pepople.ContentUri, am able to access the all contact details such as name, numbers, email, organisation details, postal details etc But i didn't find any Uri or methods to access the birthday and anniversary details of each contact. Please suggest me how do we access the events

[android-developers] Re: How to Launch Contact application displaying multiple phone numbers?

2010-04-05 Thread Girish
First fetch the _id of each contact and use that id in below URL to fecth the all phone number of each contact. //**Retrieve Phone Numbers* Cursor numberCursor = context.getContentResolver().query (Contacts.Phones.CONTENT_URI,

[android-developers] Re: How to come back main activity from child activity

2010-04-05 Thread SREEHARI
I tried without using startActivitiForResult.but I tried to go back from C to A on back button click. I used startActivity only..If u want to come back to A from C on clicking back button, give finish() inside onStop() of Activity B. Regards, SREEHARI -- You received this message

[android-developers] Getting the amount of Audio data buffered in the device

2010-04-05 Thread KK
I am trying to write a streaming application. I have my own decoder and I am playing PCM audio using AudioTrack. At any point in time I want to know how much data is buffered with the device. I want to use this so that if the data with the device go below a level, I want to go into a buffering

[android-developers] Re: How to Launch Contact application displaying multiple phone numbers?

2010-04-05 Thread Girish
Hi, The above code is for 1.6 and below version, For Android 2.0 and above version you have to follow the below code, Cursor m_oCursor = this.getConetentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); String pid =

[android-developers] Applying animation to all the items in the list at once

2010-04-05 Thread Sonic..
Hello, I have a list view, wherein I need to apply an animation of sliding the list items to the left in case of a horizontal fling. Now I need to apply this animation to all the list items at once. I tried Google it, and I believe I could use setLayoutAnimation for each list item. and that

[android-developers] Re: Moving a graphic on different screen sizes with the right ratio?

2010-04-05 Thread Yahel
Hi Bevor, Have you read about independent pixels (dip) in Android. Take a look at, if you have not already done so at : http://developer.android.com/intl/fr/guide/practices/screens_support.html Basically, the device can lie to your app whenever you set pixels on a device, to make your app look

[android-developers] Apllication not installing in Sony Xperia

2010-04-05 Thread Nithin
Hi, I made an android application in 1.6 SDK. It works in all devices, which includes HTC Tattoo, LG, Samsung Galaxy, Motorola Droid and Nexus one. But in Sony Xperia, firmware is 1.6. When I try to install its getting the error, Application cannot be installed. Any idea ?? Nithin -- You

[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All, I am able to insert the contacts into SIM card and delete from it. But it needs to be phone restart to update the changes. The below is the code woks for delete the conatcs, Uri simUri = Uri.parse(content://icc/adn); Cursor cur =

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
Not working on a Hero - Android 1.5. When I try to launch your app, it says it cannot run against this device. Which Api Level did you use. From the screenshot, I can't see a reason why you would have purposedly exclude Android 1.5 from your build. From the screenshot again, your metronome

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Carl Whalley
I ran into this recently. Try this in your AndroidManifest.xml uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4 / -- Android Academy http://androidacademy.com On Apr 5, 6:01 am, Gabriel Simões gsim...@gmail.com wrote: Hi all, After spending some time learning about Android´s SDK

[android-developers] Issue with GPS Droid, Hero CDMA

2010-04-05 Thread Namrata
Hi, I am developing an app which uses GPS to find current location. ASAP I get location I shut down GPS listener..For some of the phones like droid, hero on CDMA, it is not getting closed. Following is the code snipset.. final String currentProvider = LocationManager.GPS_PROVIDER;

[android-developers] Re: Apllication not installing in Sony Xperia

2010-04-05 Thread Kumar Bibek
Can you post a detailed logcat dump? Thanks and Regards, Kumar Bibek On Apr 5, 3:20 pm, Nithin nithin.war...@gmail.com wrote: Hi, I made an android application in 1.6 SDK. It works in all devices, which includes HTC Tattoo, LG, Samsung Galaxy, Motorola Droid and Nexus one. But in Sony

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
Updating right now On 5 abr, 08:03, Carl Whalley carl.whal...@googlemail.com wrote: I ran into this recently. Try this in your AndroidManifest.xml uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4 / -- Android Academyhttp://androidacademy.com On Apr 5, 6:01 am, Gabriel

[android-developers] problem in large screen resolution

2010-04-05 Thread rajesh chandrasekaran
Hi, I am trying to use Resource Qualifier for layout as layout-large. But when the application is starting in the emulator its reading the same file from default layout folder. The res folder structure is as below : res/ layout/login.xml layout-large/login.xml What I want is when there

[android-developers] large screen resolution problem

2010-04-05 Thread rajesh chandrasekaran
Hi, I am trying to use Resource Qualifier for layout as layout-large. But when the application is starting in the emulator its reading the same file from default layout folder. The res folder structure is as below : res/ layout/login.xml layout-large/login.xml What I want is when there

[android-developers] Re: IllegalArgument Exception: Service is not registered: when unbindservice is called.

2010-04-05 Thread brucko
Hi Prajakta, Not sure here - but I dont think you really need to call stopService. Stop service is usually used when you have started your service with startService(). Unbind service is used when you started the service with bindService. If you really needed to kill your service when unbinding

Re: [android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Mark Murphy
But one thought is that making this be a command may not be the best approach for integration into build systems. I'm thinking that packaging it as an ant macro in an antlib may be a better approach, with the underlying technology being a .zip file with the various pieces. Then, if you feel

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
I have just updated the app to v. 1.0.1 - Fixed a reported bug on AudioTrack´s internal buffersize - Added Android 1.5 The thing I´d like to know is how well are the audio click and UI changes syncronized. It´s hard to measure it using the emulator and right now Android is not made for it. Tried

Re: [android-developers] Re: Reusable Android library packaging: interest?

2010-04-05 Thread Mark Murphy
Anyway, if you choose to go the parcel shell route, don't forget a parcel upgrade command. Personally, If I cannot upgrade easily to a new version of a library I wouldn't use it. Yup, it's in there. Thanks for the input! -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Pinheiro
I'm trying to draw an image downloaded from the web but keep getting the error Cannot cast from Bitmap to byte[]. Here's the code snippet: BufferedInputStream bis = new BufferedInputStream(somethingdownloaded); DataInputStream dis = new DataInputStream(bis); Bitmap image;

Re: [android-developers] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Mark Murphy
I'm trying to draw an image downloaded from the web but keep getting the error Cannot cast from Bitmap to byte[]. Here's the code snippet: BufferedInputStream bis = new BufferedInputStream(somethingdownloaded); DataInputStream dis = new DataInputStream(bis);

Re: [android-developers] Cannot cast from Bitmap to byte[]

2010-04-05 Thread Abdul Mateen
Hi, This is not possible. fairly you can either use Bitmap bitmap; bitmap.compress function to get the bytes to the buffer or you can use getInt(). On Mon, Apr 5, 2010 at 4:54 PM, Pinheiro rui.c.pinhe...@gmail.com wrote: I'm trying to draw an image downloaded from the web but keep getting the

[android-developers] Re: Cannot cast from Bitmap to byte[]

2010-04-05 Thread Pinheiro
Use BitmapFactory.decodeStream(). Got it, many thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: problem in large screen resolution

2010-04-05 Thread Lance Nanek
Are you sure you want the large qualifier and not the hdpi qualifier? Large refers to the physical size. Note how the density vs. size matrix in the docs indicates a device can have FWVGA resolution and still not be considered large:

[android-developers] Re: GLSurfaceView on app widget?

2010-04-05 Thread Musafir
Thank u all for good support ..:) keep active -- 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] Programmatically start / launch VPN connection

2010-04-05 Thread nils
I like to control the VPN profiles, connect to VPN and so on. How can I do this ? I read somewhere that the class is still not public ... Why is this not allowed ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: new service: link to android market from device and computer

2010-04-05 Thread Lance Nanek
What about Android devices without the Market app? I think I asked that last thread on this technique too, heh. On Apr 5, 4:18 am, patbenatar patbena...@gmail.com wrote: So on the Web side, check the user_agent request header to determine if the user is on Android and if so do a direct link to

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
Ok, I can run it now but the layout is completely off : http://www.mediafire.com/imageview.php?quickkey=tyaiewfnk0ithumb=4 Yahel On 5 avr, 13:46, Gabriel Simões gsim...@gmail.com wrote: I have just updated the app to v. 1.0.1 - Fixed a reported bug on AudioTrack´s internal buffersize -

[android-developers] opengl es and Live wallpaper

2010-04-05 Thread Musafir
hi friends, Using live wllpaper we can add interactive application in home screen but i want to know how can i add my opengl drawing(which itself interactive )to live wallpaper? Thanks and regards -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Non-stretchable background images

2010-04-05 Thread Mariano Kamp
Hi, I want to generate background drawables for buttons and I am wondering if there is any way to specify that the button can stretch, e.g. when using fill_parent, but the image in it should not stretch? I want to use the extra space for the touch area, but not have the icons on it look all

[android-developers] Re: Sending email with attachment

2010-04-05 Thread Kumar Bibek
I will try this and let you know. Thanks and Regards, Kumar Bibek On Apr 2, 3:09 am, powder jonas.hey...@gmail.com wrote: The logcat says: ... 04-01 18:33:06.230: INFO/ActivityManager(76): Starting activity: Intent { act=android.intent.action.SEND typ=text/csv flg=0x300

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread javame_android
Hi, I have used mostly the same way of showing multiple listviews as you suggested i.e. using setvisibility. But now what I want is to have the Bitmap image of all the four listviews. Suppose, my activity starts and the data are loaded into all the four listviews by binding them to their

[android-developers] Re: How do I get the MD5 fingerprint of my application certificate through code?

2010-04-05 Thread mendhak
Still struggling with this. Based on what you said, I tried playing with this: Signature[] sigs = getBaseContext().getPackageManager().getPackageInfo(com.whatever.blahpackage, 64).signatures; (64 = GET_SIGNATURE) I then had a look at sigs[0].toCharsString() which produced a 979 character

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
The layout was built using Relative Layout. By what I´ve read so far, it should work on 1.5, right? I´ve also read elsewhere that until 1.6 relative layout had problems with the order in which the widgets where built. Yahel, sorry for the inconvenience, I will try to fix it as soon as possible,

[android-developers] Re: Displays on emulator, not on phone

2010-04-05 Thread RMD
No, LocationManager.GPS_PROVIDER, presently, has a value of gps. It's more that, in case for some crazy reason they change that convention, Great info, thanks. Would would be a good way to code it if I want the LocationManager to use network if GPS is not available, like when your in a building,

[android-developers] Re: Sending email with attachment

2010-04-05 Thread Kumar Bibek
public static void sendFile(Context context) { File exportDir = new File(Environment.getExternalStorageDirectory(), mydir); if (!exportDir.exists()) { exportDir.mkdirs(); }

[android-developers] Re: Displays on emulator, not on phone

2010-04-05 Thread RMD
I think I found it. getBestProvider() Thanks again for your help everyone, rd42 On Apr 5, 8:41 am, RMD rmdel...@gmail.com wrote: No, LocationManager.GPS_PROVIDER, presently, has a value of gps. It's more that, in case for some crazy reason they change that convention, Great info, thanks.

[android-developers] Re: Behavior of Just In in Market

2010-04-05 Thread Siva G
That makes sense... Thanks! On Apr 5, 3:28 am, patbenatar patbena...@gmail.com wrote: Makes perfect sense. Making it so all updates to apps show up at the top of the list opens up a wide door for fraud--as in people posting updates to their app on a daily basis simply to get it to the top of

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-05 Thread javame_android
Hi, In case someone needs the reference of xml layout file, I have posted that below too. ?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-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Yahel
No worries Gabriel, I really don't know why this layout problem appears, doesn't really show off the compile once/run everywhere mantra :D Tell me if you find a fix, I'll try it again. Yahel On 5 avr, 14:37, Gabriel Simões gsim...@gmail.com wrote: The layout was built using Relative Layout.

[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All, I am able to insert the contacts into SIM card and delete from it. But it needs to be phone restart to update the changes. The below is the code woks for delete the conatcs, Uri simUri = Uri.parse(content://icc/adn); Cursor cur =

[android-developers] Insert and delete SIM contacs working but it needs to be phone restart to update the changes

2010-04-05 Thread Girish
Hi All, I am able to insert the contacts into SIM card and delete from it. But it needs to be phone restart to update the changes. The below is the code woks for delete the conatcs, Uri simUri = Uri.parse(content://icc/adn); Cursor cur =

[android-developers] Re: BluetoothServerSocket: how to close correctly?

2010-04-05 Thread Reason
I hv the same problem, can anyone help? -- 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: Non-stretchable background images

2010-04-05 Thread skink
Mariano Kamp wrote: Hi, I want to generate background drawables for buttons and I am wondering if there is any way to specify that the button can stretch, e.g. when using fill_parent, but the image in it should not stretch? I want to use the extra space for the touch area, but not have the

[android-developers] Send email in background

2010-04-05 Thread RMD
Is there and accepted way to send an email in the background? RMD -- 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: Forcing the Symbols Soft Keyboard

2010-04-05 Thread Nmix
Thanks, but that does not solve my problem. I specify android:digits because the acceptable characters for the EditText are more than just numerals. From my brief perusal of the IME samples in the SDK (not the actual Android source code), specifying android:digits always brings up the qwerty soft

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
After a little more investigation it seems this issue is related to RelativeLayout on Android up to 1.5 There's a known bug that up to cupcake, RelativeLayout would build the UI based on the order in which you declare the widgets on you Action's XML. This way, you could end with views drawn one

[android-developers] Re: Layout with ScrollView and TextView

2010-04-05 Thread andrej sarkic
Thanks, I will take a look. I would still like to understand though, how this layout works, because it seems to me it contradicts what the documentation states. At least my reading of it, and I'm sure I'm probably missing something. I should not have to set a minHeight, which is in pixels, which

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-05 Thread Gabriel Simões
Also, the compile once run everywhere mantra is known for itś incompatibilities between different versions of the virtual machine! hehehehe On Apr 5, 10:52 am, Gabriel Simões gsim...@gmail.com wrote: After a little more investigation it seems this issue is related to RelativeLayout on Android

[android-developers] Force Close

2010-04-05 Thread RMD
The class below sends and SMS message onLocationChange of the GPS, well I want it to anyway. Alone it works fine, but as a class it doesn't. If I comment out the code in sendSMS() the program doesn't crash on the phone but it also doesn't send the SMS. The same code runs as a standalone sends

Re: [android-developers] Force Close

2010-04-05 Thread Mark Murphy
The class below sends and SMS message onLocationChange of the GPS, well I want it to anyway. Alone it works fine, but as a class it doesn't. If I comment out the code in sendSMS() the program doesn't crash on the phone but it also doesn't send the SMS. The same code runs as a standalone

Re: [android-developers] Send email in background

2010-04-05 Thread Mark Murphy
Is there and accepted way to send an email in the background? You would need to integrate your own email client library (e.g., JavaMail), as there is no way to send email in Android natively without user intervention. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer

[android-developers] Re: Complains of shrinking font sizes

2010-04-05 Thread polyclefsoftware
Okay, you just need to make sure you define your font sizes in scale- independent pixels (sip or sp) instead of whatever you were using before. For whatever reason, on the Droid pre-2.1 it would automatically scale text not defined in scale-independent pixels. Now it doesn't. On Apr 4, 10:01 am,

[android-developers] Re: Force Close

2010-04-05 Thread RMD
Thanks, There appear to be a bunch of errors: E/dalvikvm( 237): Unable to open stack trace file '/data/anr/ traces.txt': Permission denied I'm new to java and down in the log I see an uncaught exception. I guess a figure out exception handling and do it on the sendSMS class? adb logcat

[android-developers] ad support?

2010-04-05 Thread schwiz
I am wanting to make an ad supported version of my app, any suggestions as who to go with? I was just looking into Admob, anyone like a different company better? thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: MediRecorder query

2010-04-05 Thread ani
All your questions or answers should be posted in google developers site.If you want you can cc to the specific people whom you want to address. So that people who are facing problem like yours can google it :) Answer for your question is : Can anyone please tell me the location where the

Re: [android-developers] Re: Force Close

2010-04-05 Thread Mark Murphy
There appear to be a bunch of errors: E/dalvikvm( 237): Unable to open stack trace file '/data/anr/ traces.txt': Permission denied Those aren't tied to your problem. That is standard chatter from the Android subsystems, chatter which I desperately wish wasn't at ERROR log level if the core

Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread ~ TreKing
On Mon, Apr 5, 2010 at 2:00 AM, HeHe cnm...@gmail.com wrote: why do you think i am not being serious?! Because you insist on asking the exact same question after an answer was posted (and then re-posted) about 3 times now. I thought Xavier's first post about the Config.DEBUG variable

[android-developers] Re: Force Close

2010-04-05 Thread RMD
Mark I really appreciate your help. It can frustrating to learn a new language. I have tried different logcat options trying to sift out some of the chatter, but at this point I'm not sure what is chatter and what is of value. ./adb logcat ActivityManager:D myProject:V *:S On Apr 5, 10:38 

[android-developers] Re: Creating Multiple Instances of a Class

2010-04-05 Thread Matthew Patience
I definitely have a lot to try out now between arrays a pool of laser objects. Thanks for answering my beginner question. Thanks again. On Apr 3, 3:10 pm, ~ TreKing treking...@gmail.com wrote: On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience matthewj.patie...@gmail.com wrote:  What I want

[android-developers] Re: Droid Video Recorder

2010-04-05 Thread Abhi
DP, no. I couldn't find anything that would let me record videos at high resolutions. Were you able to figure out? Abhi On Apr 1, 2:24 pm, DP dcp...@gmail.com wrote: Did anyone found a solution to record 720x480 videos yet? On Mar 9, 2:39 pm,Abhiabhishek.r.sha...@gmail.com wrote: There is

[android-developers] Re: Creating Multiple Instances of a Class

2010-04-05 Thread Matthew Patience
Just to confirrm ill have better performance in having a set amount of laser objects rather than creating them each time? On Apr 3, 3:10 pm, ~ TreKing treking...@gmail.com wrote: On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience matthewj.patie...@gmail.com wrote:  What I want to do is while

Re: [android-developers] Re: Force Close

2010-04-05 Thread Mark Murphy
Mark I really appreciate your help. It can frustrating to learn a new language. If you are new to both Java and Android, I generally recommend you spend a few weeks poking around Java itself, outside of Android. Learning both at the same time can be painful, simply because Android is not

Re: [android-developers] Re: Service Object Availability between Activities

2010-04-05 Thread Jason LeBlanc
Is there an obvious reason why I am able to bind to the service, yet unable to access it's objects? Thanks, J On Apr 4, 2010 9:01 AM, Tunneling jasonalebl...@gmail.com wrote: I have a Connection object that is instantiated by the ConnectionService. I bind to the service in order to access the

Re: [android-developers] Send email in background

2010-04-05 Thread Jiri
See this: http://groups.google.com/group/android-developers/browse_thread/thread/9c7bca0a1b6957a9 Jiri On 05/04/2010 15:58, Mark Murphy wrote: Is there and accepted way to send an email in the background? You would need to integrate your own email client library (e.g., JavaMail), as there

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
Bob, thanks for reply. i am still still very very confusedthe link you gave me is a constant FLAG_DEBUGGABLE, indicating the application is manifested to be debuggable. but what i need is some info telling my apk that it was a debug or release built without changing the debuggable attribute in

[android-developers] Re: Activating Bluetooth

2010-04-05 Thread Ken H
Thank you! I was starting to think I only seem to ask questions no one knows the answer to. :) Ken -- 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: Force Close

2010-04-05 Thread RMD
At the risk of being annoying I'll keep on sharing... I put this catch in for when I try to send a SMS try { sms.sendSMS(phoneNo, v); } catch (Exception ex) { Log.d(EXCEPTION

[android-developers] Android PDF library

2010-04-05 Thread momojo
Are there any android pdf libraries that are pretty well mature? ie show images, etc? I am workig on an app that will basically allow reading of PDFs and I wanted to check here to see if there is an accepted means of doing this. -- You received this message because you are subscribed to the

[android-developers] Re: Help with contacts/numbers data to listView.

2010-04-05 Thread Jiri
Is there someone who could help me out? Jiri On 02/04/2010 14:25, jiri wrote: Hello List, I am looking for a solution to a problem where I have to query all users and then for each user I query for her numbers. Offcourse I can build a strcuture first, but that has proven to be quit slow.

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
thanks. now i understand it. Config.DEBUG is for DEVICE and not for APK. i need some info to tell my apk which of map api key to use. here are the 2 cases: (1). build apk by selecting Eclipse Run Run As or Run Debug As menu option. in this case, the apk is a DEBUG built and is signed by Android

Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread ~ TreKing
On Mon, Apr 5, 2010 at 10:42 AM, HeHe cnm...@gmail.com wrote: but what i need is some info telling my apk that it was a debug or release built without changing the debuggable attribute in manifest each time between debug/release builds. This is not possible. You will have to make sure to

[android-developers] Re: How do I get the MD5 fingerprint of my application certificate through code?

2010-04-05 Thread Bob Kerns
Well, first, there's likely to be no MD5 hash involved at all. DSA with SHA-1 would be the default signature type now, I believe. Hashcode would not be secure. That is, you can construct an alternate app+signature that would produce the same hash code. That may be good enough for you, but I would

[android-developers] Re: how to DEBUG build an APK?

2010-04-05 Thread HeHe
thanks for the good idea to turn debuggable apk to red. however, the problem i am experiencing that even after i set debuggable attribute in manifest to TRUE and build and launch my apk using Eclipse Run Debug As, my apk still sees Config.DEBUG as FALSE. so right now i don't know how my apk can

[android-developers] ~~Hi~~

2010-04-05 Thread Abdullah Bakhach
http://sites.google.com/site/gdfh76tgfs/rulp6p -- Abdullah Bakhach FOSS Factory President co-founder www.fossfactory.org/abdullah 519.505.0602 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

  1   2   3   4   >