How can automate below mentioned manual setup?
I want to create android app that make below setup automatically, when i click on launching icon(every time when launch app).
a. Enable GPS Satellite
Go to Settings
Go to “Location Services”
Make sure that “use wireless networks” is not ticked.
Make sure that “use GPS satellites” is ticked.
Make sure that “Location and Google Search” is ticked.
b. Change “Google Settings”.
Come to main screen of Tab.
search for “Google Settings”
Go to “Location”
Make sure that “Access location” is ticked.
c. Enable Location in browser settings.
Make sure you are on main screen of Tablet.
Click on Internet Browser
Make sure browser is open (in many case login screen of “Renaissance” will come).
Click on Menu button of tablet. (one of the 3 buttons on tablet. Left of middle button
Make sure a menu list is open.
Click on settings (last option of menu). This will open the settings screen of browser.
Click on Privacy and Security section
Click on “Clear Catch”, “Clear History”, “Clear All Cookie data”, “Clear form data” & “Clear location access”
Make sure that “Turn on Location” option is Tick.
d. Clear junk browser data
Make sure you are on main screen of Tablet.
Click on settings
Go to “Application Manager”
From the list of application displayed on Right Side of screen, select Chrome.
Now you will find 3 options here:
Force Stop
Uninstall Updates
Clear data
Click on “Clear data”
Click on “Clear Catch”.
Please suggest needful.
You can't develop application like that. Those settings are too sensitive to allow application manipulate with them. All you can do is just check if some provider is turned on/off and navigate user to manually change it. You have to do it manually.
Related
As an example, take an Android app that manages sensitive information such as credit card details. Is it possible from a code level to effectively erase the sensitive data the app might store in RAM when the user logs off or closes the application? How can this be done?
Your can do something like that in your Developer Settings
How to unlock developer settings?
You can unlock your developer settings by going to: Settings > About phone > Software info > Build number., Remember that the names of the folders can be different depending on your brand/model of your phone. Once you've reaced Build number, click it about 7 times. After a while you should get a toast message saying how many clicks left. Keep clicking until it says you've finished all the clicks. CONGRATS! Your have unlocked delevopers mode
Now that you have unlocked your developer settings, scroll right down to the bottom. A little bit to the top you should have a categorie about apps. There you find: Don't keep activities, when you turn that on, instead of closing the app a normal way, every app is forced to shut down. I know it's not the same as clearing everything. But that's the best I know
My App has the "Dynamic Services URL" set to true.
This is because we have several Application Servers and, also, the URL might change depending on the network we are connected to.
Android:
The App gets a menu on the AppBar (upper-right corner) with a "Settings" option in it.
The App startup invokes an Authentication procedure, that requires access to the Application Server.
Q1: If the last Application Server is unavailable (eg, device connected to a different network) the App will return a "Error: Connect time out" and will not give the Settings Menu, not allowing me to change the URL.
Even if i go to the device settings and Clear the app data, still, the app will try to reconect to the last / default Services URL.
It seems impossible to use the App again, until the previous Application Server becomes available so I can have access to the Settings Menu.
Is there any other way to change the Service URL?
Q2: I will have to create my own "settings" screen for the App (where user can select a default theme, default nº of rows, etc).
Can I add a new option into the menu that genexus creates (so I don't have 2 Settings menus)?
The fist point is officially recognized as a bug. See this SAC
The second point: I have no clue on how to achieve that (unify the 2 settings screens or create a custom edit box for setting the dynamic services URL). If there is a way, it may be programming an external object.
Hie all,
I created one homeScreen Application and it working fine for me . one thing what i am seeing is every time i click on the HOME button it list me the native home application and the third party application which i installed in it . the below figure explains the context
this is somewhat an extra work to user to select the home screen every time he presses the home screen. so what i was thinking is that to give the option for user in the settings->display seetings-> so that he can choose the application which he want .
as i ve access to complete android file system and i can create my own image and test in the development boards . The problem here is i am unable to add item to the existing settings code . or u can suggest me the other solution. i tried with the Display settings class in mydroid.
You can not change system settings (i.e. alter the menu) via code on normal (non-rooted) Android devices.
User can set the default action by ticking "Use by default for this action." on selector screen. From then on user will not be asked to select the action, instead the default action will be invoked.
My app have feature to send a mail. If user use this he will be prompted to open google-mail-app or another mail-app. But this selection haven't checkbox to set the current user option to default.
Is it possible to extend the selection with a default-checkbox?
I know this checkbox from another application such navigation.
thx
It's not possible to hardcode this into an application, however the user can do the following:
Tap the Menu button on your phone and
select the Android Settings option.
Scroll down to the Applications
section and tap it. On the next
screen, tap Manage Applications and
then the All tab on the subsequent
screen. Scroll down the list of apps
until you see the old browser listed
and tap that entry. On the next screen
look for the "Launch by default"
section and hit the Clear defaults
button.
Source: http://lifehacker.com/5637923/change-the-default-application-for-any-android-phone-task
I want to hide my app from main menu, when user want to, s/he can see their app.
To hide the app I've removed the launcher category, and for now the app get hidden but now I don't understand how can the user launch the app. I've read somewhere that using a key combination (on the DialerPad) one can show the main screen of activity. How is this done?
Any other ideas of launcher an app when a launcher is not present?
Yes you can hide your application icon but only on rooted devices or system signed apps.....the solution will be to first disable your application using shell command pm disable com.yourapppackagename and then enable it back using **pm enable com.yourapppackagename** this will first disable your app removing app icon from device and then enabling back your app will bring back the app icon only in device menu and not on homescreen. if you want to disable and then enable on user choice then you may create a toggle button such as when off then disable your app and when on then enable your app.It will definatly work i have already worked on something similar