Wednesday, February 5, 2014

Realize the label does not run


            
Console reported error:
 [2013-12-09 15:34:11 - icon] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'small' 
[2013-12-09 15:34:11 - icon] Uploading icon.apk onto device 'emulator-5554'
[2013-12-09 15:34:16 - icon] Installing icon.apk ...
[2013-12-09 15:34:26 - icon]! Success
[2013-12-09 15:34:27 - icon] Starting activity com.example.icon.MainActivity on device emulator-5554
[2013-12-09 15:34:29 - icon] ActivityManager: Starting: Intent {act = android.intent.action.MAIN cat = [android.intent.category.LAUNCHER] cmp = com.example.icon / .MainActivity }


Source as follows:
*****************************
MainActivity.java
*****************************
 
package com.example.icon;

import android.app.Activity;
import android.app.Fragment;
import android.app.TabActivity;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.widget.TabHost;
import android.widget.TabHost.TabSpec;


public class MainActivity extends FragmentActivity
{
@ Override
public void onCreate (Bundle savedInstanceState)
{

super.onCreate (savedInstanceState);
setContentView (R.layout.main);
/ / Get the Activity inside TabHost components
TabHost tabHost = getTabHost ();
/ / Create the first page
TabTabSpec tab1 = tabHost.newTabSpec ("tab01")
. SetIndicator ("Comedy") / / set the title
. SetContent (R.id.tab01); / / set the content
/ / Add the first tab
tabHost.addTab (tab1);
TabSpec tab2 = tabHost.newTabSpec ("tab02")
/ / Place the icon on the label
title. SetIndicator ("stay Moe", getResources ()
. GetDrawable (R.drawable.ic_launcher))
. SetContent (R.id.tab02);
/ / Add a second tab
tabHost.addTab (tab2);
TabSpec tab3 = tabHost.newTabSpec ("tab03")
. SetIndicator ("action figure")
. SetContent (R.id.tab03);
/ / Add a third tab
tabHost.addTab (tab3);



}

private TabHost getTabHost () {
/ / TODO Auto-generated method stub
return null;
}
}

**************************
Main.xml
**************************
  
xmlns: android = "http://schemas.android.com/apk/res/android"
android: id = "@ android: id / tabhost"
android: layout_width = "match_parent"
android: layout_height = "match_parent"
android: layout_weight = "1">
android: layout_width = "match_parent"
android: layout_height = "match_parent"
android: orientation = "vertical">
android: id = "@ android: id / tabs"
android: layout_width = "match_parent"
android: layout_height = "wrap_content" />
android: id = "@ android: id / tabcontent"
android: layout_width = "match_parent"
android: layout_height = "match_parent">
<-! Define the contents of the first tab ->
android: id = "@ + id/tab01"
android: orientation = "vertical"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "daughter of the King - 2012/12/12"
android: textSize = "11pt" />
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "East Sea Dragon - 2012/12/18"
android: textSize = "11pt" />

<-! Define a second tab content ->
android: id = "@ + id/tab02"
android: orientation = "vertical"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "Skeleton Demon - 2012/08/12"
android: textSize = "11pt" />
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "spider - 2012/09/20"
android: textSize = "11pt" />

<-! Define the contents of the third tab ->
android: id = "@ + id/tab03"
android: orientation = "vertical"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: textSize = "11pt">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "Monkey King - 2012/09/19"
android: textSize = "11pt" />
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "Pig - 2012/10/12"
android: textSize = "11pt" />





Reply:
You manifest affirmed saying no ah
Reply:
Saying how can I declare ah. . . . Neighborhoods

Questions about the expansion of EditText


            
An expansion of EditText of class, as

 public class test extends EditText {

public test (Context context, AttributeSet attrs)
{
super (context, attrs);
}

@ Override
public boolean onKeyPreIme (int keyCode, KeyEvent event)
{
if (event.getKeyCode () == android.view.KeyEvent.KEYCODE_BACK) {
/ / To do something
}
return super.onKeyPreIme (keyCode, event);
}
}


OnKeyPreIme which used to precede the soft keyboard input back to capture the key, ask the following:
1. How will this event here in onKeyPreIme submitted to cite this extension EditText class program, or trigger refers to this extended class program code;
2. Such classes can obtain a reference to the name of the class in this extension do? That is such a gallery.class cite this test.class, to get the name of the gallery test.class it?

Thank you!
Reply:
Dingding .............
Reply:
Dingding. . . .
Reply:
Dingding. . . .
        

Reply:
You constructor in context to come to pass, you can determine the context of the type
if (context instanceof gallery) {
Of course, you can get its class name
Reply:
references, 4th Floor cclovescw reply:
constructor where you come to pass context, you can determine the context of the type
if (context instanceof gallery) {
Of course, you can get its class name


Can detail under it? Thank you

Api to achieve real-time bus


            
Xiangnong a real-time bus arrival query software, but how we can get the bus to official data, the online software applications that transit is how to obtain the official data, is not an official bus interface, or a corresponding api documentation ? ? ?


Hope insiders let us know ....
Reply:
You can use Baidu map api, is free
Reply:
Baidu api including mobile development and web development, good use
http://developer.baidu.com/map/
Reply:
reference to the second floor kouwoo reply:
Baidu api including mobile development and web development, good use
http://developer.baidu.com/map/


You can get real-time bus arrival information? ? ?
Reply:
reference to the third floor q745401990 reply:
Quote: references to the second floor kouwoo reply:

Baidu api including mobile development and web development, good use
http://developer.baidu.com/map/


You can get real-time bus arrival information? ? ?


Support for bus information, bus transfer inquiry, driving route planning and walking route search.

Bus information: For more information on public transportation can be queried;
Bus Ride query: According since the end of the query strategy, route planning program;
Driving route planning: providing different strategies, planning driving routes; (supports setting waypoints)
Walking route search: Support planning walking paths.
Reply:
references, 4th Floor kouwoo reply:
Quote: references to the third floor q745401990 reply:

Quote: 2nd Floor reply kouwoo of references:

Baidu api including mobile development and web development, good use
http://developer.baidu.com/map/


You can get real-time bus arrival information? ? ?


Support for bus information, bus transfer inquiry, driving route planning and walking route search.

Bus information: For more information on public transportation can be queried;
Bus Ride query: According since the end of the query strategy, route planning program;
Driving route planning: providing different strategies, planning driving routes; (supports setting waypoints)
Walking route search: Support planning walking paths.


You can know the exact location of a real-time, a bus, the distance from the site, such as short of a few stops?
Reply:
references, 5th Floor q745401990 reply:
Quote: references to the 4th floor kouwoo reply:

Quote: references to the third floor q745401990 reply:

Quote: 2nd Floor reply kouwoo of references:

Baidu api including mobile development and web development, good use
http://developer.baidu.com/map/


You can get real-time bus arrival information? ? ?


Support for bus information, bus transfer inquiry, driving route planning and walking route search.

Bus information: For more information on public transportation can be queried;
Bus Ride query: According since the end of the query strategy, route planning program;
Driving route planning: providing different strategies, planning driving routes; (supports setting waypoints)
Walking route search: Support planning walking paths.


You can know the exact location of a real-time, a bus, the distance from the site, such as short of a few stops?



The specific location of the bus can be queried through Baidu map api, but the distance from the site, such as a few stops short of the necessary logic to write their own algorithms, and should not provide such api
Reply:
Such products have been available in the market, such "Rainbow Bus" is used to do figure it out maps api
Reply:
Real-time interface to the station will not open, you can go to tender, purchase
Reply:
Decompiled code yourself, your own research
Reply:
  
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: orientation = "vertical">

android: id = "@ + id / lltBtnplan"
android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: orientation = "vertical">

android: id = "@ + id/txtTransit0"
android: layout_width = "fill_parent"
android: layout_height = "@ dimen/S40dip"
android: layout_margin = "@ dimen/S3dip"
android: hint = "@ string / placeDeparture" />

android: id = "@ + id/txtTransit1"
android: layout_width = "fill_parent"
android: layout_height = "@ dimen/S40dip"
android: layout_margin = "@ dimen/S3dip"
android: hint = "@ string / termini" />

android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: gravity = "center_horizontal"
android: orientation = "horizontal">


 package com.taocaiku.gaea.activity.test; 

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import com.baidu.platform.comapi.basestruct.GeoPoint;
import com.taocaiku.gaea.R;
import com.taocaiku.gaea.activity.pilot.MoreAct;
import com.taocaiku.gaea.common.activity.PilotMapActivity;
import com.taocaiku.gaea.domain.Domain;

/ **
* Query bus
* @ Author TCK-001
* @ Version 1.0
* /
public class TransitAct extends PilotMapActivity {

private EditText txtData0, txtData1;

@ Override
protected void onCreate (Bundle bundle) {
super.onCreate (bundle); setContentView (R.layout.test_transit);. app () addActivity (this);
txtData0 = findView (R.id.txtTransit0);
txtData1 = findView (R.id.txtTransit1);
. findViewById (R.id.btnMyPoint) setOnClickListener (getMyPoint ());
. findViewById (R.id.btnDist) setOnClickListener (getDist ());
. findViewById (R.id.btnPlanPath) setOnClickListener (getTransit ());
setMustView (R.id.lltTransitGress, R.id.lltBtnplan, R.id.btnPre, R.id.btnNext, R.id.mvwTransitMap);
mapUtil.searchAddr (pointUtil.getMyPoint (), "myPointBack", gressLayout);
}

private OnClickListener getMyPoint () {
return new OnClickListener () {
public void onClick (View view) {
mapUtil.searchAddr (pointUtil.getMyPoint (), "myPointBack", gressLayout);
}
};
}

public void myPointBack () {
myProvince = mapUtil.getComponent () province;.
myCity = mapUtil.getComponent () city;.
txtData0.setText (mapUtil.getComponent () street + mapUtil.getComponent () streetNumber..);
}

private OnClickListener getDist () {
return new OnClickListener () {
public void onClick (View view) {
if (notNull (getText (txtData0), "departure", true) && notNull (getText (txtData1), "destination", true)) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData0), "getDist1", gressLayout);
}
}
};
}

public void getDist1 () {
beginPoint = mapUtil.getAddrPoint ();
if (beginPoint [0]> 0d && beginPoint [1]> 0d) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData1), "getDist2", gressLayout);
} Else {
prompt ("From the address is incomplete, path planning failed");
}
}

public void getDist2 () {
targetPoint = mapUtil.getAddrPoint ();
if (targetPoint [0]> 0d && targetPoint [1]> 0d) {
GeoPoint [] points = new GeoPoint [] {mapUtil.getGeo (beginPoint), mapUtil.getGeo (targetPoint)};
Drawable [] drawables = new Drawable [] {. GetResources () getDrawable (R.drawable.icon_marke), getResources () getDrawable (R.drawable.icon_markf).};
mapUtil.setPoints (points, new String [] {"departure", "destination"}, drawables);
alert (R.drawable.info, ((int) mapUtil.getDistance (beginPoint, targetPoint) + 1) + "m", "");
} Else {
prompt ("destination address was incomplete, path planning failed");
}
}

private OnClickListener getTransit () {
return new OnClickListener () {
public void onClick (View view) {
if (notNull (getText (txtData0), "departure", true) && notNull (getText (txtData1), "destination", true)) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData0), "getTransit1", gressLayout);
}
}
};
}

public void getTransit1 () {
beginPoint = mapUtil.getAddrPoint ();
if (beginPoint [0]> 0d && beginPoint [1]> 0d) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData1), "getTransit2", gressLayout);
} Else {
prompt ("From the address is incomplete, path planning failed");
}
}

public void getTransit2 () {
targetPoint = mapUtil.getAddrPoint ();
if (targetPoint [0]> 0d && targetPoint [1]> 0d) {
mapUtil.planPath (beginPoint, targetPoint, myCity, 2, "planPathBack", gressLayout);
} Else {
prompt ("destination address was incomplete, path planning failed");
}
}

@ Override
public void toBack (View view) {
changeAct (MoreAct.class, null, Domain.RIGHT);
}

}

Reply:
reference to the 10th floor s478853630 reply:
  
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: orientation = "vertical">

android: id = "@ + id / lltBtnplan"
android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: orientation = "vertical">

android: id = "@ + id/txtTransit0"
android: layout_width = "fill_parent"
android: layout_height = "@ dimen/S40dip"
android: layout_margin = "@ dimen/S3dip"
android: hint = "@ string / placeDeparture" />

android: id = "@ + id/txtTransit1"
android: layout_width = "fill_parent"
android: layout_height = "@ dimen/S40dip"
android: layout_margin = "@ dimen/S3dip"
android: hint = "@ string / termini" />

android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: gravity = "center_horizontal"
android: orientation = "horizontal">


 package com.taocaiku.gaea.activity.test; 

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import com.baidu.platform.comapi.basestruct.GeoPoint;
import com.taocaiku.gaea.R;
import com.taocaiku.gaea.activity.pilot.MoreAct;
import com.taocaiku.gaea.common.activity.PilotMapActivity;
import com.taocaiku.gaea.domain.Domain;

/ **
* Query bus
* @ Author TCK-001
* @ Version 1.0
* /
public class TransitAct extends PilotMapActivity {

private EditText txtData0, txtData1;

@ Override
protected void onCreate (Bundle bundle) {
super.onCreate (bundle); setContentView (R.layout.test_transit);. app () addActivity (this);
txtData0 = findView (R.id.txtTransit0);
txtData1 = findView (R.id.txtTransit1);
. findViewById (R.id.btnMyPoint) setOnClickListener (getMyPoint ());
. findViewById (R.id.btnDist) setOnClickListener (getDist ());
. findViewById (R.id.btnPlanPath) setOnClickListener (getTransit ());
setMustView (R.id.lltTransitGress, R.id.lltBtnplan, R.id.btnPre, R.id.btnNext, R.id.mvwTransitMap);
mapUtil.searchAddr (pointUtil.getMyPoint (), "myPointBack", gressLayout);
}

private OnClickListener getMyPoint () {
return new OnClickListener () {
public void onClick (View view) {
mapUtil.searchAddr (pointUtil.getMyPoint (), "myPointBack", gressLayout);
}
};
}

public void myPointBack () {
myProvince = mapUtil.getComponent () province;.
myCity = mapUtil.getComponent () city;.
txtData0.setText (mapUtil.getComponent () street + mapUtil.getComponent () streetNumber..);
}

private OnClickListener getDist () {
return new OnClickListener () {
public void onClick (View view) {
if (notNull (getText (txtData0), "departure", true) && notNull (getText (txtData1), "destination", true)) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData0), "getDist1", gressLayout);
}
}
};
}

public void getDist1 () {
beginPoint = mapUtil.getAddrPoint ();
if (beginPoint [0]> 0d && beginPoint [1]> 0d) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData1), "getDist2", gressLayout);
} Else {
prompt ("From the address is incomplete, path planning failed");
}
}

public void getDist2 () {
targetPoint = mapUtil.getAddrPoint ();
if (targetPoint [0]> 0d && targetPoint [1]> 0d) {
GeoPoint [] points = new GeoPoint [] {mapUtil.getGeo (beginPoint), mapUtil.getGeo (targetPoint)};
Drawable [] drawables = new Drawable [] {. GetResources () getDrawable (R.drawable.icon_marke), getResources () getDrawable (R.drawable.icon_markf).};
mapUtil.setPoints (points, new String [] {"departure", "destination"}, drawables);
alert (R.drawable.info, ((int) mapUtil.getDistance (beginPoint, targetPoint) + 1) + "m", "");
} Else {
prompt ("destination address was incomplete, path planning failed");
}
}

private OnClickListener getTransit () {
return new OnClickListener () {
public void onClick (View view) {
if (notNull (getText (txtData0), "departure", true) && notNull (getText (txtData1), "destination", true)) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData0), "getTransit1", gressLayout);
}
}
};
}

public void getTransit1 () {
beginPoint = mapUtil.getAddrPoint ();
if (beginPoint [0]> 0d && beginPoint [1]> 0d) {
mapUtil.searchPoint (myProvince + myCity, getText (txtData1), "getTransit2", gressLayout);
} Else {
prompt ("From the address is incomplete, path planning failed");
}
}

public void getTransit2 () {
targetPoint = mapUtil.getAddrPoint ();
if (targetPoint [0]> 0d && targetPoint [1]> 0d) {
mapUtil.planPath (beginPoint, targetPoint, myCity, 2, "planPathBack", gressLayout);
} Else {
prompt ("destination address was incomplete, path planning failed");
}
}

@ Override
public void toBack (View view) {
changeAct (MoreAct.class, null, Domain.RIGHT);
}

}


Also add any extra jar package? Can hair a little longer
Reply:
This is an internal interface, not easily open.
Reply:
reference to the 12th floor shaojieli reply:
This is an internal interface, not easily open.


..... Get real-time location of buses in a line ah

Reply:
You think about the principle, or network location through GPS positioning obtained, after you get the need to be preserved in order to use it, save the place from between your application, it will certainly have to have a path, this path will need someone to achieve, that is, after the package features provided by the external API. Only through this way, you can use it.
Reply:
reference to the 14th floor shaojieli reply:
you think about the principle, the location via GPS or network positioning is obtained, after you get the need to be preserved in order to use it, From a place to save between your application, it will certainly have to have a path, this path would need someone to realize, that is, after the package features provided by the external API. Only through this way, you can use it.



I know the truth, but how to get your GPS location and get tangled on the API issues ....

unbutu download android source repo problem


            
I want to download android source on ubuntu. I follow the step by step method of online conduct. Installed git and curl. Then curl http://android.git.kernel.org/repo> ~ / bin / repo repo command to download the file. Download a success. Also through the command chmod a + x repo given the authority. But when I use:. / Bin / repo init-u git :/ / android.git.kernel.org / platform / manifest.git command to download the source code of the time, but always report:
/ bin / repo:. Line 1: Unexpected symbol `newline 'Incorrect syntax near
. / Bin / repo: line 1: `
'
Did not find the reason. Confused for a long time, please know that prawns help. Thank


Reply:
http://wanran.iteye.com/blog/1046264
http://hi.baidu.com/lizhengjun2010/blog/item/0b84aa406f2d579eb2b7dcf7.html
http://www.forlinx.com/Download.htm
http://bbs.witech.com.cn/thread-3809-1-1.html
Landlord try these bars. I have tried for a long time before the download was successful or not. That is not your problem, but android.git.kernel.org a wall or is being attacked.
If successful, the landlord sent me a copy, thank you.
Reply:
Web site looks like to be black, and now does not download. These methods are can be downloaded before
Reply:
I am also the same problem
Reply:
reference to the third floor tiudx111 reply:
I am also the same problem

I re-download a repo files can be
Reply:
, Where to re-download the repo 4 floor
Reply:
With lz ah, I do not know the problem is not solved, nothing out of the day progress, alas
Reply:
Top, I used http://hi.baidu.com/lizhengjun2010/blog/item/0b84aa406f2d579eb2b7dcf7.html
This approach to the problem of
Reply:
I have encountered this problem, there is no get, ah?

The service and android UI thread with thread, why not write the code directly in the activity


            
The service and android UI thread with the thread, so why deliberately put forward a service, directly to the code written in the activity is not enough. Such as playing MP3, write the code inside the event listener is not the same as it
Reply:
service is a task running in the background, invisible.

actvity if not visible. Gc in the recovery, low priority, the system can easily be recovered out. However, the high priority service. To ensure long-term operation in the background.
Reply:
Agree 1L
In addition, according to a modular design idea, it is still a separate module, low coupling Well
If more than one activity to the same call using a service, is it still there, they are written in each activity over service
Reply:
There are a lot of points with a JAva Andorid design patterns
Relationship that relationship Activity, Service, Provider somewhat similar in the JAVA JavaScript, JavaBean, Servlet's
Reply:
Top 1,2 F
Reply:
1,2,3 floor, grasp wanted to say it! Hey
Reply:
reference to the third floor wenzheng38 reply:
a little Andorid JAva many have adopted the design patterns
Relationship that Activity, Service, Provider JAVA somewhat similar in the JavaScript, JavaBean, Servlet's relationship
is the legendary MVC design pattern it, but feel the relationship of the four components of MVC it ​​can not meet that android in mvc how to explain, please advice?
Reply:
I also think this issue. service and UI are not in the same thread as well?
Reply:
Since the Service is not in a separate thread, then why can access the network in the Service as well?
(3.0 later versions also possible)

android device sends data to the PC side specified via USB


            
Such as access to data sent on the problem, trying to phone via USB to your computer, but do not know the specifics of how to achieve this, please give pointers about the great God, or give a relevant example
Reply:
Top about themselves, seeking Great God
Reply:
Analysis ADB it.
Reply:
Adb logcat to get on the computer logs on it, you print out the information in the mobile terminal
Reply:
reference to the second floor Jahan0211 reply:
analysis ADB bar
I'm sorry, am finished stickers to go on to class, so. now to restore, adb is the driving piece of it, can be directly connected using the existing mobile phones to transmit data assistants and the like, now still can not start, look to guidance
Reply:
reference to the third floor lieri111 reply: adb logcat on
computer logs on it to get your information in the mobile terminal to print out
I want to transfer the data on the phone to the computer, ah, little did not understand what you say, it can not specifically point
Reply:
references, 4th Floor u010980545 reply:
Quote: references to the second floor Jahan0211 reply:

Analysis ADB it.
sorry, am finished stickers to go on the school, so now to reply, adb is driven piece of it, can directly use the existing connection like mobile assistant to transmit data, now still can not start, but also look pointing


I said that you refer to now that you know the principles on PC phones such procedures as tools.
Go drive to.
Reply:
reference to the 6th floor Jahan0211 reply:
Quote: references to the 4th floor u010980545 reply:

Quote: references to the second floor Jahan0211 reply:

Analysis ADB it.
sorry, am finished stickers to go on the school, so now to reply, adb is driven piece of it, can directly use the existing connection like mobile assistant to transmit data, now still can not start, but also look pointing


I said that you refer to now that you know the principles on PC phones such procedures as tools.
Go drive to.
Well, I ask you there are similar examples of it, whether borrowed reference?
Reply:
socket or persistent data, and then send the file.
Reply:
reference to the 8th floor woshisange03 reply:
socket or persistent data, and then send the file
can specifically point ah, no. quite understand
Reply:
reference to the 9th floor u010980545 reply:
Quote: references to the 8th floor woshisange03 reply:

socket or persistent data, and then send the file.
Can specific points, ah, do not understand

1 You can save the data to be transferred into a file, and then notify the PC out with adb pull, PC data does not get it?
2.PC and phone socket to transfer data directly.
Reply:
reference to the 10th floor woshisange03 reply:
Quote: references to the 9th floor u010980545 reply:

Quote: references to the 8th floor woshisange03 reply:

socket or persistent data, and then send the file.
Can specific points, ah, do not understand

1 You can save the data to be transferred into a file, and then notify the PC out with adb pull, PC data does not get it?
2.PC and phone socket to transfer data directly.
this will do? I try to express my gratitude
Reply:
Phone open http server and consequently get
Reply:
Has been achieved through adb

jquerymobile + phonegap in Andrews on performance is very slow


            
jquery1.83 + jqm1.2 + phonegap2.1 in the performance is very slow
AndrewsSingle html page multiple Page, resources locally, the device is android210 development board, UI performance of this framework is very bad, incident response delay is relatively large, the effect of clicking the button completely get out, within a single page page jqm about switching 3-4 seconds black and white, giving the impression that the refresh rate is very low, dragging down the page to display the new part from confusion to clarity, sometimes a one out, this performance is difficult to receive.
Before using jqm1.1 made a similar software, webview frame embedded web page without using phonegap, part of the same operation webpage reaction is very slow.
Do we not have a similar experience to share about how to optimize this framework.
Reply:
Answered. .
Reply:
No one uses a similar architecture yet
Reply:
I also use the same very slow .. can not stand ...
Reply:
The registered event handlers to the touch event instead of mouse events.
Reply:
I now use this jquery-mbile-1.3, feels very slow
Reply:
The same problem, seeking brick home
Reply:
I also produce APK installed on the phone, very slow, switch interface, there is 3 seconds black and white.
Reply:
I also use, slowly die ah. Wondered whether it be about phonegap optimization? ?
Reply:
Now with the jqm1.4, + phonegap 3.0, all pages of basic black and white movie with none ah not more than 1 second