Wednesday, June 19, 2013

[General] Razr M XT 907 - Multiple Problems after flashing with RSD Light


Razr M XT 907 - Multiple Problems after flashing with RSD Light



Hey guys so I am facing weird problems. I have searched through the forums either I cant find anything or I am too scared to do any more experiments I really dont want to loose my Razr M XT 907.

Problems
Laggy performance at times


  1. Camera gets stuck when I take pictures at times then I have to restart.

  2. when I reboot my phone it shows AP Fast boot screen, then I have to access boot menu and select the second last option (Console something). It always shows Null:Null and when I change it back the phone reboots normally

  3. Phone hangs sometimes and then responds with everthing I have clicked all at once.

  4. The screen on off button responds a second late

I think you guys can help me better if I tell you what I did to this phone exactly since I got this phone.

What I did

I initially bought this phone with defaul OS 4.0.1 in Pakistan.
I then installed a Verizon system update of 250 MB that got my phone stuck on a boot loop (and made me cry almost)

I restored my phone to the settings it came in using this procedure

The phone worked fine for 2 days but then I got that update prompt again and it got annoying so I though maybe If i upgrade it to JB using the same RSD Lite method but a different ROM that may solve it.

So I applied the above Procedure using this ROM

The method showed as Passed on RSD Lite but the phone got stuck on bootloop again so I paniced and tried restoring my phone abck to ICS using the method mention in the first link provided.

Then the phone got stuck on AP Boot Menu

Then I used DROID_RAZR_M_Utility_1.20 and used both methods 1 and two but it didnt work

Then out of the blue I went to the boot menu and I saw an option Switch Console (Null:null) I pressed up key on and null null changed to default:tty something it and the phone booted up just fine back to ICS

Now everytime I power off the phone it goes to AP Boot menu showing FASTBOOT REASON: Sticky bit factory_fastboot and I have to do the above to restart the phone.

What I need
Please help me restore my phone I dont want to brick it, I am a simple user I will need step by step guide

Anyone ?


.

forum.xda-developers.com

[General] Problems with apps on Android 4.0.4 tablet


Problems with apps on Android 4.0.4 tablet



Hi experts,

i have a strange problem with my tablets, apps like google play, facebook, angry bird and so on keeps crashing without any obvious reason, while others works ok, like the fast and furius 6 game.

Specs:

Android version: 4.0.4
Baseband version 1.7
Kernel 3.0.8+ ( evan@chipwin #189

build nuclear_x3-eng 4.0.4 c6-s1.5-gt821-0308+2005-v1.7-20130417

Someone please help me.

Thanks



.

forum.xda-developers.com

[General] Error message from onReceive?


Error message from onReceive?



My Samsung Galaxy S4 has started popping up the message "An error has occurred in onReceive" every few hours.

Any suggestions? If an app is the culprit, how can it be identified? I am an end user, not a developer.



.

forum.xda-developers.com

[General] Not all music is copying from PC to Phone


Not all music is copying from PC to Phone



Hi this is my first post here, so sorry if I don't post all relevant info.

I just got a 32gb HTC One and I want to put some music on the phone. I did some short research and found that I could use Google Play Music, or 3rd party apps. The problem is, no matter what I use (Google, WinAmp, iSyncr) it only copies some of my music and not all. I don't even know how to specify what albums or playlists I want to put over, as right now I only have around 9gb free and have waaaay more than 9gb of music.

I come from iOS so I am used to a fairly easy process of hand picking songs and transferring them to my phone, but I am a bit lost here. Also, it would be nice to use a player and service that was free...Thanks for your help.



.

forum.xda-developers.com

[General] S4 lock screen mods?


S4 lock screen mods?



Hi everyone,
I have looked all over, and I can't find any answers - Can you change the font of the lock screen clock? Or can you change the clock out for other clock widgets?

Thanks!



.

forum.xda-developers.com

[android help] Android Mega ADK 2560 Arduino LED interfacing without shields


Android Mega ADK 2560 Arduino LED interfacing without shields


serial port - Android Mega ADK 2560 Arduino LED interfacing without shields - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I have a Arduino Mega ADK 2560, can I control an LED from an android app without any shields attached to the arduino ie via usb serial cable?


I have browsed for this and most of them are using a Bluetooth shield/any other shields. Can you provide some guidelines or links that contain Arduino and android code that works for this simple task?





























for the Arduino Mega ADK 2560, you need to buy either a USB host shield or a bluetooth shield so you can connect it to an Android phone using Android ADK.


If you want to use your Android phone as USB host and Arduino Mega ADK 2560 as USB slave, it is possible to do but you have to work a lot on the code. So I suggest you to buy a shield and use Android ADK library instead.




















default






.

stackoverflow.comm

[android help] Menu design not uniform for all resolutions


Menu design not uniform for all resolutions


android - Menu design not uniform for all resolutions - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















i am trying to implemnt a app in i wrote code to draw APP Menu .In my application Menu is drawing at top_center of the layout for all resolution as shown in below images.


For Low resolutionFor 10For 10


But i need Buttons at horizontal&vertical center of layout for all resolutions and screens.


Currently i am using below code.



xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/myLinear"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#2E9AFE"
android:orientation="vertical"
tools:context=".MainActivity" >

android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="Choose an Option"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/white"
android:textSize="25dp"
android:textStyle="bold"
android:typeface="sans" />

"

android:id="@+id/bDefSms"
android:layout_width="256dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:background="@drawable/blackbutton"
android:drawableLeft="@drawable/sms"
android:paddingBottom="20dp"
android:text="AAA"
android:textColor="@android:color/white"
android:textSize="32dp"
android:textStyle="bold" />

android:id="@+id/bSMS"
android:layout_width="256dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:background="@drawable/blackbutton"
android:drawableLeft="@drawable/defsms"
android:text="BBB"
android:textColor="@android:color/white"
android:textSize="32dp"
android:textStyle="bold" />

android:id="@+id/bMMS"
android:layout_width="256dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:background="@drawable/blackbutton"
android:drawableLeft="@drawable/mms"
android:text="CCC"
android:textColor="@android:color/white"
android:textSize="32dp"
android:textStyle="bold" />

android:id="@+id/bMail"
android:layout_width="256dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:background="@drawable/blackbutton"
android:drawableLeft="@drawable/email"
android:text="DDD"
android:textColor="@android:color/white"
android:textSize="32dp"
android:textStyle="bold" />




Please help me.
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






.

stackoverflow.comm

[android help] Showing a message dialog in Android


Showing a message dialog in Android



Today I've started to build my first android app, I'm used to work with Java but there are something that I don't know how to do in my android app. It's a simple calculator, and I'm trying to show a message dialog if the user inputs an invalid number.


Here's my code:



public void calculate(View v) {
EditText theNumber = (EditText) findViewById(R.id.number);
int num;
try {
num = Integer.parseInt(theNumber.getText().toString());
} catch (NumberFormatException e) {
//missing code here
}
}


In Java SE I'd just do this:



public void calculate(View v) {
EditText theNumber = (EditText) findViewById(R.id.number);
int num;
try {
num = Integer.parseInt(theNumber.getText().toString());
} catch (NumberFormatException e) {
JOptionPane.showMessageDialog("Invalid input");
}
}


How can I do that in android?



.

stackoverflow.comm

[android help] How to develop an android accessory?


How to develop an android accessory?


hardware - How to develop an android accessory? - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I'd like to design an accessory for android-powered cellphone.



  • I'd like to use Arduino + USB Host Shield to build a quick prototype, and then design hardware to cost down. The Arduino + USB Host Shield (especially the usb host shield) is too expensive for my project. Is it possible?


    • As mentioned here: Android powered device could act as the host mode and accessory mode, but another document declares:

      "due to the low power output of Android devices, the Android Open Accessory Protocol requires that accessories act as a USB host, which means that the connecting accessory must power the bus."





    Which one is right? Can I make the android-powered device act as USB host? (Mainly to reduce the cost)
    • Compared to USB connection, is there any limitation on bluetooth connection? If I'd like to transfer data (such as GPS location, mic) between my hardware and android-powered device, is this possible? and which is better ?





























Not all Android phones can act as USB host so Android ADK is designed such that the accessory acts as the USB host instead. You can also implement the accessory as USB slave and you can refer to the below website.


http://developer.android.com/guide/topics/connectivity/usb/host.html




















default






.

stackoverflow.comm

[android help] Android 4.1.1 SSL Exception


Android 4.1.1 SSL Exception


Android 4.1.1 SSL Exception - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















We are having a problem related to ssl connection. The problem was the app cannot connect to the server using ssl connect after install it. But if kill the app and restart it, it worked. It only happens on android 4.1.1. Does anyone have the answer for this? Log listed below:



W/System.err(17335): javax.net.ssl.SSLException: Error setting private key: ssl=0x52f6aae0:
W/System.err(17335): error:140C10F7:SSL routines:SSL_SET_PKEY:unknown certificate type (external/openssl/ssl/ssl_rsa.c:189 0x40997bbc:0x00000000)
W/System.err(17335): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_use_OpenSSL_PrivateKey(Native Method)
W/System.err(17335): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.setCertificate(OpenSSLSocketImpl.java:471)
W/System.err(17335): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.clientCertificateRequested(OpenSSLSocketImpl.java:509)
06-17 17:02:03.682: W/System.err(17335): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method)
06-17 17:02:03.682: W/System.err(17335): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:651)
W/System.err(17335): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
W/System.err(17335): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
W/System.err(17335): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
W/System.err(17335): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
W/System.err(17335): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
W/System.err(17335): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
W/System.err(17335): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
W/System.err(17335): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
W/System.err(17335): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
W/System.err(17335): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:435)
W/System.err(17335): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:592)
W/System.err(17335): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:510)
W/System.err(17335): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:488)


Thanks in advance.


Tao


EDIT: I have solved the problem by saving the certificate to local disk and reload it from local disk. Hope this help some one.



















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






.

stackoverflow.comm

[android help] Any Android Market API from Google?


Any Android Market API from Google?



Not sure if its a possible duplicate. If so please merge to the appropriate.


I am looking for Google Market API that can pull the following information:


  1. List of categories (in Apps, Books, Movies) in the Google Market

  2. List of Top free apps/books/movies (by no. of downloads, ratings etc.) in a given category.

  3. List of Top Paid apps/books/movies (by no. of downloads, ratings etc.) in a given category.

Is there an official Google Market API available?


I came across the below project but the feature set it provides doesn't support this functionality. http://code.google.com/p/android-market-api/


Any help is highly appreciated.



.

stackoverflow.comm

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...