CodeDocu.com
How to find the drawable at runtime and adopt the style 19.09.2018   63 How to find the drawable at runtime and adopt the style Task: Under an Android app, an outsourced style is to be transferred to newly created presentation elements at runtime The style is stored in a file under res drawable xml
How to find the drawable at runtime and adopt the style
Debug Android App with Windows 10 AMD processor 18.09.2018   48 Debug Android App with Windows 10 AMD processor If you run a Windows 10 computer with an AMD processor like AMD Ryzen 7 1800X, then you can not simulate Android edition on Android Studio and Xamarin Android developments can only be simulated and displayed under an Intel processor as a virtual machine That's why AMD computers need to debug and test Android applications directly on an Android smartphone To do this, a cell phone is connected to the Windows 10 computer via the USB cable, USB debugging is enabled on the smartphone, and then you can select the smartphone for each run with F10 in Android Stud
Debug Android App with Windows 10 AMD processor
App settings as app preferences save and read 07.10.2016   1445 App settings as app preferences save and read Android Java preferences are used as internal data memory to save settings and read The settings are normally with settings pages specially adjusted and saved But also the preferences can be used as persistent data storage of variables, so the values are still retained even after switching off the app A good example here is the password and user
App settings as app preferences save and read
Add Android settings to an app project 07.10.2016   1983 Add Android settings to an app project Preferences How to add complete settings as settings Studio an existing project in Android? Settings or settings an Android app Studio as preferences are traded under Android In an existing application you may either manually create the code for a settings file or just a
Add Android settings to an app project
Android code: Lookup a contact by the phone number 20.09.2016   2120 Android code: Lookup a contact by the phone number This Java example in a Java app checks whether a new number is already available on your Android Smartphone If the phone number of number isn't in the contacts was stored, then a new Android creates contact and the data is inserted
Android code: Lookup a contact by the phone number
Android code: Add contact person, email, telephone with batch operations 20.09.2016   2540 Android code: Add contact person, email, telephone with batch operations The following Android Java code example attaches one or several contacts with information on the person, email and the telephone number to the contacts of the Smartphone an Android Smartphone Insert the contacts is not running process batched operations so the visible intent forms
Android code: Add contact person, email, telephone with batch operations
Android Studio: Add contact using Android intent 13.09.2016   3332 Android Studio: Add contact using Android intent The simple process to add a contact in Android via java code is about an intent An intent = ahead just fills the native contacts form, which you set at load time, and then opens The creation and filling is done in 3 steps: New
Android Studio: Add contact using Android intent
Android Setup: ICE in case of emergency 16.08.2016   1782 Android Setup: ICE in case of emergency ICE in case of emergency in the Android Smartphone set ICE describes a special function in smart phones, where you can see important properties of the mobile owner in emergencies directly when you turn the Smartphone on the LockScreen You can open the ICE information and provides important information about allergies, medications, and o
Android Setup: ICE in case of emergency
Android code: Automatically dial a phone number 08.08.2016   1957 Android code: Automatically dial a phone number With this Android app, a telephone number will be dialed automatically if you click on the button To do this, you used an intent in Android Java code The use of intent is a system forms via macro execution
Android code: Automatically dial a phone number
Android Studio: app on phone with USB debugging 29.07.2016   1653 Android Studio: app on phone with USB debugging How do I start debugging an app on a real Smartphone You must first enable the developer mode, then enable USB debugging in the developer options And then connect the USB cable and then on the computer start to debug the application Step 1: In the settings > about the phone > 5 times entry on build type Then comes the message: you're a developer
Android Studio: app on phone with USB debugging
Android app code: Start stop Wi-Fi with Java code 29.07.2016   1884 Android app code: Start stop Wi-Fi with Java code With Java you can directly Wi-Fi into an Android app or turn off To do this, you must have associated with previously the permissions the app and then via a WiFi Manager on or off - switch Right start: WifiManager setWifiEnabled ( true false )
Android app code: Start stop Wi-Fi with Java code
Android app code: App to turn on WiFi by Intent 29.07.2016   1657 Android app code: App to turn on WiFi This Java code open form the WLAN WiFi, so you should turn on the WiFi The process starts execution with a single intent Android Java intent corresponds to a macro version of forms Intent intent_Start_Wifi= new Intent(Settings ACTION_WIFI_SETTINGS ); startActivity(intent_Start_Wifi);
Android app code: App to turn on WiFi by Intent
Android: Macro Coding with Intent and StartActivity 29.07.2016   1928 Android: StartActivity and intent To easily manage tasks under Android, you can open forms, fill out, and perform with a macro The methods for this purpose be StartActivity and intent are working StartActivity is used to open and manage system oriented Android forms and
Android: Macro Coding with Intent and StartActivity
Android code: Android read contacts and store it in a ListView 27.07.2016   7987 Android code: Android read contacts and store in a ListView Here you will find the Android Java code and the related xml code to read the contacts in an Android Smartphone The demo app consists of a list and a button As soon as you click the button, the contacts of the Android smartphones are read and loaded into the list to display 3 contacts for the demo are set in the debug Smartphone (virtual device) You can see here, that every single contact several associated
Android code: Android read contacts and store it in a ListView
How to Change Android App project settings 26.07.2016   1715 Android project settings How to change the settings to the current Android app? Subject: version code, version name, application ID, and min SDK version target SDK version To change the version of an Android app under App
How to Change Android App project settings
Android Debug app crashes at missing user permission to contacts 26.07.2016   2862 Android Debug app crashes Problem: the Android app crashes while debugging without having a meaningful error message is issued Content: I'm trying the contacts of the Android system to read just about a Java code But as soon as I ask a query about the contacts, the app crashes I create a new app which also accesses the contacts with Java, no error comes
Android Debug app crashes at missing user permission to contacts
Android Studio: region group together with fold selection CTRL +. 25.07.2016   1400 Android Studio: region group together with fold selection CTRL + How can you summarize a range in Android Java code? Keyboard codes, tips: Using the keyboard shortcut: CTRL +
Android Studio: region group together with fold selection CTRL +.
Android Java: Custom ListView with its own adapter 22.07.2016   1434 Android Java: Custom ListView with its own adapter If you would like to display data in an Android app in a multiline list, then must you organize your data in a simple class and assign the data about your own adapter of the ListView Data class: If you would lik
Android Java: Custom ListView with its own adapter
Android Java: Fill values in a ListView 21.07.2016   1492 Android Java: fill values in a ListView A ListView is a simple list with vertical element under Android Java Overview: You must drag a ListView as an item in the display area Then you have to create a resources file, which represents the rows In the Java code to create a list of strings
Android Java: Fill values in a ListView
Android Studio ListView Error: Expected resource of type layout 21.07.2016   3610 Android Studio error: expected resource of type layout Problem : When you create an adapter for a ListView, the ListView is not recognized as a resource in the ArrayAdapter ArrayAdapter adapter=
Android Studio ListView Error: Expected resource of type layout
Android: Open a second activity 16.07.2016   1552 Android: Open a second activity How to change mobile page in Android Java to another? A change to a different activity is performed with startActivity (intent)
Android: Open a second activity
Android Java: AVM Fritz box login 02.07.2016   1698 Android Java: AVM Fritz box login Connecting an Android app with an AVM Fritz box requires two important numbers Firstly, the challenge of number ( challenge ) and then a SessionID ( SID )
Android Java: AVM Fritz box login
Java: Compare string value with == or equals 02.07.2016   1051 Java: Compare string value Compare our strings in Java In my Java code example I must compare a string variable against a real string The string variable sid is the sid value = "0000000000000000" before the comparison line
Java: Compare string value with == or equals
Android Studio: off comment lines and blocks of code 30.06.2016   4993 Android Studio: off comment lines and blocks of code Android Studio 2016 should actually function to off comment lines of code as usual shortcut: [CTRL + ] be Unfortunately, this function not to work seems, because this leads at the time to insert a mnemonic bookmark So a book mark with the number 7 on the side stripes (gutter) Here the working keyboard shortcuts: Comment wit
Android Studio: off comment lines and blocks of code
Android Dev: Add permissions to the app 29.06.2016   1501 Android Dev: Add permissions to the app An app can perform special functions on a Smartphone, it must have access permissions These access permissions are displayed when you install the app previously as access permission or notice, and must be approved by the user The access permissions of the app be using XML tags in the file
Android Dev: Add permissions to the app
Android IDE: Where can I find the Toolbox, UI elements, UI controls in Android Studio? 28.06.2016   1986 Android SDK: Where can I find the Toolbox, UI elements, UI controls in Android Studio? As a Visual Studio Developer, I had always my toolbox with controls in a toolbar Where is the toolbar or the selection of items in the Android Studio? The standard view in the programming of an xml page is located in the XML Text mode To the right is the preview Below in the xml text window, you can fi
Android IDE: Where can I find the Toolbox, UI elements, UI controls in Android Studio?
WhatsApp: transfer data to a different Smartphone 27.06.2016   1489 WhatsApp: transfer data to a different Smartphone When changing to a different or new smartphone, then all data by WhatsApp is lost in the new phone You can transfer the data from the old phone to the new phone by to save the chat data as a backup in the old system at Whatsapp, then caches the data on the PC The new smartphone is now important: only the app download and install, but do not open!
WhatsApp: transfer data to a different Smartphone
Android: Default directory for WhatsApp 27.06.2016   1372 Android: Default directory for WhatsApp Where stores Android in the default directory the WhatsApp data and photos? On Windows, open 10 File Explorer-> Smartphone mobile phone-> phone Default directory: phone-> WhatsApp-> databases and media
Android: Default directory for WhatsApp
Android: Location for screenshots 27.06.2016   1348 Android: Location for screenshots Where off Android by default saves the screenshots? With File Explorer > to the Smartphone mobile phone > phone open Default directory: phone > pictures-> screenshots
Android: Location for screenshots
Installing Android Studio 2 and Java JDK 8 on Windows 10 24.06.2016   2392 Installing Android Studio 2 and Java JDK 8 on Windows 10 To the programming and developing Android app applications, you will need the Android Studio As a system requirement, you must in addition previously installed the Java JDK (Java Development Kit) 8 Step 1: install Java JDK 8
Installing Android Studio 2 and Java JDK 8 on Windows 10

Software Entwicklung Stuttgart NĂ¼rtingen
Suche Projekte C#, WPF, Windows App,ASP.Net, vb.Net, WinForms, SQL Server, Access, Excel