[android-developers] Fragments: still use Activity for Smartphones?

2015-08-19 Thread Danny S.
Hi, we're migrating a project to Fragments support, because we support both, tablets and smartphones now. I'm familiar with Fragments already, but there is an unanswered question for which I already searched for an answer - for now without luck: Please have a look at the following code

[android-developers] Calendar API and local events only

2014-04-23 Thread Danny S.
Hi, I have a (read-only) database with appointments. I need to store these appouintments into the Android calendar using the CalendarProvider. There is no sync needed. I don't know how to identify an event (by it's ID) to prevent duplicate entries of the same appointment. Additionally I don't

Re: [android-developers] Provide events to Calendar-App using ContentProvider

2013-11-25 Thread Danny S.
, 2013 at 12:22 PM, Danny S. danny@googlemail.comjavascript: wrote: Hi, I want to provide events from my application to the standard Android calendar (com.android.com). Now I know, that a ContentProvider is used to give other applications access to application data. First I thought

[android-developers] Provide events to Calendar-App using ContentProvider

2013-11-21 Thread Danny S.
Hi, I want to provide events from my application to the standard Android calendar (com.android.com). Now I know, that a ContentProvider is used to give other applications access to application data. First I thought about adding my own ContenProvider to allow the calendar-APP accessing my

Re: [android-developers] Live voice changing during call (VOICE_UPLINK, VOICE_DOWNLINK)

2012-11-05 Thread Danny S.
Hi Mark, I feared already that it's not possible, but still hoped to hear an option to do that :'( Thanks a lot! -Danny Am Sonntag, 4. November 2012 23:16:11 UTC+1 schrieb Mark Murphy (a Commons Guy): AFAIK, this is not possible, sorry. On Sun, Nov 4, 2012 at 5:05 PM, Danny S. danny

[android-developers] Live voice changing during call (VOICE_UPLINK, VOICE_DOWNLINK)

2012-11-04 Thread Danny S.
already difficult to record Android calls. Thank you very much! -Danny S. -- 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] Customized TextView for customized Typeface

2011-11-30 Thread Danny S.
Hi, I want to create a custom TextView that uses custom Typeface. I do this, cause I won't set Typeface for each TextView within the code. I created a class: public class MyTextView extends TextView { public MemoryTextView(Context context, AttributeSet attrs) {

[android-developers] Re: Customized TextView for customized Typeface

2011-11-30 Thread Danny S.
Note: I renamed it from MemoryTextView to MyTextView but got not all of them. Don't mind about the different names. In principle it works, but I cant use the android default attributes for my custom text view... On 30 Nov., 12:26, Danny S. danny.schi...@googlemail.com wrote: Hi, I want

[android-developers] Re: Customized TextView for customized Typeface

2011-11-30 Thread Danny S.
view. Best regards, -Danny S. On 30 Nov., 12:33, Danny S. danny.schi...@googlemail.com wrote: Note: I renamed it from MemoryTextView to MyTextView but got not all of them. Don't mind about the different names. In principle it works, but I cant use the android default attributes for my custom

[android-developers] Re: Customized TextView for customized Typeface

2011-11-30 Thread Danny S.
call the super constructor and pass the attr to it, it takes all the relevant attributes... But it doesn't! -Danny On 30 Nov., 15:02, Danny S. danny.schi...@googlemail.com wrote: I think this would not work. TextView extends View already... And If I put the TextView within a LinearLayout e.g

[android-developers] Pick Contacts from pre- filtered list (ContentFilter?!)

2011-11-07 Thread Danny S.
through all of my contacts and if the picked contact has no address the user is in bad luck. I want to pre filter for this, so that the user can be sure that his selection delivers valid data. Hope someone can help! Thanks a lot, -Danny S. -- You received this message because you are subscribed

[android-developers] Access to voice/microphone during call

2011-10-24 Thread Danny S.
Hi, I am searching for a possibility to access the voice during a call - no recording: I want to change the spoken text live. Is this possible at all? Maybe there is no way... Is there any Android based API for this? I found nothing yet. Thanks in advance! -Danny S. -- You received

[android-developers] CursorAdapter over multiple columns

2011-06-29 Thread Danny S.
Hello, I have a SQLite database with two tables. I want to use table A and link it to the layout views (using a SimpleCursorAdapter), but I need one column from table B to show this in the same layout. How can I realize this using a automatically mapping of the CursorAdapter? Is this possible?

[android-developers] Re: Search dialog and searching within the same activity

2011-04-22 Thread Danny S.
you want to achieve. It does make the search dialog more complex though. On Apr 21, 6:13 pm, Danny S. danny.schi...@googlemail.com wrote: Hi, i have a map activity and added a search dialog where the user can search for an address. The map activity is searchable. The search works

[android-developers] Search dialog and searching within the same activity

2011-04-21 Thread Danny S.
Hi, i have a map activity and added a search dialog where the user can search for an address. The map activity is searchable. The search works very well, but when the search is started the activity startet a new instance of map activity. Is there a way to show search results in the same activity

[android-developers] Re: Question about registering for location updates

2011-03-13 Thread Danny S.
Thank you very much! I'll do this ;-) An other and my last question is: if I have set the distance AND time interval - must both conditions be true that onLocationChanged() is called, or only one? (AND or OR?) Thanks a lot! -Danny On 13 Mrz., 13:16, lbendlin l...@bendlin.us wrote: You have to

[android-developers] Re: Question about registering for location updates

2011-03-13 Thread Danny S.
That was really helpful! Thanks a lot! -Danny S. On 13 Mrz., 19:20, TreKing treking...@gmail.com wrote: On Sun, Mar 13, 2011 at 12:56 PM, Danny S. danny.schi...@googlemail.comwrote: An other and my last question is: if I have set the distance AND time interval - must both conditions

[android-developers] Question about registering for location updates

2011-03-12 Thread Danny S.
Hi, I have to register my locationListener for location updates using the LocationManager. Now the user have the change to set values in the preferences that should set for gestitration. mLocationManager.requestLocationUpdates(GPS_PROVIDER,

[android-developers] Need help refresh different activity's when updating the database

2011-02-24 Thread Danny S.
refresh for activity C with every state change!? Hope someone can help and discuss ;-)! -Danny S. -- 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

[android-developers] Re: Need help refresh different activity's when updating the database

2011-02-24 Thread Danny S.
from there based on the data I fetch only once at startup. It sounds really good :D Thanks, maybe there will be comments from more users ;-) -Danny S. On 24 Feb., 20:45, Justin Anderson magouyaw...@gmail.com wrote: Sounds to me like the cleanest approach would be to rewrite it so that each tab

[android-developers] Re: Schedule notification instead of permanently check

2011-02-02 Thread Danny S.
? Thanks a lot! -Danny On Feb 1, 11:40 am, Danny S. danny.schi...@googlemail.com wrote: OMG, today I determined, that my BootReceiver is not called again :'( But I changed nothing in relation with this :( it looks like an issue to me. I don't do anything in the onReceive yet, only log out

[android-developers] Re: Schedule notification instead of permanently check

2011-02-02 Thread Danny S.
://code.google.com/p/android/issues/detail?id=8485 -- Kostya 02.02.2011 14:31, Danny S. пишет: Today I read this on googles documentation: Broadcast Receivers listening for boot completed The system delivers the ACTION_BOOT_COMPLETED broadcast before the external storage is mounted

[android-developers] Re: Schedule notification instead of permanently check

2011-02-02 Thread Danny S.
Hi, for information: I changed the android:installingLocation in the AndroidManifest.xml to internalOnly and now the broadcast received successfully. Installing the app on external storage was the reason like expected after I read the docs. -Danny S. On Feb 2, 1:06 pm, Danny S. danny.schi

[android-developers] Re: Schedule notification instead of permanently check

2011-02-01 Thread Danny S.
, cause I got it to work in past... -Danny S. On Jan 27, 4:33 pm, Danny S. danny.schi...@googlemail.com wrote: Hi together, using a second receiver worked for me: ...                 receiver android:name=.AlertReceiver /                 !-- only for device is booted detection

[android-developers] Handle preferences in BroadcastReceiver's

2011-01-31 Thread Danny S.
notifications based on preferences (vibration: on/off, sound: on/off, etc.) within the broadcast receiver. Hope someone can help me! Thanks! -Danny S. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Handle preferences in BroadcastReceiver's

2011-01-31 Thread Danny S.
! -Danny S. On Jan 31, 1:36 pm, Danny S. danny.schi...@googlemail.com wrote: Hi, I try to use my preferences within a broadcast receiver. I defined a preferences activity thats build of a defined UI (layout xml alias prefrences.xml). I am able to call the activity and edit the values

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
alert succeeded!); } I started the emulator without new installation of my app so I expected the output Boot completed :D... What is my fault? Is my receiver construct in the manifest incorrect? Hope you can help me, Thanks a lot! -Danny S. On 20 Jan., 10:33, Kostya Vasilyev kmans

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Hey Kostya, you were right. I dont need to hold the intents in java, I can cancel it this way: mAlarmManager.cancel(PendingIntent.getBroadcast(this, intentId, myBroadcastIntent, 0)); Thanks a lot for this!!! ;-) -Danny S. On 20 Jan., 10:33, Kostya Vasilyev kmans...@gmail.com wrote: Danny

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
. I can try using a second receiver if it is ever possible, only for boot recognization. But this seems not the best way... My receiver should be able to differ between actions and do several things... Thanks a lot! -Danny S. On 27 Jan., 14:15, Kostya Vasilyev kmans...@gmail.com wrote: Danny

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
happened... onReceive is not called. As said I'll try with my real device and give response ASAP. If it does not work I try using a second receiver that handles the boot action and nothing else... hope I can solve the problem soon ;-) Thanks for your help! -Danny S. On 27 Jan., 15:23, Kostya Vasilyev

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
to be like this, but somebody would explain to me ;-) Thanks! -Danny S. On 27 Jan., 16:19, Danny S. danny.schi...@googlemail.com wrote: Kostya, yeah, I am with you and think my AndroidManifest looks correct. I figured out too, that all data get lost when Wipe user data is enabled. I started

[android-developers] Re: Schedule notification instead of permanently check

2011-01-20 Thread Danny S.
intents in a HashMap, but I need the PendingIntent when I'll cancel the alarm and it worked. Maybe I have to optimize something, but now I understood how to work with the AlarmManager AND multiple scheduling tasks. Thans a lot! -Danny S. On 19 Jan., 17:26, Kostya Vasilyev kmans...@gmail.com wrote

[android-developers] Re: Schedule notification instead of permanently check

2011-01-19 Thread Danny S.
Hello Kostya, WOW, thank you very much, I'll have a look and reply with results and questions if I have ;-) -Danny S. On Jan 19, 9:09 am, Kostya Vasilyev kmans...@gmail.com wrote: 19.01.2011 10:07, Danny S. пишет: Hi, I have a service that is running in background. It needs to send

[android-developers] Re: Schedule notification instead of permanently check

2011-01-19 Thread Danny S.
and wondered why the alarm is not fired ^^ But now it works, but only for the last data I set on the manager. Hope you can help, meanwhile I go home and do some searches on Google :D ´Thanks! -Danny S. On Jan 19, 10:49 am, Danny S. danny.schi...@googlemail.com wrote: Hello Kostya, WOW, thank

[android-developers] Schedule notification instead of permanently check

2011-01-18 Thread Danny S.
). Can I set a fix moment when the service should send the user a notification instead of listen/check all the time for (approximately) time identity? And a secondary question: how can I set Autostart for the applications service? Thanks a lot! -Danny S. -- You received this message because you

[android-developers] Re: Customized Spinner and problems with its dropdown menu

2011-01-18 Thread Danny S.
. Thanks a lot for helping me! -Danny S. On Dec 6 2010, 9:22 pm, Danny Schimke danny.schi...@googlemail.com wrote: Hi, meanwhile I got help from someone other, he said: hello, I remembered that I checked the source of android then, http://goo.gl/iLvvj I found that it use the CheckedTextView