Posts by CristianCotrena • 1,145 points
80 posts
-
1
votes1
answer539
viewsQ: Prevent Edittext from opening keyboard when I enter the layout
Whenever I enter a layout that has a EditText, It opens the digital keyboard by default for me to write something. I wanted to stop this, I wanted him to show the keyboard only when I clicked on…
androidasked CristianCotrena 1,145 -
1
votes1
answer213
viewsQ: Method imageView.getDrawable() launches Nullpointerexception
I wanted to take Imageview’s drawable and convert it to a bitmap. The conversion method I already have and is working well however, when I request the execution, it presents the following error:…
-
1
votes2
answers185
viewsQ: IOS - How to program the navigation between Viewcontroller direct in viewDidLoad?
I want to navigate between the Viewcontroller of an app by clicking a button and switching from one to the other for example. I wanted to run this directly in the viewDidLoad of Viewcontroller1, if…
-
0
votes1
answer318
viewsQ: IOS - How to program navigation between Viewcontroller in Objective-C?
I want to navigate between the Viewcontroller of an app by clicking on a button and switching from one to the other for example. But I didn’t want to do it by . storyboard, I want to do it directly…
-
1
votes2
answers230
viewsQ: IOS - Prevent the keyboard from hiding Text Field?
Whenever I click on Text Field, the keyboard goes up hiding it on the screen, I would like to know a way to make Text Field go up with the keyboard, I tried to use a Scroll View but could not.…
-
0
votes1
answer74
viewsA: IOS - How to create Custom Cell for Tableview?
Well, the example I took as a basis, it was an old example, it didn’t even have a storyboard, just files. xib, I decided to do a new project and with the help of some web pages, I managed to do this…
-
0
votes1
answer38
viewsQ: IOS - How to send an E-mail informing the recipient?
I am trying to send an E-mail with the recipient already informed, but I do not know how to pass this information in the code. Code: -(IBAction) mail : (id) sender{ mailComposer =…
-
2
votes1
answer74
viewsQ: IOS - How to create Custom Cell for Tableview?
I want to make a custom cell for my Tableview. But it is presenting problems that I am not able to solve. It worked normally when I did with the standard cell, but when I did custom gave problem I…
-
-1
votes2
answers72
viewsA: How to prevent the screen from rotating?
I was able to find a way :D Using Uikit.framework File. h -(NSUInteger) supportedInterfaceOrientations; File. m - (void)viewDidLoad { [super viewDidLoad]; self.supportedInterfaceOrientations; } -…
-
0
votes2
answers72
viewsQ: How to prevent the screen from rotating?
I’m making an APP and would like the screen to always be in Portrait. I looked it up online, but I couldn’t find out. I tried using the Uiinterfaceorientation framework Uikit, but it did not work.…
-
0
votes1
answer85
viewsQ: How do I execute code with closed or minimized application?
I want to run code that keeps the screen always lit, it already works perfectly when I am inside the APP, however, if I minimize or close it, stop working. OBS: I am using Uikit.framework code that…
-
0
votes1
answer50
viewsQ: How do I get a JSON and store in a list?
I would like to receive a JSON that contains several messages and stores it in a list that contains one JSON content per position The JSON format would be this: [{"id":"42","data":"02\/12\/2015…
-
1
votes1
answer92
viewsA: How can I do in Xcode the java code mentioned in the question?
Thanks for your attention, I managed to solve this problem through these 2 links. This shows how to work with notifications: How to implement an Apple APNS push notification service? This shows how…
-
6
votes1
answer145
viewsQ: IOS - How to make the app screen always lit?
I’m making an app for IOS I already have ready on Android, I wanted to make a method that left the screen always lit, but I’m not getting On Android I did this way: Mainactivity: PowerManager pm =…
-
1
votes0
answers38
viewsQ: IOS - How do app send notifications when closed?
I wonder how I can perform an action, such as a notification for example, with the app closed. Like when you’re not using your phone and get a message notification from Facebook or a game for ex. I…
-
1
votes1
answer92
viewsQ: How can I do in Xcode the java code mentioned in the question?
This class on Android when enabled, I can close the app that keeps it running and keep Cell’s screen lit this way Keep the screen on: PowerManager pm = (PowerManager)…
-
4
votes1
answer118
viewsQ: How to use Google Glass in Android Studio
I’m trying to install Google Glass in my Android Studio, but I’m not getting it. When I create a new project, it does not provide me with the Glass option and informs me that it is not installed. I…
-
2
votes0
answers2482
viewsQ: How do I use google drive API for sending and receiving audio?
I wanted to know how I can send and receive audio files via Google drive. I never used the Google Drive API, I’m starting now. I did some research on the Internet, but I couldn’t do it. Some…
-
5
votes1
answer654
viewsA: How to keep your screen always on even when you close the app
I did it here! this way I can turn off the app that it keeps keeping the screen on. I added in the onCreate class ServiceScreen this code: PowerManager pm = (PowerManager)…
-
2
votes1
answer654
viewsQ: How to keep your screen always on even when you close the app
I’m developing a app and I’m looking to implement a method that makes your screen never erase. I did some research on the Internet and I was able to do this inside the app. However, I would like…
-
0
votes0
answers93
viewsQ: Android - How to send an Audio to an FTP server?
I’m creating a Mural where people can send text and audio messages to a php server, text messages and the wall work perfectly, but I have no idea how to store a recorded audio and send it right…
-
1
votes2
answers75
viewsA: How can I share an image via Mail, Bluetooth, etc?
Guys, I took a look at this site, and I found a really cool way to do it. D Anyway, thanks for your attention and help! Website:…
-
1
votes2
answers75
viewsQ: How can I share an image via Mail, Bluetooth, etc?
I own a ImageView that has a drawable that was edited during the use of the app, wanted to take this final edition and send it by Email, Bluetooth, etc.. The way I’m doing, when I send by email for…
-
1
votes1
answer165
viewsA: Android - How to transport picture information from one class to another?
Guys, I kept trying here and I got it this way :) In Class 1: public void next(View v){ Bitmap p = drawableToBitmap(resultView.getDrawable()); Bundle param = new Bundle();…
-
0
votes1
answer165
viewsQ: Android - How to transport picture information from one class to another?
Hello, I need to transport the contents of an Imageview from one class to another, I tried by Intent, but I couldn’t get through it. I have a Drawable that was edited in Imageview of the first class…
-
1
votes1
answer912
viewsQ: How to rotate imageView 90º?
Hello, I’m making an Image editing app and I need to know how to rotate 90º of an imageView and replace the original with the image that has rotted I searched the sites and found this way to do, but…
-
-1
votes1
answer1017
viewsQ: how to resolve accent errors when sending an Android message to a php API
Guys, I’m having trouble sending strings with accentuation and strings with 2 lines or more. When sending without accentuation or and with only one line it normally accepts, however, when sending…
-
1
votes1
answer92
viewsQ: perform 2 methods that require audio reception
I got a problem here. I have 2 methods, one of them shows the sound waves ie (you activate it and what you speak it interprets in lines), the other when it is activated it records what the person…
-
1
votes1
answer281
viewsA: Error while running an Httpresponse in Android Studio
Get out of here! working!!! I made some changes in the scope and used some tips provided by Leosantana and it worked here the code went like this public void postData0(View v){new…
-
0
votes1
answer281
viewsQ: Error while running an Httpresponse in Android Studio
I am trying to send a string from an Android app to a PHP page, but when I send it, an error occurs in the method Httpresponse Response=httpclient.execute(httppost); In case anyone can help me with…