Re: [android-beginners] Re: Loading images in android

2010-07-28 Thread Kostya Vasilyev
The code below replaces the activity's content view (the root of view hierarchy) with a new LinearLayout. If you want to keep your existing layout around, do this: 1 - declare a LinearLayout placeholder in your layout xml file, give it an ID. 2 - instead of creating a new LinearLayout, get

Re: [android-beginners] Build.BOOTLOADER / Build.RADIO

2010-07-28 Thread Kostya Vasilyev
Those fields are new with Android 2.2. Are you sure you're compiling against Android 2.2? -- Kostya 28.07.2010 2:38, Doward пишет: According to the SDK we should be able to read the bootloader and radio versions, but Eclipse is freaking out about it. I can read any other Build.whatever

[android-beginners] need help validating if application works on specific devices

2010-07-28 Thread Phone Pony
Hi, I've created and published a widget called in the market by the name Frequent Contacts Widget, sources can be found at http://code.google.com/p/frequentcontacts/ . Mu problem is that it works on my N1, and on the emulator, but some users complain that is doesn't work on their HTC incredible,

Re: [android-beginners] need help validating if application works on specific devices

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 3:51 AM, Phone Pony phonep...@gmail.com wrote: you are invited to look at the code, and hopefully you can find what is wrong with these specific devices. Uri SmsContentUri = Uri.parse(content://sms); This is not part of the Android SDK. It is an undocumented feature of

[android-beginners] image with panning and zooming

2010-07-28 Thread zaheer ahmad
hi, I would like a minimal sample android app that can display an image (bigger than the screen size) and allow it to pan and zoom. is there an example for the same. Thanks in advance for any inputs. Zaheer -- You received this message because you are subscribed to the Google Groups Android

Re: [android-beginners] Language change to Hindi

2010-07-28 Thread Shaista Naaz
Thanks Mark for redirecting me to correct link. I am new to Android so did not know where to post such questions. And Michael I did not get the essence of what you are trying to say. Regards, Shaista On Wed, Jul 28, 2010 at 6:01 AM, michael furman michael.j.fur...@gmail.comwrote: hi Shaista

Re: [android-beginners] need help validating if application works on specific devices

2010-07-28 Thread Phone Pony
Thanks for the quick reply. What I understand is there is no generic way to write an application that simplifies or enhances message sending experience. I will abandon supporting this project and just keep it working on my N1. If anyone feels like making it work on their device you are invited to

[android-beginners] How to add shared library in apk

2010-07-28 Thread androidbeginner
Hi All I want to port c library for this i have built static c library and added jni files and built the shared library .all these i have done in target .i want to create separate apk now .Is it possible? If so where should i add these libraries and how to fetch them -- You received this

[android-beginners] Re: Contents of dex

2010-07-28 Thread kypriakos
Great thanks Mark. On Jul 28, 12:03 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 27, 2010 at 11:50 PM, kypriakos demet...@ece.neu.edu wrote: is there a way to view what is enclosed (file list) in the dex file? http://dedexer.sourceforge.net/ -- Mark Murphy (a Commons

[android-beginners] Directory names

2010-07-28 Thread kypriakos
Hi again, I have been experimenting with the file system that the emulator presents and I noticed that although I can create files with 'normal' names (ex. test, src), I don't seem to be able to create dotted names, such as .test, .src. Is there a restriction on dir names (other than the common

[android-beginners] Slider Drawer Problem - disappearing slider

2010-07-28 Thread Victoria Busse
Hi there, I am currently working on a video editing view for my app and I wanted to include a sliding drawer with different video editing functions, but I already ran into a problem with the slider itself because when tap it to open, it opens fine, but when I tap it a second time to close it

Re: [android-beginners] Re: [Q] Make the activity blur/dim with startActivityForResult?

2010-07-28 Thread Justin Anderson
I couldn't see anything wrong offhand... I will try to load it up in Eclipse when I get a chance and see if I can figure out what is wrong. It might be a couple days though... -- There are only 10 types of people in the

Re: [android-beginners] Bringing activity to front -Urgent help

2010-07-28 Thread Justin Anderson
Well... what info do you have from the crash? Looking at the logcat info should tell you what the problem is... You will want to look for the words caused by in the log. -- There are only 10 types of people in the world...

Re: [android-beginners] Re: Loading images in android

2010-07-28 Thread Justin Anderson
And I would probably do a little reading to better understand the Android platform... http://developer.android.com/guide/index.html http://developer.android.com/resources/faq/commontasks.html http://developer.android.com/resources/faq/framework.html Read everything above... it will help you solve

[android-beginners] Media Recorder Error codes

2010-07-28 Thread Carlos Junior
Hi everybody, I'd like to know the meaning of error's code in MediaRecorder. Sometimes the application launch a 802 or 803 number error, I did not see the meaning of this number in the API of this class. Only this codes are included on API: public static final int MEDIA_RECORDER_INFO_UNKNOWN = 1;

[android-beginners] My column '_id' does not exist?

2010-07-28 Thread Mitch
I'm having trouble with something that works in the Notepad example. Here's the code from the NotepadCodeLab/Notepadv1Solution: String[] from = new String[] { NotesDbAdapter.KEY_TITLE }; int[] to = new int[] { R.id.text1 }; SimpleCursorAdapter notes = new SimpleCursorAdapter(this,

[android-beginners] Re: The content of the adapter has changed but ListView did not receive a notification

2010-07-28 Thread nimusi
Thanks, Justin, that has solved the problem. On 27 July, 22:00, Justin Anderson janderson@gmail.com wrote: Use startActivityForResult instead of startActivity.  Then when you get back to the listView you can add the item and update there.  There are some very specific things you need to do

Re: [android-beginners] Re: The content of the adapter has changed but ListView did not receive a notification

2010-07-28 Thread Justin Anderson
No problem. Glad you got it solved! -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Jul 28, 2010 at

[android-beginners] Re: [Q] Make the activity blur/dim with startActivityForResult?

2010-07-28 Thread CyanBlue
I've searched/waited quite a few days already and felt I should really give up... So, a few more days won't kill me... :) Oh, FYI, the above code works great on the Dialog... It just does not work with the activity... Appreciate your help, Justin... CyanBlue -- You received this message

[android-beginners] Re: Contents of dex

2010-07-28 Thread fadden
On Jul 27, 9:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 27, 2010 at 11:50 PM, kypriakos demet...@ece.neu.edu wrote: is there a way to view what is enclosed (file list) in the dex file? http://dedexer.sourceforge.net/ Also dexdump (which comes installed on development

Re: [android-beginners] Directory names

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 11:39 AM, kypriakos demet...@ece.neu.edu wrote: I have been experimenting with the file system that the emulator presents and I noticed that although I can create files with 'normal' names (ex. test, src), I don't seem to be able to create dotted names, such as .test,

[android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Brad Taylor
Hello Everyone, I new to the SDK and have intermediate Java skills and I am having an issue with adding an AlertDialog to a Receiver I have created. The application is a basic alarm clock and I am using the following code as the receiving class. I want to use an AlertDialog instead of Toast so

Re: [android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 7:24 PM, Brad Taylor djlm...@gmail.com wrote: I new to the SDK and have intermediate Java skills and I am having an issue with adding an AlertDialog to a Receiver I have created. Try using a dialog-themed Activity and startActivity() instead. -- Mark Murphy (a Commons

Re: [android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Brad Taylor
Thanks for the quick reply Mark. I am unsure what you mean by using a dialog-themed Activity and startActivity(). I have added a Alarm in my mainclass // Schedule the alarm! AlarmManager am = (AlarmManager) getSystemService(ALARM_SERVICE); if (isOn) { // Set alarm

Re: [android-beginners] Problems using AlertDialog in a onReceive() method

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 8:26 PM, Brad Taylor djlm...@gmail.com wrote: Would I create a whole new Activity class that creates the AlertDialog. No, you would create a whole new Activity class that displays what you want to display. If you want it to look like an AlertDialog, add the following

[android-beginners] Re: How can my app let people pick a picture that I use as background in my app?

2010-07-28 Thread cellurl
Can you elaborate a bit please? Intent covers so much material. Thank you very much! Jim On Jul 25, 10:36 am, Paul Turchenko paul.turche...@gmail.com wrote: Use intent to pick a picture and start activity for result On Jul 24, 10:47 pm, cellurl gpscru...@gmail.com wrote: How do I launch

Re: [android-beginners] Google Image on Google map

2010-07-28 Thread Mark Murphy
2010/7/28 NBS and...@gmail.com: The problem is it shows as blank space. Instead of drawing anything. Please have a look to the attached Image file. Android is having difficulty loading that tile for some reason. It should not be a problem in your code. With luck, the map server will respond

[android-beginners] ContentProvider failing on insert

2010-07-28 Thread martinmike2
Hello, what i cam trying to do is this: 1. Check for db on startup (no problem) 2. If no db, create one (no problem) 3. input some data into the db (problem) 4. save the db (not there yet) The exception is being thrown when i call cp.insert I have stepped through the code line by line and the

[android-beginners] OutputStream on assets file

2010-07-28 Thread Bret Foreman
What happens if I open an OutputStream on a file in the assets folder? Can I write over it? What happens to the file size if I write less data than the original size? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and

[android-beginners] Map Key

2010-07-28 Thread NBS
Hi all, I am trying to upload a simple map application or market. But I am not sure about the map key. Now I am using a generated map key on my system to work. But I dont know what this value will be if I have to upload to the market. Thanking you. Regards Bhaban -- Bhaban Nongmaithem (바반)

Re: [android-beginners] OutputStream on assets file

2010-07-28 Thread Mark Murphy
On Thu, Jul 29, 2010 at 12:15 AM, Bret Foreman bret.fore...@gmail.com wrote: What happens if I open an OutputStream on a file in the assets folder? It creates a rupture in the space-time continuum, exterminating all life except for tax collectors (who are invincible). Or, possibly, it just