Re: [android-beginners] Re: custom listview add button above listeview

2010-08-01 Thread Mark Murphy
Sorry for the delay in responding. On Fri, Jul 30, 2010 at 10:01 PM, calmchess calmchesspla...@gmail.com wrote: yes i think this does what i'm looking for do I need to write it from scratch or can i modify this code to suite my needs and use it? It is licensed under the Apache License 2.0. --

[android-beginners] Default Permission with Eclipse ?

2010-08-01 Thread Romain360
Hi, I'm doing, as a training, a calculator. I have an issue with Eclipse : I exported my project into an .apk, with no uses-permission in my Manifest (I don't need any), and as I go to install it on my phone, it asks me for to permissions : phone calls and writing datas on the SD card. So, are

[android-beginners] Re: Default Permission with Eclipse ?

2010-08-01 Thread RichardC
Some new premission were introduced in Android v1.6 (API level 4). In your project if you are targeting Android v1.5 (API level 3) or earlier these permissions will automatically get added to your APK. To fix this target Android v1.6 (API level 4) and add uses-sdk

[android-beginners] second activity error onClick package is duplicating in intent line

2010-08-01 Thread Dean Rochester
I am trying to create a two activity test application using eclipse. I have been pulling my hair out on this one. In my main activity class in a package called  com.deano  I have the following snippet of code     Button next = (Button) findViewById(R.id.Button01);    

[android-beginners] Re: second activity error onClick package is duplicating in intent line

2010-08-01 Thread RichardC
You have nested your second activity inside your 1st activity inthe manifest. Change the lines from: activity android:name=.SecondScreenView/activity /activity to: /activity activity android:name=.SecondScreenView/activity and I should now work On Aug 1,

Re: [android-beginners] Pre-loading an SQLite database

2010-08-01 Thread Ben Orchard
But this is still just a hack to solve what shouldn't be an issue at all. I understand that there are security concerns and all sorts of other reasons to be careful with databases, but bluntly put, there's no good reason that an easy to use and implement method of using a pre-loaded db doesn't

[android-beginners] Re: Pre-loading an SQLite database

2010-08-01 Thread Bret Foreman
Ben, I agree with you about the crying need. From a product roadmap point of view, this is a really obvious value for many developers. But I wouldn't jump to a solution too quickly. I've been thinking about the problem for a few days now and my opinion is that initial load data should come from

Re: [android-beginners] Re: Pre-loading an SQLite database

2010-08-01 Thread Mark Murphy
On Sun, Aug 1, 2010 at 11:59 AM, Bret Foreman bret.fore...@gmail.com wrote: I'm going to investigate the option of using Amazon S3. There exists a Java library for S3 access along with methods to access all the AWS services: http://aws.amazon.com/sdkforjava/ The question remains, if I just use

[android-beginners] Android with S3?

2010-08-01 Thread Bret Foreman
I'd like to access S3 storage from an Android application. Amazon provides a Java SDK (http://aws.amazon.com/sdkforjava/), but I suspect it's too heavy for mobile apps. Is there something a little lighter that I could use just to access S3 buckets and not the entire AWS suite? -- You received

[android-beginners] Re: second activity error onClick package is duplicating in intent line

2010-08-01 Thread Dean-O
OMG man that is unreal. Thanks for clearing that up. On Aug 1, 9:54 am, RichardC richard.crit...@googlemail.com wrote: You have nested your second activity inside your 1st activity inthe manifest. Change the lines from:           activity android:name=.SecondScreenView/activity        

[android-beginners] Plug for Beginning Android 2

2010-08-01 Thread Doug Gordon
Having been in software development for 40+ years, this is about the umpteenth operating system/language that I've had to learn, and I always find it best to read about a new one to the point where I have a good understanding of the terminology and how the pieces fit together. Once I have that

Re: [android-beginners] Plug for Beginning Android 2

2010-08-01 Thread Mark Murphy
On Sun, Aug 1, 2010 at 1:05 PM, Doug Gordon gordo...@gmail.com wrote: For that purpose, I would highly recommend Beginning Android 2 by some guy named Mark Murphy who shows up in these forums on occasion :-). I dunno. I hear he's balding. Can you really trust a book from a guy who can't keep

[android-beginners] error getting editText from second activity's layout xml file saying No package identifier

2010-08-01 Thread Dean Rochester
Both activities are in the same package Second activity uses second layout file setContentView(R.layout.main2); Errors on this line in the second activity EditText text1 = (EditText) findViewById(R.id.EditText03); Here is the layout file for the second activity ?xml version=1.0

Re: [android-beginners] Re: Pre-loading an SQLite database

2010-08-01 Thread Brian Cowan
On 8/1/2010 11:59 AM, Bret Foreman wrote: Ben, I agree with you about the crying need. From a product roadmap point of view, this is a really obvious value for many developers. But I wouldn't jump to a solution too quickly. I've been thinking about the problem for a few days now and my opinion

[android-beginners] Disabling ScreenOrientation, and onConfigurationChanged.

2010-08-01 Thread daum3...@yahoo.com
Dear all, For my application, I'm trying to: - Disable screen orientation(i.e always potrait) - Disable my activity being restarted when orientation is changed. So, I've inserted two lines in my xml file. android:screenOrientation=potrait android:configChanges=orientation | keyboardHidden Q)

[android-beginners] Re: Pre-loading an SQLite database

2010-08-01 Thread Bret Foreman
Now that wireless companies are moving to metered data plans, I would be very annoyed if I found that the initial install of an app required a network connection to download an undetermined amount of data. If anyone does this, they should make sure that they tell the user how much data is