[android-developers] Re: Cannot resolve symbol "r" on android studio

2017-01-17 Thread Derek Saam
I had a similar problem, for me in the end there was a typo in my AndroidManifest.xml file, specifically in the package name, I had an extra period in there. the compiler didn't pick up on it. It took me a long time to find this typo as nothing in the error logs pointed me that way, it just

[android-developers] "Sign-in to network" panel not fully functional

2016-06-08 Thread Derek Ferguson
Not sure if I’m on-topic here or not, but here goes... I am responsible for the setup/configuration of WiFi routers in various restaurants and venues. We are simply using the built-in splash page functionality of the router to, upon connection, present a simple marketing message and daily

[android-developers] Touch Gestures not working (Arnova 7FG3 Tablet, running ICS 4.0.3)

2012-11-14 Thread Derek Bradshaw
I just bought a 7 Android 4.0.3 tablet for developing and testing custom web apps but none of the touch gestures are firing? The demo i'm looking at is: http://riagora.com/mobile/hammer/ Unfortunately nothing happens when I touch the screen, whereas on the iPad, it works a treat! Really smooth!

[android-developers] Re: ICS Hardware Acceleration crash or display issues

2011-12-23 Thread Derek
Hi all, Many apps are facing display issues (or crash) when 2D GPU rendering is enabled on real devices. How can we test this feature is ICS emulator? Is it true that it cannot be tested in Emulator? http://stackoverflow.com/questions/7831865/where-is-the-hardware-acceleration-in-the-ics-emulator

[android-developers] Re: onFling() Question

2011-12-13 Thread Derek Winstead
of knowledge on this, but I've been struggling with this part for months now. Thanks, Derek -- 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] onFling() Question

2011-12-09 Thread Derek Winstead
they swipe? I have searched for answers on Google with nothing that addresses this that I can tell. Thanks for any help, Derek -- 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] Re: onFling() Question

2011-12-09 Thread Derek Winstead
Is there an example of this in action? SDK's aren't very helpful to me. I'm still new to programming Android or Java. Thanks, Derek -- 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] HTML 5 (PhoneGap) In App Purchases

2011-11-03 Thread Derek Holmes
I'm developing using Phone Gap / HTML 5. I would like to use an In app purchase system instead of a free / paid version. I'm not seeing a way to implement this with an html 5 project. I can use paypal but would this be rejected and violate the market terms? Thanks! -- You received this

Re: [android-developers] Re: Activity Help

2011-09-23 Thread Derek Winstead
My SQL queries are fine, I copy and paste the queries into SQLite Database Browser with the current database that is on the VM. Runs fine and returns the results expected. If it was a SQL error wouldn't the program error out before finishing the load? No breakpoints get hit on my debug mode

[android-developers] Re: Activity Help

2011-09-23 Thread Derek Winstead
I changed the name of my variable in the fetchLiteratureTypes function on the LiteratureEditor.java file so it wasn't the same as the one in the LiteratureManager.java. That seemed to work and fix my problem. I no longer error when running my app. I assume it had something to do with the

[android-developers] Activity Help

2011-09-21 Thread Derek Winstead
with my spinner and how it closes out or something. Honestly I have no idea and I cannot figure out why it throws this error. Is there anything wrong with my code? Please, any and all help would be greatly appreciated! Thanks in advance, Derek -- You received this message because you are subscribed

[android-developers] Re: Activity Help

2011-09-21 Thread Derek Winstead
It starts in the LiteratureManager.java and the intent goes to LiteratureEditor.java -- 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: Activity Help

2011-09-21 Thread Derek Winstead
Thanks Richard, I have directly skipped the LiteratureManager.java and run the intent LiteratureEditor.java from an activity before that normally calls the manager file. The editor works just fine and doesn't crash. I will post a stack trace tomorrow when I'm at work and can run the

[android-developers] Advice Making a Coloring Book Application

2011-08-24 Thread Derek Rogers
wonder if using OpenGL would be better. I'm new to developing for Android and would love any advice anyone can share with me about best practices for making a drawing application with different brush styles. Thanks so much for any help you can give, Derek -- You received this message because you

[android-developers] Re: NullPointerException in java.io.File.fixSlashes?

2011-06-06 Thread Derek
, Derek cram.de...@gmail.com wrote: Hi all, We get crash reports with the following error: java.lang.NullPointerException at java.io.File.fixSlashes(File.java:234) It appears on File file = new File(path/subfolder); on some devices only. We cannot reproduce it. Where could

[android-developers] NullPointerException in java.io.File.fixSlashes?

2011-06-05 Thread Derek
Hi all, We get crash reports with the following error: java.lang.NullPointerException at java.io.File.fixSlashes(File.java:234) It appears on File file = new File(path/subfolder); on some devices only. We cannot reproduce it. Where could this problem from from? Cheers. -- You received this

[android-developers] Updated .apk wants uninstall first

2011-04-30 Thread Derek Winstead
. Derek -- 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+unsubscr...@googlegroups.com For more options, visit

Re: [android-developers] Updated .apk wants uninstall first

2011-04-30 Thread Derek Winstead
Where do I change the cert? That doesn't sound like something I've done (knowingly). When doing my development on the ADV with eclipse I make my changes and rerun the program. It reinstalls everything but I don't loose data. Only when I try to push it to a real phone does it want an uninstall.

[android-developers] Re: Updated .apk wants uninstall first

2011-04-30 Thread Derek Winstead
Ok, so when I right click my project and Run As - Android Application it installs on the VM but also creates the .apk file in the bin folder and that is what I'm coping and sending to friends. Is this incorrect to do? I'm still a novice with Android. -- You received this message because you

[android-developers] Re: Updated .apk wants uninstall first

2011-04-30 Thread Derek Winstead
I checked out this: http://developer.android.com/guide/publishing/app-signing.html#releasemode I created a keytool as the example shows. I have now Right Click Project - Export and put in the new keystore and alias on the export. I need to first write down everything on my phones version. Then

Re: [android-developers] How to develop a wheather forcast application for android

2011-04-21 Thread Derek Burnett
Unless you are going to forcast the weather yourself, look for a webservice that provides weather forcasts as an RSS feed. Open a socket to this service and do an HTTP get. Parse the XML and then display it in a neat little view. On Wed, Apr 20, 2011 at 1:47 AM, sanjay hello.sanja...@gmail.com

Re: [android-developers] How to develop a wheather forcast application for android

2011-04-21 Thread Derek Burnett
Oh, and the first rule of writing a weather forcast application: learn how to spell weather. On Wed, Apr 20, 2011 at 1:47 AM, sanjay hello.sanja...@gmail.com wrote: Hi all, i m new in this field. So plese help. How to develop a wheather forcast application for android -- You received this

[android-developers] App function help

2011-03-08 Thread Derek Winstead
in a meeting, call you shortly. Is this an option available using other plugins for Locale? I've seen somewhat similar using the app Taskr. Please let me know my options. Derek -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] TLS socket reuse hangs on device (works in emulator)

2011-01-09 Thread Derek
Hi all, We're trying to reuse an existing plain socket with TLS for FTPES purposes: SSLSocket socket = (SSLSocket) ssf.createSocket(_socket_, ip, port, true); and it hangs on: socket.startHandshake(); See full code snippet below. This code works fine on emulator (Android 2.2) but it fails on

[android-developers] Multiple TextViews Inside a Button

2010-12-19 Thread Derek Winstead
to create style for a layout that looks like a button and put the two textviews inside there and have the layout do the onClick() events? This seems like a hack to me, but I wanted to know if anyone else has a solution for this. Thanks, Derek -- You received this message because you

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Derek Winstead
treking...@gmail.com wrote: On Sun, Dec 19, 2010 at 8:33 PM, Derek Winstead derekwinste...@gmail.comwrote: The buttons that say Connections and then on the right has the count of your connections. Do you have a screen shot? Because from your description, I can't imagine it's anything

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Derek Winstead
I've already done this before in my app (layout with textviews and the layout has the onclicks), however I do have a new question. Adding the statelist as the background works for the layout but what about the text changing colors? I've had a hard time figuring out how to do style changes on the

[android-developers] How to Dismiss a PopupWindow when Switching Among TabActivities?

2010-11-22 Thread Derek Brameyer
Hi, I posted a StackOverflow question here (http://stackoverflow.com/ questions/4226898/dismiss-android-popupwindow-when-switching-to-a-new- tab-in-tabactivity/4227034#4227034) but it didn't get any responses. Basically, how can one dismiss a PopupWindow when changing to a different TabActivity?

[android-developers] Passing an ArrayList of Objects

2010-11-12 Thread Derek Winstead
Is there a way to pass an ArrayList of objects between activities? The myObject implements Parcelable and I'm able to successfully pass the objects around individually, but that means I need to have an exact amount of myObjects coded. I want this to dynamically grow/shrink by what the user does

[android-developers] Re: Passing an ArrayList of Objects

2010-11-12 Thread Derek Winstead
Awesome! That worked. Thanks. On Nov 12, 4:57 pm, TreKing treking...@gmail.com wrote: On Fri, Nov 12, 2010 at 3:15 PM, Derek Winstead derekwinste...@gmail.comwrote: Bundle extras = getIntent().getExtras(); myObjArray = extras.getParcelableArray(myObjArray); The list of items you stored

[android-developers] Multiple Object Passing Between Activies

2010-10-14 Thread Derek Winstead
I have an application that I would like to have multiple objects passed around the activities. It seems that when I'm passing multiple objects using Parcelables it seems it only grabs the first object and the rest become null. Is this a issue with android not able to handle more than one object

[android-developers] Re: Multiple Object Passing Between Activies

2010-10-14 Thread Derek Winstead
that it should work On 15-Oct-2010 12:54 AM, Kostya Vasilyev kmans...@gmail.com wrote:  14.10.2010 23:16, Derek Winstead пишет: I have an application that I would like to have multiple objects passed around the activities... You can attach as many Parcelable (or any other type) extras

[android-developers] Re: Custom DatePickerDialog

2010-10-11 Thread Derek Winstead
frameworks. Thanks, Derek On Oct 10, 7:15 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Oct 10, 2010 at 6:45 PM, Derek Winstead derekwinste...@gmail.com wrote: I am still new to Android and Java in itself. How would I create a subclass of a class? Do I make a class the extends

[android-developers] Re: Custom DatePickerDialog

2010-10-10 Thread Derek Winstead
Thanks for the info Mark. I am still new to Android and Java in itself. How would I create a subclass of a class? Do I make a class the extends the DatePicker or does it implement the DatePicker? Or is it done totally different. Thanks, Derek On Oct 1, 2:27 pm, Mark Murphy mmur

[android-developers] Custom DatePickerDialog

2010-10-01 Thread Derek
Is there a way to use the DatePickerDialog widget but only show/use the year/month and not the day? I would like to do a magazine entry type screen which would be a year/month setup without the day. Any advice would be helpful. Thanks, Derek -- You received this message because you

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

2010-05-06 Thread Derek
still waiting in London. by the way, is it a dev phone, or a normal one? -- 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] what extact tags for official releases

2010-04-26 Thread Derek
There are quite a few tags in http://android.git.kernel.org/?p=platform/external/opencore.git . I'm wondering what extact tags are for the official releases Android 2.1, Revision 1, Release 1.6 r1, Release 1.5 r3, Release 1.1 r1 and Release 1.0 r2. Thanks! -- You received this message because

[android-developers] how add TextView/Layout to map's Overlay or OverlayItem?

2010-04-12 Thread Derek
the marker is clicked, but is this the standard way doing this? The drawback of floating activity window is that if want to click another marker, user has to dismiss the current window first. Thanks, Derek -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Intent to upload or download files over SFTP, FTPS or FTP

2010-04-05 Thread Derek
Hi, AndFTP provides intents for third party applications to transfer files/ folders to any FTP, SFTP or FTPS server from sdcard. Here is a sample for upload: Intent intent = new Intent(); intent.setAction(Intent.ACTION_PICK); // FTP URL (Starts with ftp://, sftp:// or ftps:// followed by

[android-developers] Re: AlarmManager on droids

2010-03-22 Thread Derek
often. I mean sometimes the Alarm did no go off after a few hours. That's why I tried your solution based on AlarmManager.setRepeating(...). What do you think about it ? On Mar 21, 9:28 pm, Mark Murphy mmur...@commonsware.com wrote: Derek wrote: Refresh is every minute. :: blink, blink :: Every

[android-developers] Re: AlarmManager on droids

2010-03-21 Thread Derek
()+) ); } } public abstract void processWakefulWork(Intent intent); } On Mar 20, 12:56 pm, Mark Murphy mmur...@commonsware.com wrote: Derek wrote: I've implemented it and I got the crash report from the end user. See details below. The error report

[android-developers] Re: AlarmManager on droids

2010-03-20 Thread Derek
, 5:52 pm, Mark Murphy mmur...@commonsware.com wrote: Derek wrote: I'm also using your WakefulIntentService sample. It works fine in emulator (all releases of Android). It seems to work fine on many devices (HTC Magic, Nexus One ...). However, I get Force Close complains from some users

[android-developers] Re: AlarmManager on droids

2010-03-19 Thread Derek
goes off. Using single Alarm (and set it after service run) instead of repeating Alarm seems to fix the issue for these users. Thanks for any help or advice. Derek. On Mar 13, 4:16 pm, Mark Murphy mmur...@commonsware.com wrote: mot12 wrote: No customer could give me a definitive guide

[android-developers] Re: Crashed Service not restarting - Dianne could you help (again) ?

2010-02-16 Thread Derek
Anyone ? Thanks. On Feb 12, 7:35 pm, Derek cram.de...@gmail.com wrote: Hi again, I've new logs from the Android device (see below). Our application generates more logs now (stopping , onDestroy, onStart, onCreate ...) Could you advise ? We don't know the way to troubleshoot this issue

[android-developers] Re: Crashed Service not restarting - Dianne could you help (again) ?

2010-02-12 Thread Derek
probably want to fix the cause of your service crashing, so...  what is the actual stack crawl of the exception?  You don't show that anywhere. On Wed, Jan 6, 2010 at 2:03 PM, Derek cram.de...@gmail.com wrote: Hi again, Our service is still crashing for some reason not related to our application

[android-developers] Different class files are generated using Eclipse Ant

2010-02-09 Thread Derek Lee
Hi, I'm using Eclipse GALILEO, android 1.6, and Ant 1.8.0RC1 version. After building with Eclipse and Ant, I compared each generated .class, .dex, .apk files. But,each files are not same... For example, There is MethodList.class file(built with Eclipse) in bin folder, and MethodList.class

[android-developers] Re: Crashed Service not restarting - !!! FAILED BINDER TRANSACTION !!! - Dianne could you help ?

2010-01-06 Thread Derek
for you help. On Dec 31 2009, 11:25 am, Derek cram.de...@gmail.com wrote: I can confirm that the problem does not come from TasKiller. I've uninstalled it and the problem is still here. I'm not able to reproduce it on emulator and it happens on real device no more than once a week so it's really

[android-developers] Re: File creation problem in Android source build

2010-01-05 Thread Derek
does the below permission help? android.permission.WRITE_EXTERNAL_STORAGE On Jan 5, 9:54 am, Arun achoudhary2...@gmail.com wrote: Hi , I am trying to create a file in android framework using the following snippet of code :- public void CreateMyFile()     { try { String destination =

[android-developers] Re: Crashed Service not restarting - TasKiller or Android issue ?

2009-12-31 Thread Derek
, Dianne Hackborn hack...@android.com wrote: Fyi, you can use adb shell dumpsys activity.services to see the state of all active services, including those that are started but not currently running and waiting for a restart. On Fri, Nov 27, 2009 at 10:44 AM, Derek cram.de...@gmail.com wrote

[android-developers] How to simulate service crash in emulator ?

2009-12-31 Thread Derek
Hi all, Does someone know how to simulate service crash in emulator ? 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

[android-developers] Re: } catch (OutOfMemoryError E) {

2009-12-12 Thread Derek
how ListView works that I'm unaware of (with regard to how memory is allocated per list item) or is something working differently with regard to memory usage and fitXY scaling with Android 2.0? Thanks, Derek -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Widgets: controlling phone functionality

2009-12-10 Thread Derek
I'm a web developer who recently bought a Droid (Android 2.0) and was wondering if it's possible to write a widget that controls certain features of the phone (e.g. lock keypad, adjust screen brightness, etc.) Are there any tutorials that discuss this subject? Thanks! -- You received this

[android-developers] Re: Crashed Service not restarting - TasKiller or Android issue ?

2009-11-27 Thread Derek
Hi Diane, We've have exactly the same problem. We have TasKiller v2.2 installed but we DO NOT use it to kill our app. However, our service (running every one minute thanks to AlarmManager) never restarts after process has died. Here are the log extracted today on my HTC device under 1.6: [...]

[android-developers] Re: Crashed Service not restarting - TasKiller or Android issue ?

2009-11-27 Thread Derek
service is killed by taskiller : the user HOPE it will NEVER restart. On Nov 27, 7:01 pm, Derek cram.de...@gmail.com wrote: Hi Diane, We've have exactly the same problem. We have TasKiller v2.2 installed but we DO NOT use it to kill our app. However, our service (running every one

[android-developers] How to stop soft keyboard events for a disabled TextView ?

2009-11-25 Thread Derek
Hi, I would like to stop end-user to enter characters in TextView on specific conditions. I use TextView.setEnabled(false) it it works fine for regular keyboard. However, if I use soft keyboard then all characters are displayed in TextView even if it is disabled. How to disable/enable soft

[android-developers] Re: AutoCompleteTextView update from thread problem

2009-11-25 Thread Derek
Anyone ? On Nov 25, 8:56 am, Derek cram.de...@gmail.com wrote: Same problem here. Any solution ? I've tried to add textView.performValidation(); textView.showDropDown(); but it does not display drop down. On Nov 4, 6:42 pm, Tim timoth...@gmail.com wrote: I've posted this in a couple

[android-developers] Re: AutoCompleteTextView update from thread problem

2009-11-24 Thread Derek
Same problem here. Any solution ? I've tried to add textView.performValidation(); textView.showDropDown(); but it does not display drop down. On Nov 4, 6:42 pm, Tim timoth...@gmail.com wrote: I've posted this in a couple of places without any help so hopefully this group has some helpful

[android-developers] Re: Picture location on HTC sense phones

2009-11-22 Thread Derek
Agree we are seeing the same thing. Haven't found any solution yet. In Sense UI seems like HTC wrote their own camera app that is listening to the same intent as the default Android camera but not conforming to the same interface contract as the Android code. Anyone else find a fix to this? On

[android-developers] Service runnning while PowerManager decides to sleep ?

2009-11-20 Thread Derek
Hi all, Our application is running a service periodically through AlarmManager and PendingIntent. Each time the service runs, it sets a new PendingItent for next run. I works fine but sometimes the service stops for no reason. - Could it come from PowerManager? - Could the CPU goes off before the

[android-developers] Re: Service runnning while PowerManager decides to sleep ?

2009-11-20 Thread Derek
connected to DDMS through USB ? Cheers. On Nov 20, 9:10 pm, Dianne Hackborn hack...@android.com wrote: If you don't hold a wake lock, you can't count on the CPU running. On Fri, Nov 20, 2009 at 12:01 PM, Derek cram.de...@gmail.com wrote: Hi all, Our application is running a service

[android-developers] Re: AppWidgetProvider SCREEN_ON/OFF Intent not received

2009-11-16 Thread Derek
Anyone ? No fix for this issue in 1.6 or 2.0 ? Thanks. On Nov 15, 9:07 pm, Derek cram.de...@gmail.com wrote: Hi, We've an AppWidgetProvider and we would like to receive SCREEN_ON. From the following thread, it seems not possible to register for such event in AndroidManifest.xmlhttp

[android-developers] AppWidgetProvider SCREEN_ON/OFF Intent not received

2009-11-15 Thread Derek
Hi, We've an AppWidgetProvider and we would like to receive SCREEN_ON. From the following thread, it seems not possible to register for such event in AndroidManifest.xml http://groups.google.com/group/android-developers/browse_thread/thread/40753eb1b312f4ab/3e171b45a2fe880c?#3e171b45a2fe880c The

[android-developers] Play MP3 in background with built-in player activity ?

2009-11-11 Thread Derek
Hi, Playing MP3 from the following code works fine: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); File file = new File(your mp3); intent.setDataAndType(Uri.fromFile(file), audio/*); startActivity(intent); This launches the built in MediaPlaybackActivity and

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread Derek
Same here: Top 50% but did not make it. WorldTime has been published on Market (as WorldWideTime) in September. It has reached rank #9 in Travel category in 3 weeks according to http://androidstats.com/ranking/application/13459 but it's not in top 20 of ADC2 travel category. -- You received

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread Derek
Yes, 2 identical emails received too. On Nov 5, 10:21 pm, ander...@phdgaming.com ander...@phdgaming.com wrote: Alex - thanks for the positive note, appreciate it. :) Indeed I has the same experience as to the competition in the Education category - hence why I figured that Mystic Maggie would

[android-developers] Re: API responsable to make transfert dwonlaod ,upload with ftp ou 3G protocol

2009-11-01 Thread Derek
Try AndFTP 1.0: Recent changes are: - SHIFT-JIS encoding added for Japanese server. - Japanese support added. - SFTP minor bug fixed. - Microsoft office mime-types added. - Android 1.6 and 2.0 support added. http://www.lysesoft.com/products/andftp/index.html Cheers. On Oct 1, 10:55 am, midoub

[android-developers] Widget not displayed in Android 2.0 - Initial layout displayed only.

2009-11-01 Thread Derek
Our application displays widgets that update every minute through Alarm. It works fine under 1.5 and 1.6 but since 2.0, widget is not displayed at all. Only initial layout is displayed. Anyone experiment this issue ? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Widget not displayed in Android 2.0 - Initial layout displayed only.

2009-11-01 Thread Derek
? Adding analog clock widget works in any case. Thanks. On Nov 1, 6:33 pm, Derek cram.de...@gmail.com wrote: Our application displays widgets that update every minute through Alarm. It works fine under 1.5 and 1.6 but since 2.0, widget is not displayed at all. Only initial layout is displayed

[android-developers] [ANN] WorldWide Time widget

2009-09-20 Thread Derek
WorldWideTime is an application that displays time in cities all around the world with widgets. It can display date, week number and extra info such as country, state, currency, phone code, population, area in square km, country capital, GMT offset, DST start/end date and time zone.

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-03 Thread Derek
Another application: - Name: WorldTime - Homepage screenshots: http://www.lysesoft.com/products/worldtime/index.html - Category: Travel - Description: WorldTime is an application that displays time in cities all around the world with widgets. It can display date, week number and extra info

[android-developers] Re: Force screen orientation and avoid destroy call

2009-08-28 Thread Derek
Another question: android:screenOrientation=portrait locks the screen orientation, that's fine. But it is possible to do the same in Activity source code ? (i.e. removing the screenOrientation in AndroidManifest.xml). I've tried the following code to keep the initial orientation but it fails.

[android-developers] Re: Force screen orientation and avoid destroy call

2009-08-28 Thread Derek
== Configuration.ORIENTATION_PORTRAIT) initialOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; else if (orientation == Configuration.ORIENTATION_LANDSCAPE) initialOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; Mark, do you think it's OK ? Cheers. On Aug 28, 7:06 pm, Derek cram.de...@gmail.com wrote

[android-developers] Force screen orientation and avoid destroy call

2009-08-27 Thread Derek
Hi, I want my Activity to be always in portrait mode and I do NOT want the onDestroy() method to be called. There are some interesting articles about that at: http://www.androidguys.com/2008/11/24/rotational-forces-part-four/ The solution seems to be: In AndroidManifest.xml: activity

[android-developers] Re: Force screen orientation and avoid destroy call

2009-08-27 Thread Derek
Thanks Mark :-) On Aug 27, 9:54 pm, Mark Murphy mmur...@commonsware.com wrote: I want my Activity to be always in portrait mode and I do NOT want the onDestroy() method to be called. There are some interesting articles about that at:

[android-developers] PendingIntent Flag and AlarmManager behavior ?

2009-08-04 Thread Derek
Hi all, The PendingIntent documentation describes flags. http://developer.android.com/reference/android/app/PendingIntent.html public static PendingIntent getService (Context context, int requestCode, Intent intent, int flags) Flags values could be: FLAG_CANCEL_CURRENT:268435456

[android-developers] Re: Bug report: widget does not load if the orientation changes during the configuration

2009-08-03 Thread Derek
Are you sure forcing portrait mode for configuration activity could solve the problem ? I've tried to add: android:screenOrientation=portrait to my activity and the problem is still here. The activity is displayed in portrait whatever the orientation but the phantom widget bug is still here. On

[android-developers] Re: Paid applications and market feedback/rating

2009-06-26 Thread Derek
I think another option is to add ads (adMob or google AdSense) into the app. You may not need a paid version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] WebView Dialog Activity

2009-06-22 Thread Derek
); } } Thanks, Derek --~--~-~--~~~---~--~~ 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

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Derek
more frustrating because it appears to all be working but nothing is displayed. On Jun 22, 7:17 pm, Mark Murphy mmur...@commonsware.com wrote: Derek wrote: We had an activity that simply created a WebView object and loaded a single URL.  In the manifest we had it declared to use the Dialog

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Derek
with both dimensions as FILL_PARENT before calling setContentView(). j On Mon, Jun 22, 2009 at 5:50 PM, Mark Murphymmur...@commonsware.com wrote: Derek wrote: Thanks for the quick response.  My responses to your questions: -- Does your page require Javascript? If so, have you tried

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Derek
of the LinearLayout (the LinearLayout looks like it should with fully populated WebView and title) displaying once PhoneWindow$DecorView loads. Does this mean we have an Android bug? On Jun 22, 8:40 pm, Mark Murphy mmur...@commonsware.com wrote: Derek wrote: Tried the setLayoutParams() with no luck

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Derek
22, 2009 at 7:49 PM, Derek dlawl...@gmail.com wrote: Very interesting... Upon loading the view in the Hierarchy viewer I end up with a hierarchy like this: PhoneWindow$DecorView               |      LinearLayout             /        \ TextView          FrameLayout

[android-developers] Re: WebView Dialog Activity

2009-06-22 Thread Derek
 pm, Dianne Hackborn hack...@android.com wrote: You aren't setting the layout params correctly; you need to call the version of setContentView() that takes a LayoutParams argument. On Mon, Jun 22, 2009 at 8:31 PM, Derek dlawl...@gmail.com wrote: Height is 0 in HierarchyViewer for the webview

[android-developers] Re: Multiple ItemizedOverlay conflicts

2009-06-07 Thread Derek
) { //Do stuff return super.onTap(index); } //Correct overridden onTap: protected boolean onTap(int index) { //Do stuff return true; } On Jun 4, 11:03 pm, Derek dlawl...@gmail.com wrote: Searched around and haven't seen anyone

[android-developers] Multiple ItemizedOverlay conflicts

2009-06-04 Thread Derek
that all 4 instances are of the same type but it still seems strange behavior. Thoughts anyone? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: video capture doesn't seem to work in 1.5

2009-05-30 Thread Derek
I'm having trouble too and it seems to revolve around the prepare() when it is trying to load up the file location. I get a FileNotFoundException during prepare(). The exception says it can't find /external/video/media/5 which is the URI path. I'm guessing it wants a more physical path but

[android-developers] Re: ScrollView Dynamically Adding Text to TextView...

2009-05-26 Thread Derek Henderson
Does anyone have an idea of what I may be doing wrong? --~--~-~--~~~---~--~~ 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] ScrollView Dynamically Adding Text to TextView...

2009-05-25 Thread Derek Henderson
Alright, I'm majorly stumped here... All I am trying to do is make a ScrollView scroll to the bottom of the TextView when the activity is launched. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[android-developers] ScrollView Dynamically Adding Text to TextView...

2009-05-25 Thread Derek Henderson
Alright, I'm majorly stumped here... All I am trying to do is make a ScrollView scroll to the bottom of the TextView when the activity is launched. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-08 Thread Derek
I got this error frequently right after updating ADT. Turned out that I had updated my ADT instead of uninstall/install. I had to manually cleanse my eclipse install to get rid of references to 0.8 On May 8, 3:02 am, kenjkelly kenke...@kenkelly.com wrote: My guess is that the 1.5 release

[android-developers] Re: MapView showing as black screen after upgrade to 1.5

2009-05-02 Thread Derek
and shuffle things in onCreate() around. Once onCreated() completes, the map showed as had been. On May 1, 10:19 pm, Derek dlawl...@gmail.com wrote: Has anyone seen their MapView which was working in 1.1 displaying a plain black screen (no errors) after compling with the 1.5 SDK?  I made sure

[android-developers] Re: Porting 1.0 to 1.5, map tiles stopped displaying

2009-05-01 Thread Derek
It looks like they moved the location of debug.keystore with SDK 1.5. Since I'm on Vista, I had to copy my original debug.keystore from C: \Users\me\AppData\Local\Android to C:\Users\me\.android On May 1, 11:38 pm, JP joachim.pfeif...@gmail.com wrote: OK that was it. Busywork. Thanks again.

[android-developers] MapView showing as black screen after upgrade to 1.5

2009-05-01 Thread Derek
not uninstall/install) and shouldn't need a new mapsAPI key. No errors are showing up in DDMS other than: Failed to find provider info for com.google.settings Any ideas would be much appreciated! Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Proper usage of object passing for TabActivity/TabHost

2009-04-25 Thread Derek
, is this expected? When my child activity was a standalone activity the code worked fine but now as a child it does not. Any help is appreciated. There doesn't seem to be lots of good information about TabActivity/TabHost out there anywhere. Thanks, Derek

[android-developers] Unzip file - Both regular and UTF-8 encoded

2009-04-22 Thread Derek
Hi all, Just to let you know that we've implemented an unzip application that workaround Android/Java limitations in java.util.zip package for entries with non-ascii characters. http://www.lysesoft.com/products/andexplorer/index.html DK. --~--~-~--~~~---~--~~

[android-developers] When to display/hide ZoomControls for ImageView

2009-04-17 Thread Derek
Hi, I'm not sure when I should let the ZoomControls visible or invisible for an ImageView. Is it correct to display it in ImageView's onLongClick event, and hide it in onClick event? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you

[android-developers] reuse IDs?

2009-04-17 Thread Derek
Because there is no hierarchy in R.id, I presume an ID can be used in many layout.xml files. Am I correct? --~--~-~--~~~---~--~~ 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] content resolver to access Google Mail attachment

2009-04-17 Thread Derek
in my application? Thanks, Derek --~--~-~--~~~---~--~~ 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

[android-developers] Re: how to let an application as the default app of certain file type

2009-04-09 Thread Derek
in onCreate(). On Wed, Apr 8, 2009 at 10:44 AM, Derek xianguan...@gmail.com wrote: I called getIntent in both onCreate and onPostCreate, but both return null. below is my test code the caller        Intent intent = new Intent(Intent.ACTION_VIEW);        intent.setData(Uri.fromFile(new

[android-developers] Re: how to let an application as the default app of certain file type

2009-04-08 Thread Derek
File(getIntent().getData().getPath()); I don't know how to enumerate applications which can handle a certain type of file though. On Apr 7, 10:49 pm, Derek xianguan...@gmail.com wrote: the other question is that if I'm develop an file explorer, how can I know all the existing associations

  1   2   >