Posts by Igor Ronner • 492 points
27 posts
-
3
votes3
answers4384
viewsQ: Difficulties in Sending Email using PHP
Based on the code below, used for sending email: <?php $from = $_POST['email']; $to = '[email protected]'; $subject = $_POST['subject']; $message = $_POST['content']; $headers = 'From: ' . $from…
-
0
votes1
answer51
viewsQ: Nosuchelementexception: None.get em play framework para scala
I created the upadte method, but when I test it shows the error Nosuchelementexception: None.get UserController object UserController extends Controller { def update(id:Long) = DBAction { implicit…
-
1
votes1
answer42
viewsA: Problems reading EXPANSION FILE
I switched it on AssetFileDescriptor fd = expansionFile.getAssetFileDescriptor("enterprise/config.json"); therefore InputStream is = expansionFile.getInputStream("enterprise/config.json"); and it…
-
1
votes1
answer192
viewsA: Session error on httpclient android
Try to save cookies before using this. PersistentCookieStore cookieStore = new PersistentCookieStore( context); ((AbstractHttpClient) httpClient).setCookieStore(cookieStore);…
-
1
votes1
answer42
viewsQ: Problems reading EXPANSION FILE
I need to read files from an EXPANSION FILE. In the first Log in which I print expansionFile is working perfectly, ie I was able to read the zip file, but while trying to access the files from…
-
1
votes1
answer984
viewsQ: POST Request with token
Start an HTTP request via POST method for the authentication URL, with the following parameters: login password sponse = http://api.dominio.com:8025/name/login? token="MY_TOKEN" The response of the…
-
0
votes1
answer280
viewsQ: Android: Align Parent Bottom + Bottom margin programmatically
Does anyone know how I can programmatically add a Relativelayout aligned at the bottom of the parent and include a margin or padding at the bottom of that same Relativelayout? Ex.:…
-
1
votes1
answer726
viewsA: Popular Spinner
Create an Adapter public class ExampleSpinAdapter extends ArrayAdapter<Estado>{ // Your sent context private Context context; // Your custom values for the spinner (User) private…
-
1
votes0
answers289
viewsQ: Starting Tomcat v7.0 server at localhost has encountered a problem
I am trying to start Tomcat Server locally, but this problem occurs. Could someone help me?…
-
2
votes1
answer527
viewsA: API for Android Game Development
Has the Cocos2d that serves both for IOS and Android Following link to book. http://www.casadocodigo.com.br/products/livro-jogos-android Website http://www.cocos2d-x.org/…
androidanswered Igor Ronner 492 -
0
votes1
answer34
viewsQ: ALIGN_BOTTOM in relation to the Parent class
I need the menu to stay ALIGN_BOTTOM compared to my Appbar, but the code below does not work. public class AppBar extends RelativeLayout { public AppBar(Context context) { RelativeLayout menu = new…
-
1
votes4
answers1387
viewsA: How do I know if it’s a tablet or a smartphone?
Your answer is here https://stackoverflow.com/questions/9279111/determine-if-the-device-is-a-smartphone-or-tablet Link to the subject:…
androidanswered Igor Ronner 492 -
2
votes2
answers508
viewsA: What is Dénsity and scaledDensity for on Android?
ABOUT PIXELS AND RELATIVITY The pixel looks like a fixed unit when you write CSS codes, but in reality the physical size of the pixel varies according to the device. This means that 1px here on my…
androidanswered Igor Ronner 492 -
-1
votes1
answer680
viewsQ: Swap application label outside Manifest.xml
I am working on a project that will be a template for various applications. So far everything is being configured via JSON. Then the question arose: Is it possible to change this node below outside…
-
2
votes2
answers4898
viewsA: How to update the app version on Google Playstore?
Only changes the manifest.xml in tags android:versionCode="1" android:versionName="1.0" This link explains the difference in tags http://developer.android.com/tools/publishing/versioning.html In…
androidanswered Igor Ronner 492 -
1
votes1
answer114
viewsQ: How to add Googlemap programmatically to a Relativelayout?
I already have all external settings performed, but my question is how to add Googlemap programmatically in a Relativelayout? Here is my Relativelayout public class Page extends RelativeLayout {…
-
1
votes1
answer103
viewsA: Android: Inputstream
Try to use try { WebSettings ws = webView.getSettings(); ws.setJavaScriptEnabled(true); ws.setJavaScriptCanOpenWindowsAutomatically(true); ws.setDomStorageEnabled(true); MyWebChromeClient…
-
0
votes1
answer344
viewsA: As parameter step in html to load in android Webview
I got... String html = "<html>" + "<head>" + "<meta charset=\"UTF-8\"> <title></title>" + "</head>" "<body bgcolor=\"#000000\"> " + "<img…
-
1
votes1
answer819
viewsA: Add bookmark on map ANDROID
Try this private void initilizeMap() { googleMap = ((SupportMapFragment) getFragmentManager() .findFragmentById(R.id. mapFragment)).getMap(); googleMap.setMyLocationEnabled(true);…
-
0
votes2
answers71
viewsA: Animation does not repeat in android api 8
Try this AnimationSet animationSet = new AnimationSet(true); AlphaAnimation alphaAnimation = new AlphaAnimation(0, 1); alphaAnimation.setDuration(speeds[speed]);…
-
1
votes1
answer88
viewsA: Edittext Setposition at the end
Try this tb_acrescimo.setSelection(tb_acrescimo.getText().length()); or tb_acrescimo.setText("Updated Text From another Activity"); int position = tb_acrescimo.length(); Editable etext =…
-
0
votes1
answer344
viewsQ: As parameter step in html to load in android Webview
I need to pass parameters in the "image" and "embed" tags to load into a webView, but the parameters should be from the Android Assets folder int height = PKViewSize.getHeightOfDisplay(context); int…
-
3
votes3
answers140
viewsA: Menu as of facebook
It is better to use the Navigation Drawer from the android’s own library http://developer.android.com/design/patterns/navigation-drawer.html…
-
2
votes2
answers728
viewsA: Action Imageview in Listview
Try this listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> adapter, View view, int position, long arg3) { // TODO Auto-generated…
androidanswered Igor Ronner 492 -
2
votes1
answer253
viewsA: Pan and Zoom in Imageview
The Solution is a class that extends Imageview It’s an Imageview touch that extends Imageview; import android.content.Context; import android.graphics.Matrix; import android.graphics.PointF; import…
-
1
votes1
answer253
viewsQ: Pan and Zoom in Imageview
I need to implement the movements of Pan and Zoom in the same image. Does anyone know how I can do it?
-
3
votes1
answer1426
viewsA: Is it possible to create a Listview Android Horizontal?
I used this api in design and it worked cool Link to download: http://www.dev-smart.com/archives/34 Your Easter looks like this public class HorizontalListViewDemo extends Activity { @Override…