Questions tagged as 'android'

0
answers

Can I use the data saved in shared preferences in any class without extra put?

I have that doubt, because I use many fragments in my app and it would be great for me to store some editext in shared preferences and then use them simply by calling this data from any class, without putting extra.     
asked by 15.05.2018 / 10:07
1
answer

network - Authenticate in an EAP network with proxy

@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2) public void helperConnect(final ScanResult scanResult) { try { Log.v("rht", "Item clicked, SSID " + scanResult.SSID + " Security : " + scanResult.capabilities); conf = n...
asked by 15.05.2018 / 14:21
1
answer

script is not displayed on android

Hello people how are my problem is the following I have a transmission that I make through a script on my website but when viewing the page on a mobile device, this transmission is not displayed and I do not know if I need to configure a differe...
asked by 15.05.2018 / 19:39
0
answers

convert layout to PDF - android

I have some views (layout) on android that I need to convert to PDF, I currently use link but this library asks me to change to pixel the sizes of the components, for this reason the forms that I need to convert are damaged. I do not know i...
asked by 21.05.2018 / 22:21
0
answers

Error (400) when connecting Android Studio with API

I'm trying to get an API get but it returns a 400, I've tried putting my local IP and putting 10.0.2.2 , but the same thing keeps coming up, in the Event Log I get this too: Emulator: CAN NOT TRANSLATE guest DNS ip , from the PostMan it r...
asked by 11.05.2018 / 20:46
0
answers

LogIn, Connect a Local DB to a mobile BD, synchronize data manually

I have a school project where I am asked to create a login by consulting a mobile BD, this database must be connected to a local database with a button that updates the information of the Mobile Database in the local database, I leave a diagram...
asked by 13.05.2018 / 05:19
0
answers

ERROR WHEN COMPILING APP ANDROID IONIC

I'm trying to compile an app for android from ionic, but I get this error or message and it does not let me move forward, what's wrong or what should I change? Greetings.     
asked by 13.05.2018 / 02:33
0
answers

Relationship one to many java (android)

How can I create a one-to-many relationship in Android, how would it be the best way? I have this kind BDPlan , a plan has 1 to many Activities and I would like to know how to represent this relationship between tables public class BDPla...
asked by 10.05.2018 / 21:09
0
answers

I have an error in the AdminSQLiteOpenHelper and in the getWritableDatabase

// this is from the bd package com.example.manuu.basededatos3; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import androi...
asked by 17.05.2018 / 03:21
0
answers

RadioGroup null RadioButton in alertdialog in restore preferences

I would like please if you can help me know what happens. I have a radiogroup built in an alertDialog. The problem is that it gives me different id to reconstruct the activity when I call the preferences file to restore the option that the user...
asked by 09.05.2018 / 02:32