movable icon for Edit box in android using delphi - android

I'm using Delphi 10.1 Berlin for developing mobile application and when I have used the Edit box in android, I'm not getting the text movable icon in Edit box. How can I enable this to move the text in edit box for Android mobile and for iOs mobile app. With this I have attached the snap shot of the sample which I required. And also Copy, Paste, Select All options are also not displaying in edit Box. Please help me to resolve this issue. And thanks in advance.

FireMonkey controls are not Android controls so do not get the standard Android features of the equivalent controls. You will need to either find a 3rd party control that implements an equivalent capability or implement it yourself.
Otherwise you will have to wait until Embarcadero get around to supporting native controls on Android. This is on the roadmap for 2018, but bear in mind that this is no guarantee that it will actually be delivered in that timeframe.

Related

How to add google keyboard (Gboard) into my own android studio project?

I am working on a project on android. I want to attach Gboard into my application because I want to use its functions. I want to use Gboard pad for writing input. I don't want from the user to download Gboard separately. I want to make it a part of application. If possible kindly let me know how.
Id say it is not possible, cannot find anything for Gboard, even virtual keyboard api is deprecated since 2011.
You might want to take a look at creating your own input methods.

How to add an overlay on widget on android auto

I'm looking into Android APIs in order to understand how to add an overlay widget to Andoid Auto but to no avail.
I'm not willing to add the widget on the main phone's screen but on the car display/head unit: my purpose is to write a simple widget which overlays the android auto bottom bar and adds a very readable clock (since the embedded one is really small!!!).
I've looked into existing tools for this to no avail and can't even find any hint if this is even possible using the APIs to target specifically the second screen used by AndroidAuto.
The reasonable starting point might be the WindowManager with appropriate LayoutParameters but this does not seem to be the right way.
Any hint?
Android Auto is designed to help minimize distraction so drivers can focus on the road. This means you can't do much, unless you have access to the full Android Auto SDK. Currently, only some big companies have access to the official SDK. There's also an unofficial SDK that allows you to make your own custom apps, but since version 3.0 Android Auto no longer supports launching custom apps.

Display Application widget on Lock screen android

I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . Here is the link :-
How to force a widget to appear on lock screen programmatically (Android)
i just want to confirm that is it feasible ? Or this can be achieved by making custom lock screen for application.
Here is what my client requirement is :-
I need your suggestion here , please let me know .
Thanks
i just want to confirm that is it feasible ?
As I wrote in the answer to the question that you linked to, the standard Android lockscreen framework only supports app widgets from Android 4.1 through 4.4, which is a steadily shrinking portion of the Android device ecosystem.
Or this can be achieved by making custom lock screen for application.
Android does not support the creation of custom lockscreens, other than by building your own modified version of Android, poured into your own custom ROM, installed onto whatever hardware your custom ROM supports.
There are plenty of developers who claim to create custom lockscreens. Those actually require you to disable the device lockscreen, then their apps attempt to interpose themselves between the user and ordinary apps. At the best of times, this offers weaker security.

Multi Window App Development

I want to develop an android application which has to run two other applications on the device with one app on upper half of the screen and the other in lower half of the screen. Any clues/suggestions to start developing this ? Thanks in advance !
it's not possible multi-pane-layout two other apps.
if u want your app with multiple activities follow this tutorials for your references:
it's called named as multi-pane-layouts and offical introduction about multi-pane-layouts below link:
http://developer.android.com/design/patterns/multi-pane-layouts.html
and it's shows how to implement multi-pane-layouts on your project below link from android official side:
http://developer.android.com/guide/practices/tablets-and-handsets.html
and you can download example project from github below link:
https://github.com/faisalgeek/MultiPaneAndroidApp
This is not possible, except via custom device firmware or ROM mods. In standard Android, only one app can be used at a time.
However:
You are welcome to support multi-window apps on some Samsung devices, as they have extended their firmware to support this concept
You are welcome to have an activity's theme set up to not fill the screen, though anything else around the activity will at most be visible and will not respond to touch events
If all of these applications are yours, combine them into one app, and then you can display elements of that app alongside other elements of that app however you wish.
If you are looking for a feature for your app which supports multi-window then Latest Android version N has a new cool feature called Multi-window support, you can let your app support multi-window which can be resized and scaled which is exactly your requirement. you can find the reference link here

Flashbuilder 4.5 DropDown List for Mobile application?

Hi I am currently developing a mobile application within Flashbuilder 4.5 Pro. However I am having issues as I cannot seem to add a drop down list to my application and have it work properly. I have created the code below and this effectively creates a drop down list and populates it with items, however when the user clicks on an item it is not selected in the field.
This also happens when I am testing it on my machine and the only way to select the item is to click on the list and then use the down arrow on the keyboard which I cannot do in the application. Can someone please help me????
<s:DropDownList id="sex_drpdown" width="150" height="61.35" labelField="value" fontSize="30" change="sex_drpdown_changeHandler(event)">
<s:ArrayCollection>
<fx:String>Male</fx:String>
<fx:String>Female</fx:String>
</s:ArrayCollection>
</s:DropDownList>
Although I'm coming in a little late to this question, we have created a Flex Mobile DropDownList and it is available as part of the Flextras Mobile Component set.
The issues w/ using the DropDownList in mobile relate to the differences between touch and mouse inputs and the way that the original DropDownList was structured.
Here is a sample of our Flex Mobile DropDownList. You can always download our free edition to test it out in the mobile emulators or on your device. The free edition can be used in production, but we do have pay options if you want source code or help.
Update: All Flextras Components went open source under the Apache License; so you no longer have to pay anything to use them.
I think what you really want is to use Combobox:
<s:ComboBox change="changeHandler()">
<s:ArrayCollection>
<fx:String>Male</fx:String>
<fx:String>Female</fx:String>
</s:ArrayCollection>
</s:ComboBox>
Actually there is not an issue with the DropDownList. As a mobile application - user just need to create his own skin for it. Adobe "discourage" it because it requires some advanced skills, which is not the prime target nowdays of Adobe ( which is wried ). Just create your own skin, and it will be more than OK. :)
DropDownList are not made for mobile application
We also tried to use a dropDownList on flex mobile,
but i doesn't work for it.
Our solution was to make a list pop up instead.
This is also used in many android apps and even an adobe sample app:
http://www.adobe.com/devnet/flex/samples/sales-dashboard-application.html
resolves the problem that way.

Categories

Resources