tag:blogger.com,1999:blog-1853768304794693097.post6097083457374555690..comments2024-03-10T08:33:47.120-07:00Comments on It's a blong, blong, blong road...: Delphi and Android servicesblonghttp://www.blogger.com/profile/15865043713752235355noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-1853768304794693097.post-3762036223521247152016-02-25T15:31:38.668-08:002016-02-25T15:31:38.668-08:00DO you mean that app on Google Play isn't work...DO you mean that app on Google Play isn't working, or the sample code - see update at end of http://blog.blong.com/2015/02/delphi-and-android-services-part-3.html - isn't working with Android 6?blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-36601140862109288582016-02-20T02:49:11.477-08:002016-02-20T02:49:11.477-08:00Not working with Android 6.0 Not working with Android 6.0 Yudhihttps://www.blogger.com/profile/14618263404213220250noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-25706494975676345392014-09-24T03:05:20.021-07:002014-09-24T03:05:20.021-07:00This comment has been removed by a blog administrator.Applisthttps://www.blogger.com/profile/15580170616327550518noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-37899710999650867902013-11-30T12:40:07.750-08:002013-11-30T12:40:07.750-08:00Thanks for the confirmationThanks for the confirmationblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-86622596345442278532013-11-30T08:48:29.870-08:002013-11-30T08:48:29.870-08:00Confirm that downloaded demo from google play stor...Confirm that downloaded demo from google play store works well. Splash screen works on horizontal orientation without forcing screen to vertical.Joko Rivaihttp://cenadep.orgnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-77085472048649020672013-11-26T08:56:17.115-08:002013-11-26T08:56:17.115-08:00Oh, ok, yes I've seen that issue on some apps....Oh, ok, yes I've seen that issue on some apps. Not with this one though. Actually, I'm trying to think if it was with more than 1 app.<br />Unfortunately I never worked out what caused the problem with the app. I did manage to get it gone though, by a tedious process of rebuilding the UI in a different project. There was something up with, oh I dunno, the content of the .fmx file or something.<br />It may be worth your while creating another form in the project, mimicking what is in the first one, then deleting the first one and renaming the new one to be in the same unit and have the same form name as the first. You may get lucky as I did.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-62942286583240868292013-11-26T04:04:57.782-08:002013-11-26T04:04:57.782-08:00Yes same issue there.
When you start the app you f...Yes same issue there.<br />When you start the app you first notice that there is less space between the start service button and the upper screen border. In the service this is not an issue, but in my app the title of the app is only partly visible.<br />Then when you rotate the device the screen keeps the same horizontal width, leaving a white space to right.<br />If you keep rotating sometimes even the start and stop buttons are not visible.<br />If you want I can start making some screenshots and send them to you.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-72870186623715655342013-11-26T03:32:56.991-08:002013-11-26T03:32:56.991-08:00Oh, I see. The online sample app, to which this po...Oh, I see. The online sample app, to which this post mostly refers, has the portrait restriction removed. I think I just edited the manifest, from memory (I don't have the sample to hand just now).<br />Can you install the service app from Google Play and see if that suffers the same screen issue to which you allude? And can you be more specific about how and exactly when this screen mess-up occurs?blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-67959024087266969052013-11-26T01:13:20.682-08:002013-11-26T01:13:20.682-08:00Thanks for you're response But I downloaded th...Thanks for you're response But I downloaded the code from http://blong.com/Downloads/AccessingTheAndroidAPI.7z which includes the SplashscreenTest project.<br />The manifest file is forcing the app in portrait.<br />Also I can not find any "what's new" in the listing.<br /> <br />I guess I'm working with a different versionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-85637628651377380362013-11-25T11:08:09.550-08:002013-11-25T11:08:09.550-08:00Odd. My understanding was that v1.0.4 I uploaded s...Odd. My understanding was that v1.0.4 I uploaded some while back had the portrait restriction removed (see the What's New info on the listing). Can you confirm you have the current version installed?blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-7841413577671666122013-11-25T10:38:55.903-08:002013-11-25T10:38:55.903-08:00Thanks! I'm not sure I'd concur that servi...Thanks! I'm not sure I'd concur that services are the *most* important thing, but thy are quite commonly required in many Android apps.<br />My *almost* finished sample is at Please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.htmlblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-36941001803460768932013-11-25T10:38:09.767-08:002013-11-25T10:38:09.767-08:00Yes, please refer to http://blog.blong.com/2013/11...Yes, please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.htmlblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-75302921077396279972013-11-25T10:37:59.776-08:002013-11-25T10:37:59.776-08:00Please refer to http://blog.blong.com/2013/11/delp...Please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.htmlblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-37611892281490722622013-11-25T10:37:31.554-08:002013-11-25T10:37:31.554-08:00Please refer to http://blog.blong.com/2013/11/delp...Please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.html - however the aforementioned flaw is still present in the sample. I haven't yet sorted the problem out.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-1558128354558707322013-11-25T10:36:50.649-08:002013-11-25T10:36:50.649-08:00Please refer to http://blog.blong.com/2013/11/delp...Please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.htmlblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-41222968801286723882013-11-25T10:36:29.915-08:002013-11-25T10:36:29.915-08:00Please refer to http://blog.blong.com/2013/11/delp...Please refer to http://blog.blong.com/2013/11/delphi-and-android-services-part-2.htmlblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-45932091726848540162013-11-25T06:41:35.209-08:002013-11-25T06:41:35.209-08:00Hi Bryan,
Do you have a example without the portra...Hi Bryan,<br />Do you have a example without the portrait restriction?<br />When I remove this in the manifest file it's works on my Phone but on a larger device the screen get's mixed up after rotation.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-39980049131841973892013-11-24T00:26:51.817-08:002013-11-24T00:26:51.817-08:00Before selling xe5 should have discussed what you ...Before selling xe5 should have discussed what you can not do (I would not have purchased had known that something as important as creating a service and would have used more time to know android directly).<br />Create a service is the most important things in android.<br /><br />I really also like to know how to solve this as your example.<br />Congratulations on being THE ONE who has deigned to do so.<br />(We'll be waiting for your wisdom and your code)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-38350764655273399942013-11-22T03:58:29.589-08:002013-11-22T03:58:29.589-08:00is this example ready?is this example ready?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-71087424069828083762013-11-21T23:36:19.216-08:002013-11-21T23:36:19.216-08:00I have to download and install the Demo sevice App...I have to download and install the Demo sevice App,This Demo program so cool,<br />But no sorce code can provide a reference :(Anonymoushttps://www.blogger.com/profile/07549266933383503421noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-17532841313306880872013-11-11T12:19:29.919-08:002013-11-11T12:19:29.919-08:00It's a Java entry point, as is required, which...It's a Java entry point, as is required, which then calls into Delphi code.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-14369366298338225392013-11-11T02:59:59.979-08:002013-11-11T02:59:59.979-08:00In your service did you start delphi code or java ...In your service did you start delphi code or java code?Anonymoushttps://www.blogger.com/profile/15264977525196519849noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-74683691975468395432013-11-10T14:40:05.284-08:002013-11-10T14:40:05.284-08:00A service is a component of your Android app, and ...A service is a component of your Android app, and typically you'll have a UI surfacing the service as appropriate. So no, there's no real notion of a console for the service app. The service is a class and the app is implemented as an activity, which is another class. Though in the case of Delphi that activity is implemented by all your Delphi forms.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-31465037256616827122013-11-09T17:29:58.025-08:002013-11-09T17:29:58.025-08:00did u build console app for service app? maybe its...did u build console app for service app? maybe its work and u dont need to hide gui !?!Anonymoushttps://www.blogger.com/profile/12500822092202266000noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-18861399755569607592013-11-09T12:43:17.190-08:002013-11-09T12:43:17.190-08:00Opps. i see :)
Thanks for your information.
i wait...Opps. i see :)<br />Thanks for your information.<br />i wait for solution. because i m beginner for android.<br />i need to xe5 <br />greetingsAnonymousnoreply@blogger.com