[android-developers] CacheManager.CacheResult

2008-11-25 Thread Peter
Has anyone been able to create a valid CacheResult object manually? I am using UrlInterceptHandler to return custom cached html pages. The instance variables of CacheManager.CacheResult are accessible within the android.webkit package only. And as far as I can tell there is no way to set the

[android-developers] Re: How to find out what the IP address of the Android device is?

2008-12-06 Thread Peter
Not that this is legit or anything but you could retrieve a site such as cmyip.com and just extract the IP from the html. You could also setup a server yourelf to hand back the IP when the device connects? (you could also use the IP information for statistics =p ) On Dec 5, 4:18 pm, Qualyxx

[android-developers] Compile Error(s)

2008-12-30 Thread Peter
I'm trying to compile a hellworld application or any application for that matter and I keep getting the following errors: 2008-12-30 17:56:53 - hellworld] Error generating final archive: Unable to get debug signature key [2008-12-30 17:59:40 - hellworld] --

[android-developers] Service setup

2009-01-08 Thread Peter
I'm currently developing an Application that displays in-game time information for a popular MMO. I wanted to setup an alert system that will alert a users when a certain in-game time is reached. The problem is the in-game time needs to be constantly generated if I have a service for alerting the

[android-developers] Re: How to clear a notification?

2009-01-08 Thread Peter
I think the system isn't setup like that, the cell network alerts the device that there is a voicemail waiting. So even if you clear it on the device, next time the device initializes on the network it would display the message again. Not sure though. On Jan 8, 1:16 pm, Aryeh Tasher

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Peter
Can't an Activity be started with an Intent created with the Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk file? If not, where is information regarding the built-in app installer activity? On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com wrote: Hi

[android-developers] Re: Bus error when running 1.5 emulator

2009-04-20 Thread Peter
that with some scutil /etc/hosts and viola! Small price to pay for wireless anywhere. mateo On Apr 16, 12:44 pm, Peter pkana...@gmail.com wrote: I'm running Leopard. I create an avd without problem, but when I run it I get abuserror. I've tried to run the emulator both with and without adb

[android-developers] Re: Bus error when running 1.5 emulator

2009-04-20 Thread Peter
/ libSystem.B.dylib On Apr 20, 2:23 pm, Peter pkana...@gmail.com wrote: My problem was that I had a SIMBL plugin installed (Safari Stand) via Input Managers. These can cause conflicts in OS X. On Apr 17, 7:59 pm, Mateo Aeon Ortega peli...@gmail.com wrote: I just had a similar problem. To make a long

[android-developers] Re: Bus error when running 1.5 emulator

2009-04-21 Thread Peter
, Peter pkana...@gmail.com wrote: Ok, my problem has returned, so the above fix wasn't it. Here's my crash report. Any ideas? Process:         emulator [321] Path:            /usr/local/dev/android/android-sdk-mac_x86-1.5_pre/ tools/emulator Identifier:      emulator Version

[android-developers] Marketplace Sponsorship

2009-01-25 Thread Peter
I have been working on an Application that displays in-game time information for a popular MMO Final Fantasy XI. Its finally complete and I wanted to release it to the market but I noticed you have to spend 25$ to activate your account. I don't really want to spend any money right now on it and

[android-developers] Is there any window registry like functionality in android

2009-02-20 Thread Peter
I want applications to check whether hardware supports touch, single touch or multitouch. Based on that applications should enable different behaviors. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] about the height of status bar and system title

2009-09-27 Thread peter
Hello, everyone: I want to know how to get the height of status bar and system title in current Activity. Is there any method or variable that i can use? Thank for your advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Android 1.6 SDK is here!

2009-10-01 Thread Peter
in AndroidManifest.xml ...but the permission prompt would not disappear, even though I do not have the WRITE_EXTERNAL_STORAGE permission listed in my manifest. Has anyone managed to get this working? If so, what steps did you take? Thanks, Peter

[android-developers] Re: Android 1.6 SDK is here!

2009-10-02 Thread Peter
On Oct 1, 6:11 pm, Dianne Hackborn hack...@android.com wrote: Are you using android:targetSdkVersion=4?  The namespace prefix is important.  As long as your manifest has a uses-sdk android:targetSdkVersion=4/ under the manifest tag, you won't be forced to have the permissions. Adding the

[android-developers] Best handler method

2008-11-02 Thread Peter
Hey everyone I'm having a hard time finding a handler method that can run a method in my class over and over again every second to display text to the screen. Is there such a method with the handler or am I looking at the wrong thing? Thanks so much for your time.

[android-developers] TextView Changing Text Color

2008-11-12 Thread Peter
I'm using LinearLayout and TextView to output some text. The problem I'm having is that I need half the text on one line to be the default color and on the other side I want it to be green for example. Is this possible? Again I need the text on the same line using Linearlayout. Right now I have:

[android-developers] Re: Help me to test APK file on your real device

2008-11-22 Thread Peter
Hi Ulziisaikhan, There's a (fairly) new service that enables developers to test their mobile application on a real device by a variety of different testers: http://www.testarmy.com/ If you can't obtain (or afford) a real Android device then this could be a cheap option. Regards, Peter On Oct

[android-developers] Re: how to add a progressbar or other widget to some row of the listview??

2009-07-30 Thread peter
hi. you could use setOnItemClickListener for your listview the parameter of arg2 is the ID you selected onItemClick (AdapterView? arg0, View arg1, int arg2, long arg3) On Jul 30, 3:02 pm, frog bluewater0...@gmail.com wrote: hi,all I had this questions a few days ago.but no one give the

[android-developers] Re: password mode

2009-07-30 Thread peter
On Jul 30, 1:53 pm, Shang Hao sahilz...@gmail.com wrote: Hi, It is observed that while entering text in password mode, first the text is displayed and then after 1 second the asterisk (star) is displayed Is there no way to directly display the asterisk?? code:

[android-developers] Re: Text Invalide question

2009-08-03 Thread peter
In your code, the main thread still running when you trigger a new thread to run in background obviously, you will see result of last setText call as Process Success you should callback main thread to reset status after your thread finished. On Aug 2, 2:31 pm, Arun jay.mojni...@gmail.com

[android-developers] Re: listview onlistitemclick not getting

2009-08-03 Thread peter
I think you have a wrong place in you code As first parameter in method onListItemClick is not AdapterView type but ListView On Aug 2, 2:54 am, bhas bhaskar...@gmail.com wrote: Hi all,   I am beginer to the anroid ,i am using the below code for displaying listview and i am not able to

[android-developers] Re: Any way to find out the current running activity from a service?

2009-08-04 Thread peter
you can use ActivityManger to get number of running activity. Like this: ActivityManger am = (ActivityManger )getSystemService (ACTIVITY_SERVICE); List runningTask = am.getRunningTasks(maxNum); On Aug 4, 2:54 pm, Paul Drummond paul.drumm...@iode.co.uk wrote: Hi, I have been

[android-developers] Re: prevent native application

2009-08-04 Thread peter
I don't think you can do it on android system. if you could, other application could do it too. On Aug 4, 1:27 pm, Honest honestsucc...@gmail.com wrote: Hello, I want to prevent native application to receive message.I want that my application only receive message. Is it possible ? if yes

[android-developers] Re: Spinner - don't display selection

2009-08-04 Thread peter
set your Sipinner onItemSelectedLisnter and implement the inteface method : onItemClick(AdapterView? arg0, View arg1, int arg2,long arg3) the parameter of arg1 is your selected view, and you could pick textview form it. then set the backgroud color as your like of textview On Aug 4, 1:10 pm,

[android-developers] Re: Activity timeout on WebView load

2009-08-04 Thread peter
Use Handler and Message in your backgroud thread to load web page. On Aug 4, 7:07 am, droidin.net bost...@gmail.com wrote: In my app I have to load external page into WebView-based activity. Some of my users with slower connections are reporting screen timeout while waiting for the page to

[android-developers] Re: Will a notification still work if the device once shut down.

2009-08-06 Thread peter
Set flag of Notification, there have sort of flag to let your notification show like this:Notification.flag = Notification.FLAG_AUTO_CANCEL On Aug 6, 4:42 pm, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all,     I have an application with notification. I want to keep the

[android-developers] Re: UI Development in Android

2009-08-06 Thread peter
you should reference User-Interface document in android developer website On Aug 6, 2:48 pm, swapnil swapnil.da...@gmail.com wrote: Hello all, I am working on UI Development in Android . Can any one please tell me how I can put multiple layouts on the screen at specific positions? Is it

[android-developers] Re: can execute my app automatilly when android is up?

2009-08-06 Thread peter
you should register a broadcast receiver in your AndroidManifesr.xml and set intent filter about mobile power on action your class extends from BroadcastReceiver should fire up your activity of application On Aug 6, 4:46 pm, tstanly tsai.sta...@gmail.com wrote: thanks for your reply, for

[android-developers] Re: How to wake up the device by Code?

2009-08-06 Thread peter
I guess AlarmManager could do it for your requirement On Aug 6, 3:29 pm, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all,     I have an application with notification. I want my notification can wake the device up when it goes off but the device is asleep. Could anybody tell me how

[android-developers] Re: Memory problem

2009-08-06 Thread peter
Create a Bitmap is very consume memory On Aug 6, 2:41 pm, Rahul nakate.ra...@gmail.com wrote: Hi all i have one big problem in android due to this my application crashesh every time My Problem are 1. Bitmap memory exceed error 2. Out of memory error somebody pls help me to solve this

[android-developers] Re: record incoming and outgoing call

2009-08-06 Thread peter
I'm not sure how capture incoming voice, have any function to do it? but i think you could capture voice from people who talk to the phone with voice record On Aug 6, 1:46 pm, Honest honestsucc...@gmail.com wrote: Hello, I want to record the outgoing and incoming call. Can some one tell me.

[android-developers] Re: how to use preferences widgets together.

2009-08-06 Thread peter
Create a class extends View or SurfaceView. you should reference User Interface-Building Custom Componment on developer of android website On Aug 6, 1:34 pm, ANKIT SOMANI ankitsomani...@gmail.com wrote: Hi, Can any body know how we can use the preference widgets together . I want to use

[android-developers] Re: AutoCompleteTextView

2009-08-12 Thread peter
Create a adpter extends BaseAdpter to fill AutoCompleteTextView On Aug 12, 3:40 pm, Gavin fjm...@gmail.com wrote: all,    Is there any method to control popup window in AutoCompleteTextView? Such as location, background...?   thanks. --~--~-~--~~~---~--~~

[android-developers] SDK Bug - ViewAnimator Crash

2008-04-02 Thread peter
and am a bit concerned because my submission crashes from use of this class. Thanks, Peter --~--~-~--~~~---~--~~ 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

[android-developers] Please Help with Custom View

2008-04-08 Thread peter
custom_attr1, 2, and 3 from StyledAttributes, but have no idea how to obtain the TextViews from within the code of MyView Is there a straight forward way to do this? Thanks for your help, Peter --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Please Help with Custom View

2008-04-08 Thread peter
oops, I typed out the TextView definitions by hand so there is an error with the last line, should be: android:text=text / but that is somewhat irrelevant. Please ignore similar parse errors if any. Thanks again for your help, Peter On Apr 8, 4:34 pm, peter [EMAIL PROTECTED] wrote: Hi, I

[android-developers] Droid Fonts License: does it allows to redistribute them?

2008-08-26 Thread Peter
to redistribute this fonts? Thank you, Peter. --~--~-~--~~~---~--~~ 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: Droid Fonts License: does it allows to redistribute them?

2008-08-28 Thread Peter
Is this mailing list correct place for this question? If not, where should I ask? Thank you. On 26 авг, 13:12, Peter [EMAIL PROTECTED] wrote: Hello. Android SDK contains fonts which are really nice by themselves. But what license are they covered by? Is it possible for us to use in our

[android-developers] Can i create file dir when apk installing on device

2009-12-03 Thread peter
Hello,everyone: I want to create file dir when apk installing ondevice. does it possible?and how? -- 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

[android-developers] About Message Center Service Number

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived. But my application want get this address directly, and base on it to do some

[android-developers] About Message Center Service Number

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived. But my application want to get this address directly, and base on it to do some

[android-developers] Re: About Message Center Service Number

2009-12-08 Thread peter
anyone kowns? On 12月7日, 下午1时31分, peter heywoodpres...@gmail.com wrote: Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived

[android-developers] Message Center Address

2009-12-10 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived. But my application want get this address directly, and base on it to do some

[android-developers] Re: AutoCompleteTextView with autoText

2010-08-08 Thread Peter
On Jun 17, 2:23 pm, creativepragmatic creativepragma...@gmail.com wrote: Thank you for your help Bhavesh. My question might have been vague. What I am trying to do is get the auto correct text to show above the soft keyboard in addition to the auto complete options. It always shows in

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-13 Thread peter
Has anyone receiving the phone in asia side of the world, particularly in Hong Kong? I am also patiently waiting for one month now. On Apr 6, 9:02 pm, Arnon arnonse...@gmail.com wrote: I just emailed Google, asking for the carrier shipper name. Maybe this can give us some clue. I think FedEx

[android-developers] Re: Unparsed aapt error

2010-04-13 Thread Peter
Thanks! Worked like a charm for me too. On Mar 16, 9:57 am, Patrick Noffke patrick.nof...@gmail.com wrote: Hi all, I found some old posts on this problem, and I was having a similar issue, so I thought I'd share what I learned. I was getting this error after modifying an XML file, and I was

[android-developers] Auto-correction issues in Android 2.0 or higher?

2010-04-16 Thread peter
Hi, Been really confused with the auto-correction / auto-capitalization feature of the Android built-in keyboard. I can't seem to get my app to activate them. It used to work in 1.5/1.6 but not in 2.x anymore. Is there something I am missing? I would appreciate any quick help so I can resolve the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-16 Thread peter
Am I the only developer in Hong Kong? I haven't received this phone yet. Been patiently waiting On 4月16日, 上午5时30分, Thomas Riley tomrile...@googlemail.com wrote: Surely the use cheaper ground shipping? Especially for a free product. Good point though. On Apr 15, 9:14 pm, Ove Olavgaard

[android-developers] Game stutters when drawing outside screen

2010-04-25 Thread Peter
is that the game runs less smooth then it used to run. There are small stutters noticeable. When I just draw a rectangle instead of an image the same problem occurs. Does anyone have an idea why this is happening? Any help would be appreciated! Thanks, Peter -- You received this message because you

[android-developers] Re: Game stutters when drawing outside screen

2010-04-26 Thread Peter
Thanks for the suggestion. I probably shoud have mentioned this in my original post. Objects sometimes leave the screen, therefore they are party drawed outside the screen until they are removed. On 320x480 screens this isn't visible, but on bigger screens it is. Drawing the image every frame

[android-developers] Re: Game stutters when drawing outside screen

2010-04-27 Thread Peter
@ko5tik I didnt know about clipping, but that might be the solution for me. If I use clipping on the Canvas I only have to draw the image once (as you suggested in your first post). Thanks! I dont think providing a background hi-res will work, because the OS 'zooms in' on a bigger screen.

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread peter
Still patiently waiting. Still using the good old Dev Phone 1. Come on Google!! On Apr 28, 6:57 pm, Teo teomina...@gmail.com wrote: @TreKing Well, some countries aren't exactly 'the promised land' where you can just announce you're selling something and someone will jump at the opportunity.

[android-developers] ContextWrapper.openOrCreateDatabase() throws NullPointerException

2010-09-21 Thread Peter
of Google but couln't find any solution yet. Any help is highly appreciated. I am using an Emulator with API Level 7 (Android2.1-update1) If you need any more information, let me know and I try to share it. Regards, Peter -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: ContextWrapper.openOrCreateDatabase() throws NullPointerException

2010-09-22 Thread Peter
I also thought about missing permission but I can not find a suitable one. Could it be a problem of the filesystem at the end the database is nothing more than a file. Do I need to create it beforehands? Please, any help would be great. On 21 Sep., 20:31, Peter peter.osb...@gmail.com wrote: Hi

[android-developers] How to transfer application ownership from one Developer account to another?

2010-10-01 Thread peter
Hello fellow developers, My company is a Hong Kong based company and my app has been hosted by my good friend in America under his Android Market account. Now that Google announced support of selling app in my region, I want to move the app back so to avoid more hassle to him for tax reporting

[android-developers] C2DM multicast

2010-10-13 Thread Peter
Are there any plans to support multicast messaging with C2DM ? That is, app-server sends one message to C2DM servers which distributes this message to all devices related to a common application id. As far as I can tell this is not supported in current C2DM. - Peter -- You received this message

[android-developers] AIDL tool did not download

2010-10-14 Thread peter
? Is there a separate download I can use? Peter; -- 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

[android-developers] Re: How to implement a link view

2009-05-11 Thread Peter
I think you might need this code: private static final void addLinkMovementMethod(TextView t) { MovementMethod m = t.getMovementMethod(); if ((m == null) || !(m instanceof LinkMovementMethod)) { if (t.getLinksClickable()) {

[android-developers] Obtaining application usage data

2009-05-18 Thread Peter
Is there any way to programmatically retrieve data that reports on application usage as shown in the Spare Parts application? I know what calls need to be made, but it seems that they all use internal APIs...is this true? --~--~-~--~~~---~--~~ You received this

[android-developers] which junit to use when creating reusable library for Android apps?

2009-05-27 Thread Peter
I am creating an Android library that does stuff like http requests, etc, that uses android.jar objects. There will be no manifest or resources, etc, however. What is the best practice regarding the JUnit library to use in this library? DO I use standard JUnit, or the one included in android.jar?

[android-developers] Re: which junit to use when creating reusable library for Android apps?

2009-05-28 Thread Peter
. You could define an Android test application with a manifest, etc, that references the library and contains all the tests for the library. On Wed, May 27, 2009 at 2:42 PM, Peter pkana...@gmail.com wrote: I am creating an Android library that does stuff like http requests, etc, that uses

[android-developers] Transferred my app to a new country - Sales dropped 50%

2010-12-04 Thread peter
Hello, Recently I have transferred my app in from my Checkout U.S. account to an account outside U.S. We notice that our sales have dropped 50% since then. Looked into the sales log it appears the drop is due to the Credit Card rejected. Our app costs $3US and we sold over 200 apps per day

[android-developers] Re: Transferred my app to a new country - Sales dropped 50%

2010-12-05 Thread peter
, 4:33 am, peter yellowwin...@gmail.com wrote: Hello, Recently I have transferred my app in from my Checkout U.S. account to an account outside U.S. We notice that our sales have dropped 50% since then. Looked into the sales log it appears the drop is due to the Credit Card rejected

[android-developers] get link quality value of a bluetooth connection

2010-12-06 Thread Peter
Hi! I'm writing an application that should get the lik quality value of an existing bluetooth connection, but I can't find out, how to access a functionality like that. I think I need to use Bluez API's hcitool, but I don't know, how to. Any help would be appreciated. Regards, Peter -- You

[android-developers] how to get link quality of an existing bluetooth connection?

2010-12-06 Thread Peter
for that I could give a variable in my Java code the value of link quality written in this C code (or any other way to solve this problem)? Regards, Peter -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] android developer tablet?

2011-01-08 Thread peter
Are there any plans to release an android dev tablet like the nexus one? I'm primarily concerned with getting something that will get the latest android builds over the air and is a stock android experience. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] AIDL - unable to use some Parcelable classes

2010-10-16 Thread peter
I am writing an application which will communicate with a Google App Engine (GAE) website, and I would like to authenticate against the website using a user selected account in the Account Manager. I setup the UI such that the user selects an Account object. I would like to pass this Account

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-24 Thread peter
Hi all any update from those who still not getting their phone? I emailed Google and no response yet. I am located in Hong Kong and also noted that some of the developers in Hong Kong have received the phone but mine still not arriving ;( Any help? On May 17, 3:24 pm, bera bera...@gmail.com

[android-developers] Re: binding widgets with AppWidgetManager.bindAppWidgetId

2010-05-26 Thread Peter
with a certificate that's the same as your android image. So basicly this means you can only use this permission if you are also the creator of the android image on your platform/phone. Regards, Peter On Apr 20, 12:25 pm, AndroidNewbie tarun.bak...@gmail.com wrote: I am facing the exact same issue . Can

[android-developers] How to detect the app is cracked?

2010-06-03 Thread peter
Not that I care but I am just curious - I would also like to place a ads banner to the app if it detects the app the user running is a cracked app. I know in iPhone I can do it by checking the info.plist etc. Any idea? -- You received this message because you are subscribed to the Google

[android-developers] setSansSerifFontFamily: what arguments does it take?

2010-06-07 Thread Peter
WebSettings class has a method: public synchronized void setSansSerifFontFamily (String font) What does String font mean? Path to the TTF font file name? Can new custom fonts be accessed via String font? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] unable to resolve static method

2011-01-18 Thread Peter
Hi I hava an android project and another singned as a library. The second library project is added to the first as a library. When the main project tries to access a static method from the library project at runtime i got an error : 01-18 12:19:50.882: INFO/dalvikvm(3679): Could not find method

[android-developers] Re: MediaPlayer not working properly - causing sounds to be truncated

2011-01-20 Thread Peter
effect over the top. Cheers, Peter. On Jan 20, 11:35 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jan 19, 2011 at 11:12 PM, Peter Carpenter peter.carpen...@skytechnologies.com wrote: I need to provide the facility to play multiple sounds (which could be large) concurrently

[android-developers] Re: MediaPlayer not working properly - causing sounds to be truncated

2011-01-20 Thread Peter
to call prepare whilst nothing is playing? Cheers, Peter. -- 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

[android-developers] SQLite Issues - Database seems to be corrupt on occasions. Missing tables etc.

2011-01-24 Thread Peter
) at com.peterdamen.android.worder.t.c(Unknown Source) at com.peterdamen.android.worder.t.a(Unknown Source) at com.peterdamen.android.worder.o.doInBackground(Unknown Source) at android.os.AsyncTask$2.call(AsyncTask.java:185) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) ... 4 more Thanks, Peter

[android-developers] Record media - exception : Prepare failder (IOexception)

2011-02-03 Thread Peter
failed ((( in dev guides i reading about - record not working in emulators - but on real phone this erorr too Please help .. i need help ^((( P.s. regards, Peter -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] OpenGL textures fail to load, white image

2011-02-13 Thread peter
Greetings, I've been having an interesting problem with a game I'm developing. The game is being built using the cocos2d-android-1 library. All sprites are loaded from ARGB files. They are of varying size (not powers of 2). When I deploy a test build to my Nexus One after making any code

[android-developers] Strange ListView loading problems

2009-06-24 Thread Peter
I have a listview that is populated by a couple threads that pull in data from the network. Before that data comes in, there are some default values displayed. When the screen loads, there are 6 items displayed, each with the default data. The 1st (index 0) loads and is updated on the screen, and

[android-developers] Re: Strange ListView loading problems

2009-06-24 Thread Peter
No, getView() itself is quite simple. There are threads running while getView() is being called, but no threads spawned inside getView(). On Jun 24, 8:24 am, Guru gurudut...@gmail.com wrote: Are you running any thread in the getView of the adapter? On Wed, Jun 24, 2009 at 2:04 PM, Peter pkana

[android-developers] ListView convertView recycler showing duplicates?

2009-06-24 Thread Peter
. My code uses a similar pattern to something like the Settings - Manage Applications page. On Jun 24, 10:52 am, Peter pkana...@gmail.com wrote: No, getView() itself is quite simple. There are threads running while getView() is being called, but no threads spawned inside getView(). On Jun 24, 8

[android-developers] Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
I've tried to describe this problem a few times, but I'll try again. I have a thread (not spawned from the adapter) which updates items in a List that a BaseAdapter child uses to populate its view. I am not adding things in the List from the thread, just modifying content. In any case, I have 6

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
See my comments inline that should give you a better description and slightly more information. Thank you. On Jun 26, 4:43 pm, Mark Murphy mmur...@commonsware.com wrote: Peter wrote: I've tried to describe this problem a few times, but I'll try again. I saw your earlier posts. I could

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
state. There is also an ApiDemo of updating the contents of an adapter in a list view as data is available; you can look at that to see if you are doing it a similar way. On Fri, Jun 26, 2009 at 2:17 PM, Peter pkana...@gmail.com wrote: See my comments inline that should give you a better

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
On Jun 26, 5:59 pm, Mark Murphy mmur...@commonsware.com wrote: Peter wrote: Sorry. I'm making the mistake of hoping people identify the problem based on not very much information, partially because I'm lazy, I guess. I may also simply be a bit thick. Row 0 in the ListView contains

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
There's not a default number of views created for an adapter. A list creates as many views as it needs to fill the screen. Views get reused only when you start scrolling or when the adapter send a notifyDatasetChanged(). You say you have a thread updating the data, what is exactly that

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-29 Thread Peter
of that. Doug On Jun 26, 10:56 pm, Peter pkana...@gmail.com wrote: There's not adefaultnumberof views created for an adapter. A list creates as many views as it needs to fill the screen. Views get reused only when you start scrolling or when the adapter send a notifyDatasetChanged

[android-developers] Re: How to disable automatic redirect handling by HttpClient in Android 1.5?

2009-07-13 Thread Peter
On Jun 11, 2:55 pm, eligijus eligij...@gmail.com wrote: Hello! As I understand by default HttpClient automatically handles Redirect replies from server (follows the redirect link included in the answer from a server). I wonder if and how is it possible to disable this behaviour and handle

[android-developers] Activity non-responsive after calling and finishing another Activity

2010-03-15 Thread Peter
the results are passed into onActivityResult the way it should. Everything is as I want it to be, the only problem is my menu Activity not responding anymore. Hopefully someone can help me out with this problem, Thanks in advance! Peter -- You received this message because you are subscribed to the Google

[android-developers] Camera takePicture: onPictureTaken() never called?

2011-02-22 Thread Peter
Hello all, creating very basic camera code I got stuck at this: in followin code method onPictureTaken() is never being called: private PictureCallback pcb = new PictureCallback() { @Override public void onPictureTaken(byte[] data, Camera camera)

[android-developers] Re: Please help how can use WiFi hotspot feature in application

2011-03-10 Thread peter
If you have root access to the device I believe you can use iwconfig through adb to create a wifi hotspot. You will need to know a bit of linux and how iwconfig works. See information here or on iwconfig man page:

[android-developers] Re: How to debug NPE when stack trace does not show any reference to my app code?

2011-05-17 Thread Peter
I have a similar problem in my application. I think the callstack looks a lot like yours. Searching for some time what is causing this exception. Still no luck. On May 3, 8:55 pm, vatsee vat...@gmail.com wrote: Hi gurus, I am working on an app that supports bidirectional audio-video

[android-developers] Re: in-app billing problems

2011-04-02 Thread Peter
I have exact the same problem. Uploaded a apk with production key to the market (with debug key doesn't work, because it's a update) and tried to buy stuff with a test account on my device. I get the same error: Application Error : This version of the application is not configured for Market

[android-developers] Re: in-app billing problems

2011-04-04 Thread Peter
is the same as with a non-testing-account. Or I'm I wrong her? Peter On Apr 2, 9:30 pm, Tony t...@smartmobilesolutions.com wrote: Update : after one day and a half, I am trying my code again and this time everything works :-). So I guess it is my fault to try something right after

[android-developers] Re: in-app billing problems

2011-04-04 Thread Peter
.  04.04.2011 13:34 пользователь Peter peter.fort...@gmail.com написал: I discovered the same. You need a production signed apk on your device to test this. I also saw that you are charged for testing this. But you can refund the money later, so that shouldn't be a problem. Actually I

[android-developers] developer phone restore needed

2011-04-04 Thread Peter
customer, I don't have data plan. So I made a factory reset, but it didn't take me back to the original state neather. Do you have any idea, how to get back the original status of my developer phone? And if you do, do you have any idea how to grant myself root rights? Thanks in advance. Peter

[android-developers] Techniques for real-time screen update...

2011-09-29 Thread Peter
way to accomplish this under Android. On each tick, do I simply redraw the canvas or is there a better way? I would appreciate any thoughts/ideas that you may have. Thank you in advance for your help. Regards, Peter -- You received this message because you are subscribed to the Google Groups

[android-developers] Why most file browsers are implemented as activities?

2011-10-04 Thread Peter
. For me, it appears open file must be a dialog. Thank you in advance for enlightening me. Regards, Peter -- 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

[android-developers] crafting custom pakets via 802.11

2011-10-25 Thread Peter
to perform such an action on android? Thanks in advance. Peter -- 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

[android-developers] Re: Mobile web frameworks ((jQueryMobile,Sencha,JQtouch,....) on Android

2012-04-10 Thread Peter
Hi Take a look at jqMobi. I had problems too with other frameworks when testing on ICS but jqmobi worked well. http://www.jqmobi.com/ -- 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] Re: Live Streaming videos (MP4) in android on Samsung device

2011-11-22 Thread Peter
Shajahan, Do you have any logs and/or error messages for the streaming? And were you using MediaPlayer to play the video? I'm running into similar situations with Samsung devices and music streaming, so it would be great to swap info. Peter On Oct 14, 6:05 am, Shajahan lovesa...@gmail.com

  1   2   3   4   5   6   >