[android-beginners] Camera issue that i dont understand (PreviewCallBack/PictureCallback)

2009-07-08 Thread Tinuz
Hi guys, I have this little thing regarding the camera. Why is the byte array in PreviewCallBack different then the byte array in PictureCallback? The byte array data in the previewCallback is the data i need but i cant seem to acces this. I implemented a PreviewCallback and set the byte[] data

[android-beginners] Re: Getting Error package file was not signed correctly using Eclipse ADT

2009-07-08 Thread Carmen Delessio
Are there any previous versions of MyApp on the emulator/phone ? There was when I initially tried the install. I received a message about overwriting it and continued. I have subsequently removed the app from the phone and tried again. It fails with same error. Carmen On Wed, Jul 8, 2009 at

[android-beginners] AIDL interface and implementation in two different APK

2009-07-08 Thread Pamplemousse Mk2
Hello, is it possible to declare an aidl interface and to bind to service which implements in a APK, and to write the implementation of this service in another APK? My service is com.my.implementationService which extends Service. Its inner class com.my.implementationService.MyBinder extends

[android-beginners] Re: Getting Error package file was not signed correctly using Eclipse ADT

2009-07-08 Thread Carmen Delessio
This message comes up when debugger is on: 07-08 10:04:00.873: WARN/PackageInstaller(2957): Parse error when parsing manifest. Discontinuing installation The AndroidManifest.xml has no errors based on review in eclipse. The app runs in emulator. I've tried manually signing app and using jarsigner

[android-beginners] How to trace/debug two processes with Eclipse?

2009-07-08 Thread Pamplemousse Mk2
Hello, I have written a program which start a service which bind to another service. The two services run in two processes. The problem is that Eclipse does not stop at the breakpoints of the second service (which does not run in the main application process), and I can't see any log written

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread SonjaM
Depending on your location paid apps may not be available yet. http://market.android.com/support/bin/answer.py?answer=138294 -SonjaM On Jul 8, 6:12 am, Koala Yeung koa...@gmail.com wrote: I cannot see any paid apps in Market (on my phone). I can only install free apps there. Is this a

[android-beginners] What are the modules need to look to find power consumed by Network AV application

2009-07-08 Thread nandhakumar
Hi All, This is my first post. I want to write a application uding android to find out power consumed by Network AV application. Please can some one guide me what are the document or code can help me to do this. please some one could tell me what are the modules invalued in Network AV

[android-beginners] windows 7 and g1 and wmp 12

2009-07-08 Thread dqboy101
Why it's not appearing to install correctly. It's not appearing on my computer (windows but using itunes agent or songbird it does). Also using micro sd card into computer not working. Please help me. --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] How to prevent an app from switching the layout to landscape.

2009-07-08 Thread Edo Noordhuizen
Hi, I can't seem to find a way to prevent my application from switching to landscape orientation when I tilt my G1. I need to prevent my app from switching to landscape mode so my game does not become unplayable! :-( Can anybody tell me how to prevent this?? Thanks, Edo

[android-beginners] Database doubt

2009-07-08 Thread shalin mehta
Hello, I am using sqlite database for android app development. In that I am trying to fetch records which have value 0 in read field. For that I am using following function. Cursor mCursor = mDb.query(DATABASE_TABLE , KEY_STATUS_FOR_UNREAD,0 , null, null, null, null); Here, in my database this

[android-beginners] Can one APK result in multiple icons/apps on the device?

2009-07-08 Thread Andrew
Hi all, Curious if this functionality is present on the Android platform. I'm looking to package my apps into a single APK file, which when installed would spawn multiple application icons on the device. All applications would be related and would talk to each other (this part isn't a problem

[android-beginners] Taking too much time bun not run project

2009-07-08 Thread rinku
i run hello-android project on eclipse it only show this message Waiting for HOME ('android.process.acore') to be launched... and emulator showing android. i used android sdk 1.5 Thanks Regards vivek singh --~--~-~--~~~---~--~~ You received this message

[android-beginners] Error in running unit tests

2009-07-08 Thread neoLwin
Hi, I have created some simple unit tests for my program and I'm getting an error while running the unit tests as Android JUnit Test. The following is the error. Test run failed: Unable to instantiate instrumentation ComponentInfo {droidcrafters.cxa2009.healthinfolibrary.tests/

[android-beginners] Getting Audio Metadata

2009-07-08 Thread Brombomb
I've been working on media player and I have most of it down. Maybe I've gone about getting my data the wrong way (would love it if I could tap into the MediaStore), but I have the files and can play them. I just can't figure out how to grab the metadata / IDV3 tag info from it. I don't think

[android-beginners] Re: How to prevent an app from switching the layout to landscape.

2009-07-08 Thread Mark Murphy
Edo Noordhuizen wrote: Hi, I can't seem to find a way to prevent my application from switching to landscape orientation when I tilt my G1. I need to prevent my app from switching to landscape mode so my game does not become unplayable! :-( Can anybody tell me how to prevent this??

[android-beginners] Re: Can one APK result in multiple icons/apps on the device?

2009-07-08 Thread Mark Murphy
Andrew wrote: Curious if this functionality is present on the Android platform. I'm looking to package my apps into a single APK file, which when installed would spawn multiple application icons on the device. All applications would be related and would talk to each other (this part isn't

[android-beginners] Re: Camera issue that i dont understand (PreviewCallBack/PictureCallback)

2009-07-08 Thread Jack Ha
You might need to create a thread to perform your image processing since the lifetime of the data is limited. That said, you probably need to create a copy of the byte[] buffer from onPreviewFrame() into the thread you created prior to processing. You probably already aware that the preview

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread Koala Yeung
The problem is: I can see exactly zero paid app in my Market. I know some games have full edition on Market, they are not shown on my phone. How can that be? Any idea? Koala On 7月8日, 下午11時22分, SonjaM pubmoonm...@gmail.com wrote: Depending on your location paid apps may not be available yet.

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread SonjaM
If you live outside of * Austria * France * Germany * Italy * Netherlands * Spain * United Kingdom * United States then you will not be able to access any paid apps yet. On Jul 8, 7:16 pm, Koala Yeung koa...@gmail.com wrote: The problem is: I can see exactly

[android-beginners] Re: How to trace/debug two processes with Eclipse?

2009-07-08 Thread fadden
On Jul 8, 9:06 am, Pamplemousse Mk2 pamplemousse@gmail.com wrote: I have written a program which start a service which bind to another service. The two services run in two processes. The problem is that Eclipse does not stop at the breakpoints of the second service (which does not run in

[android-beginners] Re: Traffic filtering options

2009-07-08 Thread Bryan Ashby
Mark Murphy wrote: Only if you are creating your own firmware or are contributing modifications to the Android open source project: http://source.android.com Ordinary Java applications can use Java sockets, but only for their own application -- they cannot affect other applications'

[android-beginners] Re: Traffic filtering options

2009-07-08 Thread Mark Murphy
Bryan Ashby wrote: I'm not asking to hijack a Android, but are there legit methods for locking down a device? Unfortunately, one man's locking down is another man's hijacking. The legit methods pretty much would involve core firmware modifications. Android, as it stands today, is definitely

[android-beginners] Re: Getting Audio Metadata

2009-07-08 Thread Brombomb
I got it figured out. Maybe not the best way but here's how to access the audio media in the media store: private ListString songs = new ArrayListString(); public void updateSongList() { //Lets get the music from the DB so we have metadata Uri media =